Home
last modified time | relevance | path

Searched refs:ReaderOrErr (Results 1 – 5 of 5) sorted by relevance

/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp54 auto ReaderOrErr = InstrProfReader::create(Filename); in mergeInstrProfile() local
55 if (std::error_code ec = ReaderOrErr.getError()) in mergeInstrProfile()
58 auto Reader = std::move(ReaderOrErr.get()); in mergeInstrProfile()
80 auto ReaderOrErr = in mergeSampleProfile() local
82 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() local
138 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 …]
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp40 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile() local
41 ASSERT_TRUE(NoError(ReaderOrErr.getError())); in readProfile()
42 Reader = std::move(ReaderOrErr.get()); in readProfile()
DCoverageMappingTest.cpp138 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts() local
139 ASSERT_TRUE(NoError(ReaderOrErr.getError())); in readProfCounts()
140 ProfileReader = std::move(ReaderOrErr.get()); in readProfCounts()
/external/llvm/lib/Transforms/Scalar/
DSampleProfile.cpp742 auto ReaderOrErr = SampleProfileReader::create(Filename, M.getContext()); in INITIALIZE_PASS_DEPENDENCY() local
743 if (std::error_code EC = ReaderOrErr.getError()) { in INITIALIZE_PASS_DEPENDENCY()
748 Reader = std::move(ReaderOrErr.get()); in INITIALIZE_PASS_DEPENDENCY()
/external/clang/lib/CodeGen/
DCodeGenModule.cpp144 auto ReaderOrErr = in CodeGenModule() local
146 if (std::error_code EC = ReaderOrErr.getError()) { in CodeGenModule()
151 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()