/external/llvm/tools/llvm-profdata/ |
D | llvm-profdata.cpp | 137 auto ReaderOrErr = InstrProfReader::create(Input.Filename); in mergeInstrProfile() local 138 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() local 183 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() local 337 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 …]
|
/external/llvm/unittests/ProfileData/ |
D | SampleProfTest.cpp | 61 auto ReaderOrErr = SampleProfileReader::create(Profile, Context); in readProfile() local 62 ASSERT_TRUE(NoError(ReaderOrErr.getError())); in readProfile() 63 Reader = std::move(ReaderOrErr.get()); in readProfile()
|
D | CoverageMappingTest.cpp | 192 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfCounts() local 193 ASSERT_TRUE(NoError(ReaderOrErr.takeError())); in readProfCounts() 194 ProfileReader = std::move(ReaderOrErr.get()); in readProfCounts()
|
D | InstrProfTest.cpp | 51 auto ReaderOrErr = IndexedInstrProfReader::create(std::move(Profile)); in readProfile() local 52 ASSERT_TRUE(NoError(ReaderOrErr.takeError())); in readProfile() 53 Reader = std::move(ReaderOrErr.get()); in readProfile()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86InsertPrefetch.cpp | 161 ErrorOr<std::unique_ptr<SampleProfileReader>> ReaderOrErr = in doInitialization() local 163 if (std::error_code EC = ReaderOrErr.getError()) { in doInitialization() 169 Reader = std::move(ReaderOrErr.get()); in doInitialization()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/Coverage/ |
D | CoverageMappingReader.cpp | 740 auto ReaderOrErr = loadTestingFormat(ObjectBuffer.getBuffer()); in create() local 741 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() local 802 if (!ReaderOrErr) in create() 803 return ReaderOrErr.takeError(); in create() 804 Readers.push_back(std::move(ReaderOrErr.get())); in create()
|
/external/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 1202 auto ReaderOrErr = SampleProfileReader::create(Filename, Ctx); in INITIALIZE_PASS_DEPENDENCY() local 1203 if (std::error_code EC = ReaderOrErr.getError()) { in INITIALIZE_PASS_DEPENDENCY() 1208 Reader = std::move(ReaderOrErr.get()); in INITIALIZE_PASS_DEPENDENCY()
|
/external/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 857 auto ReaderOrErr = IndexedInstrProfReader::create(ProfileFileName); in annotateAllFunctions() local 858 if (Error E = ReaderOrErr.takeError()) { in annotateAllFunctions() 867 std::move(ReaderOrErr.get()); in annotateAllFunctions()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ProfileData/ |
D | SampleProfReader.cpp | 1350 auto ReaderOrErr = in create() local 1352 if (std::error_code EC = ReaderOrErr.getError()) { in create() 1357 Reader->Remapper = std::move(ReaderOrErr.get()); in create()
|
D | InstrProf.cpp | 1172 auto ReaderOrErr = InstrProfReader::create(Filename); in accumulateCounts() local 1173 if (Error E = ReaderOrErr.takeError()) { in accumulateCounts() 1176 auto Reader = std::move(ReaderOrErr.get()); in accumulateCounts()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/IPO/ |
D | SampleProfile.cpp | 1808 auto ReaderOrErr = in doInitialization() local 1810 if (std::error_code EC = ReaderOrErr.getError()) { in doInitialization() 1815 Reader = std::move(ReaderOrErr.get()); in doInitialization()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Instrumentation/ |
D | PGOInstrumentation.cpp | 1527 auto ReaderOrErr = in annotateAllFunctions() local 1529 if (Error E = ReaderOrErr.takeError()) { in annotateAllFunctions() 1538 std::move(ReaderOrErr.get()); in annotateAllFunctions()
|
/external/clang/lib/Frontend/ |
D | CompilerInvocation.cpp | 405 auto ReaderOrErr = llvm::IndexedInstrProfReader::create(ProfileName); in setPGOUseInstrumentor() local 407 if (auto E = ReaderOrErr.takeError()) { in setPGOUseInstrumentor() 413 std::move(ReaderOrErr.get()); in setPGOUseInstrumentor()
|
/external/clang/lib/CodeGen/ |
D | CodeGenModule.cpp | 142 auto ReaderOrErr = llvm::IndexedInstrProfReader::create( in CodeGenModule() local 144 if (auto E = ReaderOrErr.takeError()) { in CodeGenModule() 152 PGOReader = std::move(ReaderOrErr.get()); in CodeGenModule()
|