Searched refs:ReaderOrErr (Results 1 – 5 of 5) sorted by relevance
54 auto ReaderOrErr = InstrProfReader::create(Filename); in mergeInstrProfile() local55 if (std::error_code ec = ReaderOrErr.getError()) in mergeInstrProfile()58 auto Reader = std::move(ReaderOrErr.get()); in mergeInstrProfile()80 auto ReaderOrErr = in mergeSampleProfile() local82 if (std::error_code EC = ReaderOrErr.getError()) in mergeSampleProfile()85 auto Reader = std::move(ReaderOrErr.get()); in mergeSampleProfile()137 auto ReaderOrErr = InstrProfReader::create(Filename); in showInstrProfile() local138 if (std::error_code EC = ReaderOrErr.getError()) in showInstrProfile()141 auto Reader = std::move(ReaderOrErr.get()); in showInstrProfile()191 auto ReaderOrErr = SampleProfileReader::create(Filename, getGlobalContext()); in showSampleProfile() local[all …]
40 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile() local41 ASSERT_TRUE(NoError(ReaderOrErr.getError())); in readProfile()42 Reader = std::move(ReaderOrErr.get()); in readProfile()
138 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts() local139 ASSERT_TRUE(NoError(ReaderOrErr.getError())); in readProfCounts()140 ProfileReader = std::move(ReaderOrErr.get()); in readProfCounts()
742 auto ReaderOrErr = SampleProfileReader::create(Filename, M.getContext()); in INITIALIZE_PASS_DEPENDENCY() local743 if (std::error_code EC = ReaderOrErr.getError()) { in INITIALIZE_PASS_DEPENDENCY()748 Reader = std::move(ReaderOrErr.get()); in INITIALIZE_PASS_DEPENDENCY()
144 auto ReaderOrErr = in CodeGenModule() local146 if (std::error_code EC = ReaderOrErr.getError()) { in CodeGenModule()151 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()