21#ifndef GCC_TREE_CHREC_H
22#define GCC_TREE_CHREC_H
189 case POLYNOMIAL_CHREC:
Definition genmatch.cc:1625
const union tree_node * const_tree
Definition coretypes.h:98
union tree_node * tree
Definition coretypes.h:97
tree_code
Definition genmatch.cc:1011
bool is_gimple_min_invariant(const_tree t)
Definition gimple-expr.cc:765
bool types_compatible_p(tree type1, tree type2)
Definition gimple-expr.h:64
Definition gengtype.h:252
#define NULL
Definition system.h:58
#define gcc_unreachable()
Definition system.h:846
#define gcc_checking_assert(EXPR)
Definition system.h:826
tree reset_evolution_in_loop(unsigned loop_num, tree chrec, tree new_evol)
Definition tree-chrec.cc:973
enum ev_direction scev_direction(const_tree chrec)
Definition tree-chrec.cc:1790
tree evolution_part_in_loop_num(tree chrec, unsigned loop_num)
Definition tree-chrec.cc:950
bool chrec_contains_symbols_defined_in_loop(const_tree chrec, unsigned loop_nb)
Definition tree-chrec.cc:1168
tree initial_condition(tree chrec)
Definition tree-chrec.cc:836
tree chrec_replace_initial_condition(tree chrec, tree init_cond)
Definition tree-chrec.cc:812
tree chrec_fold_plus(tree type, tree op0, tree op1)
Definition tree-chrec.cc:388
tree chrec_merge(tree chrec1, tree chrec2)
Definition tree-chrec.cc:1005
bool is_multivariate_chrec(const_tree chrec)
Definition tree-chrec.cc:1054
static bool chrec_contains_symbols(const_tree chrec, hash_set< const_tree > &visited, class loop *loop)
Definition tree-chrec.cc:1072
bool scev_is_linear_expression(tree scev)
Definition tree-chrec.cc:1863
tree hide_evolution_in_other_loops_than_loop(tree chrec, unsigned loop_num)
Definition tree-chrec.cc:851
tree chrec_fold_minus(tree type, tree op0, tree op1)
Definition tree-chrec.cc:413
tree chrec_apply(unsigned var, tree chrec, tree x)
Definition tree-chrec.cc:680
bool chrec_contains_undetermined(const_tree chrec)
Definition tree-chrec.cc:1198
bool evolution_function_is_univariate_p(const_tree chrec, int loopnum)
Definition tree-chrec.cc:1343
tree initial_condition_in_loop_num(tree chrec, unsigned loop_num)
Definition tree-chrec.cc:961
tree chrec_convert_aggressive(tree type, tree chrec, bool *fold_conversions)
Definition tree-chrec.cc:1700
tree chrec_convert(tree type, tree chrec, gimple *at_stmt, bool use_overflow_semantics, tree from)
Definition tree-chrec.cc:1688
tree chrec_apply_map(tree chrec, vec< tree > iv_map)
Definition tree-chrec.cc:797
bool evolution_function_right_is_integer_cst(const_tree chrec)
Definition tree-chrec.cc:1906
static bool tree_contains_chrecs(const_tree expr, int *size, hash_set< const_tree > &visited)
Definition tree-chrec.cc:1209
tree chrec_fold_multiply(tree type, tree op0, tree op1)
Definition tree-chrec.cc:430
tree chrec_convert_rhs(tree type, tree chrec, gimple *at_stmt)
Definition tree-chrec.cc:1531
bool convert_affine_scev(class loop *loop, tree type, tree *base, tree *step, gimple *at_stmt, bool use_overflow_semantics, tree from)
Definition tree-chrec.cc:1428
bool evolution_function_is_affine_multivariate_p(const_tree chrec, int loopnum)
Definition tree-chrec.cc:1297
unsigned nb_vars_in_chrec(tree chrec)
Definition tree-chrec.cc:1402
bool evolution_function_is_invariant_p(tree chrec, int loopnum)
Definition tree-chrec.cc:1288
bool eq_evolutions_p(const_tree chrec0, const_tree chrec1)
Definition tree-chrec.cc:1747
void for_each_scev_op(tree *scev, bool(*cbck)(tree *, void *), void *data)
Definition tree-chrec.cc:1810
tree chrec_type(const_tree chrec)
Definition tree-chrec.h:225
bool tree_does_not_contain_chrecs(const_tree expr)
Definition tree-chrec.h:217
bool evolution_function_is_affine_in_loop(const_tree chrec, int loopnum)
Definition tree-chrec.h:182
bool evolution_function_is_constant_p(const_tree chrec)
Definition tree-chrec.h:171
bool no_evolution_in_loop_p(tree chrec, unsigned loop_num, bool *res)
Definition tree-chrec.h:115
ev_direction
Definition tree-chrec.h:58
@ EV_DIR_DECREASES
Definition tree-chrec.h:58
@ EV_DIR_UNKNOWN
Definition tree-chrec.h:58
@ EV_DIR_GROWS
Definition tree-chrec.h:58
bool tree_is_chrec(const_tree expr)
Definition tree-chrec.h:48
tree build_polynomial_chrec(unsigned loop_num, tree left, tree right)
Definition tree-chrec.h:133
bool automatically_generated_chrec_p(const_tree chrec)
Definition tree-chrec.h:39
bool evolution_function_is_affine_p(const_tree chrec)
Definition tree-chrec.h:204
tree chrec_fold_op(enum tree_code code, tree type, tree op0, tree op1)
Definition tree-chrec.h:234
bool chrec_zerop(const_tree chrec)
Definition tree-chrec.h:100
tree build2(enum tree_code code, tree tt, tree arg0, tree arg1 MEM_STAT_DECL)
Definition tree.cc:5298
bool integer_zerop(const_tree expr)
Definition tree.cc:3002
#define chrec_dont_know
Definition tree.h:4835
bool ptrofftype_p(tree type)
Definition tree.h:5890
#define chrec_not_analyzed_yet
Definition tree.h:4834
#define TREE_CODE(NODE)
Definition tree.h:325
#define CHREC_LEFT(NODE)
Definition tree.h:1493
#define POINTER_TYPE_P(TYPE)
Definition tree.h:713
#define chrec_known
Definition tree.h:4836
#define STRIP_NOPS(EXP)
Definition tree.h:570
#define TREE_TYPE(NODE)
Definition tree.h:513
#define CHREC_RIGHT(NODE)
Definition tree.h:1494
#define CHREC_VARIABLE(NODE)
Definition tree.h:1495
#define NULL_TREE
Definition tree.h:318