PIPS
sac_private.h File Reference
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  _newgen_struct_matchTree_
 
struct  _newgen_struct_matchTreeSons_
 
struct  _newgen_struct_match_
 
struct  _newgen_struct_opcode_
 
struct  _newgen_struct_operator_id_tree_
 
struct  _newgen_struct_patternArg_
 
struct  _newgen_struct_patternx_
 
struct  _newgen_struct_reductionInfo_
 
struct  _newgen_struct_simdstatement_
 
struct  _newgen_struct_opcodeClass_
 
struct  _newgen_struct_transformation_
 

Macros

#define _gen_sac_private_start   177
 
#define _newgen_entity_domain_defined_
 
#define ENTITY_NEWGEN_DOMAIN   (entity_domain)
 
#define entity_NEWGEN_DOMAIN   (entity_domain)
 
#define _newgen_expression_domain_defined_
 newgen_entity_domain_defined More...
 
#define EXPRESSION_NEWGEN_DOMAIN   (expression_domain)
 
#define expression_NEWGEN_DOMAIN   (expression_domain)
 
#define _newgen_statement_domain_defined_
 newgen_expression_domain_defined More...
 
#define STATEMENT_NEWGEN_DOMAIN   (statement_domain)
 
#define statement_NEWGEN_DOMAIN   (statement_domain)
 
#define _newgen_reference_domain_defined_
 newgen_statement_domain_defined More...
 
#define REFERENCE_NEWGEN_DOMAIN   (reference_domain)
 
#define reference_NEWGEN_DOMAIN   (reference_domain)
 
#define _newgen_reduction_domain_defined_
 newgen_reference_domain_defined More...
 
#define REDUCTION_NEWGEN_DOMAIN   (reduction_domain)
 
#define reduction_NEWGEN_DOMAIN   (reduction_domain)
 
#define _newgen_operator_id_sons_domain_defined_
 newgen_reduction_domain_defined More...
 
#define newgen_operator_id_sons(p)   (p) /**old hack compatible */
 
#define OPERATOR_ID_SONS_NEWGEN_EXTERNAL   (_gen_sac_private_start+0)
 
#define OPERATOR_ID_SONS_NEWGEN_DOMAIN   (OPERATOR_ID_SONS_NEWGEN_EXTERNAL)
 
#define operator_id_sons_NEWGEN_DOMAIN   (OPERATOR_ID_SONS_NEWGEN_EXTERNAL)
 
#define matchTree_domain   (_gen_sac_private_start+1)
 newgen_operator_id_sons_domain_defined More...
 
#define _newgen_matchTree_domain_defined_
 
#define MATCHTREE_NEWGEN_DOMAIN   (matchTree_domain)
 
#define matchTree_NEWGEN_DOMAIN   (matchTree_domain)
 
#define matchTreeSons_domain   (_gen_sac_private_start+2)
 newgen_matchTree_domain_defined More...
 
#define _newgen_matchTreeSons_domain_defined_
 
#define MATCHTREESONS_NEWGEN_DOMAIN   (matchTreeSons_domain)
 
#define matchTreeSons_NEWGEN_DOMAIN   (matchTreeSons_domain)
 
#define match_domain   (_gen_sac_private_start+3)
 newgen_matchTreeSons_domain_defined More...
 
#define _newgen_match_domain_defined_
 
#define MATCH_NEWGEN_DOMAIN   (match_domain)
 
#define match_NEWGEN_DOMAIN   (match_domain)
 
#define opcode_domain   (_gen_sac_private_start+4)
 newgen_match_domain_defined More...
 
#define _newgen_opcode_domain_defined_
 
#define OPCODE_NEWGEN_DOMAIN   (opcode_domain)
 
#define opcode_NEWGEN_DOMAIN   (opcode_domain)
 
#define operator_id_tree_domain   (_gen_sac_private_start+5)
 newgen_opcode_domain_defined More...
 
#define _newgen_operator_id_tree_domain_defined_
 
#define OPERATOR_ID_TREE_NEWGEN_DOMAIN   (operator_id_tree_domain)
 
#define operator_id_tree_NEWGEN_DOMAIN   (operator_id_tree_domain)
 
#define patternArg_domain   (_gen_sac_private_start+6)
 newgen_operator_id_tree_domain_defined More...
 
#define _newgen_patternArg_domain_defined_
 
#define PATTERNARG_NEWGEN_DOMAIN   (patternArg_domain)
 
#define patternArg_NEWGEN_DOMAIN   (patternArg_domain)
 
#define patternx_domain   (_gen_sac_private_start+7)
 newgen_patternArg_domain_defined More...
 
#define _newgen_patternx_domain_defined_
 
#define PATTERNX_NEWGEN_DOMAIN   (patternx_domain)
 
#define patternx_NEWGEN_DOMAIN   (patternx_domain)
 
#define reductionInfo_domain   (_gen_sac_private_start+8)
 newgen_patternx_domain_defined More...
 
#define _newgen_reductionInfo_domain_defined_
 
#define REDUCTIONINFO_NEWGEN_DOMAIN   (reductionInfo_domain)
 
#define reductionInfo_NEWGEN_DOMAIN   (reductionInfo_domain)
 
#define simdstatement_domain   (_gen_sac_private_start+9)
 newgen_reductionInfo_domain_defined More...
 
#define _newgen_simdstatement_domain_defined_
 
#define SIMDSTATEMENT_NEWGEN_DOMAIN   (simdstatement_domain)
 
#define simdstatement_NEWGEN_DOMAIN   (simdstatement_domain)
 
#define opcodeClass_domain   (_gen_sac_private_start+10)
 newgen_simdstatement_domain_defined More...
 
#define _newgen_opcodeClass_domain_defined_
 
#define OPCODECLASS_NEWGEN_DOMAIN   (opcodeClass_domain)
 
#define opcodeClass_NEWGEN_DOMAIN   (opcodeClass_domain)
 
#define transformation_domain   (_gen_sac_private_start+11)
 newgen_opcodeClass_domain_defined More...
 
#define _newgen_transformation_domain_defined_
 
#define TRANSFORMATION_NEWGEN_DOMAIN   (transformation_domain)
 
#define transformation_NEWGEN_DOMAIN   (transformation_domain)
 
#define MATCHTREE(x)   ((matchTree)((x).p))
 newgen_transformation_domain_defined More...
 
#define matchTree_CAST(x)   MATCHTREE(x)
 
#define MATCHTREE_CAST(x)   MATCHTREE(x)
 
#define MATCHTREE_(x)   ((x).e)
 
#define MATCHTREE_TYPE   matchTree
 
#define matchTree_TYPE   matchTree
 
#define matchTree_undefined   ((matchTree)gen_chunk_undefined)
 
#define matchTree_undefined_p(x)   ((x)==matchTree_undefined)
 
#define gen_MATCHTREE_cons   gen_matchTree_cons
 
#define matchTree_domain_number(x)   ((x)->_type_)
 
#define matchTree_patterns_(x)   matchTree_patterns(x) /**old hack compatible */
 
#define matchTree_patterns(x)   ((x)->_matchTree_patterns_)
 
#define matchTree_sons_(x)   matchTree_sons(x) /**old hack compatible */
 
#define matchTree_sons(x)   ((x)->_matchTree_sons_)
 
#define MATCHTREESONS(x)   ((matchTreeSons)((x).p))
 MATCHTREESONS. More...
 
#define matchTreeSons_CAST(x)   MATCHTREESONS(x)
 
#define MATCHTREESONS_CAST(x)   MATCHTREESONS(x)
 
#define MATCHTREESONS_(x)   ((x).e)
 
#define MATCHTREESONS_TYPE   matchTreeSons
 
#define matchTreeSons_TYPE   matchTreeSons
 
#define matchTreeSons_undefined   ((matchTreeSons)gen_chunk_undefined)
 
#define matchTreeSons_undefined_p(x)   ((x)==matchTreeSons_undefined)
 
#define gen_MATCHTREESONS_cons   gen_matchTreeSons_cons
 
#define matchTreeSons_domain_number(x)   ((x)->_type_)
 
#define matchTreeSons_hash_table(x)   ((x)->_matchTreeSons_holder_)
 
#define matchTreeSons_key_type   intptr_t
 
#define matchTreeSons_value_type   matchTree
 
#define MATCHTREESONS_MAP(k, v, c, f)   FUNCTION_MAP(matchTreeSons,i,p,k,v,c,f)
 
#define MATCHTREESONS_FOREACH(k, v, f)   FUNCTION_FOREACH(matchTreeSons,i,p,k,v,f)
 
#define MATCH(x)   ((match)((x).p))
 MATCH. More...
 
#define match_CAST(x)   MATCH(x)
 
#define MATCH_CAST(x)   MATCH(x)
 
#define MATCH_(x)   ((x).e)
 
#define MATCH_TYPE   match
 
#define match_TYPE   match
 
#define match_undefined   ((match)gen_chunk_undefined)
 
#define match_undefined_p(x)   ((x)==match_undefined)
 
#define gen_MATCH_cons   gen_match_cons
 
#define match_domain_number(x)   ((x)->_type_)
 
#define match_type_(x)   match_type(x) /**old hack compatible */
 
#define match_type(x)   ((x)->_match_type_)
 
#define match_args_(x)   match_args(x) /**old hack compatible */
 
#define match_args(x)   ((x)->_match_args_)
 
#define OPCODE(x)   ((opcode)((x).p))
 OPCODE. More...
 
#define opcode_CAST(x)   OPCODE(x)
 
#define OPCODE_CAST(x)   OPCODE(x)
 
#define OPCODE_(x)   ((x).e)
 
#define OPCODE_TYPE   opcode
 
#define opcode_TYPE   opcode
 
#define opcode_undefined   ((opcode)gen_chunk_undefined)
 
#define opcode_undefined_p(x)   ((x)==opcode_undefined)
 
#define gen_OPCODE_cons   gen_opcode_cons
 
#define opcode_domain_number(x)   ((x)->_type_)
 
#define opcode_name_(x)   opcode_name(x) /**old hack compatible */
 
#define opcode_name(x)   ((x)->_opcode_name_)
 
#define opcode_vectorSize_(x)   opcode_vectorSize(x) /**old hack compatible */
 
#define opcode_vectorSize(x)   ((x)->_opcode_vectorSize_)
 
#define opcode_argType_(x)   opcode_argType(x) /**old hack compatible */
 
#define opcode_argType(x)   ((x)->_opcode_argType_)
 
#define opcode_cost_(x)   opcode_cost(x) /**old hack compatible */
 
#define opcode_cost(x)   ((x)->_opcode_cost_.f)
 
#define OPERATOR_ID_TREE(x)   ((operator_id_tree)((x).p))
 OPERATOR_ID_TREE. More...
 
#define operator_id_tree_CAST(x)   OPERATOR_ID_TREE(x)
 
#define OPERATOR_ID_TREE_CAST(x)   OPERATOR_ID_TREE(x)
 
#define OPERATOR_ID_TREE_(x)   ((x).e)
 
#define OPERATOR_ID_TREE_TYPE   operator_id_tree
 
#define operator_id_tree_TYPE   operator_id_tree
 
#define operator_id_tree_undefined   ((operator_id_tree)gen_chunk_undefined)
 
#define operator_id_tree_undefined_p(x)   ((x)==operator_id_tree_undefined)
 
#define gen_OPERATOR_ID_TREE_cons   gen_operator_id_tree_cons
 
#define operator_id_tree_domain_number(x)   ((x)->_type_)
 
#define operator_id_tree_id_(x)   operator_id_tree_id(x) /**old hack compatible */
 
#define operator_id_tree_id(x)   ((x)->_operator_id_tree_id_)
 
#define operator_id_tree_sons_(x)   operator_id_tree_sons(x) /**old hack compatible */
 
#define operator_id_tree_sons(x)   ((x)->_operator_id_tree_sons_)
 
#define PATTERNARG(x)   ((patternArg)((x).p))
 PATTERNARG. More...
 
#define patternArg_CAST(x)   PATTERNARG(x)
 
#define PATTERNARG_CAST(x)   PATTERNARG(x)
 
#define PATTERNARG_(x)   ((x).e)
 
#define PATTERNARG_TYPE   patternArg
 
#define patternArg_TYPE   patternArg
 
#define patternArg_undefined   ((patternArg)gen_chunk_undefined)
 
#define patternArg_undefined_p(x)   ((x)==patternArg_undefined)
 
#define gen_PATTERNARG_cons   gen_patternArg_cons
 
#define patternArg_domain_number(x)   ((x)->_type_)
 
#define patternArg_tag(x)   ((x)->_patternArg_tag__)
 
#define patternArg_static_p(x)   (patternArg_tag(x)==is_patternArg_static)
 
#define patternArg_static_(x)   patternArg_static(x) /**old hack compatible */
 
#define patternArg_static(x)   ((x)->_patternArg_union_._patternArg_static_)
 
#define patternArg_dynamic_p(x)   (patternArg_tag(x)==is_patternArg_dynamic)
 
#define patternArg_dynamic_(x)   patternArg_dynamic(x) /**old hack compatible */
 
#define patternArg_dynamic(x)   ((x)->_patternArg_union_._patternArg_dynamic_.u)
 
#define PATTERNX(x)   ((patternx)((x).p))
 PATTERNX. More...
 
#define patternx_CAST(x)   PATTERNX(x)
 
#define PATTERNX_CAST(x)   PATTERNX(x)
 
#define PATTERNX_(x)   ((x).e)
 
#define PATTERNX_TYPE   patternx
 
#define patternx_TYPE   patternx
 
#define patternx_undefined   ((patternx)gen_chunk_undefined)
 
#define patternx_undefined_p(x)   ((x)==patternx_undefined)
 
#define gen_PATTERNX_cons   gen_patternx_cons
 
#define patternx_domain_number(x)   ((x)->_type_)
 
#define patternx_class_(x)   patternx_class(x) /**old hack compatible */
 
#define patternx_class(x)   ((x)->_patternx_class_)
 
#define patternx_args_(x)   patternx_args(x) /**old hack compatible */
 
#define patternx_args(x)   ((x)->_patternx_args_)
 
#define REDUCTIONINFO(x)   ((reductionInfo)((x).p))
 REDUCTIONINFO. More...
 
#define reductionInfo_CAST(x)   REDUCTIONINFO(x)
 
#define REDUCTIONINFO_CAST(x)   REDUCTIONINFO(x)
 
#define REDUCTIONINFO_(x)   ((x).e)
 
#define REDUCTIONINFO_TYPE   reductionInfo
 
#define reductionInfo_TYPE   reductionInfo
 
#define reductionInfo_undefined   ((reductionInfo)gen_chunk_undefined)
 
#define reductionInfo_undefined_p(x)   ((x)==reductionInfo_undefined)
 
#define gen_REDUCTIONINFO_cons   gen_reductionInfo_cons
 
#define reductionInfo_domain_number(x)   ((x)->_type_)
 
#define reductionInfo_reduction_(x)   reductionInfo_reduction(x) /**old hack compatible */
 
#define reductionInfo_reduction(x)   ((x)->_reductionInfo_reduction_)
 
#define reductionInfo_count_(x)   reductionInfo_count(x) /**old hack compatible */
 
#define reductionInfo_count(x)   ((x)->_reductionInfo_count_)
 
#define reductionInfo_vector_(x)   reductionInfo_vector(x) /**old hack compatible */
 
#define reductionInfo_vector(x)   ((x)->_reductionInfo_vector_)
 
#define SIMDSTATEMENT(x)   ((simdstatement)((x).p))
 SIMDSTATEMENT. More...
 
#define simdstatement_CAST(x)   SIMDSTATEMENT(x)
 
#define SIMDSTATEMENT_CAST(x)   SIMDSTATEMENT(x)
 
#define SIMDSTATEMENT_(x)   ((x).e)
 
#define SIMDSTATEMENT_TYPE   simdstatement
 
#define simdstatement_TYPE   simdstatement
 
#define simdstatement_undefined   ((simdstatement)gen_chunk_undefined)
 
#define simdstatement_undefined_p(x)   ((x)==simdstatement_undefined)
 
#define gen_SIMDSTATEMENT_cons   gen_simdstatement_cons
 
#define simdstatement_domain_number(x)   ((x)->_type_)
 
#define simdstatement_opcode_(x)   simdstatement_opcode(x) /**old hack compatible */
 
#define simdstatement_opcode(x)   ((x)->_simdstatement_opcode_)
 
#define simdstatement_nbArgs_(x)   simdstatement_nbArgs(x) /**old hack compatible */
 
#define simdstatement_nbArgs(x)   ((x)->_simdstatement_nbArgs_)
 
#define simdstatement_vectors_(x)   simdstatement_vectors(x) /**old hack compatible */
 
#define simdstatement_vectors(x)   ((x)->_simdstatement_vectors_)
 
#define simdstatement_arguments_(x)   simdstatement_arguments(x) /**old hack compatible */
 
#define simdstatement_arguments(x)   ((x)->_simdstatement_arguments_)
 
#define OPCODECLASS(x)   ((opcodeClass)((x).p))
 OPCODECLASS. More...
 
#define opcodeClass_CAST(x)   OPCODECLASS(x)
 
#define OPCODECLASS_CAST(x)   OPCODECLASS(x)
 
#define OPCODECLASS_(x)   ((x).e)
 
#define OPCODECLASS_TYPE   opcodeClass
 
#define opcodeClass_TYPE   opcodeClass
 
#define opcodeClass_undefined   ((opcodeClass)gen_chunk_undefined)
 
#define opcodeClass_undefined_p(x)   ((x)==opcodeClass_undefined)
 
#define gen_OPCODECLASS_cons   gen_opcodeClass_cons
 
#define opcodeClass_domain_number(x)   ((x)->_type_)
 
#define opcodeClass_name_(x)   opcodeClass_name(x) /**old hack compatible */
 
#define opcodeClass_name(x)   ((x)->_opcodeClass_name_)
 
#define opcodeClass_nbArgs_(x)   opcodeClass_nbArgs(x) /**old hack compatible */
 
#define opcodeClass_nbArgs(x)   ((x)->_opcodeClass_nbArgs_)
 
#define opcodeClass_opcodes_(x)   opcodeClass_opcodes(x) /**old hack compatible */
 
#define opcodeClass_opcodes(x)   ((x)->_opcodeClass_opcodes_)
 
#define TRANSFORMATION(x)   ((transformation)((x).p))
 TRANSFORMATION. More...
 
#define transformation_CAST(x)   TRANSFORMATION(x)
 
#define TRANSFORMATION_CAST(x)   TRANSFORMATION(x)
 
#define TRANSFORMATION_(x)   ((x).e)
 
#define TRANSFORMATION_TYPE   transformation
 
#define transformation_TYPE   transformation
 
#define transformation_undefined   ((transformation)gen_chunk_undefined)
 
#define transformation_undefined_p(x)   ((x)==transformation_undefined)
 
#define gen_TRANSFORMATION_cons   gen_transformation_cons
 
#define transformation_domain_number(x)   ((x)->_type_)
 
#define transformation_name_(x)   transformation_name(x) /**old hack compatible */
 
#define transformation_name(x)   ((x)->_transformation_name_)
 
#define transformation_vectorLengthOut_(x)   transformation_vectorLengthOut(x) /**old hack compatible */
 
#define transformation_vectorLengthOut(x)   ((x)->_transformation_vectorLengthOut_)
 
#define transformation_subwordSizeOut_(x)   transformation_subwordSizeOut(x) /**old hack compatible */
 
#define transformation_subwordSizeOut(x)   ((x)->_transformation_subwordSizeOut_)
 
#define transformation_vectorLengthIn_(x)   transformation_vectorLengthIn(x) /**old hack compatible */
 
#define transformation_vectorLengthIn(x)   ((x)->_transformation_vectorLengthIn_)
 
#define transformation_subwordSizeIn_(x)   transformation_subwordSizeIn(x) /**old hack compatible */
 
#define transformation_subwordSizeIn(x)   ((x)->_transformation_subwordSizeIn_)
 
#define transformation_nbArgs_(x)   transformation_nbArgs(x) /**old hack compatible */
 
#define transformation_nbArgs(x)   ((x)->_transformation_nbArgs_)
 
#define transformation_mapping_(x)   transformation_mapping(x) /**old hack compatible */
 
#define transformation_mapping(x)   ((x)->_transformation_mapping_)
 
#define sac_private_spec   "\--NEWGEN-START 177\n\import entity from \"ri.newgen\";\n\import expression from \"ri.newgen\";\n\import statement from \"ri.newgen\";\n\import reference from \"ri.newgen\";\n\import reduction from \"reductions_private.newgen\";\n\external operator_id_sons;\n\matchTree = patterns:patternx* x sons:matchTreeSons;\n\matchTreeSons = int:int -> matchTree:matchTree;\n\match = type:opcodeClass x args:expression*;\n\opcode = name:string x vectorSize:int x argType:int* x cost:float;\n\operator_id_tree = id:int x sons:operator_id_sons;\n\patternArg = static:int + dynamic:unit;\n\patternx = class:opcodeClass x args:patternArg*;\n\reductionInfo = persistant reduction:reduction x count:int x persistant vector:entity;\n\simdstatement = opcode:opcode x nbArgs:int x vectors:entity[16] x arguments:expression[48];\n\tabulated opcodeClass = name:string x nbArgs:int x opcodes:opcode*;\n\transformation = name:string x vectorLengthOut:int x subwordSizeOut:int x vectorLengthIn:int x subwordSizeIn:int x nbArgs:int x mapping:int[16];\n\"
 

Typedefs

typedef struct _newgen_struct_entity_entity
 
typedef struct _newgen_struct_expression_expression
 
typedef struct _newgen_struct_statement_statement
 
typedef struct _newgen_struct_reference_reference
 
typedef struct _newgen_struct_reduction_reduction
 
typedef struct _newgen_struct_matchTree_matchTree
 
typedef struct _newgen_struct_matchTreeSons_matchTreeSons
 
typedef struct _newgen_struct_match_match
 
typedef struct _newgen_struct_opcode_opcode
 
typedef struct _newgen_struct_operator_id_tree_operator_id_tree
 
typedef struct _newgen_struct_patternArg_patternArg
 
typedef struct _newgen_struct_patternx_patternx
 
typedef struct _newgen_struct_reductionInfo_reductionInfo
 
typedef struct _newgen_struct_simdstatement_simdstatement
 
typedef struct _newgen_struct_opcodeClass_opcodeClass
 
typedef struct _newgen_struct_transformation_transformation
 

Enumerations

enum  patternArg_utype { is_patternArg_static , is_patternArg_dynamic }
 

Functions

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

Macro Definition Documentation

◆ _gen_sac_private_start

#define _gen_sac_private_start   177

Definition at line 3 of file sac_private.h.

◆ _newgen_entity_domain_defined_

#define _newgen_entity_domain_defined_

Definition at line 11 of file sac_private.h.

◆ _newgen_expression_domain_defined_

#define _newgen_expression_domain_defined_

newgen_entity_domain_defined

Definition at line 18 of file sac_private.h.

◆ _newgen_match_domain_defined_

#define _newgen_match_domain_defined_

Definition at line 71 of file sac_private.h.

◆ _newgen_matchTree_domain_defined_

#define _newgen_matchTree_domain_defined_

Definition at line 55 of file sac_private.h.

◆ _newgen_matchTreeSons_domain_defined_

#define _newgen_matchTreeSons_domain_defined_

Definition at line 63 of file sac_private.h.

◆ _newgen_opcode_domain_defined_

#define _newgen_opcode_domain_defined_

Definition at line 79 of file sac_private.h.

◆ _newgen_opcodeClass_domain_defined_

#define _newgen_opcodeClass_domain_defined_

Definition at line 127 of file sac_private.h.

◆ _newgen_operator_id_sons_domain_defined_

#define _newgen_operator_id_sons_domain_defined_

newgen_reduction_domain_defined

Definition at line 46 of file sac_private.h.

◆ _newgen_operator_id_tree_domain_defined_

#define _newgen_operator_id_tree_domain_defined_

Definition at line 87 of file sac_private.h.

◆ _newgen_patternArg_domain_defined_

#define _newgen_patternArg_domain_defined_

Definition at line 95 of file sac_private.h.

◆ _newgen_patternx_domain_defined_

#define _newgen_patternx_domain_defined_

Definition at line 103 of file sac_private.h.

◆ _newgen_reduction_domain_defined_

#define _newgen_reduction_domain_defined_

newgen_reference_domain_defined

Definition at line 39 of file sac_private.h.

◆ _newgen_reductionInfo_domain_defined_

#define _newgen_reductionInfo_domain_defined_

Definition at line 111 of file sac_private.h.

◆ _newgen_reference_domain_defined_

#define _newgen_reference_domain_defined_

newgen_statement_domain_defined

Definition at line 32 of file sac_private.h.

◆ _newgen_simdstatement_domain_defined_

#define _newgen_simdstatement_domain_defined_

Definition at line 119 of file sac_private.h.

◆ _newgen_statement_domain_defined_

#define _newgen_statement_domain_defined_

newgen_expression_domain_defined

Definition at line 25 of file sac_private.h.

◆ _newgen_transformation_domain_defined_

#define _newgen_transformation_domain_defined_

Definition at line 135 of file sac_private.h.

◆ ENTITY_NEWGEN_DOMAIN

#define ENTITY_NEWGEN_DOMAIN   (entity_domain)

Definition at line 12 of file sac_private.h.

◆ entity_NEWGEN_DOMAIN

#define entity_NEWGEN_DOMAIN   (entity_domain)

Definition at line 13 of file sac_private.h.

◆ EXPRESSION_NEWGEN_DOMAIN

#define EXPRESSION_NEWGEN_DOMAIN   (expression_domain)

Definition at line 19 of file sac_private.h.

◆ expression_NEWGEN_DOMAIN

#define expression_NEWGEN_DOMAIN   (expression_domain)

Definition at line 20 of file sac_private.h.

◆ gen_MATCH_cons

#define gen_MATCH_cons   gen_match_cons

Definition at line 235 of file sac_private.h.

◆ gen_MATCHTREE_cons

#define gen_MATCHTREE_cons   gen_matchTree_cons

Definition at line 158 of file sac_private.h.

◆ gen_MATCHTREESONS_cons

#define gen_MATCHTREESONS_cons   gen_matchTreeSons_cons

Definition at line 194 of file sac_private.h.

◆ gen_OPCODE_cons

#define gen_OPCODE_cons   gen_opcode_cons

Definition at line 271 of file sac_private.h.

◆ gen_OPCODECLASS_cons

#define gen_OPCODECLASS_cons   gen_opcodeClass_cons

Definition at line 515 of file sac_private.h.

◆ gen_OPERATOR_ID_TREE_cons

#define gen_OPERATOR_ID_TREE_cons   gen_operator_id_tree_cons

Definition at line 313 of file sac_private.h.

◆ gen_PATTERNARG_cons

#define gen_PATTERNARG_cons   gen_patternArg_cons

Definition at line 349 of file sac_private.h.

◆ gen_PATTERNX_cons

#define gen_PATTERNX_cons   gen_patternx_cons

Definition at line 398 of file sac_private.h.

◆ gen_REDUCTIONINFO_cons

#define gen_REDUCTIONINFO_cons   gen_reductionInfo_cons

Definition at line 434 of file sac_private.h.

◆ gen_SIMDSTATEMENT_cons

#define gen_SIMDSTATEMENT_cons   gen_simdstatement_cons

Definition at line 473 of file sac_private.h.

◆ gen_TRANSFORMATION_cons

#define gen_TRANSFORMATION_cons   gen_transformation_cons

Definition at line 556 of file sac_private.h.

◆ MATCH

#define MATCH (   x)    ((match)((x).p))

MATCH.

Definition at line 221 of file sac_private.h.

◆ MATCH_

#define MATCH_ (   x)    ((x).e)

Definition at line 224 of file sac_private.h.

◆ match_args

#define match_args (   x)    ((x)->_match_args_)

Definition at line 253 of file sac_private.h.

◆ match_args_

#define match_args_ (   x)    match_args(x) /**old hack compatible */

Definition at line 252 of file sac_private.h.

◆ match_CAST

#define match_CAST (   x)    MATCH(x)

Definition at line 222 of file sac_private.h.

◆ MATCH_CAST

#define MATCH_CAST (   x)    MATCH(x)

Definition at line 223 of file sac_private.h.

◆ match_domain

#define match_domain   (_gen_sac_private_start+3)

newgen_matchTreeSons_domain_defined

Definition at line 69 of file sac_private.h.

◆ match_domain_number

#define match_domain_number (   x)    ((x)->_type_)

Definition at line 249 of file sac_private.h.

◆ MATCH_NEWGEN_DOMAIN

#define MATCH_NEWGEN_DOMAIN   (match_domain)

Definition at line 72 of file sac_private.h.

◆ match_NEWGEN_DOMAIN

#define match_NEWGEN_DOMAIN   (match_domain)

Definition at line 73 of file sac_private.h.

◆ MATCH_TYPE

#define MATCH_TYPE   match

Definition at line 225 of file sac_private.h.

◆ match_TYPE

#define match_TYPE   match

Definition at line 226 of file sac_private.h.

◆ match_type

#define match_type (   x)    ((x)->_match_type_)

Definition at line 251 of file sac_private.h.

◆ match_type_

#define match_type_ (   x)    match_type(x) /**old hack compatible */

Definition at line 250 of file sac_private.h.

◆ match_undefined

#define match_undefined   ((match)gen_chunk_undefined)

Definition at line 227 of file sac_private.h.

◆ match_undefined_p

#define match_undefined_p (   x)    ((x)==match_undefined)

Definition at line 228 of file sac_private.h.

◆ MATCHTREE

#define MATCHTREE (   x)    ((matchTree)((x).p))

newgen_transformation_domain_defined

MATCHTREE

Definition at line 144 of file sac_private.h.

◆ MATCHTREE_

#define MATCHTREE_ (   x)    ((x).e)

Definition at line 147 of file sac_private.h.

◆ matchTree_CAST

#define matchTree_CAST (   x)    MATCHTREE(x)

Definition at line 145 of file sac_private.h.

◆ MATCHTREE_CAST

#define MATCHTREE_CAST (   x)    MATCHTREE(x)

Definition at line 146 of file sac_private.h.

◆ matchTree_domain

#define matchTree_domain   (_gen_sac_private_start+1)

newgen_operator_id_sons_domain_defined

Definition at line 53 of file sac_private.h.

◆ matchTree_domain_number

#define matchTree_domain_number (   x)    ((x)->_type_)

Definition at line 172 of file sac_private.h.

◆ MATCHTREE_NEWGEN_DOMAIN

#define MATCHTREE_NEWGEN_DOMAIN   (matchTree_domain)

Definition at line 56 of file sac_private.h.

◆ matchTree_NEWGEN_DOMAIN

#define matchTree_NEWGEN_DOMAIN   (matchTree_domain)

Definition at line 57 of file sac_private.h.

◆ matchTree_patterns

#define matchTree_patterns (   x)    ((x)->_matchTree_patterns_)

Definition at line 174 of file sac_private.h.

◆ matchTree_patterns_

#define matchTree_patterns_ (   x)    matchTree_patterns(x) /**old hack compatible */

Definition at line 173 of file sac_private.h.

◆ matchTree_sons

#define matchTree_sons (   x)    ((x)->_matchTree_sons_)

Definition at line 176 of file sac_private.h.

◆ matchTree_sons_

#define matchTree_sons_ (   x)    matchTree_sons(x) /**old hack compatible */

Definition at line 175 of file sac_private.h.

◆ MATCHTREE_TYPE

#define MATCHTREE_TYPE   matchTree

Definition at line 148 of file sac_private.h.

◆ matchTree_TYPE

#define matchTree_TYPE   matchTree

Definition at line 149 of file sac_private.h.

◆ matchTree_undefined

#define matchTree_undefined   ((matchTree)gen_chunk_undefined)

Definition at line 150 of file sac_private.h.

◆ matchTree_undefined_p

#define matchTree_undefined_p (   x)    ((x)==matchTree_undefined)

Definition at line 151 of file sac_private.h.

◆ MATCHTREESONS

#define MATCHTREESONS (   x)    ((matchTreeSons)((x).p))

MATCHTREESONS.

Definition at line 180 of file sac_private.h.

◆ MATCHTREESONS_

#define MATCHTREESONS_ (   x)    ((x).e)

Definition at line 183 of file sac_private.h.

◆ matchTreeSons_CAST

#define matchTreeSons_CAST (   x)    MATCHTREESONS(x)

Definition at line 181 of file sac_private.h.

◆ MATCHTREESONS_CAST

#define MATCHTREESONS_CAST (   x)    MATCHTREESONS(x)

Definition at line 182 of file sac_private.h.

◆ matchTreeSons_domain

#define matchTreeSons_domain   (_gen_sac_private_start+2)

newgen_matchTree_domain_defined

Definition at line 61 of file sac_private.h.

◆ matchTreeSons_domain_number

#define matchTreeSons_domain_number (   x)    ((x)->_type_)

Definition at line 207 of file sac_private.h.

◆ MATCHTREESONS_FOREACH

#define MATCHTREESONS_FOREACH (   k,
  v,
  f 
)    FUNCTION_FOREACH(matchTreeSons,i,p,k,v,f)

Definition at line 212 of file sac_private.h.

◆ matchTreeSons_hash_table

#define matchTreeSons_hash_table (   x)    ((x)->_matchTreeSons_holder_)

Definition at line 208 of file sac_private.h.

◆ matchTreeSons_key_type

#define matchTreeSons_key_type   intptr_t

Definition at line 209 of file sac_private.h.

◆ MATCHTREESONS_MAP

#define MATCHTREESONS_MAP (   k,
  v,
  c,
  f 
)    FUNCTION_MAP(matchTreeSons,i,p,k,v,c,f)

Definition at line 211 of file sac_private.h.

◆ MATCHTREESONS_NEWGEN_DOMAIN

#define MATCHTREESONS_NEWGEN_DOMAIN   (matchTreeSons_domain)

Definition at line 64 of file sac_private.h.

◆ matchTreeSons_NEWGEN_DOMAIN

#define matchTreeSons_NEWGEN_DOMAIN   (matchTreeSons_domain)

Definition at line 65 of file sac_private.h.

◆ MATCHTREESONS_TYPE

#define MATCHTREESONS_TYPE   matchTreeSons

Definition at line 184 of file sac_private.h.

◆ matchTreeSons_TYPE

#define matchTreeSons_TYPE   matchTreeSons

Definition at line 185 of file sac_private.h.

◆ matchTreeSons_undefined

#define matchTreeSons_undefined   ((matchTreeSons)gen_chunk_undefined)

Definition at line 186 of file sac_private.h.

◆ matchTreeSons_undefined_p

#define matchTreeSons_undefined_p (   x)    ((x)==matchTreeSons_undefined)

Definition at line 187 of file sac_private.h.

◆ matchTreeSons_value_type

#define matchTreeSons_value_type   matchTree

Definition at line 210 of file sac_private.h.

◆ newgen_operator_id_sons

#define newgen_operator_id_sons (   p)    (p) /**old hack compatible */

Definition at line 47 of file sac_private.h.

◆ OPCODE

#define OPCODE (   x)    ((opcode)((x).p))

OPCODE.

Definition at line 257 of file sac_private.h.

◆ OPCODE_

#define OPCODE_ (   x)    ((x).e)

Definition at line 260 of file sac_private.h.

◆ opcode_argType

#define opcode_argType (   x)    ((x)->_opcode_argType_)

Definition at line 293 of file sac_private.h.

◆ opcode_argType_

#define opcode_argType_ (   x)    opcode_argType(x) /**old hack compatible */

Definition at line 292 of file sac_private.h.

◆ opcode_CAST

#define opcode_CAST (   x)    OPCODE(x)

Definition at line 258 of file sac_private.h.

◆ OPCODE_CAST

#define OPCODE_CAST (   x)    OPCODE(x)

Definition at line 259 of file sac_private.h.

◆ opcode_cost

#define opcode_cost (   x)    ((x)->_opcode_cost_.f)

Definition at line 295 of file sac_private.h.

◆ opcode_cost_

#define opcode_cost_ (   x)    opcode_cost(x) /**old hack compatible */

Definition at line 294 of file sac_private.h.

◆ opcode_domain

#define opcode_domain   (_gen_sac_private_start+4)

newgen_match_domain_defined

Definition at line 77 of file sac_private.h.

◆ opcode_domain_number

#define opcode_domain_number (   x)    ((x)->_type_)

Definition at line 287 of file sac_private.h.

◆ opcode_name

#define opcode_name (   x)    ((x)->_opcode_name_)

Definition at line 289 of file sac_private.h.

◆ opcode_name_

#define opcode_name_ (   x)    opcode_name(x) /**old hack compatible */

Definition at line 288 of file sac_private.h.

◆ OPCODE_NEWGEN_DOMAIN

#define OPCODE_NEWGEN_DOMAIN   (opcode_domain)

Definition at line 80 of file sac_private.h.

◆ opcode_NEWGEN_DOMAIN

#define opcode_NEWGEN_DOMAIN   (opcode_domain)

Definition at line 81 of file sac_private.h.

◆ OPCODE_TYPE

#define OPCODE_TYPE   opcode

Definition at line 261 of file sac_private.h.

◆ opcode_TYPE

#define opcode_TYPE   opcode

Definition at line 262 of file sac_private.h.

◆ opcode_undefined

#define opcode_undefined   ((opcode)gen_chunk_undefined)

Definition at line 263 of file sac_private.h.

◆ opcode_undefined_p

#define opcode_undefined_p (   x)    ((x)==opcode_undefined)

Definition at line 264 of file sac_private.h.

◆ opcode_vectorSize

#define opcode_vectorSize (   x)    ((x)->_opcode_vectorSize_)

Definition at line 291 of file sac_private.h.

◆ opcode_vectorSize_

#define opcode_vectorSize_ (   x)    opcode_vectorSize(x) /**old hack compatible */

Definition at line 290 of file sac_private.h.

◆ OPCODECLASS

#define OPCODECLASS (   x)    ((opcodeClass)((x).p))

OPCODECLASS.

Definition at line 501 of file sac_private.h.

◆ OPCODECLASS_

#define OPCODECLASS_ (   x)    ((x).e)

Definition at line 504 of file sac_private.h.

◆ opcodeClass_CAST

#define opcodeClass_CAST (   x)    OPCODECLASS(x)

Definition at line 502 of file sac_private.h.

◆ OPCODECLASS_CAST

#define OPCODECLASS_CAST (   x)    OPCODECLASS(x)

Definition at line 503 of file sac_private.h.

◆ opcodeClass_domain

#define opcodeClass_domain   (_gen_sac_private_start+10)

newgen_simdstatement_domain_defined

Definition at line 125 of file sac_private.h.

◆ opcodeClass_domain_number

#define opcodeClass_domain_number (   x)    ((x)->_type_)

Definition at line 532 of file sac_private.h.

◆ opcodeClass_name

#define opcodeClass_name (   x)    ((x)->_opcodeClass_name_)

Definition at line 534 of file sac_private.h.

◆ opcodeClass_name_

#define opcodeClass_name_ (   x)    opcodeClass_name(x) /**old hack compatible */

Definition at line 533 of file sac_private.h.

◆ opcodeClass_nbArgs

#define opcodeClass_nbArgs (   x)    ((x)->_opcodeClass_nbArgs_)

Definition at line 536 of file sac_private.h.

◆ opcodeClass_nbArgs_

#define opcodeClass_nbArgs_ (   x)    opcodeClass_nbArgs(x) /**old hack compatible */

Definition at line 535 of file sac_private.h.

◆ OPCODECLASS_NEWGEN_DOMAIN

#define OPCODECLASS_NEWGEN_DOMAIN   (opcodeClass_domain)

Definition at line 128 of file sac_private.h.

◆ opcodeClass_NEWGEN_DOMAIN

#define opcodeClass_NEWGEN_DOMAIN   (opcodeClass_domain)

Definition at line 129 of file sac_private.h.

◆ opcodeClass_opcodes

#define opcodeClass_opcodes (   x)    ((x)->_opcodeClass_opcodes_)

Definition at line 538 of file sac_private.h.

◆ opcodeClass_opcodes_

#define opcodeClass_opcodes_ (   x)    opcodeClass_opcodes(x) /**old hack compatible */

Definition at line 537 of file sac_private.h.

◆ OPCODECLASS_TYPE

#define OPCODECLASS_TYPE   opcodeClass

Definition at line 505 of file sac_private.h.

◆ opcodeClass_TYPE

#define opcodeClass_TYPE   opcodeClass

Definition at line 506 of file sac_private.h.

◆ opcodeClass_undefined

#define opcodeClass_undefined   ((opcodeClass)gen_chunk_undefined)

Definition at line 507 of file sac_private.h.

◆ opcodeClass_undefined_p

#define opcodeClass_undefined_p (   x)    ((x)==opcodeClass_undefined)

Definition at line 508 of file sac_private.h.

◆ OPERATOR_ID_SONS_NEWGEN_DOMAIN

#define OPERATOR_ID_SONS_NEWGEN_DOMAIN   (OPERATOR_ID_SONS_NEWGEN_EXTERNAL)

Definition at line 49 of file sac_private.h.

◆ operator_id_sons_NEWGEN_DOMAIN

#define operator_id_sons_NEWGEN_DOMAIN   (OPERATOR_ID_SONS_NEWGEN_EXTERNAL)

Definition at line 50 of file sac_private.h.

◆ OPERATOR_ID_SONS_NEWGEN_EXTERNAL

#define OPERATOR_ID_SONS_NEWGEN_EXTERNAL   (_gen_sac_private_start+0)

Definition at line 48 of file sac_private.h.

◆ OPERATOR_ID_TREE

#define OPERATOR_ID_TREE (   x)    ((operator_id_tree)((x).p))

OPERATOR_ID_TREE.

Definition at line 299 of file sac_private.h.

◆ OPERATOR_ID_TREE_

#define OPERATOR_ID_TREE_ (   x)    ((x).e)

Definition at line 302 of file sac_private.h.

◆ operator_id_tree_CAST

#define operator_id_tree_CAST (   x)    OPERATOR_ID_TREE(x)

Definition at line 300 of file sac_private.h.

◆ OPERATOR_ID_TREE_CAST

#define OPERATOR_ID_TREE_CAST (   x)    OPERATOR_ID_TREE(x)

Definition at line 301 of file sac_private.h.

◆ operator_id_tree_domain

#define operator_id_tree_domain   (_gen_sac_private_start+5)

newgen_opcode_domain_defined

Definition at line 85 of file sac_private.h.

◆ operator_id_tree_domain_number

#define operator_id_tree_domain_number (   x)    ((x)->_type_)

Definition at line 327 of file sac_private.h.

◆ operator_id_tree_id

#define operator_id_tree_id (   x)    ((x)->_operator_id_tree_id_)

Definition at line 329 of file sac_private.h.

◆ operator_id_tree_id_

#define operator_id_tree_id_ (   x)    operator_id_tree_id(x) /**old hack compatible */

Definition at line 328 of file sac_private.h.

◆ OPERATOR_ID_TREE_NEWGEN_DOMAIN

#define OPERATOR_ID_TREE_NEWGEN_DOMAIN   (operator_id_tree_domain)

Definition at line 88 of file sac_private.h.

◆ operator_id_tree_NEWGEN_DOMAIN

#define operator_id_tree_NEWGEN_DOMAIN   (operator_id_tree_domain)

Definition at line 89 of file sac_private.h.

◆ operator_id_tree_sons

#define operator_id_tree_sons (   x)    ((x)->_operator_id_tree_sons_)

Definition at line 331 of file sac_private.h.

◆ operator_id_tree_sons_

#define operator_id_tree_sons_ (   x)    operator_id_tree_sons(x) /**old hack compatible */

Definition at line 330 of file sac_private.h.

◆ OPERATOR_ID_TREE_TYPE

#define OPERATOR_ID_TREE_TYPE   operator_id_tree

Definition at line 303 of file sac_private.h.

◆ operator_id_tree_TYPE

#define operator_id_tree_TYPE   operator_id_tree

Definition at line 304 of file sac_private.h.

◆ operator_id_tree_undefined

#define operator_id_tree_undefined   ((operator_id_tree)gen_chunk_undefined)

Definition at line 305 of file sac_private.h.

◆ operator_id_tree_undefined_p

#define operator_id_tree_undefined_p (   x)    ((x)==operator_id_tree_undefined)

Definition at line 306 of file sac_private.h.

◆ PATTERNARG

#define PATTERNARG (   x)    ((patternArg)((x).p))

PATTERNARG.

Definition at line 335 of file sac_private.h.

◆ PATTERNARG_

#define PATTERNARG_ (   x)    ((x).e)

Definition at line 338 of file sac_private.h.

◆ patternArg_CAST

#define patternArg_CAST (   x)    PATTERNARG(x)

Definition at line 336 of file sac_private.h.

◆ PATTERNARG_CAST

#define PATTERNARG_CAST (   x)    PATTERNARG(x)

Definition at line 337 of file sac_private.h.

◆ patternArg_domain

#define patternArg_domain   (_gen_sac_private_start+6)

newgen_operator_id_tree_domain_defined

Definition at line 93 of file sac_private.h.

◆ patternArg_domain_number

#define patternArg_domain_number (   x)    ((x)->_type_)

Definition at line 373 of file sac_private.h.

◆ patternArg_dynamic

#define patternArg_dynamic (   x)    ((x)->_patternArg_union_._patternArg_dynamic_.u)

Definition at line 380 of file sac_private.h.

◆ patternArg_dynamic_

#define patternArg_dynamic_ (   x)    patternArg_dynamic(x) /**old hack compatible */

Definition at line 379 of file sac_private.h.

◆ patternArg_dynamic_p

#define patternArg_dynamic_p (   x)    (patternArg_tag(x)==is_patternArg_dynamic)

Definition at line 378 of file sac_private.h.

◆ PATTERNARG_NEWGEN_DOMAIN

#define PATTERNARG_NEWGEN_DOMAIN   (patternArg_domain)

Definition at line 96 of file sac_private.h.

◆ patternArg_NEWGEN_DOMAIN

#define patternArg_NEWGEN_DOMAIN   (patternArg_domain)

Definition at line 97 of file sac_private.h.

◆ patternArg_static

#define patternArg_static (   x)    ((x)->_patternArg_union_._patternArg_static_)

Definition at line 377 of file sac_private.h.

◆ patternArg_static_

#define patternArg_static_ (   x)    patternArg_static(x) /**old hack compatible */

Definition at line 376 of file sac_private.h.

◆ patternArg_static_p

#define patternArg_static_p (   x)    (patternArg_tag(x)==is_patternArg_static)

Definition at line 375 of file sac_private.h.

◆ patternArg_tag

#define patternArg_tag (   x)    ((x)->_patternArg_tag__)

Definition at line 374 of file sac_private.h.

◆ PATTERNARG_TYPE

#define PATTERNARG_TYPE   patternArg

Definition at line 339 of file sac_private.h.

◆ patternArg_TYPE

#define patternArg_TYPE   patternArg

Definition at line 340 of file sac_private.h.

◆ patternArg_undefined

#define patternArg_undefined   ((patternArg)gen_chunk_undefined)

Definition at line 341 of file sac_private.h.

◆ patternArg_undefined_p

#define patternArg_undefined_p (   x)    ((x)==patternArg_undefined)

Definition at line 342 of file sac_private.h.

◆ PATTERNX

#define PATTERNX (   x)    ((patternx)((x).p))

PATTERNX.

Definition at line 384 of file sac_private.h.

◆ PATTERNX_

#define PATTERNX_ (   x)    ((x).e)

Definition at line 387 of file sac_private.h.

◆ patternx_args

#define patternx_args (   x)    ((x)->_patternx_args_)

Definition at line 416 of file sac_private.h.

◆ patternx_args_

#define patternx_args_ (   x)    patternx_args(x) /**old hack compatible */

Definition at line 415 of file sac_private.h.

◆ patternx_CAST

#define patternx_CAST (   x)    PATTERNX(x)

Definition at line 385 of file sac_private.h.

◆ PATTERNX_CAST

#define PATTERNX_CAST (   x)    PATTERNX(x)

Definition at line 386 of file sac_private.h.

◆ patternx_class

#define patternx_class (   x)    ((x)->_patternx_class_)

Definition at line 414 of file sac_private.h.

◆ patternx_class_

#define patternx_class_ (   x)    patternx_class(x) /**old hack compatible */

Definition at line 413 of file sac_private.h.

◆ patternx_domain

#define patternx_domain   (_gen_sac_private_start+7)

newgen_patternArg_domain_defined

Definition at line 101 of file sac_private.h.

◆ patternx_domain_number

#define patternx_domain_number (   x)    ((x)->_type_)

Definition at line 412 of file sac_private.h.

◆ PATTERNX_NEWGEN_DOMAIN

#define PATTERNX_NEWGEN_DOMAIN   (patternx_domain)

Definition at line 104 of file sac_private.h.

◆ patternx_NEWGEN_DOMAIN

#define patternx_NEWGEN_DOMAIN   (patternx_domain)

Definition at line 105 of file sac_private.h.

◆ PATTERNX_TYPE

#define PATTERNX_TYPE   patternx

Definition at line 388 of file sac_private.h.

◆ patternx_TYPE

#define patternx_TYPE   patternx

Definition at line 389 of file sac_private.h.

◆ patternx_undefined

#define patternx_undefined   ((patternx)gen_chunk_undefined)

Definition at line 390 of file sac_private.h.

◆ patternx_undefined_p

#define patternx_undefined_p (   x)    ((x)==patternx_undefined)

Definition at line 391 of file sac_private.h.

◆ REDUCTION_NEWGEN_DOMAIN

#define REDUCTION_NEWGEN_DOMAIN   (reduction_domain)

Definition at line 40 of file sac_private.h.

◆ reduction_NEWGEN_DOMAIN

#define reduction_NEWGEN_DOMAIN   (reduction_domain)

Definition at line 41 of file sac_private.h.

◆ REDUCTIONINFO

#define REDUCTIONINFO (   x)    ((reductionInfo)((x).p))

REDUCTIONINFO.

Definition at line 420 of file sac_private.h.

◆ REDUCTIONINFO_

#define REDUCTIONINFO_ (   x)    ((x).e)

Definition at line 423 of file sac_private.h.

◆ reductionInfo_CAST

#define reductionInfo_CAST (   x)    REDUCTIONINFO(x)

Definition at line 421 of file sac_private.h.

◆ REDUCTIONINFO_CAST

#define REDUCTIONINFO_CAST (   x)    REDUCTIONINFO(x)

Definition at line 422 of file sac_private.h.

◆ reductionInfo_count

#define reductionInfo_count (   x)    ((x)->_reductionInfo_count_)

Definition at line 453 of file sac_private.h.

◆ reductionInfo_count_

#define reductionInfo_count_ (   x)    reductionInfo_count(x) /**old hack compatible */

Definition at line 452 of file sac_private.h.

◆ reductionInfo_domain

#define reductionInfo_domain   (_gen_sac_private_start+8)

newgen_patternx_domain_defined

Definition at line 109 of file sac_private.h.

◆ reductionInfo_domain_number

#define reductionInfo_domain_number (   x)    ((x)->_type_)

Definition at line 449 of file sac_private.h.

◆ REDUCTIONINFO_NEWGEN_DOMAIN

#define REDUCTIONINFO_NEWGEN_DOMAIN   (reductionInfo_domain)

Definition at line 112 of file sac_private.h.

◆ reductionInfo_NEWGEN_DOMAIN

#define reductionInfo_NEWGEN_DOMAIN   (reductionInfo_domain)

Definition at line 113 of file sac_private.h.

◆ reductionInfo_reduction

#define reductionInfo_reduction (   x)    ((x)->_reductionInfo_reduction_)

Definition at line 451 of file sac_private.h.

◆ reductionInfo_reduction_

#define reductionInfo_reduction_ (   x)    reductionInfo_reduction(x) /**old hack compatible */

Definition at line 450 of file sac_private.h.

◆ REDUCTIONINFO_TYPE

#define REDUCTIONINFO_TYPE   reductionInfo

Definition at line 424 of file sac_private.h.

◆ reductionInfo_TYPE

#define reductionInfo_TYPE   reductionInfo

Definition at line 425 of file sac_private.h.

◆ reductionInfo_undefined

#define reductionInfo_undefined   ((reductionInfo)gen_chunk_undefined)

Definition at line 426 of file sac_private.h.

◆ reductionInfo_undefined_p

#define reductionInfo_undefined_p (   x)    ((x)==reductionInfo_undefined)

Definition at line 427 of file sac_private.h.

◆ reductionInfo_vector

#define reductionInfo_vector (   x)    ((x)->_reductionInfo_vector_)

Definition at line 455 of file sac_private.h.

◆ reductionInfo_vector_

#define reductionInfo_vector_ (   x)    reductionInfo_vector(x) /**old hack compatible */

Definition at line 454 of file sac_private.h.

◆ REFERENCE_NEWGEN_DOMAIN

#define REFERENCE_NEWGEN_DOMAIN   (reference_domain)

Definition at line 33 of file sac_private.h.

◆ reference_NEWGEN_DOMAIN

#define reference_NEWGEN_DOMAIN   (reference_domain)

Definition at line 34 of file sac_private.h.

◆ sac_private_spec

#define sac_private_spec   "\--NEWGEN-START 177\n\import entity from \"ri.newgen\";\n\import expression from \"ri.newgen\";\n\import statement from \"ri.newgen\";\n\import reference from \"ri.newgen\";\n\import reduction from \"reductions_private.newgen\";\n\external operator_id_sons;\n\matchTree = patterns:patternx* x sons:matchTreeSons;\n\matchTreeSons = int:int -> matchTree:matchTree;\n\match = type:opcodeClass x args:expression*;\n\opcode = name:string x vectorSize:int x argType:int* x cost:float;\n\operator_id_tree = id:int x sons:operator_id_sons;\n\patternArg = static:int + dynamic:unit;\n\patternx = class:opcodeClass x args:patternArg*;\n\reductionInfo = persistant reduction:reduction x count:int x persistant vector:entity;\n\simdstatement = opcode:opcode x nbArgs:int x vectors:entity[16] x arguments:expression[48];\n\tabulated opcodeClass = name:string x nbArgs:int x opcodes:opcode*;\n\transformation = name:string x vectorLengthOut:int x subwordSizeOut:int x vectorLengthIn:int x subwordSizeIn:int x nbArgs:int x mapping:int[16];\n\"

Definition at line 591 of file sac_private.h.

◆ SIMDSTATEMENT

#define SIMDSTATEMENT (   x)    ((simdstatement)((x).p))

SIMDSTATEMENT.

Definition at line 459 of file sac_private.h.

◆ SIMDSTATEMENT_

#define SIMDSTATEMENT_ (   x)    ((x).e)

Definition at line 462 of file sac_private.h.

◆ simdstatement_arguments

#define simdstatement_arguments (   x)    ((x)->_simdstatement_arguments_)

Definition at line 497 of file sac_private.h.

◆ simdstatement_arguments_

#define simdstatement_arguments_ (   x)    simdstatement_arguments(x) /**old hack compatible */

Definition at line 496 of file sac_private.h.

◆ simdstatement_CAST

#define simdstatement_CAST (   x)    SIMDSTATEMENT(x)

Definition at line 460 of file sac_private.h.

◆ SIMDSTATEMENT_CAST

#define SIMDSTATEMENT_CAST (   x)    SIMDSTATEMENT(x)

Definition at line 461 of file sac_private.h.

◆ simdstatement_domain

#define simdstatement_domain   (_gen_sac_private_start+9)

newgen_reductionInfo_domain_defined

Definition at line 117 of file sac_private.h.

◆ simdstatement_domain_number

#define simdstatement_domain_number (   x)    ((x)->_type_)

Definition at line 489 of file sac_private.h.

◆ simdstatement_nbArgs

#define simdstatement_nbArgs (   x)    ((x)->_simdstatement_nbArgs_)

Definition at line 493 of file sac_private.h.

◆ simdstatement_nbArgs_

#define simdstatement_nbArgs_ (   x)    simdstatement_nbArgs(x) /**old hack compatible */

Definition at line 492 of file sac_private.h.

◆ SIMDSTATEMENT_NEWGEN_DOMAIN

#define SIMDSTATEMENT_NEWGEN_DOMAIN   (simdstatement_domain)

Definition at line 120 of file sac_private.h.

◆ simdstatement_NEWGEN_DOMAIN

#define simdstatement_NEWGEN_DOMAIN   (simdstatement_domain)

Definition at line 121 of file sac_private.h.

◆ simdstatement_opcode

#define simdstatement_opcode (   x)    ((x)->_simdstatement_opcode_)

Definition at line 491 of file sac_private.h.

◆ simdstatement_opcode_

#define simdstatement_opcode_ (   x)    simdstatement_opcode(x) /**old hack compatible */

Definition at line 490 of file sac_private.h.

◆ SIMDSTATEMENT_TYPE

#define SIMDSTATEMENT_TYPE   simdstatement

Definition at line 463 of file sac_private.h.

◆ simdstatement_TYPE

#define simdstatement_TYPE   simdstatement

Definition at line 464 of file sac_private.h.

◆ simdstatement_undefined

#define simdstatement_undefined   ((simdstatement)gen_chunk_undefined)

Definition at line 465 of file sac_private.h.

◆ simdstatement_undefined_p

#define simdstatement_undefined_p (   x)    ((x)==simdstatement_undefined)

Definition at line 466 of file sac_private.h.

◆ simdstatement_vectors

#define simdstatement_vectors (   x)    ((x)->_simdstatement_vectors_)

Definition at line 495 of file sac_private.h.

◆ simdstatement_vectors_

#define simdstatement_vectors_ (   x)    simdstatement_vectors(x) /**old hack compatible */

Definition at line 494 of file sac_private.h.

◆ STATEMENT_NEWGEN_DOMAIN

#define STATEMENT_NEWGEN_DOMAIN   (statement_domain)

Definition at line 26 of file sac_private.h.

◆ statement_NEWGEN_DOMAIN

#define statement_NEWGEN_DOMAIN   (statement_domain)

Definition at line 27 of file sac_private.h.

◆ TRANSFORMATION

#define TRANSFORMATION (   x)    ((transformation)((x).p))

TRANSFORMATION.

Definition at line 542 of file sac_private.h.

◆ TRANSFORMATION_

#define TRANSFORMATION_ (   x)    ((x).e)

Definition at line 545 of file sac_private.h.

◆ transformation_CAST

#define transformation_CAST (   x)    TRANSFORMATION(x)

Definition at line 543 of file sac_private.h.

◆ TRANSFORMATION_CAST

#define TRANSFORMATION_CAST (   x)    TRANSFORMATION(x)

Definition at line 544 of file sac_private.h.

◆ transformation_domain

#define transformation_domain   (_gen_sac_private_start+11)

newgen_opcodeClass_domain_defined

Definition at line 133 of file sac_private.h.

◆ transformation_domain_number

#define transformation_domain_number (   x)    ((x)->_type_)

Definition at line 575 of file sac_private.h.

◆ transformation_mapping

#define transformation_mapping (   x)    ((x)->_transformation_mapping_)

Definition at line 589 of file sac_private.h.

◆ transformation_mapping_

#define transformation_mapping_ (   x)    transformation_mapping(x) /**old hack compatible */

Definition at line 588 of file sac_private.h.

◆ transformation_name

#define transformation_name (   x)    ((x)->_transformation_name_)

Definition at line 577 of file sac_private.h.

◆ transformation_name_

#define transformation_name_ (   x)    transformation_name(x) /**old hack compatible */

Definition at line 576 of file sac_private.h.

◆ transformation_nbArgs

#define transformation_nbArgs (   x)    ((x)->_transformation_nbArgs_)

Definition at line 587 of file sac_private.h.

◆ transformation_nbArgs_

#define transformation_nbArgs_ (   x)    transformation_nbArgs(x) /**old hack compatible */

Definition at line 586 of file sac_private.h.

◆ TRANSFORMATION_NEWGEN_DOMAIN

#define TRANSFORMATION_NEWGEN_DOMAIN   (transformation_domain)

Definition at line 136 of file sac_private.h.

◆ transformation_NEWGEN_DOMAIN

#define transformation_NEWGEN_DOMAIN   (transformation_domain)

Definition at line 137 of file sac_private.h.

◆ transformation_subwordSizeIn

#define transformation_subwordSizeIn (   x)    ((x)->_transformation_subwordSizeIn_)

Definition at line 585 of file sac_private.h.

◆ transformation_subwordSizeIn_

#define transformation_subwordSizeIn_ (   x)    transformation_subwordSizeIn(x) /**old hack compatible */

Definition at line 584 of file sac_private.h.

◆ transformation_subwordSizeOut

#define transformation_subwordSizeOut (   x)    ((x)->_transformation_subwordSizeOut_)

Definition at line 581 of file sac_private.h.

◆ transformation_subwordSizeOut_

#define transformation_subwordSizeOut_ (   x)    transformation_subwordSizeOut(x) /**old hack compatible */

Definition at line 580 of file sac_private.h.

◆ TRANSFORMATION_TYPE

#define TRANSFORMATION_TYPE   transformation

Definition at line 546 of file sac_private.h.

◆ transformation_TYPE

#define transformation_TYPE   transformation

Definition at line 547 of file sac_private.h.

◆ transformation_undefined

#define transformation_undefined   ((transformation)gen_chunk_undefined)

Definition at line 548 of file sac_private.h.

◆ transformation_undefined_p

#define transformation_undefined_p (   x)    ((x)==transformation_undefined)

Definition at line 549 of file sac_private.h.

◆ transformation_vectorLengthIn

#define transformation_vectorLengthIn (   x)    ((x)->_transformation_vectorLengthIn_)

Definition at line 583 of file sac_private.h.

◆ transformation_vectorLengthIn_

#define transformation_vectorLengthIn_ (   x)    transformation_vectorLengthIn(x) /**old hack compatible */

Definition at line 582 of file sac_private.h.

◆ transformation_vectorLengthOut

#define transformation_vectorLengthOut (   x)    ((x)->_transformation_vectorLengthOut_)

Definition at line 579 of file sac_private.h.

◆ transformation_vectorLengthOut_

#define transformation_vectorLengthOut_ (   x)    transformation_vectorLengthOut(x) /**old hack compatible */

Definition at line 578 of file sac_private.h.

Typedef Documentation

◆ entity

typedef struct _newgen_struct_entity_* entity

Definition at line 14 of file sac_private.h.

◆ expression

Definition at line 21 of file sac_private.h.

◆ match

typedef struct _newgen_struct_match_* match

Definition at line 74 of file sac_private.h.

◆ matchTree

Definition at line 58 of file sac_private.h.

◆ matchTreeSons

Definition at line 66 of file sac_private.h.

◆ opcode

typedef struct _newgen_struct_opcode_* opcode

Definition at line 82 of file sac_private.h.

◆ opcodeClass

Definition at line 130 of file sac_private.h.

◆ operator_id_tree

Definition at line 90 of file sac_private.h.

◆ patternArg

Definition at line 98 of file sac_private.h.

◆ patternx

Definition at line 106 of file sac_private.h.

◆ reduction

Definition at line 42 of file sac_private.h.

◆ reductionInfo

Definition at line 114 of file sac_private.h.

◆ reference

Definition at line 35 of file sac_private.h.

◆ simdstatement

Definition at line 122 of file sac_private.h.

◆ statement

Definition at line 28 of file sac_private.h.

◆ transformation

Definition at line 138 of file sac_private.h.

Enumeration Type Documentation

◆ patternArg_utype

Enumerator
is_patternArg_static 
is_patternArg_dynamic 

Definition at line 355 of file sac_private.h.

355  {
358 };
@ is_patternArg_dynamic
Definition: sac_private.h:357
@ is_patternArg_static
Definition: sac_private.h:356

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.

Referenced by select_tree_branch().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by select_tree_branch().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by match_assign_contents(), and match_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by matchTree_assign_contents(), and matchTree_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by matchTreeSons_assign_contents(), and matchTreeSons_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by opcode_assign_contents(), and opcode_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by opcodeClass_assign_contents(), and opcodeClass_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by operator_id_tree_assign_contents(), and operator_id_tree_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by patternArg_assign_contents(), and patternArg_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by patternx_assign_contents(), and patternx_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by reductionInfo_assign_contents(), and reductionInfo_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by simdstatement_assign_contents(), and simdstatement_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by transformation_assign_contents(), and transformation_consistent_p().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by insert_tree_branch().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by get_opcodeClass().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by match_statement().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by make_tree().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by make_tree().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by generate_opcode().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by insert_opcodeClass().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by insert_mapping(), and simd_operator_mappings().

+ Here is the call graph for this function:
+ Here is the caller graph for this function:

◆ make_patternArg()

patternArg make_patternArg ( enum  patternArg_utype,
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.

Referenced by make_patternArg_dynamic(), and make_patternArg_static().

+ Here is the call graph for this function:
+ Here is the caller 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

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 }

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.

Referenced by insert_pattern().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by add_reduction().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by make_simd_statement().

+ Here is the call graph for this function:
+ Here is the caller 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.

Referenced by insert_transformation().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by match_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by matchTree_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by matchTreeSons_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by opcode_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by opcodeClass_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by operator_id_tree_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by patternArg_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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)

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().

Referenced by patternx_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by reductionInfo_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by simdstatement_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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().

Referenced by transformation_assign_contents().

+ Here is the call graph for this function:
+ Here is the caller 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: