OSDN Git Service

* df-core.c (df_bb_regno_last_use_find): Do not look for dataflow
[pf3gnuchains/gcc-fork.git] / gcc / value-prof.h
index 2a1191d..7695c03 100644 (file)
@@ -40,22 +40,12 @@ enum hist_type
 /* The value to measure.  */
 struct histogram_value_t
 {
-  union 
+  struct
     {
-      struct
-       {
-         rtx value;            /* The value to profile.  */
-         rtx seq;              /* Insns required to count the profiled value.  */
-         rtx insn;             /* Insn before that to measure.  */
-         enum machine_mode mode;               /* Mode of value to profile.  */
-       } rtl;
-      struct
-       {
-         tree value;           /* The value to profile.  */
-         tree stmt;            /* Insn containing the value.  */
-         gcov_type *counters;                  /* Pointer to first counter.  */
-         struct histogram_value_t *next;               /* Linked list pointer.  */
-       } tree;
+      tree value;              /* The value to profile.  */
+      tree stmt;               /* Insn containing the value.  */
+      gcov_type *counters;                     /* Pointer to first counter.  */
+      struct histogram_value_t *next;          /* Linked list pointer.  */
     } hvalue;
   enum hist_type type;                 /* Type of information to measure.  */
   unsigned n_counters;                 /* Number of required counters.  */
@@ -77,7 +67,6 @@ DEF_VEC_ALLOC_P(histogram_value,heap);
 typedef VEC(histogram_value,heap) *histogram_values;
 
 /* Hooks registration.  */
-extern void rtl_register_value_prof_hooks (void);
 extern void tree_register_value_prof_hooks (void);
 
 /* IR-independent entry points.  */
@@ -105,7 +94,6 @@ struct profile_hooks {
   /* Insert code to find the most common value of a difference between two
      evaluations of an expression.  */
   void (*gen_const_delta_profiler) (histogram_value, unsigned, unsigned);
-  FILE * (*profile_dump_file) (void);
 };
 
 /* In profile.c.  */
@@ -113,13 +101,9 @@ extern void init_branch_prob (void);
 extern void branch_prob (void);
 extern void end_branch_prob (void);
 extern void tree_register_profile_hooks (void);
-extern void rtl_register_profile_hooks (void);
 
 /* In tree-profile.c.  */
 extern struct profile_hooks tree_profile_hooks;
 
-/* In rtl-profile.c.  */
-extern struct profile_hooks rtl_profile_hooks;
-
 #endif /* GCC_VALUE_PROF_H */