Searched refs:ReaderOrErr (Results 1 – 8 of 8) sorted by relevance
137 auto ReaderOrErr = InstrProfReader::create(Input.Filename); in mergeInstrProfile() local138 if (Error E = ReaderOrErr.takeError()) in mergeInstrProfile()141 auto Reader = std::move(ReaderOrErr.get()); in mergeInstrProfile()182 auto ReaderOrErr = SampleProfileReader::create(Input.Filename, Context); in mergeSampleProfile() local183 if (std::error_code EC = ReaderOrErr.getError()) in mergeSampleProfile()190 Readers.push_back(std::move(ReaderOrErr.get())); in mergeSampleProfile()331 auto ReaderOrErr = InstrProfReader::create(Filename); in showInstrProfile() local337 if (Error E = ReaderOrErr.takeError()) in showInstrProfile()340 auto Reader = std::move(ReaderOrErr.get()); in showInstrProfile()448 auto ReaderOrErr = SampleProfileReader::create(Filename, Context); in showSampleProfile() local[all …]
61 auto ReaderOrErr = SampleProfileReader::create(Profile, Context); in readProfile() local62 ASSERT_TRUE(NoError(ReaderOrErr.getError())); in readProfile()63 Reader = std::move(ReaderOrErr.get()); in readProfile()
192 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts() local193 ASSERT_TRUE(NoError(ReaderOrErr.takeError())); in readProfCounts()194 ProfileReader = std::move(ReaderOrErr.get()); in readProfCounts()
51 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile() local52 ASSERT_TRUE(NoError(ReaderOrErr.takeError())); in readProfile()53 Reader = std::move(ReaderOrErr.get()); in readProfile()
1202 auto ReaderOrErr = SampleProfileReader::create(Filename, Ctx); in INITIALIZE_PASS_DEPENDENCY() local1203 if (std::error_code EC = ReaderOrErr.getError()) { in INITIALIZE_PASS_DEPENDENCY()1208 Reader = std::move(ReaderOrErr.get()); in INITIALIZE_PASS_DEPENDENCY()
857 auto ReaderOrErr = IndexedInstrProfReader::create(ProfileFileName); in annotateAllFunctions() local858 if (Error E = ReaderOrErr.takeError()) { in annotateAllFunctions()867 std::move(ReaderOrErr.get()); in annotateAllFunctions()
405 auto ReaderOrErr = llvm::IndexedInstrProfReader::create(ProfileName); in setPGOUseInstrumentor() local407 if (auto E = ReaderOrErr.takeError()) { in setPGOUseInstrumentor()413 std::move(ReaderOrErr.get()); in setPGOUseInstrumentor()
142 auto ReaderOrErr = llvm::IndexedInstrProfReader::create( in CodeGenModule() local144 if (auto E = ReaderOrErr.takeError()) { in CodeGenModule()152 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()