summaryrefslogtreecommitdiff
path: root/gcc/value-prof.h
diff options
context:
space:
mode:
authorbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-14 14:06:30 +0000
committerbstarynk <bstarynk@138bc75d-0d04-0410-961f-82ee72b054a4>2016-04-14 14:06:30 +0000
commitda43189a025677a4248e5b2b54e359b60573986e (patch)
tree4f2cc28d286780ee5ce809687d5e26ee6348ae23 /gcc/value-prof.h
parentf2f4d483b4e0a09e6ea38f98c59830fdd1a085ad (diff)
downloadgcc-da43189a025677a4248e5b2b54e359b60573986e.tar.gz
2016-04-14 Basile Starynkevitch <basile@starynkevitch.net>
{{merging with even more of GCC 6, using subversion 1.9 svn merge -r227940:227942 ^/trunk }} [gcc/] 2016-04-14 Basile Starynkevitch <basile@starynkevitch.net> {{merging with even more of GCC 6, i.e. svn rev 227942; very unstable...}} * melt/generated/warmelt-base+01.cc: Manually edited. * melt/generated/warmelt-debug.cc: Ditto. * melt/generated/warmelt-macro+01.cc: Ditto. * melt/warmelt-first.melt (ctype_gimple, ctype_gimpleseq): Change the :ctype_marker field to gt_ggc_mx_gimple. Should consider using overloaded gt_ggc_mx. * melt-runtime.h (melt_gimple_call_set_lhs): Use melt_gimpleptr_t in arg & result. * melt-runtime.cc (meltgc_retrieve_location_from_value) (meltgc_ppout_gimple): Likewise. (melt_gt_ggc_mx_gimple_seq_d): Specialized for GCC 6. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/branches/melt-branch@234975 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/value-prof.h')
-rw-r--r--gcc/value-prof.h26
1 files changed, 13 insertions, 13 deletions
diff --git a/gcc/value-prof.h b/gcc/value-prof.h
index fa5340d93b7..6dadb0cc97c 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);