diff options
Diffstat (limited to 'gcc/ipa-structure-reorg.h')
-rw-r--r-- | gcc/ipa-structure-reorg.h | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/gcc/ipa-structure-reorg.h b/gcc/ipa-structure-reorg.h index 8454c42dd89..c0c12afe695 100644 --- a/gcc/ipa-structure-reorg.h +++ b/gcc/ipa-structure-reorg.h @@ -99,7 +99,8 @@ enum ReorgOpTrans { ReorgOpT_Array, // "x[i]" ReorgOpT_Scalar, // "z" ReorgOpT_Indirect, // "a->f" - ReorgOpT_AryDir // "x[i].f" + ReorgOpT_AryDir, // "x[i].f" + ReorgOpT_Cst }; enum CompressionControl { @@ -160,6 +161,7 @@ struct Info { // TODO: What is the meaning of reorg type? // Hasn't this meaning changed now that we have three // transformations roughly running at the same time? + // Eric: Interesting point std::vector <ReorgType_t> *reorg_type; // Added to by remove_deleted_types std::vector <ReorgType_t> *saved_reorg_type; @@ -176,6 +178,7 @@ struct Info { // Debug flags bool show_all_reorg_cands; bool show_all_reorg_cands_in_detail; + bool show_perf_qualify; bool show_prog_decls; bool show_delete; bool show_new_BBs; @@ -196,6 +199,7 @@ struct Info { , reorg_dump_file(NULL) , show_all_reorg_cands(false) , show_all_reorg_cands_in_detail(false) + , show_perf_qualify(false) , show_prog_decls(false) , show_new_BBs(false) , show_transforms(false) @@ -228,7 +232,7 @@ extern void undelete_reorgtype ( ReorgType_t *, Info_t *); extern void clear_deleted_types( Info *); extern void restore_deleted_types ( Info *); extern void remove_deleted_types ( Info *, ReorgFn); -extern enum ReorgOpTrans recognize_op ( tree, Info_t *); +extern enum ReorgOpTrans recognize_op ( tree, bool, Info_t *); extern ReorgTransformation reorg_recognize ( gimple *, cgraph_node *, Info_t *); @@ -246,6 +250,7 @@ extern void print_program ( FILE *, bool, int, Info_t *); extern void print_type ( FILE *, tree); extern void modify_ssa_name_type ( tree, tree); extern bool print_internals (gimple *, void *); +extern const char *optrans_to_str ( enum ReorgOpTrans); @@ -253,7 +258,7 @@ extern bool print_internals (gimple *, void *); // defined marcos in the code. However, some of uses // should obviously be converted to dump file information. -#define DEBUGGING 0 +#define DEBUGGING 1 #if DEBUGGING enum Display { Show_nothing, |