PIPS
|
Go to the source code of this file.
Data Structures | |
struct | _newgen_struct_align_ |
struct | _newgen_struct_alignment_ |
struct | _newgen_struct_distribute_ |
struct | _newgen_struct_distribution_ |
struct | _newgen_struct_style_ |
Typedefs | |
typedef struct _newgen_struct_entity_ * | entity |
typedef struct _newgen_struct_expression_ * | expression |
typedef struct _newgen_struct_align_ * | align |
typedef struct _newgen_struct_alignment_ * | alignment |
typedef struct _newgen_struct_distribute_ * | distribute |
typedef struct _newgen_struct_distribution_ * | distribution |
typedef struct _newgen_struct_style_ * | style |
Enumerations | |
enum | style_utype { is_style_none , is_style_block , is_style_cyclic } |
#define _newgen_expression_domain_defined_ |
#define align_alignment_ | ( | x | ) | align_alignment(x) /**old hack compatible */ |
#define align_domain (_gen_hpf_start+0) |
#define ALIGN_NEWGEN_DOMAIN (align_domain) |
#define align_NEWGEN_DOMAIN (align_domain) |
#define align_template_ | ( | x | ) | align_template(x) /**old hack compatible */ |
#define align_undefined ((align)gen_chunk_undefined) |
#define align_undefined_p | ( | x | ) | ((x)==align_undefined) |
#define alignment_arraydim_ | ( | x | ) | alignment_arraydim(x) /**old hack compatible */ |
#define alignment_constant_ | ( | x | ) | alignment_constant(x) /**old hack compatible */ |
#define alignment_domain (_gen_hpf_start+1) |
#define ALIGNMENT_NEWGEN_DOMAIN (alignment_domain) |
#define alignment_NEWGEN_DOMAIN (alignment_domain) |
#define alignment_rate_ | ( | x | ) | alignment_rate(x) /**old hack compatible */ |
#define alignment_templatedim_ | ( | x | ) | alignment_templatedim(x) /**old hack compatible */ |
#define alignment_undefined ((alignment)gen_chunk_undefined) |
#define alignment_undefined_p | ( | x | ) | ((x)==alignment_undefined) |
#define DISTRIBUTE | ( | x | ) | ((distribute)((x).p)) |
#define distribute_CAST | ( | x | ) | DISTRIBUTE(x) |
#define DISTRIBUTE_CAST | ( | x | ) | DISTRIBUTE(x) |
#define distribute_distribution_ | ( | x | ) | distribute_distribution(x) /**old hack compatible */ |
#define distribute_domain (_gen_hpf_start+2) |
#define DISTRIBUTE_NEWGEN_DOMAIN (distribute_domain) |
#define distribute_NEWGEN_DOMAIN (distribute_domain) |
#define distribute_processors_ | ( | x | ) | distribute_processors(x) /**old hack compatible */ |
#define DISTRIBUTE_TYPE distribute |
#define distribute_TYPE distribute |
#define distribute_undefined ((distribute)gen_chunk_undefined) |
#define distribute_undefined_p | ( | x | ) | ((x)==distribute_undefined) |
#define DISTRIBUTION | ( | x | ) | ((distribution)((x).p)) |
#define distribution_CAST | ( | x | ) | DISTRIBUTION(x) |
#define DISTRIBUTION_CAST | ( | x | ) | DISTRIBUTION(x) |
#define distribution_domain (_gen_hpf_start+3) |
#define DISTRIBUTION_NEWGEN_DOMAIN (distribution_domain) |
#define distribution_NEWGEN_DOMAIN (distribution_domain) |
#define distribution_parameter_ | ( | x | ) | distribution_parameter(x) /**old hack compatible */ |
#define distribution_style_ | ( | x | ) | distribution_style(x) /**old hack compatible */ |
#define DISTRIBUTION_TYPE distribution |
#define distribution_TYPE distribution |
#define distribution_undefined ((distribution)gen_chunk_undefined) |
#define distribution_undefined_p | ( | x | ) | ((x)==distribution_undefined) |
#define ENTITY_NEWGEN_DOMAIN (entity_domain) |
#define entity_NEWGEN_DOMAIN (entity_domain) |
#define EXPRESSION_NEWGEN_DOMAIN (expression_domain) |
#define expression_NEWGEN_DOMAIN (expression_domain) |
#define gen_ALIGN_cons gen_align_cons |
#define gen_ALIGNMENT_cons gen_alignment_cons |
#define gen_DISTRIBUTE_cons gen_distribute_cons |
#define gen_DISTRIBUTION_cons gen_distribution_cons |
#define gen_STYLE_cons gen_style_cons |
#define hpf_spec "\--NEWGEN-START 118\n\import entity from \"ri.newgen\";\n\import expression from \"ri.newgen\";\n\align = alignment:alignment* x template:entity;\n\alignment = arraydim:int x templatedim:int x rate:expression x constant:expression;\n\distribute = distribution:distribution* x processors:entity;\n\distribution = style:style x parameter:expression;\n\style = none:unit + block:unit + cyclic:unit;\n\" |
#define style_block_ | ( | x | ) | style_block(x) /**old hack compatible */ |
#define style_cyclic_ | ( | x | ) | style_cyclic(x) /**old hack compatible */ |
#define style_domain (_gen_hpf_start+4) |
#define STYLE_NEWGEN_DOMAIN (style_domain) |
#define style_NEWGEN_DOMAIN (style_domain) |
#define style_none_ | ( | x | ) | style_none(x) /**old hack compatible */ |
#define style_undefined ((style)gen_chunk_undefined) |
#define style_undefined_p | ( | x | ) | ((x)==style_undefined) |
typedef struct _newgen_struct_align_* align |
typedef struct _newgen_struct_alignment_* alignment |
typedef struct _newgen_struct_distribute_* distribute |
typedef struct _newgen_struct_distribution_* distribution |
typedef struct _newgen_struct_entity_* entity |
typedef struct _newgen_struct_expression_* expression |
typedef struct _newgen_struct_style_* style |
enum style_utype |
Definition at line 35 of file hpf.c.
References align_defined_p(), check_align(), and message_assert.
Definition at line 25 of file hpf.c.
References check_align(), and gen_consistent_p().
Definition at line 29 of file hpf.c.
References gen_defined_p().
Referenced by align_assign_contents().
void align_non_recursive_free | ( | align | p | ) |
Definition at line 77 of file hpf.c.
References alignment_defined_p(), check_alignment(), and message_assert.
Definition at line 67 of file hpf.c.
References check_alignment(), and gen_consistent_p().
Definition at line 71 of file hpf.c.
References gen_defined_p().
Referenced by alignment_assign_contents().
void alignment_non_recursive_free | ( | alignment | p | ) |
Definition at line 22 of file hpf.c.
References align_domain, and gen_check().
Referenced by align_assign_contents(), and align_consistent_p().
Definition at line 64 of file hpf.c.
References alignment_domain, and gen_check().
Referenced by alignment_assign_contents(), and alignment_consistent_p().
distribute check_distribute | ( | distribute | p | ) |
Definition at line 106 of file hpf.c.
References distribute_domain, and gen_check().
Referenced by distribute_assign_contents(), and distribute_consistent_p().
distribution check_distribution | ( | distribution | p | ) |
Definition at line 148 of file hpf.c.
References distribution_domain, and gen_check().
Referenced by distribution_assign_contents(), and distribution_consistent_p().
Definition at line 190 of file hpf.c.
References gen_check(), and style_domain.
Referenced by style_assign_contents(), and style_consistent_p().
ALIGN.
Definition at line 16 of file hpf.c.
References gen_copy_tree().
Referenced by hpfc_translate_call_with_distributed_args(), and new_align_with_template().
ALIGNMENT.
Definition at line 58 of file hpf.c.
References gen_copy_tree().
distribute copy_distribute | ( | distribute | p | ) |
DISTRIBUTE.
Definition at line 100 of file hpf.c.
References gen_copy_tree().
distribution copy_distribution | ( | distribution | p | ) |
DISTRIBUTION.
Definition at line 142 of file hpf.c.
References gen_copy_tree().
STYLE.
Definition at line 184 of file hpf.c.
References gen_copy_tree().
void distribute_assign_contents | ( | distribute | r, |
distribute | v | ||
) |
Definition at line 119 of file hpf.c.
References check_distribute(), distribute_defined_p(), and message_assert.
bool distribute_consistent_p | ( | distribute | p | ) |
Definition at line 109 of file hpf.c.
References check_distribute(), and gen_consistent_p().
bool distribute_defined_p | ( | distribute | p | ) |
Definition at line 113 of file hpf.c.
References gen_defined_p().
Referenced by distribute_assign_contents().
void distribute_non_recursive_free | ( | distribute | p | ) |
void distribution_assign_contents | ( | distribution | r, |
distribution | v | ||
) |
Definition at line 161 of file hpf.c.
References check_distribution(), distribution_defined_p(), and message_assert.
bool distribution_consistent_p | ( | distribution | p | ) |
Definition at line 151 of file hpf.c.
References check_distribution(), and gen_consistent_p().
bool distribution_defined_p | ( | distribution | p | ) |
Definition at line 155 of file hpf.c.
References gen_defined_p().
Referenced by distribution_assign_contents().
void distribution_non_recursive_free | ( | distribution | p | ) |
void free_align | ( | align | p | ) |
Definition at line 19 of file hpf.c.
References gen_free().
Referenced by array_synonym_aligned_as().
void free_alignment | ( | alignment | p | ) |
Definition at line 61 of file hpf.c.
References gen_free().
void free_distribute | ( | distribute | p | ) |
Definition at line 103 of file hpf.c.
References gen_free().
Referenced by template_synonym_distributed_as().
void free_distribution | ( | distribution | p | ) |
Definition at line 145 of file hpf.c.
References gen_free().
void free_style | ( | style | p | ) |
Definition at line 187 of file hpf.c.
References gen_free().
Definition at line 32 of file hpf.c.
References ALIGN_NEWGEN_DOMAIN, and gen_typed_cons().
Definition at line 74 of file hpf.c.
References ALIGNMENT_NEWGEN_DOMAIN, and gen_typed_cons().
list gen_distribute_cons | ( | distribute | p, |
list | l | ||
) |
Definition at line 116 of file hpf.c.
References DISTRIBUTE_NEWGEN_DOMAIN, and gen_typed_cons().
list gen_distribution_cons | ( | distribution | p, |
list | l | ||
) |
Definition at line 158 of file hpf.c.
References DISTRIBUTION_NEWGEN_DOMAIN, and gen_typed_cons().
Definition at line 200 of file hpf.c.
References gen_typed_cons(), and STYLE_NEWGEN_DOMAIN.
Definition at line 52 of file hpf.c.
References align_domain, gen_alloc(), and GEN_CHECK_ALLOC.
Referenced by array_as_template(), and extract_the_align().
alignment make_alignment | ( | intptr_t | a1, |
intptr_t | a2, | ||
expression | a3, | ||
expression | a4 | ||
) |
Definition at line 94 of file hpf.c.
References alignment_domain, gen_alloc(), and GEN_CHECK_ALLOC.
Referenced by array_as_template(), and extract_the_align().
distribute make_distribute | ( | list | a1, |
entity | a2 | ||
) |
Definition at line 136 of file hpf.c.
References distribute_domain, gen_alloc(), and GEN_CHECK_ALLOC.
Referenced by extract_the_distribute().
distribution make_distribution | ( | style | a1, |
expression | a2 | ||
) |
Definition at line 178 of file hpf.c.
References distribution_domain, gen_alloc(), and GEN_CHECK_ALLOC.
Referenced by extract_the_distribute().
style make_style | ( | enum | style_utype, |
void * | val | ||
) |
Definition at line 228 of file hpf.c.
References gen_alloc(), GEN_CHECK_ALLOC, and style_domain.
Referenced by extract_the_distribute(), make_style_block(), make_style_cyclic(), and make_style_none().
style make_style_block | ( | void | ) |
Definition at line 234 of file hpf.c.
References is_style_block, make_style(), and UU.
style make_style_cyclic | ( | void | ) |
Definition at line 237 of file hpf.c.
References is_style_cyclic, make_style(), and UU.
style make_style_none | ( | void | ) |
Definition at line 231 of file hpf.c.
References is_style_none, make_style(), and UU.
align read_align | ( | FILE * | f | ) |
Definition at line 49 of file hpf.c.
References f(), and gen_read().
alignment read_alignment | ( | FILE * | f | ) |
distribute read_distribute | ( | FILE * | f | ) |
Definition at line 133 of file hpf.c.
References f(), and gen_read().
distribution read_distribution | ( | FILE * | f | ) |
Definition at line 175 of file hpf.c.
References f(), and gen_read().
style read_style | ( | FILE * | f | ) |
Definition at line 203 of file hpf.c.
References check_style(), message_assert, and style_defined_p().
Definition at line 193 of file hpf.c.
References check_style(), and gen_consistent_p().
Definition at line 197 of file hpf.c.
References gen_defined_p().
Referenced by style_assign_contents().
void style_non_recursive_free | ( | style | p | ) |
string style_tag_as_string | ( | enum | style_utype | ) |
Definition at line 220 of file hpf.c.
References is_style_block, is_style_cyclic, is_style_none, and string_undefined.
void write_align | ( | FILE * | f, |
align | p | ||
) |
Definition at line 46 of file hpf.c.
References f(), and gen_write().
void write_alignment | ( | FILE * | f, |
alignment | p | ||
) |
void write_distribute | ( | FILE * | f, |
distribute | p | ||
) |
void write_distribution | ( | FILE * | f, |
distribution | p | ||
) |