(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;
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: