From 355fe0884b8097c32e859f0df57c83bde0c6bd26 Mon Sep 17 00:00:00 2001 From: Trevor Saunders Date: Sun, 20 Sep 2015 00:52:59 +0000 Subject: switch from gimple to gimple* This renames the gimple_statement_base struct to gimple removes the typedef of gimple_statement_base * to gimple, and then adjusts all of the places that use the type. gcc/ChangeLog: 2015-09-19 Trevor Saunders * coretypes.h (gimple): Change typedef to be a forward declaration. * gimple.h (gimple_statement_base): rename to gimple. * (all functions and types using gimple): Adjust. * *.[ch]: Likewise. gcc/cp/ChangeLog: 2015-09-19 Trevor Saunders * cp-gimplify.c (gimplify_must_not_throw_expr): Adjust. From-SVN: r227941 --- gcc/value-prof.h | 26 +++++++++++++------------- 1 file changed, 13 insertions(+), 13 deletions(-) (limited to 'gcc/value-prof.h') diff --git a/gcc/value-prof.h b/gcc/value-prof.h index fa5340d..6dadb0cc 100644 --- a/gcc/value-prof.h +++ b/gcc/value-prof.h @@ -51,7 +51,7 @@ struct histogram_value_t struct { tree value; /* The value to profile. */ - gimple stmt; /* Insn containing the value. */ + gimple *stmt; /* Insn containing the value. */ gcov_type *counters; /* Pointer to first counter. */ struct histogram_value_t *next; /* Linked list pointer. */ } hvalue; @@ -78,20 +78,20 @@ extern void gimple_find_values_to_profile (histogram_values *); extern bool gimple_value_profile_transformations (void); histogram_value gimple_alloc_histogram_value (struct function *, enum hist_type, - gimple stmt, tree); -histogram_value gimple_histogram_value (struct function *, gimple); -histogram_value gimple_histogram_value_of_type (struct function *, gimple, + gimple *stmt, tree); +histogram_value gimple_histogram_value (struct function *, gimple *); +histogram_value gimple_histogram_value_of_type (struct function *, gimple *, enum hist_type); -void gimple_add_histogram_value (struct function *, gimple, histogram_value); -void dump_histograms_for_stmt (struct function *, FILE *, gimple); -void gimple_remove_histogram_value (struct function *, gimple, histogram_value); -void gimple_remove_stmt_histograms (struct function *, gimple); -void gimple_duplicate_stmt_histograms (struct function *, gimple, - struct function *, gimple); -void gimple_move_stmt_histograms (struct function *, gimple, gimple); +void gimple_add_histogram_value (struct function *, gimple *, histogram_value); +void dump_histograms_for_stmt (struct function *, FILE *, gimple *); +void gimple_remove_histogram_value (struct function *, gimple *, histogram_value); +void gimple_remove_stmt_histograms (struct function *, gimple *); +void gimple_duplicate_stmt_histograms (struct function *, gimple *, + struct function *, gimple *); +void gimple_move_stmt_histograms (struct function *, gimple *, gimple *); void verify_histograms (void); void free_histograms (void); -void stringop_block_profile (gimple, unsigned int *, HOST_WIDE_INT *); +void stringop_block_profile (gimple *, unsigned int *, HOST_WIDE_INT *); gcall *gimple_ic (gcall *, struct cgraph_node *, int, gcov_type, gcov_type); bool check_ic_target (gcall *, struct cgraph_node *); @@ -112,7 +112,7 @@ extern void gimple_gen_const_delta_profiler (histogram_value, extern void gimple_gen_average_profiler (histogram_value, unsigned, unsigned); extern void gimple_gen_ior_profiler (histogram_value, unsigned, unsigned); extern void stream_out_histogram_value (struct output_block *, histogram_value); -extern void stream_in_histogram_value (struct lto_input_block *, gimple); +extern void stream_in_histogram_value (struct lto_input_block *, gimple *); extern struct cgraph_node* find_func_by_profile_id (int func_id); -- cgit v1.1