Lines Matching refs:tree

37 #include "tree-flow.h"
38 #include "tree-flow-inline.h"
41 #include "tree.h"
44 #include "tree-pass.h"
74 static tree tree_divmod_fixed_value (tree, tree, tree, tree,
75 tree, int, gcov_type, gcov_type);
76 static tree tree_mod_pow2 (tree, tree, tree, tree, int, gcov_type, gcov_type);
77 static tree tree_mod_subtract (tree, tree, tree, tree, int, int, int,
79 static bool tree_divmod_fixed_value_transform (tree);
80 static bool tree_mod_pow2_value_transform (tree);
81 static bool tree_mod_subtract_transform (tree);
87 check_counter (tree stmt, const char * name, gcov_type all, gcov_type bb_count)
118 tree stmt = bsi_stmt (bsi);
174 static tree
175 tree_divmod_fixed_value (tree stmt, tree operation,
176 tree op1, tree op2, tree value, int prob, gcov_type count,
179 tree stmt1, stmt2, stmt3;
180 tree tmp1, tmp2, tmpv;
181 tree label_decl1 = create_artificial_label ();
182 tree label_decl2 = create_artificial_label ();
183 tree label_decl3 = create_artificial_label ();
184 tree label1, label2, label3;
185 tree bb1end, bb2end, bb3end;
187 tree optype = TREE_TYPE (operation);
260 tree_divmod_fixed_value_transform (tree stmt)
266 tree modify, op, op1, op2, result, value, tree_val;
338 static tree
339 tree_mod_pow2 (tree stmt, tree operation, tree op1, tree op2, int prob,
342 tree stmt1, stmt2, stmt3, stmt4;
343 tree tmp2, tmp3;
344 tree label_decl1 = create_artificial_label ();
345 tree label_decl2 = create_artificial_label ();
346 tree label_decl3 = create_artificial_label ();
347 tree label1, label2, label3;
348 tree bb1end, bb2end, bb3end;
350 tree optype = TREE_TYPE (operation);
353 tree result = create_tmp_var (optype, "PROF");
427 tree_mod_pow2_value_transform (tree stmt)
433 tree modify, op, op1, op2, result, value;
501 static tree
502 tree_mod_subtract (tree stmt, tree operation, tree op1, tree op2,
506 tree stmt1, stmt2, stmt3;
507 tree tmp1;
508 tree label_decl1 = create_artificial_label ();
509 tree label_decl2 = create_artificial_label ();
510 tree label_decl3 = create_artificial_label ();
511 tree label1, label2, label3;
512 tree bb1end, bb2end = NULL_TREE, bb3end;
514 tree optype = TREE_TYPE (operation);
517 tree result = create_tmp_var (optype, "PROF");
609 tree_mod_subtract_transform (tree stmt)
615 tree modify, op, op1, op2, result, value;
706 tree_divmod_values_to_profile (tree stmt, histogram_values *values)
708 tree assign, lhs, rhs, divisor, op0, type;
777 tree_values_to_profile (tree stmt, histogram_values *values)
803 fprintf (dump_file, "Interval counter for tree ");
817 fprintf (dump_file, "Pow2 counter for tree ");
827 fprintf (dump_file, "Single value counter for tree ");
837 fprintf (dump_file, "Constant delta counter for tree ");