Lines Matching refs:Filename
111 StringRef Filename; member
116 WeightedFile(StringRef F, uint64_t W) : Filename{F}, Weight{W} {} in WeightedFile()
137 auto ReaderOrErr = InstrProfReader::create(Input.Filename); in mergeInstrProfile()
139 exitWithError(std::move(E), Input.Filename); in mergeInstrProfile()
151 handleMergeWriterError(make_error<InstrProfError>(IPE), Input.Filename, in mergeInstrProfile()
156 exitWithError(Reader->getError(), Input.Filename); in mergeInstrProfile()
182 auto ReaderOrErr = SampleProfileReader::create(Input.Filename, Context); in mergeSampleProfile()
184 exitWithErrorCode(EC, Input.Filename); in mergeSampleProfile()
193 exitWithErrorCode(EC, Input.Filename); in mergeSampleProfile()
204 handleMergeWriterError(errorCodeToError(EC), Input.Filename, FName); in mergeSampleProfile()
295 for (StringRef Filename : InputFilenames) in merge_main() local
296 WeightedInputs.emplace_back(Filename, 1); in merge_main()
311 outs() << WF.Weight << "," << WF.Filename << "\n"; in merge_main()
324 static int showInstrProfile(const std::string &Filename, bool ShowCounts, in showInstrProfile() argument
331 auto ReaderOrErr = InstrProfReader::create(Filename); in showInstrProfile()
338 exitWithError(std::move(E), Filename); in showInstrProfile()
410 exitWithError(Reader->getError(), Filename); in showInstrProfile()
442 static int showSampleProfile(const std::string &Filename, bool ShowCounts, in showSampleProfile() argument
448 auto ReaderOrErr = SampleProfileReader::create(Filename, Context); in showSampleProfile()
450 exitWithErrorCode(EC, Filename); in showSampleProfile()
454 exitWithErrorCode(EC, Filename); in showSampleProfile()
465 cl::opt<std::string> Filename(cl::Positional, cl::Required, in show_main() local
513 return showInstrProfile(Filename, ShowCounts, ShowIndirectCallTargets, in show_main()
517 return showSampleProfile(Filename, ShowCounts, ShowAllFunctions, in show_main()