/haiku-buildtools/gcc/gcc/ |
H A D | tree-chrec.h | 36 automatically_generated_chrec_p (const_tree chrec) argument 38 return (chrec == chrec_dont_know 39 || chrec == chrec_known); 98 chrec_zerop (const_tree chrec) 100 if (chrec == NULL_TREE) 103 if (TREE_CODE (chrec) == INTEGER_CST) 104 return integer_zerop (chrec); 113 no_evolution_in_loop_p (tree chrec, unsigned loop_num, bool *res) 117 if (chrec == chrec_not_analyzed_yet 118 || chrec 97 chrec_zerop(const_tree chrec) argument 112 no_evolution_in_loop_p(tree chrec, unsigned loop_num, bool *res) argument 167 evolution_function_is_constant_p(const_tree chrec) argument 186 evolution_function_is_affine_in_loop(const_tree chrec, int loopnum) argument 208 evolution_function_is_affine_p(const_tree chrec) argument 229 chrec_type(const_tree chrec) argument [all...] |
H A D | tree-chrec.c | 55 #include "tree-chrec.h" 554 chrec_evaluate (unsigned var, tree chrec, tree n, unsigned int k) 557 tree type = TREE_TYPE (chrec); 560 while (TREE_CODE (chrec) == POLYNOMIAL_CHREC 561 && flow_loop_nested_p (var_loop, get_chrec_loop (chrec))) 562 chrec = CHREC_LEFT (chrec); 564 if (TREE_CODE (chrec) == POLYNOMIAL_CHREC 565 && CHREC_VARIABLE (chrec) == var) 567 arg1 = chrec_evaluate (var, CHREC_RIGHT (chrec), 552 chrec_evaluate(unsigned var, tree chrec, tree n, unsigned int k) argument 595 chrec_apply(unsigned var, tree chrec, tree x) argument 672 chrec_apply_map(tree chrec, vec<tree> iv_map) argument 687 chrec_replace_initial_condition(tree chrec, tree init_cond) argument 711 initial_condition(tree chrec) argument 726 hide_evolution_in_other_loops_than_loop(tree chrec, unsigned loop_num) argument 765 chrec_component_in_loop_num(tree chrec, unsigned loop_num, bool right) argument 825 evolution_part_in_loop_num(tree chrec, unsigned loop_num) argument 836 initial_condition_in_loop_num(tree chrec, unsigned loop_num) argument 848 reset_evolution_in_loop(unsigned loop_num, tree chrec, tree new_evol) argument 910 is_multivariate_chrec_rec(const_tree chrec, unsigned int rec_var) argument 930 is_multivariate_chrec(const_tree chrec) argument 947 chrec_contains_symbols(const_tree chrec) argument 973 chrec_contains_undetermined(const_tree chrec) argument 1018 evolution_function_is_invariant_rec_p(tree chrec, int loopnum) argument 1064 evolution_function_is_invariant_p(tree chrec, int loopnum) argument 1073 evolution_function_is_affine_multivariate_p(const_tree chrec, int loopnum) argument 1118 evolution_function_is_univariate_p(const_tree chrec) argument 1165 nb_vars_in_chrec(tree chrec) argument 1294 chrec_convert_rhs(tree type, tree chrec, gimple at_stmt) argument 1327 chrec_convert(tree type, tree chrec, gimple at_stmt) argument 1345 chrec_convert_1(tree type, tree chrec, gimple at_stmt, bool use_overflow_semantics) argument 1428 chrec_convert_aggressive(tree type, tree chrec) argument 1500 scev_direction(const_tree chrec) argument 1610 evolution_function_right_is_integer_cst(const_tree chrec) argument [all...] |
H A D | tree-scalar-evolution.h | 52 /* Analyze all the parameters of the chrec that were left under a 57 instantiate_parameters (struct loop *loop, tree chrec) argument 59 return instantiate_scev (block_before_loop (loop), loop, chrec); 62 /* Returns the loop of the polynomial chrec CHREC. */ 65 get_chrec_loop (const_tree chrec) argument 67 return get_loop (cfun, CHREC_VARIABLE (chrec));
|
H A D | tree-scalar-evolution.c | 37 this chain of recurrence (or chrec [shrek]) can contain the name of 71 symbolic chrec {initial_condition, +, symbolic_stride}_loop. 215 The symbolic chrec representation contains all the semantics of the 313 #include "tree-chrec.h" 332 tree chrec; variable 373 res->chrec = chrec_not_analyzed_yet; 413 return &res->chrec; 420 chrec_contains_symbols_defined_in_loop (const_tree chrec, unsigned loop_nb) 424 if (chrec == NULL_TREE) 427 if (is_gimple_min_invariant (chrec)) 419 chrec_contains_symbols_defined_in_loop(const_tree chrec, unsigned loop_nb) argument 554 set_scalar_evolution(basic_block instantiated_below, tree scalar, tree chrec) argument 2243 set(unsigned slot, tree chrec) argument 2354 instantiate_scev_name(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, bool fold_conversions, int size_expr) argument 2459 instantiate_scev_poly(basic_block instantiate_below, struct loop *evolution_loop, struct loop *, tree chrec, bool fold_conversions, int size_expr) argument 2503 instantiate_scev_binary(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, enum tree_code code, tree type, tree c0, tree c1, bool fold_conversions, int size_expr) argument 2561 instantiate_array_ref(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, bool fold_conversions, int size_expr) argument 2598 instantiate_scev_convert(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, tree type, tree op, bool fold_conversions, int size_expr) argument 2646 instantiate_scev_not(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, enum tree_code code, tree type, tree op, bool fold_conversions, int size_expr) argument 2696 instantiate_scev_3(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, bool fold_conversions, int size_expr) argument 2744 instantiate_scev_2(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, bool fold_conversions, int size_expr) argument 2784 instantiate_scev_1(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, bool fold_conversions, int size_expr) argument 2817 instantiate_scev_r(basic_block instantiate_below, struct loop *evolution_loop, struct loop *inner_loop, tree chrec, bool fold_conversions, int size_expr) argument 2922 instantiate_scev(basic_block instantiate_below, struct loop *evolution_loop, tree chrec) argument 2969 resolve_mixers(struct loop *loop, tree chrec) argument 3119 gather_chrec_stats(tree chrec, struct chrec_stats *stats) argument [all...] |
H A D | tree-data-ref.c | 1653 tree chrec) 1655 DDR_ARE_DEPENDENT (ddr) = chrec; 1860 chrec_is_positive (tree chrec, bool *value) 1865 switch (TREE_CODE (chrec)) 1868 if (!chrec_is_positive (CHREC_LEFT (chrec), &value0) 1869 || !chrec_is_positive (CHREC_RIGHT (chrec), &value1)) 1879 /* Otherwise the chrec is under the form: "{-197, +, 2}_1", 1883 if (!evolution_function_is_affine_p (chrec)) 1886 nb_iter = number_of_latch_executions (get_chrec_loop (chrec)); 1897 end_value = chrec_apply (CHREC_VARIABLE (chrec), chre 1651 finalize_ddr_dependent(struct data_dependence_relation *ddr, tree chrec) argument 1858 chrec_is_positive(tree chrec, bool *value) argument 2133 initialize_matrix_A(lambda_matrix A, tree chrec, unsigned index, int mult) argument 2923 gcd_of_steps_may_divide_p(const_tree chrec, const_tree cst) argument [all...] |
H A D | tree-vrp.c | 74 #include "tree-chrec.h" 4277 tree init, step, chrec, tmin, tmax, min, max, type, tem; local 4285 chrec = instantiate_parameters (loop, analyze_scalar_evolution (loop, var)); 4288 if (is_gimple_min_invariant (chrec)) 4290 set_value_range_to_value (vr, chrec, vr->equiv); 4294 if (TREE_CODE (chrec) != POLYNOMIAL_CHREC) 4297 init = initial_condition_in_loop_num (chrec, loop->num); 4301 step = evolution_part_in_loop_num (chrec, loop->num); 4315 dir = scev_direction (chrec); 4320 || scev_probably_wraps_p (init, step, stmt, get_chrec_loop (chrec), [all...] |
H A D | Makefile.in | 1411 tree-chrec.o \ 2342 $(srcdir)/tree-chrec.h \
|