PIPS
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include "genC.h"
#include "reductions_private.h"
Go to the source code of this file.
reductions apply_pstatement_reductions | ( | pstatement_reductions | f, |
statement | k | ||
) |
Definition at line 55 of file reductions_private.c.
References f(), HASH_GET, intptr_t, and pstatement_reductions_hash_table.
bool bound_pstatement_reductions_p | ( | pstatement_reductions | f, |
statement | k | ||
) |
Definition at line 67 of file reductions_private.c.
References f(), HASH_BOUND_P, intptr_t, and pstatement_reductions_hash_table.
pstatement_reductions check_pstatement_reductions | ( | pstatement_reductions | p | ) |
Definition at line 22 of file reductions_private.c.
References gen_check(), and pstatement_reductions_domain.
Referenced by pstatement_reductions_assign_contents(), and pstatement_reductions_consistent_p().
Definition at line 178 of file reductions_private.c.
References gen_check(), and reduction_domain.
Referenced by reduction_assign_contents(), and reduction_consistent_p().
reduction_operator check_reduction_operator | ( | reduction_operator | p | ) |
Definition at line 79 of file reductions_private.c.
References gen_check(), and reduction_operator_domain.
Referenced by reduction_operator_assign_contents(), and reduction_operator_consistent_p().
reductions check_reductions | ( | reductions | p | ) |
Definition at line 220 of file reductions_private.c.
References gen_check(), and reductions_domain.
Referenced by reductions_assign_contents(), and reductions_consistent_p().
pstatement_reductions copy_pstatement_reductions | ( | pstatement_reductions | p | ) |
PSTATEMENT_REDUCTIONS.
Definition at line 16 of file reductions_private.c.
References gen_copy_tree().
REDUCTION.
Definition at line 172 of file reductions_private.c.
References gen_copy_tree().
Referenced by compute_one_summary_reduction(), find_reduction_of_var(), translate_reduction(), and update_compatible_reduction_with().
reduction_operator copy_reduction_operator | ( | reduction_operator | p | ) |
REDUCTION_OPERATOR.
Definition at line 73 of file reductions_private.c.
References gen_copy_tree().
reductions copy_reductions | ( | reductions | p | ) |
REDUCTIONS.
Definition at line 214 of file reductions_private.c.
References gen_copy_tree().
Referenced by compute_cumulated_reductions(), and do_expression_reduction().
reductions delete_pstatement_reductions | ( | pstatement_reductions | f, |
statement | k | ||
) |
Definition at line 64 of file reductions_private.c.
References f(), HASH_DELETE, intptr_t, and pstatement_reductions_hash_table.
void extend_pstatement_reductions | ( | pstatement_reductions | f, |
statement | k, | ||
reductions | v | ||
) |
Definition at line 61 of file reductions_private.c.
References f(), HASH_EXTEND, intptr_t, and pstatement_reductions_hash_table.
void free_pstatement_reductions | ( | pstatement_reductions | p | ) |
Definition at line 19 of file reductions_private.c.
References gen_free().
void free_reduction | ( | reduction | p | ) |
Definition at line 175 of file reductions_private.c.
References gen_free().
Referenced by build_reduction_of_variable(), compatible_reduction_of_var(), merge_two_reductions(), update_compatible_reduction(), and update_compatible_reduction_with().
void free_reduction_operator | ( | reduction_operator | p | ) |
Definition at line 76 of file reductions_private.c.
References gen_free().
void free_reductions | ( | reductions | p | ) |
Definition at line 217 of file reductions_private.c.
References gen_free().
list gen_pstatement_reductions_cons | ( | pstatement_reductions | p, |
list | l | ||
) |
Definition at line 32 of file reductions_private.c.
References gen_typed_cons(), and PSTATEMENT_REDUCTIONS_NEWGEN_DOMAIN.
Definition at line 188 of file reductions_private.c.
References gen_typed_cons(), and REDUCTION_NEWGEN_DOMAIN.
list gen_reduction_operator_cons | ( | reduction_operator | p, |
list | l | ||
) |
Definition at line 89 of file reductions_private.c.
References gen_typed_cons(), and REDUCTION_OPERATOR_NEWGEN_DOMAIN.
list gen_reductions_cons | ( | reductions | p, |
list | l | ||
) |
Definition at line 230 of file reductions_private.c.
References gen_typed_cons(), and REDUCTIONS_NEWGEN_DOMAIN.
pstatement_reductions make_pstatement_reductions | ( | void | ) |
Definition at line 52 of file reductions_private.c.
References gen_alloc(), GEN_CHECK_ALLOC, and pstatement_reductions_domain.
reduction make_reduction | ( | reference | a1, |
reduction_operator | a2, | ||
list | a3, | ||
list | a4 | ||
) |
Definition at line 208 of file reductions_private.c.
References gen_alloc(), GEN_CHECK_ALLOC, and reduction_domain.
Referenced by build_reduction_of_variable(), and call_proper_reduction_p().
reduction_operator make_reduction_operator | ( | enum reduction_operator_utype | tag, |
void * | val | ||
) |
Definition at line 127 of file reductions_private.c.
References gen_alloc(), GEN_CHECK_ALLOC, and reduction_operator_domain.
Referenced by call_proper_reduction_p(), get_operator(), make_reduction_operator_and(), make_reduction_operator_bitwise_and(), make_reduction_operator_bitwise_or(), make_reduction_operator_bitwise_xor(), make_reduction_operator_csum(), make_reduction_operator_eqv(), make_reduction_operator_max(), make_reduction_operator_min(), make_reduction_operator_neqv(), make_reduction_operator_none(), make_reduction_operator_or(), make_reduction_operator_prod(), and make_reduction_operator_sum().
reduction_operator make_reduction_operator_and | ( | void | ) |
Definition at line 148 of file reductions_private.c.
References is_reduction_operator_and, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_bitwise_and | ( | void | ) |
Definition at line 154 of file reductions_private.c.
References is_reduction_operator_bitwise_and, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_bitwise_or | ( | void | ) |
Definition at line 157 of file reductions_private.c.
References is_reduction_operator_bitwise_or, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_bitwise_xor | ( | void | ) |
Definition at line 160 of file reductions_private.c.
References is_reduction_operator_bitwise_xor, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_csum | ( | void | ) |
Definition at line 142 of file reductions_private.c.
References is_reduction_operator_csum, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_eqv | ( | void | ) |
Definition at line 163 of file reductions_private.c.
References is_reduction_operator_eqv, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_max | ( | void | ) |
Definition at line 136 of file reductions_private.c.
References is_reduction_operator_max, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_min | ( | void | ) |
Definition at line 133 of file reductions_private.c.
References is_reduction_operator_min, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_neqv | ( | void | ) |
Definition at line 166 of file reductions_private.c.
References is_reduction_operator_neqv, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_none | ( | void | ) |
Definition at line 130 of file reductions_private.c.
References is_reduction_operator_none, make_reduction_operator(), and UU.
Referenced by build_reduction_of_variable().
reduction_operator make_reduction_operator_or | ( | void | ) |
Definition at line 151 of file reductions_private.c.
References is_reduction_operator_or, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_prod | ( | void | ) |
Definition at line 145 of file reductions_private.c.
References is_reduction_operator_prod, make_reduction_operator(), and UU.
reduction_operator make_reduction_operator_sum | ( | void | ) |
Definition at line 139 of file reductions_private.c.
References is_reduction_operator_sum, make_reduction_operator(), and UU.
reductions make_reductions | ( | list | a | ) |
Definition at line 250 of file reductions_private.c.
References gen_alloc(), GEN_CHECK_ALLOC, and reductions_domain.
Referenced by build_creductions_of_statement(), compute_summary_reductions(), and pr_statement_flt().
void pstatement_reductions_assign_contents | ( | pstatement_reductions | r, |
pstatement_reductions | v | ||
) |
Definition at line 35 of file reductions_private.c.
References check_pstatement_reductions(), message_assert, and pstatement_reductions_defined_p().
bool pstatement_reductions_consistent_p | ( | pstatement_reductions | p | ) |
Definition at line 25 of file reductions_private.c.
References check_pstatement_reductions(), and gen_consistent_p().
bool pstatement_reductions_defined_p | ( | pstatement_reductions | p | ) |
Definition at line 29 of file reductions_private.c.
References gen_defined_p().
Referenced by pstatement_reductions_assign_contents().
void pstatement_reductions_non_recursive_free | ( | pstatement_reductions | p | ) |
Definition at line 42 of file reductions_private.c.
References free().
pstatement_reductions read_pstatement_reductions | ( | FILE * | f | ) |
Definition at line 49 of file reductions_private.c.
References f(), and gen_read().
reduction read_reduction | ( | FILE * | f | ) |
Definition at line 205 of file reductions_private.c.
References f(), and gen_read().
reduction_operator read_reduction_operator | ( | FILE * | f | ) |
Definition at line 106 of file reductions_private.c.
References f(), and gen_read().
reductions read_reductions | ( | FILE * | f | ) |
Definition at line 247 of file reductions_private.c.
References f(), and gen_read().
Definition at line 191 of file reductions_private.c.
References check_reduction(), message_assert, and reduction_defined_p().
Definition at line 181 of file reductions_private.c.
References check_reduction(), and gen_consistent_p().
Definition at line 185 of file reductions_private.c.
References gen_defined_p().
Referenced by reduction_assign_contents().
void reduction_non_recursive_free | ( | reduction | p | ) |
Definition at line 198 of file reductions_private.c.
References free().
void reduction_operator_assign_contents | ( | reduction_operator | r, |
reduction_operator | v | ||
) |
Definition at line 92 of file reductions_private.c.
References check_reduction_operator(), message_assert, and reduction_operator_defined_p().
bool reduction_operator_consistent_p | ( | reduction_operator | p | ) |
Definition at line 82 of file reductions_private.c.
References check_reduction_operator(), and gen_consistent_p().
bool reduction_operator_defined_p | ( | reduction_operator | p | ) |
Definition at line 86 of file reductions_private.c.
References gen_defined_p().
Referenced by reduction_operator_assign_contents().
void reduction_operator_non_recursive_free | ( | reduction_operator | p | ) |
Definition at line 99 of file reductions_private.c.
References free().
string reduction_operator_tag_as_string | ( | enum reduction_operator_utype | tag | ) |
Definition at line 109 of file reductions_private.c.
References is_reduction_operator_and, is_reduction_operator_bitwise_and, is_reduction_operator_bitwise_or, is_reduction_operator_bitwise_xor, is_reduction_operator_csum, is_reduction_operator_eqv, is_reduction_operator_max, is_reduction_operator_min, is_reduction_operator_neqv, is_reduction_operator_none, is_reduction_operator_or, is_reduction_operator_prod, is_reduction_operator_sum, and string_undefined.
void reductions_assign_contents | ( | reductions | r, |
reductions | v | ||
) |
Definition at line 233 of file reductions_private.c.
References check_reductions(), message_assert, and reductions_defined_p().
bool reductions_consistent_p | ( | reductions | p | ) |
Definition at line 223 of file reductions_private.c.
References check_reductions(), and gen_consistent_p().
bool reductions_defined_p | ( | reductions | p | ) |
Definition at line 227 of file reductions_private.c.
References gen_defined_p().
Referenced by reductions_assign_contents().
void reductions_non_recursive_free | ( | reductions | p | ) |
Definition at line 240 of file reductions_private.c.
References free().
void update_pstatement_reductions | ( | pstatement_reductions | f, |
statement | k, | ||
reductions | v | ||
) |
Definition at line 58 of file reductions_private.c.
References f(), HASH_UPDATE, intptr_t, and pstatement_reductions_hash_table.
void write_pstatement_reductions | ( | FILE * | f, |
pstatement_reductions | p | ||
) |
Definition at line 46 of file reductions_private.c.
References f(), and gen_write().
void write_reduction | ( | FILE * | f, |
reduction | p | ||
) |
Definition at line 202 of file reductions_private.c.
References f(), and gen_write().
void write_reduction_operator | ( | FILE * | f, |
reduction_operator | p | ||
) |
Definition at line 103 of file reductions_private.c.
References f(), and gen_write().
void write_reductions | ( | FILE * | f, |
reductions | p | ||
) |
Definition at line 244 of file reductions_private.c.
References f(), and gen_write().