Lines Matching defs:dfi
846 struct dump_file_info *dfi;
851 dfi = get_dump_file_info (phase);
852 if (dfi->state == 0)
855 if (dfi->num < 0)
860 if (dfi->flags & TDF_TREE)
862 else if (dfi->flags & TDF_IPA)
867 if (snprintf (dump_id, sizeof (dump_id), ".%03d%c", dfi->num, suffix) < 0)
871 return concat (dump_base_name, dump_id, dfi->suffix, NULL);
883 struct dump_file_info *dfi;
890 dfi = get_dump_file_info (phase);
891 stream = fopen (name, dfi->state < 0 ? "w" : "a");
895 dfi->state = 1;
899 *flag_ptr = dfi->flags;
923 struct dump_file_info *dfi = get_dump_file_info (phase);
924 return dfi->state;
933 struct dump_file_info *dfi = get_dump_file_info (phase);
934 return dfi->state > 0;
942 struct dump_file_info *dfi = get_dump_file_info (phase);
943 return dfi->swtch;
989 dump_switch_p_1 (const char *arg, struct dump_file_info *dfi, bool doglob)
995 if (doglob && !dfi->glob)
998 option_value = skip_leading_substring (arg, doglob ? dfi->glob : dfi->swtch);
1026 length, ptr, dfi->swtch);
1031 dfi->state = -1;
1032 dfi->flags |= flags;
1036 if (dfi->suffix == NULL)
1037 dump_enable_all (dfi->flags, 0);