25 #include "pips_config.h"
49 #define TCST_OLD_NAME "TERME_CONSTANT"
58 if (*s==
'\\' || *s==
' ' || *s==
')')
73 static string buf = NULL;
74 static int bufsize = 0;
80 buf = (
char*)
malloc(bufsize *
sizeof(
char));
84 while ((c =
f()) != -1 && c!=
' ' && c!=
')')
89 buf = (
char*) realloc(
buf, bufsize *
sizeof(
char));
96 pips_assert(
"there is a char after a backslash", c!=-1);
99 buf[index++] = (char) c;
113 for (p = v; p != NULL; p = p->
succ)
179 for(; pc; pc=pc->
succ)
float a2sf[2] __attribute__((aligned(16)))
USER generates a user error (i.e., non fatal) by printing the given MSG according to the FMT.
Pvecteur vect_gen_read(FILE *fd __attribute__((unused)), int(*f)())
int contrainte_gen_allocated_memory(Pcontrainte pc)
static void print_token(FILE *fd, string s)
print token
static string read_token(int(*f)())
stop at ' ' or ')'.
Pvecteur vect_gen_copy_tree(Pvecteur v)
void vect_gen_write(FILE *fd, Pvecteur v)
output is "([val var ]* )"
int vect_gen_allocated_memory(Pvecteur v)
void vect_gen_free(Pvecteur v)
void fprint_Value(FILE *, Value)
int sscan_Value(char *, Value *)
#define pips_assert(what, predicate)
common macros, two flavors depending on NDEBUG
#define same_string_p(s1, s2)
void * gen_find_tabulated(const char *, int)
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
Pvecteur vect_reversal(Pvecteur vect_in)
Pvecteur vect_reversal(Pvecteur vect_in); produces the reversal vector of the vect_in.
#define entity_undefined_p(x)
#define entity_domain
newgen_syntax_domain_defined
struct Scontrainte * succ
le type des coefficients dans les vecteurs: Value est defini dans le package arithmetique
void * Variable
arithmetique is a requirement for vecteur, but I do not want to inforce it in all pips files....
Pbase vect_copy(Pvecteur b)
direct duplication.
void vect_rm(Pvecteur v)
void vect_rm(Pvecteur v): desallocation des couples de v;
void vect_add_elem(Pvecteur *pvect, Variable var, Value val)
void vect_add_elem(Pvecteur * pvect, Variable var, Value val): addition d'un vecteur colineaire au ve...