PIPS
sac_private.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "genC.h"
#include "sac_private.h"
+ Include dependency graph for sac_private.c:

Go to the source code of this file.

Typedefs

typedef void * operator_id_sons
 

Functions

matchTree copy_matchTree (matchTree p)
 MATCHTREE. More...
 
void free_matchTree (matchTree p)
 
matchTree check_matchTree (matchTree p)
 
bool matchTree_consistent_p (matchTree p)
 
bool matchTree_defined_p (matchTree p)
 
list gen_matchTree_cons (matchTree p, list l)
 
void matchTree_assign_contents (matchTree r, matchTree v)
 
void matchTree_non_recursive_free (matchTree p)
 
void write_matchTree (FILE *f, matchTree p)
 
matchTree read_matchTree (FILE *f)
 
matchTree make_matchTree (list a1, matchTreeSons a2)
 
matchTreeSons copy_matchTreeSons (matchTreeSons p)
 MATCHTREESONS. More...
 
void free_matchTreeSons (matchTreeSons p)
 
matchTreeSons check_matchTreeSons (matchTreeSons p)
 
bool matchTreeSons_consistent_p (matchTreeSons p)
 
bool matchTreeSons_defined_p (matchTreeSons p)
 
list gen_matchTreeSons_cons (matchTreeSons p, list l)
 
void matchTreeSons_assign_contents (matchTreeSons r, matchTreeSons v)
 
void matchTreeSons_non_recursive_free (matchTreeSons p)
 
void write_matchTreeSons (FILE *f, matchTreeSons p)
 
matchTreeSons read_matchTreeSons (FILE *f)
 
matchTreeSons make_matchTreeSons (void)
 
matchTree apply_matchTreeSons (matchTreeSons f, intptr_t k)
 
void update_matchTreeSons (matchTreeSons f, intptr_t k, matchTree v)
 
void extend_matchTreeSons (matchTreeSons f, intptr_t k, matchTree v)
 
matchTree delete_matchTreeSons (matchTreeSons f, intptr_t k)
 
bool bound_matchTreeSons_p (matchTreeSons f, intptr_t k)
 
match copy_match (match p)
 MATCH. More...
 
void free_match (match p)
 
match check_match (match p)
 
bool match_consistent_p (match p)
 
bool match_defined_p (match p)
 
list gen_match_cons (match p, list l)
 
void match_assign_contents (match r, match v)
 
void match_non_recursive_free (match p)
 
void write_match (FILE *f, match p)
 
match read_match (FILE *f)
 
match make_match (opcodeClass a1, list a2)
 
opcode copy_opcode (opcode p)
 OPCODE. More...
 
void free_opcode (opcode p)
 
opcode check_opcode (opcode p)
 
bool opcode_consistent_p (opcode p)
 
bool opcode_defined_p (opcode p)
 
list gen_opcode_cons (opcode p, list l)
 
void opcode_assign_contents (opcode r, opcode v)
 
void opcode_non_recursive_free (opcode p)
 
void write_opcode (FILE *f, opcode p)
 
opcode read_opcode (FILE *f)
 
opcode make_opcode (string a1, intptr_t a2, list a3, float a4)
 
operator_id_tree copy_operator_id_tree (operator_id_tree p)
 OPERATOR_ID_TREE. More...
 
void free_operator_id_tree (operator_id_tree p)
 
operator_id_tree check_operator_id_tree (operator_id_tree p)
 
bool operator_id_tree_consistent_p (operator_id_tree p)
 
bool operator_id_tree_defined_p (operator_id_tree p)
 
list gen_operator_id_tree_cons (operator_id_tree p, list l)
 
void operator_id_tree_assign_contents (operator_id_tree r, operator_id_tree v)
 
void operator_id_tree_non_recursive_free (operator_id_tree p)
 
void write_operator_id_tree (FILE *f, operator_id_tree p)
 
operator_id_tree read_operator_id_tree (FILE *f)
 
operator_id_tree make_operator_id_tree (intptr_t a1, operator_id_sons a2)
 
patternArg copy_patternArg (patternArg p)
 PATTERNARG. More...
 
void free_patternArg (patternArg p)
 
patternArg check_patternArg (patternArg p)
 
bool patternArg_consistent_p (patternArg p)
 
bool patternArg_defined_p (patternArg p)
 
list gen_patternArg_cons (patternArg p, list l)
 
void patternArg_assign_contents (patternArg r, patternArg v)
 
void patternArg_non_recursive_free (patternArg p)
 
void write_patternArg (FILE *f, patternArg p)
 
patternArg read_patternArg (FILE *f)
 
string patternArg_tag_as_string (enum patternArg_utype tag)
 
patternArg make_patternArg (enum patternArg_utype tag, void *val)
 
patternArg make_patternArg_static (intptr_t _field_)
 
patternArg make_patternArg_dynamic (void)
 
patternx copy_patternx (patternx p)
 PATTERNX. More...
 
void free_patternx (patternx p)
 
patternx check_patternx (patternx p)
 
bool patternx_consistent_p (patternx p)
 
bool patternx_defined_p (patternx p)
 
list gen_patternx_cons (patternx p, list l)
 
void patternx_assign_contents (patternx r, patternx v)
 
void patternx_non_recursive_free (patternx p)
 
void write_patternx (FILE *f, patternx p)
 
patternx read_patternx (FILE *f)
 
patternx make_patternx (opcodeClass a1, list a2)
 
reductionInfo copy_reductionInfo (reductionInfo p)
 REDUCTIONINFO. More...
 
void free_reductionInfo (reductionInfo p)
 
reductionInfo check_reductionInfo (reductionInfo p)
 
bool reductionInfo_consistent_p (reductionInfo p)
 
bool reductionInfo_defined_p (reductionInfo p)
 
list gen_reductionInfo_cons (reductionInfo p, list l)
 
void reductionInfo_assign_contents (reductionInfo r, reductionInfo v)
 
void reductionInfo_non_recursive_free (reductionInfo p)
 
void write_reductionInfo (FILE *f, reductionInfo p)
 
reductionInfo read_reductionInfo (FILE *f)
 
reductionInfo make_reductionInfo (reduction a1, intptr_t a2, entity a3)
 
simdstatement copy_simdstatement (simdstatement p)
 SIMDSTATEMENT. More...
 
void free_simdstatement (simdstatement p)
 
simdstatement check_simdstatement (simdstatement p)
 
bool simdstatement_consistent_p (simdstatement p)
 
bool simdstatement_defined_p (simdstatement p)
 
list gen_simdstatement_cons (simdstatement p, list l)
 
void simdstatement_assign_contents (simdstatement r, simdstatement v)
 
void simdstatement_non_recursive_free (simdstatement p)
 
void write_simdstatement (FILE *f, simdstatement p)
 
simdstatement read_simdstatement (FILE *f)
 
simdstatement make_simdstatement (opcode a1, intptr_t a2, entity *a3, expression *a4)
 
opcodeClass copy_opcodeClass (opcodeClass p)
 OPCODECLASS. More...
 
void free_opcodeClass (opcodeClass p)
 
opcodeClass check_opcodeClass (opcodeClass p)
 
bool opcodeClass_consistent_p (opcodeClass p)
 
bool opcodeClass_defined_p (opcodeClass p)
 
list gen_opcodeClass_cons (opcodeClass p, list l)
 
void opcodeClass_assign_contents (opcodeClass r, opcodeClass v)
 
void opcodeClass_non_recursive_free (opcodeClass p)
 
opcodeClass gen_find_opcodeClass (char *s)
 
void write_tabulated_opcodeClass (FILE *f)
 
void read_tabulated_opcodeClass (FILE *f)
 
opcodeClass make_opcodeClass (string a1, intptr_t a2, list a3)
 
transformation copy_transformation (transformation p)
 TRANSFORMATION. More...
 
void free_transformation (transformation p)
 
transformation check_transformation (transformation p)
 
bool transformation_consistent_p (transformation p)
 
bool transformation_defined_p (transformation p)
 
list gen_transformation_cons (transformation p, list l)
 
void transformation_assign_contents (transformation r, transformation v)
 
void transformation_non_recursive_free (transformation p)
 
void write_transformation (FILE *f, transformation p)
 
transformation read_transformation (FILE *f)
 
transformation make_transformation (string a1, intptr_t a2, intptr_t a3, intptr_t a4, intptr_t a5, intptr_t a6, int *a7)
 

Typedef Documentation

◆ operator_id_sons

typedef void* operator_id_sons

Definition at line 7 of file sac_private.c.

Function Documentation

◆ apply_matchTreeSons()

matchTree apply_matchTreeSons ( matchTreeSons  f,
intptr_t  k 
)

Definition at line 99 of file sac_private.c.

99  {
101 }
#define HASH_GET(start, image, h, k)
Definition: newgen_map.h:30
int f(int off1, int off2, int n, float r[n], float a[n], float b[n])
Definition: offsets.c:15
#define matchTreeSons_hash_table(x)
Definition: sac_private.h:208
#define intptr_t
Definition: stdint.in.h:294

References f(), HASH_GET, intptr_t, and matchTreeSons_hash_table.

+ Here is the call graph for this function:

◆ bound_matchTreeSons_p()

bool bound_matchTreeSons_p ( matchTreeSons  f,
intptr_t  k 
)

Definition at line 111 of file sac_private.c.

111  {
112  return (intptr_t)HASH_BOUND_P(i, p, matchTreeSons_hash_table(f), k);
113 }
#define HASH_BOUND_P(start, image, h, k)
Definition: newgen_map.h:32

References f(), HASH_BOUND_P, intptr_t, and matchTreeSons_hash_table.

+ Here is the call graph for this function:

◆ check_match()

match check_match ( match  p)

Definition at line 123 of file sac_private.c.

123  {
124  return (match) gen_check((gen_chunk*) p, match_domain);
125 }
gen_chunk * gen_check(gen_chunk *obj, int t)
GEN_CHECK checks that the gen_chunk received OBJ is of the appropriate TYPE.
Definition: genClib.c:2356
#define match_domain
newgen_matchTreeSons_domain_defined
Definition: sac_private.h:69
A gen_chunk is used to store every object.
Definition: genC.h:58

References gen_check(), and match_domain.

+ Here is the call graph for this function:

◆ check_matchTree()

matchTree check_matchTree ( matchTree  p)

Definition at line 24 of file sac_private.c.

24  {
26 }
#define matchTree_domain
newgen_operator_id_sons_domain_defined
Definition: sac_private.h:53

References gen_check(), and matchTree_domain.

+ Here is the call graph for this function:

◆ check_matchTreeSons()

matchTreeSons check_matchTreeSons ( matchTreeSons  p)

Definition at line 66 of file sac_private.c.

66  {
68 }
#define matchTreeSons_domain
newgen_matchTree_domain_defined
Definition: sac_private.h:61

References gen_check(), and matchTreeSons_domain.

+ Here is the call graph for this function:

◆ check_opcode()

opcode check_opcode ( opcode  p)

Definition at line 165 of file sac_private.c.

165  {
166  return (opcode) gen_check((gen_chunk*) p, opcode_domain);
167 }
#define opcode_domain
newgen_match_domain_defined
Definition: sac_private.h:77

References gen_check(), and opcode_domain.

+ Here is the call graph for this function:

◆ check_opcodeClass()

opcodeClass check_opcodeClass ( opcodeClass  p)

Definition at line 430 of file sac_private.c.

430  {
432 }
#define opcodeClass_domain
newgen_simdstatement_domain_defined
Definition: sac_private.h:125

References gen_check(), and opcodeClass_domain.

+ Here is the call graph for this function:

◆ check_operator_id_tree()

operator_id_tree check_operator_id_tree ( operator_id_tree  p)

Definition at line 207 of file sac_private.c.

207  {
209 }
#define operator_id_tree_domain
newgen_opcode_domain_defined
Definition: sac_private.h:85

References gen_check(), and operator_id_tree_domain.

+ Here is the call graph for this function:

◆ check_patternArg()

patternArg check_patternArg ( patternArg  p)

Definition at line 249 of file sac_private.c.

249  {
251 }
#define patternArg_domain
newgen_operator_id_tree_domain_defined
Definition: sac_private.h:93

References gen_check(), and patternArg_domain.

+ Here is the call graph for this function:

◆ check_patternx()

patternx check_patternx ( patternx  p)

Definition at line 304 of file sac_private.c.

304  {
306 }
#define patternx_domain
newgen_patternArg_domain_defined
Definition: sac_private.h:101

References gen_check(), and patternx_domain.

+ Here is the call graph for this function:

◆ check_reductionInfo()

reductionInfo check_reductionInfo ( reductionInfo  p)

Definition at line 346 of file sac_private.c.

346  {
348 }
#define reductionInfo_domain
newgen_patternx_domain_defined
Definition: sac_private.h:109

References gen_check(), and reductionInfo_domain.

+ Here is the call graph for this function:

◆ check_simdstatement()

simdstatement check_simdstatement ( simdstatement  p)

Definition at line 388 of file sac_private.c.

388  {
390 }
#define simdstatement_domain
newgen_reductionInfo_domain_defined
Definition: sac_private.h:117

References gen_check(), and simdstatement_domain.

+ Here is the call graph for this function:

◆ check_transformation()

transformation check_transformation ( transformation  p)

Definition at line 480 of file sac_private.c.

480  {
482 }
#define transformation_domain
newgen_opcodeClass_domain_defined
Definition: sac_private.h:133

References gen_check(), and transformation_domain.

+ Here is the call graph for this function:

◆ copy_match()

match copy_match ( match  p)

MATCH.

Definition at line 117 of file sac_private.c.

117  {
118  return (match) gen_copy_tree((gen_chunk*) p);
119 }
gen_chunk * gen_copy_tree(gen_chunk *obj)
Definition: genClib.c:1429

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_matchTree()

matchTree copy_matchTree ( matchTree  p)

MATCHTREE.

Definition at line 18 of file sac_private.c.

18  {
19  return (matchTree) gen_copy_tree((gen_chunk*) p);
20 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_matchTreeSons()

matchTreeSons copy_matchTreeSons ( matchTreeSons  p)

MATCHTREESONS.

Definition at line 60 of file sac_private.c.

60  {
61  return (matchTreeSons) gen_copy_tree((gen_chunk*) p);
62 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_opcode()

opcode copy_opcode ( opcode  p)

OPCODE.

Definition at line 159 of file sac_private.c.

159  {
160  return (opcode) gen_copy_tree((gen_chunk*) p);
161 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_opcodeClass()

opcodeClass copy_opcodeClass ( opcodeClass  p)

OPCODECLASS.

Definition at line 424 of file sac_private.c.

424  {
425  return (opcodeClass) gen_copy_tree((gen_chunk*) p);
426 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_operator_id_tree()

operator_id_tree copy_operator_id_tree ( operator_id_tree  p)

OPERATOR_ID_TREE.

Definition at line 201 of file sac_private.c.

201  {
203 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_patternArg()

patternArg copy_patternArg ( patternArg  p)

PATTERNARG.

Definition at line 243 of file sac_private.c.

243  {
244  return (patternArg) gen_copy_tree((gen_chunk*) p);
245 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_patternx()

patternx copy_patternx ( patternx  p)

PATTERNX.

Definition at line 298 of file sac_private.c.

298  {
299  return (patternx) gen_copy_tree((gen_chunk*) p);
300 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_reductionInfo()

reductionInfo copy_reductionInfo ( reductionInfo  p)

REDUCTIONINFO.

Definition at line 340 of file sac_private.c.

340  {
341  return (reductionInfo) gen_copy_tree((gen_chunk*) p);
342 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_simdstatement()

simdstatement copy_simdstatement ( simdstatement  p)

SIMDSTATEMENT.

Definition at line 382 of file sac_private.c.

382  {
383  return (simdstatement) gen_copy_tree((gen_chunk*) p);
384 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ copy_transformation()

transformation copy_transformation ( transformation  p)

TRANSFORMATION.

Definition at line 474 of file sac_private.c.

474  {
475  return (transformation) gen_copy_tree((gen_chunk*) p);
476 }

References gen_copy_tree().

+ Here is the call graph for this function:

◆ delete_matchTreeSons()

matchTree delete_matchTreeSons ( matchTreeSons  f,
intptr_t  k 
)

Definition at line 108 of file sac_private.c.

108  {
110 }
#define HASH_DELETE(start, image, h, k)
Definition: newgen_map.h:38

References f(), HASH_DELETE, intptr_t, and matchTreeSons_hash_table.

+ Here is the call graph for this function:

◆ extend_matchTreeSons()

void extend_matchTreeSons ( matchTreeSons  f,
intptr_t  k,
matchTree  v 
)

Definition at line 105 of file sac_private.c.

105  {
107 }
#define HASH_EXTEND(start, image, h, k, v)
Definition: newgen_map.h:36

References f(), HASH_EXTEND, intptr_t, and matchTreeSons_hash_table.

+ Here is the call graph for this function:

◆ free_match()

void free_match ( match  p)

Definition at line 120 of file sac_private.c.

120  {
121  gen_free((gen_chunk*) p);
122 }
void gen_free(gen_chunk *obj)
version without shared_pointers.
Definition: genClib.c:992

References gen_free().

+ Here is the call graph for this function:

◆ free_matchTree()

void free_matchTree ( matchTree  p)

Definition at line 21 of file sac_private.c.

21  {
22  gen_free((gen_chunk*) p);
23 }

References gen_free().

+ Here is the call graph for this function:

◆ free_matchTreeSons()

void free_matchTreeSons ( matchTreeSons  p)

Definition at line 63 of file sac_private.c.

63  {
64  gen_free((gen_chunk*) p);
65 }

References gen_free().

+ Here is the call graph for this function:

◆ free_opcode()

void free_opcode ( opcode  p)

Definition at line 162 of file sac_private.c.

162  {
163  gen_free((gen_chunk*) p);
164 }

References gen_free().

+ Here is the call graph for this function:

◆ free_opcodeClass()

void free_opcodeClass ( opcodeClass  p)

Definition at line 427 of file sac_private.c.

427  {
428  gen_free((gen_chunk*) p);
429 }

References gen_free().

+ Here is the call graph for this function:

◆ free_operator_id_tree()

void free_operator_id_tree ( operator_id_tree  p)

Definition at line 204 of file sac_private.c.

204  {
205  gen_free((gen_chunk*) p);
206 }

References gen_free().

+ Here is the call graph for this function:

◆ free_patternArg()

void free_patternArg ( patternArg  p)

Definition at line 246 of file sac_private.c.

246  {
247  gen_free((gen_chunk*) p);
248 }

References gen_free().

+ Here is the call graph for this function:

◆ free_patternx()

void free_patternx ( patternx  p)

Definition at line 301 of file sac_private.c.

301  {
302  gen_free((gen_chunk*) p);
303 }

References gen_free().

+ Here is the call graph for this function:

◆ free_reductionInfo()

void free_reductionInfo ( reductionInfo  p)

Definition at line 343 of file sac_private.c.

343  {
344  gen_free((gen_chunk*) p);
345 }

References gen_free().

+ Here is the call graph for this function:

◆ free_simdstatement()

void free_simdstatement ( simdstatement  p)

Definition at line 385 of file sac_private.c.

385  {
386  gen_free((gen_chunk*) p);
387 }

References gen_free().

+ Here is the call graph for this function:

◆ free_transformation()

void free_transformation ( transformation  p)

Definition at line 477 of file sac_private.c.

477  {
478  gen_free((gen_chunk*) p);
479 }

References gen_free().

+ Here is the call graph for this function:

◆ gen_find_opcodeClass()

opcodeClass gen_find_opcodeClass ( char *  s)

Definition at line 454 of file sac_private.c.

454  {
456 }
void * gen_find_tabulated(const char *, int)
Definition: tabulated.c:218

References gen_find_tabulated(), and opcodeClass_domain.

+ Here is the call graph for this function:

◆ gen_match_cons()

list gen_match_cons ( match  p,
list  l 
)

Definition at line 133 of file sac_private.c.

133  {
134  return gen_typed_cons(MATCH_NEWGEN_DOMAIN, p, l);
135 }
list gen_typed_cons(_int type, const void *item, const list next)
CONS a list with minimal type checking this cannot be done within the CONS macro because possible fun...
Definition: list.c:900
#define MATCH_NEWGEN_DOMAIN
Definition: sac_private.h:72

References gen_typed_cons(), and MATCH_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_matchTree_cons()

list gen_matchTree_cons ( matchTree  p,
list  l 
)

Definition at line 34 of file sac_private.c.

34  {
36 }
#define MATCHTREE_NEWGEN_DOMAIN
Definition: sac_private.h:56

References gen_typed_cons(), and MATCHTREE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_matchTreeSons_cons()

list gen_matchTreeSons_cons ( matchTreeSons  p,
list  l 
)

Definition at line 76 of file sac_private.c.

76  {
78 }
#define MATCHTREESONS_NEWGEN_DOMAIN
Definition: sac_private.h:64

References gen_typed_cons(), and MATCHTREESONS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_opcode_cons()

list gen_opcode_cons ( opcode  p,
list  l 
)

Definition at line 175 of file sac_private.c.

175  {
176  return gen_typed_cons(OPCODE_NEWGEN_DOMAIN, p, l);
177 }
#define OPCODE_NEWGEN_DOMAIN
Definition: sac_private.h:80

References gen_typed_cons(), and OPCODE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_opcodeClass_cons()

list gen_opcodeClass_cons ( opcodeClass  p,
list  l 
)

Definition at line 440 of file sac_private.c.

440  {
442 }
#define OPCODECLASS_NEWGEN_DOMAIN
Definition: sac_private.h:128

References gen_typed_cons(), and OPCODECLASS_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_operator_id_tree_cons()

list gen_operator_id_tree_cons ( operator_id_tree  p,
list  l 
)

Definition at line 217 of file sac_private.c.

217  {
219 }
#define OPERATOR_ID_TREE_NEWGEN_DOMAIN
Definition: sac_private.h:88

References gen_typed_cons(), and OPERATOR_ID_TREE_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_patternArg_cons()

list gen_patternArg_cons ( patternArg  p,
list  l 
)

Definition at line 259 of file sac_private.c.

259  {
261 }
#define PATTERNARG_NEWGEN_DOMAIN
Definition: sac_private.h:96

References gen_typed_cons(), and PATTERNARG_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_patternx_cons()

list gen_patternx_cons ( patternx  p,
list  l 
)

Definition at line 314 of file sac_private.c.

314  {
316 }
#define PATTERNX_NEWGEN_DOMAIN
Definition: sac_private.h:104

References gen_typed_cons(), and PATTERNX_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_reductionInfo_cons()

list gen_reductionInfo_cons ( reductionInfo  p,
list  l 
)

Definition at line 356 of file sac_private.c.

356  {
358 }
#define REDUCTIONINFO_NEWGEN_DOMAIN
Definition: sac_private.h:112

References gen_typed_cons(), and REDUCTIONINFO_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_simdstatement_cons()

list gen_simdstatement_cons ( simdstatement  p,
list  l 
)

Definition at line 398 of file sac_private.c.

398  {
400 }
#define SIMDSTATEMENT_NEWGEN_DOMAIN
Definition: sac_private.h:120

References gen_typed_cons(), and SIMDSTATEMENT_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ gen_transformation_cons()

list gen_transformation_cons ( transformation  p,
list  l 
)

Definition at line 490 of file sac_private.c.

490  {
492 }
#define TRANSFORMATION_NEWGEN_DOMAIN
Definition: sac_private.h:136

References gen_typed_cons(), and TRANSFORMATION_NEWGEN_DOMAIN.

+ Here is the call graph for this function:

◆ make_match()

match make_match ( opcodeClass  a1,
list  a2 
)

Definition at line 153 of file sac_private.c.

153  {
154  return (match) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, match_domain, a1, a2);
155 }
#define GEN_CHECK_ALLOC
Definition: genC.h:307
gen_chunk * gen_alloc(int size, int gen_check_p, int dom,...)
allocates something in newgen.
Definition: genClib.c:298

References gen_alloc(), GEN_CHECK_ALLOC, and match_domain.

+ Here is the call graph for this function:

◆ make_matchTree()

matchTree make_matchTree ( list  a1,
matchTreeSons  a2 
)

Definition at line 54 of file sac_private.c.

54  {
55  return (matchTree) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, matchTree_domain, a1, a2);
56 }

References gen_alloc(), GEN_CHECK_ALLOC, and matchTree_domain.

+ Here is the call graph for this function:

◆ make_matchTreeSons()

matchTreeSons make_matchTreeSons ( void  )

Definition at line 96 of file sac_private.c.

96  {
98 }

References gen_alloc(), GEN_CHECK_ALLOC, and matchTreeSons_domain.

+ Here is the call graph for this function:

◆ make_opcode()

opcode make_opcode ( string  a1,
intptr_t  a2,
list  a3,
float  a4 
)

Definition at line 195 of file sac_private.c.

195  {
196  return (opcode) gen_alloc(5*sizeof(gen_chunk), GEN_CHECK_ALLOC, opcode_domain, a1, a2, a3, a4);
197 }

References gen_alloc(), GEN_CHECK_ALLOC, and opcode_domain.

+ Here is the call graph for this function:

◆ make_opcodeClass()

opcodeClass make_opcodeClass ( string  a1,
intptr_t  a2,
list  a3 
)

Definition at line 468 of file sac_private.c.

468  {
469  return (opcodeClass) gen_alloc(5*sizeof(gen_chunk), GEN_CHECK_ALLOC, opcodeClass_domain, a1, a2, a3);
470 }

References gen_alloc(), GEN_CHECK_ALLOC, and opcodeClass_domain.

+ Here is the call graph for this function:

◆ make_operator_id_tree()

operator_id_tree make_operator_id_tree ( intptr_t  a1,
operator_id_sons  a2 
)

Definition at line 237 of file sac_private.c.

237  {
239 }

References gen_alloc(), GEN_CHECK_ALLOC, and operator_id_tree_domain.

+ Here is the call graph for this function:

◆ make_patternArg()

patternArg make_patternArg ( enum patternArg_utype  tag,
void *  val 
)

Definition at line 286 of file sac_private.c.

286  {
288 }
int tag
TAG.
Definition: newgen_types.h:92

References gen_alloc(), GEN_CHECK_ALLOC, and patternArg_domain.

+ Here is the call graph for this function:

◆ make_patternArg_dynamic()

patternArg make_patternArg_dynamic ( void  )

Definition at line 292 of file sac_private.c.

292  {
294 }
patternArg make_patternArg(enum patternArg_utype tag, void *val)
Definition: sac_private.c:286
#define UU
Definition: newgen_types.h:98
@ is_patternArg_dynamic
Definition: sac_private.h:357

References is_patternArg_dynamic, make_patternArg(), and UU.

+ Here is the call graph for this function:

◆ make_patternArg_static()

patternArg make_patternArg_static ( intptr_t  _field_)

Definition at line 289 of file sac_private.c.

289  {
290  return make_patternArg(is_patternArg_static, (void*)(intptr_t) _field_);
291 }
@ is_patternArg_static
Definition: sac_private.h:356

References intptr_t, is_patternArg_static, and make_patternArg().

+ Here is the call graph for this function:

◆ make_patternx()

patternx make_patternx ( opcodeClass  a1,
list  a2 
)

Definition at line 334 of file sac_private.c.

334  {
335  return (patternx) gen_alloc(3*sizeof(gen_chunk), GEN_CHECK_ALLOC, patternx_domain, a1, a2);
336 }

References gen_alloc(), GEN_CHECK_ALLOC, and patternx_domain.

+ Here is the call graph for this function:

◆ make_reductionInfo()

reductionInfo make_reductionInfo ( reduction  a1,
intptr_t  a2,
entity  a3 
)

Definition at line 376 of file sac_private.c.

376  {
377  return (reductionInfo) gen_alloc(4*sizeof(gen_chunk), GEN_CHECK_ALLOC, reductionInfo_domain, a1, a2, a3);
378 }

References gen_alloc(), GEN_CHECK_ALLOC, and reductionInfo_domain.

+ Here is the call graph for this function:

◆ make_simdstatement()

simdstatement make_simdstatement ( opcode  a1,
intptr_t  a2,
entity a3,
expression a4 
)

Definition at line 418 of file sac_private.c.

418  {
419  return (simdstatement) gen_alloc(5*sizeof(gen_chunk), GEN_CHECK_ALLOC, simdstatement_domain, a1, a2, a3, a4);
420 }

References gen_alloc(), GEN_CHECK_ALLOC, and simdstatement_domain.

+ Here is the call graph for this function:

◆ make_transformation()

transformation make_transformation ( string  a1,
intptr_t  a2,
intptr_t  a3,
intptr_t  a4,
intptr_t  a5,
intptr_t  a6,
int a7 
)

Definition at line 510 of file sac_private.c.

510  {
511  return (transformation) gen_alloc(8*sizeof(gen_chunk), GEN_CHECK_ALLOC, transformation_domain, a1, a2, a3, a4, a5, a6, a7);
512 }

References gen_alloc(), GEN_CHECK_ALLOC, and transformation_domain.

+ Here is the call graph for this function:

◆ match_assign_contents()

void match_assign_contents ( match  r,
match  v 
)

Definition at line 136 of file sac_private.c.

136  {
137  check_match(r);
138  check_match(v);
139  message_assert("defined references to domain match",
141  memcpy(r, v, sizeof(struct _newgen_struct_match_));
142 }
match check_match(match p)
Definition: sac_private.c:123
bool match_defined_p(match p)
Definition: sac_private.c:130
#define message_assert(msg, ex)
Definition: newgen_assert.h:47

References check_match(), match_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ match_consistent_p()

bool match_consistent_p ( match  p)

Definition at line 126 of file sac_private.c.

126  {
127  check_match(p);
128  return gen_consistent_p((gen_chunk*) p);
129 }
int gen_consistent_p(gen_chunk *obj)
GEN_CONSISTENT_P dynamically checks the type correctness of OBJ.
Definition: genClib.c:2398

References check_match(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ match_defined_p()

bool match_defined_p ( match  p)

Definition at line 130 of file sac_private.c.

130  {
131  return gen_defined_p((gen_chunk*) p);
132 }
int gen_defined_p(gen_chunk *obj)
Definition: genClib.c:2438

References gen_defined_p().

+ Here is the call graph for this function:

◆ match_non_recursive_free()

void match_non_recursive_free ( match  p)

Definition at line 143 of file sac_private.c.

143  {
144  // should clear up contents...
145  free(p);
146 }
void free(void *)

References free().

+ Here is the call graph for this function:

◆ matchTree_assign_contents()

void matchTree_assign_contents ( matchTree  r,
matchTree  v 
)

Definition at line 37 of file sac_private.c.

37  {
38  check_matchTree(r);
39  check_matchTree(v);
40  message_assert("defined references to domain matchTree",
42  memcpy(r, v, sizeof(struct _newgen_struct_matchTree_));
43 }
matchTree check_matchTree(matchTree p)
Definition: sac_private.c:24
bool matchTree_defined_p(matchTree p)
Definition: sac_private.c:31

References check_matchTree(), matchTree_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ matchTree_consistent_p()

bool matchTree_consistent_p ( matchTree  p)

Definition at line 27 of file sac_private.c.

27  {
28  check_matchTree(p);
29  return gen_consistent_p((gen_chunk*) p);
30 }

References check_matchTree(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ matchTree_defined_p()

bool matchTree_defined_p ( matchTree  p)

Definition at line 31 of file sac_private.c.

31  {
32  return gen_defined_p((gen_chunk*) p);
33 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ matchTree_non_recursive_free()

void matchTree_non_recursive_free ( matchTree  p)

Definition at line 44 of file sac_private.c.

44  {
45  // should clear up contents...
46  free(p);
47 }

References free().

+ Here is the call graph for this function:

◆ matchTreeSons_assign_contents()

void matchTreeSons_assign_contents ( matchTreeSons  r,
matchTreeSons  v 
)

Definition at line 79 of file sac_private.c.

79  {
82  message_assert("defined references to domain matchTreeSons",
84  memcpy(r, v, sizeof(struct _newgen_struct_matchTreeSons_));
85 }
matchTreeSons check_matchTreeSons(matchTreeSons p)
Definition: sac_private.c:66
bool matchTreeSons_defined_p(matchTreeSons p)
Definition: sac_private.c:73

References check_matchTreeSons(), matchTreeSons_defined_p(), and message_assert.

+ Here is the call graph for this function:

◆ matchTreeSons_consistent_p()

bool matchTreeSons_consistent_p ( matchTreeSons  p)

Definition at line 69 of file sac_private.c.

69  {
71  return gen_consistent_p((gen_chunk*) p);
72 }

References check_matchTreeSons(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ matchTreeSons_defined_p()

bool matchTreeSons_defined_p ( matchTreeSons  p)

Definition at line 73 of file sac_private.c.

73  {
74  return gen_defined_p((gen_chunk*) p);
75 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ matchTreeSons_non_recursive_free()

void matchTreeSons_non_recursive_free ( matchTreeSons  p)

Definition at line 86 of file sac_private.c.

86  {
87  // should clear up contents...
88  free(p);
89 }

References free().

+ Here is the call graph for this function:

◆ opcode_assign_contents()

void opcode_assign_contents ( opcode  r,
opcode  v 
)

Definition at line 178 of file sac_private.c.

178  {
179  check_opcode(r);
180  check_opcode(v);
181  message_assert("defined references to domain opcode",
183  memcpy(r, v, sizeof(struct _newgen_struct_opcode_));
184 }
opcode check_opcode(opcode p)
Definition: sac_private.c:165
bool opcode_defined_p(opcode p)
Definition: sac_private.c:172

References check_opcode(), message_assert, and opcode_defined_p().

+ Here is the call graph for this function:

◆ opcode_consistent_p()

bool opcode_consistent_p ( opcode  p)

Definition at line 168 of file sac_private.c.

168  {
169  check_opcode(p);
170  return gen_consistent_p((gen_chunk*) p);
171 }

References check_opcode(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ opcode_defined_p()

bool opcode_defined_p ( opcode  p)

Definition at line 172 of file sac_private.c.

172  {
173  return gen_defined_p((gen_chunk*) p);
174 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ opcode_non_recursive_free()

void opcode_non_recursive_free ( opcode  p)

Definition at line 185 of file sac_private.c.

185  {
186  // should clear up contents...
187  free(p);
188 }

References free().

+ Here is the call graph for this function:

◆ opcodeClass_assign_contents()

void opcodeClass_assign_contents ( opcodeClass  r,
opcodeClass  v 
)

Definition at line 443 of file sac_private.c.

443  {
446  message_assert("defined references to domain opcodeClass",
448  memcpy(r, v, sizeof(struct _newgen_struct_opcodeClass_));
449 }
bool opcodeClass_defined_p(opcodeClass p)
Definition: sac_private.c:437
opcodeClass check_opcodeClass(opcodeClass p)
Definition: sac_private.c:430

References check_opcodeClass(), message_assert, and opcodeClass_defined_p().

+ Here is the call graph for this function:

◆ opcodeClass_consistent_p()

bool opcodeClass_consistent_p ( opcodeClass  p)

Definition at line 433 of file sac_private.c.

433  {
435  return gen_consistent_p((gen_chunk*) p);
436 }

References check_opcodeClass(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ opcodeClass_defined_p()

bool opcodeClass_defined_p ( opcodeClass  p)

Definition at line 437 of file sac_private.c.

437  {
438  return gen_defined_p((gen_chunk*) p);
439 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ opcodeClass_non_recursive_free()

void opcodeClass_non_recursive_free ( opcodeClass  p)

Definition at line 450 of file sac_private.c.

450  {
451  // should clear up contents...
452  free(p);
453 }

References free().

+ Here is the call graph for this function:

◆ operator_id_tree_assign_contents()

void operator_id_tree_assign_contents ( operator_id_tree  r,
operator_id_tree  v 
)

Definition at line 220 of file sac_private.c.

220  {
223  message_assert("defined references to domain operator_id_tree",
225  memcpy(r, v, sizeof(struct _newgen_struct_operator_id_tree_));
226 }
operator_id_tree check_operator_id_tree(operator_id_tree p)
Definition: sac_private.c:207
bool operator_id_tree_defined_p(operator_id_tree p)
Definition: sac_private.c:214

References check_operator_id_tree(), message_assert, and operator_id_tree_defined_p().

+ Here is the call graph for this function:

◆ operator_id_tree_consistent_p()

bool operator_id_tree_consistent_p ( operator_id_tree  p)

Definition at line 210 of file sac_private.c.

210  {
212  return gen_consistent_p((gen_chunk*) p);
213 }

References check_operator_id_tree(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ operator_id_tree_defined_p()

bool operator_id_tree_defined_p ( operator_id_tree  p)

Definition at line 214 of file sac_private.c.

214  {
215  return gen_defined_p((gen_chunk*) p);
216 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ operator_id_tree_non_recursive_free()

void operator_id_tree_non_recursive_free ( operator_id_tree  p)

Definition at line 227 of file sac_private.c.

227  {
228  // should clear up contents...
229  free(p);
230 }

References free().

+ Here is the call graph for this function:

◆ patternArg_assign_contents()

void patternArg_assign_contents ( patternArg  r,
patternArg  v 
)

Definition at line 262 of file sac_private.c.

262  {
263  check_patternArg(r);
264  check_patternArg(v);
265  message_assert("defined references to domain patternArg",
267  memcpy(r, v, sizeof(struct _newgen_struct_patternArg_));
268 }
bool patternArg_defined_p(patternArg p)
Definition: sac_private.c:256
patternArg check_patternArg(patternArg p)
Definition: sac_private.c:249

References check_patternArg(), message_assert, and patternArg_defined_p().

+ Here is the call graph for this function:

◆ patternArg_consistent_p()

bool patternArg_consistent_p ( patternArg  p)

Definition at line 252 of file sac_private.c.

252  {
253  check_patternArg(p);
254  return gen_consistent_p((gen_chunk*) p);
255 }

References check_patternArg(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ patternArg_defined_p()

bool patternArg_defined_p ( patternArg  p)

Definition at line 256 of file sac_private.c.

256  {
257  return gen_defined_p((gen_chunk*) p);
258 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ patternArg_non_recursive_free()

void patternArg_non_recursive_free ( patternArg  p)

Definition at line 269 of file sac_private.c.

269  {
270  // should clear up contents...
271  free(p);
272 }

References free().

+ Here is the call graph for this function:

◆ patternArg_tag_as_string()

string patternArg_tag_as_string ( enum patternArg_utype  tag)

Definition at line 279 of file sac_private.c.

279  {
280  switch (tag) {
281  case is_patternArg_static: return "static";
282  case is_patternArg_dynamic: return "dynamic";
283  default: return string_undefined;
284  }
285 }
#define string_undefined
Definition: newgen_types.h:40

References is_patternArg_dynamic, is_patternArg_static, and string_undefined.

◆ patternx_assign_contents()

void patternx_assign_contents ( patternx  r,
patternx  v 
)

Definition at line 317 of file sac_private.c.

317  {
318  check_patternx(r);
319  check_patternx(v);
320  message_assert("defined references to domain patternx",
322  memcpy(r, v, sizeof(struct _newgen_struct_patternx_));
323 }
patternx check_patternx(patternx p)
Definition: sac_private.c:304
bool patternx_defined_p(patternx p)
Definition: sac_private.c:311

References check_patternx(), message_assert, and patternx_defined_p().

+ Here is the call graph for this function:

◆ patternx_consistent_p()

bool patternx_consistent_p ( patternx  p)

Definition at line 307 of file sac_private.c.

307  {
308  check_patternx(p);
309  return gen_consistent_p((gen_chunk*) p);
310 }

References check_patternx(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ patternx_defined_p()

bool patternx_defined_p ( patternx  p)

Definition at line 311 of file sac_private.c.

311  {
312  return gen_defined_p((gen_chunk*) p);
313 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ patternx_non_recursive_free()

void patternx_non_recursive_free ( patternx  p)

Definition at line 324 of file sac_private.c.

324  {
325  // should clear up contents...
326  free(p);
327 }

References free().

+ Here is the call graph for this function:

◆ read_match()

match read_match ( FILE *  f)

Definition at line 150 of file sac_private.c.

150  {
151  return (match) gen_read(f);
152 }
gen_chunk * gen_read(FILE *file)
GEN_READ reads any object from the FILE stream.
Definition: genClib.c:2323

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_matchTree()

matchTree read_matchTree ( FILE *  f)

Definition at line 51 of file sac_private.c.

51  {
52  return (matchTree) gen_read(f);
53 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_matchTreeSons()

matchTreeSons read_matchTreeSons ( FILE *  f)

Definition at line 93 of file sac_private.c.

93  {
94  return (matchTreeSons) gen_read(f);
95 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_opcode()

opcode read_opcode ( FILE *  f)

Definition at line 192 of file sac_private.c.

192  {
193  return (opcode) gen_read(f);
194 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_operator_id_tree()

operator_id_tree read_operator_id_tree ( FILE *  f)

Definition at line 234 of file sac_private.c.

234  {
235  return (operator_id_tree) gen_read(f);
236 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_patternArg()

patternArg read_patternArg ( FILE *  f)

Definition at line 276 of file sac_private.c.

276  {
277  return (patternArg) gen_read(f);
278 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_patternx()

patternx read_patternx ( FILE *  f)

Definition at line 331 of file sac_private.c.

331  {
332  return (patternx) gen_read(f);
333 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_reductionInfo()

reductionInfo read_reductionInfo ( FILE *  f)

Definition at line 373 of file sac_private.c.

373  {
374  return (reductionInfo) gen_read(f);
375 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_simdstatement()

simdstatement read_simdstatement ( FILE *  f)

Definition at line 415 of file sac_private.c.

415  {
416  return (simdstatement) gen_read(f);
417 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ read_tabulated_opcodeClass()

void read_tabulated_opcodeClass ( FILE *  f)

Definition at line 460 of file sac_private.c.

460  {
461  int domain = gen_read_tabulated(f, 0);
462  if (domain!=opcodeClass_domain) {
463  fprintf(stderr, "[newgen internal error]""inconsistent domain number for opcodeClass: %d (expecting %d)\n",
465  abort();
466  }
467 }
int gen_read_tabulated(FILE *file, int create_p)
GEN_READ_TABULATED reads FILE to update the Gen_tabulated_ table.
Definition: genClib.c:2334
#define abort()
Definition: misc-local.h:53
int fprintf()
test sc_min : ce test s'appelle par : programme fichier1.data fichier2.data ...
A DOMAIN union describes the structure of a user type.

References abort, f(), fprintf(), gen_read_tabulated(), and opcodeClass_domain.

+ Here is the call graph for this function:

◆ read_transformation()

transformation read_transformation ( FILE *  f)

Definition at line 507 of file sac_private.c.

507  {
508  return (transformation) gen_read(f);
509 }

References f(), and gen_read().

+ Here is the call graph for this function:

◆ reductionInfo_assign_contents()

void reductionInfo_assign_contents ( reductionInfo  r,
reductionInfo  v 
)

Definition at line 359 of file sac_private.c.

359  {
362  message_assert("defined references to domain reductionInfo",
364  memcpy(r, v, sizeof(struct _newgen_struct_reductionInfo_));
365 }
bool reductionInfo_defined_p(reductionInfo p)
Definition: sac_private.c:353
reductionInfo check_reductionInfo(reductionInfo p)
Definition: sac_private.c:346

References check_reductionInfo(), message_assert, and reductionInfo_defined_p().

+ Here is the call graph for this function:

◆ reductionInfo_consistent_p()

bool reductionInfo_consistent_p ( reductionInfo  p)

Definition at line 349 of file sac_private.c.

349  {
351  return gen_consistent_p((gen_chunk*) p);
352 }

References check_reductionInfo(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ reductionInfo_defined_p()

bool reductionInfo_defined_p ( reductionInfo  p)

Definition at line 353 of file sac_private.c.

353  {
354  return gen_defined_p((gen_chunk*) p);
355 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ reductionInfo_non_recursive_free()

void reductionInfo_non_recursive_free ( reductionInfo  p)

Definition at line 366 of file sac_private.c.

366  {
367  // should clear up contents...
368  free(p);
369 }

References free().

+ Here is the call graph for this function:

◆ simdstatement_assign_contents()

void simdstatement_assign_contents ( simdstatement  r,
simdstatement  v 
)

Definition at line 401 of file sac_private.c.

401  {
404  message_assert("defined references to domain simdstatement",
406  memcpy(r, v, sizeof(struct _newgen_struct_simdstatement_));
407 }
simdstatement check_simdstatement(simdstatement p)
Definition: sac_private.c:388
bool simdstatement_defined_p(simdstatement p)
Definition: sac_private.c:395

References check_simdstatement(), message_assert, and simdstatement_defined_p().

+ Here is the call graph for this function:

◆ simdstatement_consistent_p()

bool simdstatement_consistent_p ( simdstatement  p)

Definition at line 391 of file sac_private.c.

391  {
393  return gen_consistent_p((gen_chunk*) p);
394 }

References check_simdstatement(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ simdstatement_defined_p()

bool simdstatement_defined_p ( simdstatement  p)

Definition at line 395 of file sac_private.c.

395  {
396  return gen_defined_p((gen_chunk*) p);
397 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ simdstatement_non_recursive_free()

void simdstatement_non_recursive_free ( simdstatement  p)

Definition at line 408 of file sac_private.c.

408  {
409  // should clear up contents...
410  free(p);
411 }

References free().

+ Here is the call graph for this function:

◆ transformation_assign_contents()

void transformation_assign_contents ( transformation  r,
transformation  v 
)

Definition at line 493 of file sac_private.c.

493  {
496  message_assert("defined references to domain transformation",
498  memcpy(r, v, sizeof(struct _newgen_struct_transformation_));
499 }
bool transformation_defined_p(transformation p)
Definition: sac_private.c:487
transformation check_transformation(transformation p)
Definition: sac_private.c:480

References check_transformation(), message_assert, and transformation_defined_p().

+ Here is the call graph for this function:

◆ transformation_consistent_p()

bool transformation_consistent_p ( transformation  p)

Definition at line 483 of file sac_private.c.

483  {
485  return gen_consistent_p((gen_chunk*) p);
486 }

References check_transformation(), and gen_consistent_p().

+ Here is the call graph for this function:

◆ transformation_defined_p()

bool transformation_defined_p ( transformation  p)

Definition at line 487 of file sac_private.c.

487  {
488  return gen_defined_p((gen_chunk*) p);
489 }

References gen_defined_p().

+ Here is the call graph for this function:

◆ transformation_non_recursive_free()

void transformation_non_recursive_free ( transformation  p)

Definition at line 500 of file sac_private.c.

500  {
501  // should clear up contents...
502  free(p);
503 }

References free().

+ Here is the call graph for this function:

◆ update_matchTreeSons()

void update_matchTreeSons ( matchTreeSons  f,
intptr_t  k,
matchTree  v 
)

Definition at line 102 of file sac_private.c.

102  {
104 }
#define HASH_UPDATE(start, image, h, k, v)
Definition: newgen_map.h:34

References f(), HASH_UPDATE, intptr_t, and matchTreeSons_hash_table.

+ Here is the call graph for this function:

◆ write_match()

void write_match ( FILE *  f,
match  p 
)

Definition at line 147 of file sac_private.c.

147  {
148  gen_write(f, (gen_chunk*) p);
149 }
void gen_write(FILE *fd, gen_chunk *obj)
GEN_WRITE writes the OBJect on the stream FD.
Definition: genClib.c:1745

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_matchTree()

void write_matchTree ( FILE *  f,
matchTree  p 
)

Definition at line 48 of file sac_private.c.

48  {
49  gen_write(f, (gen_chunk*) p);
50 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_matchTreeSons()

void write_matchTreeSons ( FILE *  f,
matchTreeSons  p 
)

Definition at line 90 of file sac_private.c.

90  {
91  gen_write(f, (gen_chunk*) p);
92 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_opcode()

void write_opcode ( FILE *  f,
opcode  p 
)

Definition at line 189 of file sac_private.c.

189  {
190  gen_write(f, (gen_chunk*) p);
191 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_operator_id_tree()

void write_operator_id_tree ( FILE *  f,
operator_id_tree  p 
)

Definition at line 231 of file sac_private.c.

231  {
232  gen_write(f, (gen_chunk*) p);
233 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_patternArg()

void write_patternArg ( FILE *  f,
patternArg  p 
)

Definition at line 273 of file sac_private.c.

273  {
274  gen_write(f, (gen_chunk*) p);
275 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_patternx()

void write_patternx ( FILE *  f,
patternx  p 
)

Definition at line 328 of file sac_private.c.

328  {
329  gen_write(f, (gen_chunk*) p);
330 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_reductionInfo()

void write_reductionInfo ( FILE *  f,
reductionInfo  p 
)

Definition at line 370 of file sac_private.c.

370  {
371  gen_write(f, (gen_chunk*) p);
372 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_simdstatement()

void write_simdstatement ( FILE *  f,
simdstatement  p 
)

Definition at line 412 of file sac_private.c.

412  {
413  gen_write(f, (gen_chunk*) p);
414 }

References f(), and gen_write().

+ Here is the call graph for this function:

◆ write_tabulated_opcodeClass()

void write_tabulated_opcodeClass ( FILE *  f)

Definition at line 457 of file sac_private.c.

457  {
459 }
int gen_write_tabulated(FILE *fd, int domain)
GEN_WRITE_TABULATED writes the tabulated object TABLE on FD.
Definition: genClib.c:1866

References f(), gen_write_tabulated(), and opcodeClass_domain.

+ Here is the call graph for this function:

◆ write_transformation()

void write_transformation ( FILE *  f,
transformation  p 
)

Definition at line 504 of file sac_private.c.

504  {
505  gen_write(f, (gen_chunk*) p);
506 }

References f(), and gen_write().

+ Here is the call graph for this function: