Lines Matching refs:Reader
58 auto Reader = std::move(ReaderOrErr.get()); in mergeInstrProfile() local
59 for (const auto &I : *Reader) in mergeInstrProfile()
63 if (Reader->hasError()) in mergeInstrProfile()
64 exitWithError(Reader->getError().message(), Filename); in mergeInstrProfile()
85 auto Reader = std::move(ReaderOrErr.get()); in mergeSampleProfile() local
86 if (std::error_code EC = Reader->read()) in mergeSampleProfile()
89 StringMap<FunctionSamples> &Profiles = Reader->getProfiles(); in mergeSampleProfile()
141 auto Reader = std::move(ReaderOrErr.get()); in showInstrProfile() local
144 for (const auto &Func : *Reader) { in showInstrProfile()
176 if (Reader->hasError()) in showInstrProfile()
177 exitWithError(Reader->getError().message(), Filename); in showInstrProfile()
195 auto Reader = std::move(ReaderOrErr.get()); in showSampleProfile() local
196 Reader->read(); in showSampleProfile()
198 Reader->dump(OS); in showSampleProfile()
200 Reader->dumpFunctionProfile(ShowFunction, OS); in showSampleProfile()