(get_irp_loop_nesting_depth_state() != loop_nesting_depth_none) &&
(get_irp_callgraph_state() == irp_callgraph_and_calltree_consistent))
fprintf(F, " final evaluation: **%8.2lf**\n", get_irn_final_cost(n));
+ if (has_Block_label(n))
+ fprintf(F, " Label: %lu\n", get_Block_label(n));
/* not dumped: graph_arr */
/* not dumped: mature */
fprintf(F, " kind: enumeration\n");
fprintf(F, " name: %s\n", get_enumeration_name(get_SymConst_enum(n)));
break;
+ case symconst_label:
+ fprintf(F, " kind: label\n");
+ fprintf(F, " label: %lu\n", get_SymConst_label(n));
+ break;
}
fprintf(F, " type of value: %s \n", get_type_name_ex(get_SymConst_value_type(n), &bad));
} break;
case iro_Load:
fprintf(F, " mode of loaded value: %s\n", get_mode_name_ex(get_Load_mode(n), &bad));
fprintf(F, " volatility: %s\n", get_volatility_name(get_Load_volatility(n)));
+ fprintf(F, " align: %s\n", get_align_name(get_Load_align(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)));
break;
case iro_Confirm:
fprintf(F, " compare operation: %s\n", get_pnc_string(get_Confirm_cmp(n)));
ident **clobber;
int l;
- fprintf(F, " assembler text: %s", get_ASM_text(n));
+ fprintf(F, " assembler text: %s", get_id_str(get_ASM_text(n)));
l = get_ASM_n_input_constraints(n);
if (l > 0) {
fprintf(F, "\n inputs: ");
fclose (F);
}
+#ifdef EXTENDED_ACCESS_STATS
static int addr_is_alloc(ir_node *acc) {
ir_node *addr = NULL;
ir_opcode addr_op;
/* In addition, the alloc must be in the same loop. */
return 1;
}
+#endif
/** dumps something like:
*
if (verbosity & dump_verbosity_entattrs) {
fprintf(F, "%s volatility: %s", prefix, get_volatility_name(get_entity_volatility(ent)));
+ fprintf(F, "\n%s alignment: %s", prefix, get_align_name(get_entity_align(ent)));
fprintf(F, "\n%s peculiarity: %s", prefix, get_peculiarity_name(get_entity_peculiarity(ent)));
fprintf(F, "\n%s ld_name: %s", prefix, ent->ld_name ? get_entity_ld_name(ent) : "no yet set");
fprintf(F, "\n%s offset: %d bytes, %d rem bits", prefix, get_entity_offset(ent), get_entity_offset_bits_remainder(ent));
}
if (verbosity & dump_verbosity_accessStats) {
-#if 0
+#ifdef EXTENDED_ACCESS_STATS
int n_acc = get_entity_n_accesses(ent);
int max_depth = 0;
int max_L_freq = -1;
dump_entity_to_file(stdout, ent, dump_verbosity_max);
}
-void dump_entitycsv_to_file_prefix(FILE *F, ir_entity *ent, char *prefix, unsigned verbosity,
- int *max_disp, int disp[], const char *comma) {
-
+void dump_entitycsv_to_file_prefix(FILE *F, ir_entity *ent, char *prefix,
+ unsigned verbosity, int *max_disp,
+ int disp[], const char *comma)
+{
+ (void) verbosity;
+ (void) max_disp;
+ (void) disp;
+ (void) comma;
#if 0 /* Outputs loop depth of all occurrences. */
int n_acc = get_entity_n_accesses(ent);
int max_L_freq = -1;
void dump_typecsv_to_file(FILE *F, ir_type *tp, dump_verbosity verbosity, const char *comma) {
int i;
char buf[1024 + 10];
+ (void) comma;
+
if (!is_Class_type(tp)) return; // we also want array types. Stupid, these are classes in java.
if (verbosity & dump_verbosity_accessStats) {
break;
case tpo_primitive:
+ if (verbosity & dump_verbosity_typeattrs) {
+ ir_type *base_tp = get_primitive_base_type(tp);
+ if (base_tp != NULL)
+ fprintf(F, "\n base type: %s (%ld)", get_type_name(tp), get_type_nr(tp));
+ fprintf(F, "\n");
+ }
+ break;
+
case tpo_id:
case tpo_none:
case tpo_unknown: