X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=ir%2Fir%2Firdumptxt.c;h=f8918b8142368274941a5aa31cf20110ca938c8f;hb=a08e6f04aa3669cff094f94a9484c7c2bb1314d0;hp=3d44fb883c65f49d9e0e8aff82e8f3db904a0b8b;hpb=9c43c5d4befddfa947b1195374f94d412aec4148;p=libfirm diff --git a/ir/ir/irdumptxt.c b/ir/ir/irdumptxt.c index 3d44fb883..f8918b814 100644 --- a/ir/ir/irdumptxt.c +++ b/ir/ir/irdumptxt.c @@ -135,11 +135,16 @@ void dump_irnode_to_file(FILE *F, ir_node *n) fprintf(F, " Label: %lu\n", get_entity_label(get_Block_entity(n))); fprintf(F, " block visited: %ld\n", get_Block_block_visited(n)); fprintf(F, " block marked: %u\n", get_Block_mark(n)); - if (get_irg_dom_state(get_irn_irg(n)) != dom_none) { + if (get_irg_dom_state(get_irn_irg(n)) == dom_consistent) { fprintf(F, " dom depth %d\n", get_Block_dom_depth(n)); - fprintf(F, " tree pre num %d\n", get_Block_dom_tree_pre_num(n)); + fprintf(F, " domtree pre num %d\n", get_Block_dom_tree_pre_num(n)); fprintf(F, " max subtree pre num %d\n", get_Block_dom_max_subtree_pre_num(n)); } + if (get_irg_postdom_state(get_irn_irg(n)) == dom_consistent) { + fprintf(F, " pdom depth %d\n", get_Block_postdom_depth(n)); + fprintf(F, " pdomtree pre num %d\n", get_Block_pdom_tree_pre_num(n)); + fprintf(F, " max pdomsubtree pre num %d\n", get_Block_pdom_max_subtree_pre_num(n)); + } fprintf(F, " Execution frequency statistics:\n"); if (get_irg_exec_freq_state(get_irn_irg(n)) != exec_freq_none) @@ -252,11 +257,11 @@ void dump_irnode_to_file(FILE *F, ir_node *n) case iro_Load: fprintf(F, " mode of loaded value: %s\n", get_mode_name_ex(get_Load_mode(n), NULL)); fprintf(F, " volatility: %s\n", get_volatility_name(get_Load_volatility(n))); - fprintf(F, " align: %s\n", get_align_name(get_Load_align(n))); + fprintf(F, " align: %s\n", get_align_name(get_Load_unaligned(n))); break; case iro_Store: fprintf(F, " volatility: %s\n", get_volatility_name(get_Store_volatility(n))); - fprintf(F, " align: %s\n", get_align_name(get_Store_align(n))); + fprintf(F, " align: %s\n", get_align_name(get_Store_unaligned(n))); break; case iro_Confirm: fprintf(F, " compare operation: %s\n", get_relation_string(get_Confirm_relation(n))); @@ -752,7 +757,7 @@ void dump_type_to_file(FILE *F, ir_type *tp) fprintf(F, "\n order: "); for (i = 0; i < n_dim; ++i) - fprintf(F, "<%d>", get_array_order(tp, i)); + fprintf(F, "<%zu>", get_array_order(tp, i)); fprintf(F, "\n");