renamed exec_freq_t to ir_exec_freq
authorMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 27 Sep 2006 23:28:16 +0000 (23:28 +0000)
committerMichael Beck <beck@ipd.info.uni-karlsruhe.de>
Wed, 27 Sep 2006 23:28:16 +0000 (23:28 +0000)
ir/be/be_t.h
ir/be/bechordal_t.h
ir/be/beprofile.c
ir/be/beprofile.h
ir/be/besched.c
ir/be/besched.h
ir/be/beuses.c
ir/be/beuses.h

index bf4ea0b..1a0c2c0 100644 (file)
@@ -65,7 +65,7 @@ struct _be_irg_t {
        struct _be_main_env_t         *main_env;
        struct _be_abi_irg_t          *abi;
        struct _arch_code_generator_t *cg;
-       exec_freq_t *execfreqs;
+       ir_exec_freq *execfreqs;
 };
 
 /**
index 83bc395..acc46d8 100644 (file)
@@ -61,7 +61,7 @@ struct _be_chordal_env_t {
        dom_front_info_t *dom_front;        /**< Dominance frontiers. */
        ir_graph *irg;                      /**< The graph under examination. */
        const arch_register_class_t *cls;   /**< The current register class. */
-       exec_freq_t *exec_freq;             /**< Adam's execution frequencies. */
+       ir_exec_freq *exec_freq;             /**< Adam's execution frequencies. */
        be_lv_t *lv;                        /**< Liveness information. */
        pmap *border_heads;                 /**< Maps blocks to border heads. */
        be_ifg_t *ifg;                      /**< The interference graph. */
index 42c0d4c..fe884e1 100644 (file)
@@ -607,7 +607,7 @@ be_profile_get_block_execcount(const ir_node *block)
 
 typedef struct _intialize_execfreq_env_t {
        ir_graph *irg;
-       exec_freq_t *execfreqs;
+       ir_exec_freq *execfreqs;
        double freq_factor;
 } initialize_execfreq_env_t;
 
@@ -631,7 +631,7 @@ static void initialize_execfreq(ir_node *block, void *data) {
        set_execfreq(env->execfreqs, block, freq);
 }
 
-exec_freq_t *be_create_execfreqs_from_profile(ir_graph *irg)
+ir_exec_freq *be_create_execfreqs_from_profile(ir_graph *irg)
 {
        ir_node *block2 = NULL;
        ir_node *start_block;
index 1d26ec1..6d136a6 100644 (file)
@@ -49,7 +49,7 @@ unsigned int be_profile_get_block_execcount(const ir_node * block);
 /**
  * Initializes exec_freq structure for an irg based on profile data
  */
-exec_freq_t *be_create_execfreqs_from_profile(ir_graph *irg);
+ir_exec_freq *be_create_execfreqs_from_profile(ir_graph *irg);
 
 /**
  * Tells whether profile module has acquired data
index d498843..2207332 100644 (file)
@@ -258,13 +258,13 @@ static void create_block_list(ir_node *leader_block, anchor *list) {
        }
 }
 
-void compute_extbb_execfreqs(ir_graph *irg, exec_freq_t *execfreqs);
+void compute_extbb_execfreqs(ir_graph *irg, ir_exec_freq *execfreqs);
 
 /*
  * Calculates a block schedule. The schedule is stored as a linked
  * list starting at the start_block of the irg.
  */
-ir_node **sched_create_block_schedule(ir_graph *irg, exec_freq_t *execfreqs)
+ir_node **sched_create_block_schedule(ir_graph *irg, ir_exec_freq *execfreqs)
 {
        anchor list;
        ir_node **blk_list, *b, *n;
index 22439bc..c2e9d2e 100644 (file)
@@ -66,7 +66,7 @@ ir_node *sched_irg_first(const ir_graph *irg);
  *
  * This function implements a simple extended block scheduling algorithm.
  */
-ir_node **sched_create_block_schedule(ir_graph *irg, exec_freq_t *execfreqs);
+ir_node **sched_create_block_schedule(ir_graph *irg, ir_exec_freq *execfreqs);
 
 /**
  * Removes dead nodes from schedule
index 34091d8..9be130e 100644 (file)
@@ -48,7 +48,7 @@ typedef struct _be_use_t {
 struct _be_uses_t {
        set *uses;
        ir_graph *irg;
-       const exec_freq_t *execfreqs;
+       const ir_exec_freq *execfreqs;
        const be_lv_t *lv;
        DEBUG_ONLY(firm_dbg_module_t *dbg;)
 };
@@ -159,7 +159,7 @@ unsigned be_get_next_use(be_uses_t *uses, const ir_node *from,
 #endif
 }
 
-be_uses_t *be_begin_uses(ir_graph *irg, const exec_freq_t *execfreqs, const be_lv_t *lv)
+be_uses_t *be_begin_uses(ir_graph *irg, const ir_exec_freq *execfreqs, const be_lv_t *lv)
 {
        be_uses_t *uses = xmalloc(sizeof(uses[0]));
 
index 604ae0d..7d12370 100644 (file)
@@ -27,7 +27,7 @@ unsigned be_get_next_use(be_uses_t *uses, const ir_node *from,
                          unsigned from_step, const ir_node *def,
                          int skip_from_uses);
 
-be_uses_t *be_begin_uses(ir_graph *irg, const exec_freq_t *execfreqs,
+be_uses_t *be_begin_uses(ir_graph *irg, const ir_exec_freq *execfreqs,
                          const be_lv_t *lv);
 
 void be_end_uses(be_uses_t *uses);