Searched refs:ReaderOrErr (Results 1 – 6 of 6) sorted by relevance
161 ErrorOr<std::unique_ptr<SampleProfileReader>> ReaderOrErr = in doInitialization() local163 if (std::error_code EC = ReaderOrErr.getError()) { in doInitialization()169 Reader = std::move(ReaderOrErr.get()); in doInitialization()
740 auto ReaderOrErr = loadTestingFormat(ObjectBuffer.getBuffer()); in create() local741 if (!ReaderOrErr) in create()742 return ReaderOrErr.takeError(); in create()743 Readers.push_back(std::move(ReaderOrErr.get())); in create()801 auto ReaderOrErr = loadBinaryFormat(std::move(Bin), Arch); in create() local802 if (!ReaderOrErr) in create()803 return ReaderOrErr.takeError(); in create()804 Readers.push_back(std::move(ReaderOrErr.get())); in create()
1350 auto ReaderOrErr = in create() local1352 if (std::error_code EC = ReaderOrErr.getError()) { in create()1357 Reader->Remapper = std::move(ReaderOrErr.get()); in create()
1172 auto ReaderOrErr = InstrProfReader::create(Filename); in accumulateCounts() local1173 if (Error E = ReaderOrErr.takeError()) { in accumulateCounts()1176 auto Reader = std::move(ReaderOrErr.get()); in accumulateCounts()
1808 auto ReaderOrErr = in doInitialization() local1810 if (std::error_code EC = ReaderOrErr.getError()) { in doInitialization()1815 Reader = std::move(ReaderOrErr.get()); in doInitialization()
1527 auto ReaderOrErr = in annotateAllFunctions() local1529 if (Error E = ReaderOrErr.takeError()) { in annotateAllFunctions()1538 std::move(ReaderOrErr.get()); in annotateAllFunctions()