Home
last modified time | relevance | path

Searched refs:InstrProfError (Results 1 – 21 of 21) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/
DInstrProfReader.cpp65 return make_error<InstrProfError>(instrprof_error::too_large); in create()
68 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in create()
81 return make_error<InstrProfError>(instrprof_error::unrecognized_format); in create()
103 return make_error<InstrProfError>(instrprof_error::too_large); in create()
107 return make_error<InstrProfError>(instrprof_error::bad_magic); in create()
120 InstrProfError::take(std::move(E)); in Increment()
306 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()
310 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
313 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
317 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()
[all …]
DInstrProf.cpp209 std::string InstrProfError::message() const { in message()
213 char InstrProfError::ID = 0;
412 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
451 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()
459 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
738 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
741 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
746 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
749 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
761 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
[all …]
DInstrProfWriter.cpp199 Warn(make_error<InstrProfError>(E)); in addRecord()
/external/llvm/lib/ProfileData/
DInstrProfReader.cpp47 return make_error<InstrProfError>(instrprof_error::too_large); in create()
60 return make_error<InstrProfError>(instrprof_error::unrecognized_format); in create()
83 return make_error<InstrProfError>(instrprof_error::too_large); in create()
87 return make_error<InstrProfError>(instrprof_error::bad_magic); in create()
100 InstrProfError::take(std::move(E)); in Increment()
283 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()
287 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
290 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
294 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()
531 return make_error<InstrProfError>(instrprof_error::unknown_function); in getRecords()
[all …]
DInstrProf.cpp120 std::string InstrProfError::message() const { in message()
124 char InstrProfError::ID = 0;
273 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
314 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
599 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
602 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
607 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
610 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
621 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
626 return make_error<InstrProfError>(instrprof_error::too_large); in getValueProfData()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp67 if (E.isA<InstrProfError>()) { in exitWithError()
68 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError()
100 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()
179 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
181 WC->Err = make_error<InstrProfError>(IPE); in loadInput()
204 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
207 handleMergeWriterError(make_error<InstrProfError>(IPE), Input.Filename, in loadInput()
213 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
215 WC->Err = make_error<InstrProfError>(IPE); in loadInput()
305 if (!WC->Err.isA<InstrProfError>()) in mergeInstrProfile()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ProfileData/
DInstrProf.h306 class InstrProfError : public ErrorInfo<InstrProfError> {
308 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError() function
326 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) { in take()
388 auto E = make_error<InstrProfError>(FirstError); in takeError()
474 return make_error<InstrProfError>(instrprof_error::malformed); in addFuncName()
DInstrProfReader.h101 return make_error<InstrProfError>(Err); in error()
104 Error error(Error &&E) { return error(InstrProfError::take(std::move(E))); } in error()
119 return make_error<InstrProfError>(LastError); in getError()
DInstrProfWriter.h85 : make_error<InstrProfError>( in setIsIRLevelProfile()
/external/llvm/tools/llvm-profdata/
Dllvm-profdata.cpp51 if (E.isA<InstrProfError>()) { in exitWithError()
52 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError()
84 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()
149 instrprof_error IPE = InstrProfError::take(std::move(E)); in mergeInstrProfile()
151 handleMergeWriterError(make_error<InstrProfError>(IPE), Input.Filename, in mergeInstrProfile()
/external/llvm/include/llvm/ProfileData/
DInstrProf.h303 class InstrProfError : public ErrorInfo<InstrProfError> {
305 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError() function
323 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) { in take()
388 auto E = make_error<InstrProfError>(FirstError); in takeError()
DInstrProfReader.h87 return make_error<InstrProfError>(Err); in error()
89 Error error(Error E) { return error(InstrProfError::take(std::move(E))); } in error()
102 return make_error<InstrProfError>(LastError); in getError()
DInstrProfWriter.h68 : make_error<InstrProfError>( in setIsIRLevelProfile()
/external/llvm/unittests/ProfileData/
DInstrProfTest.cpp33 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in ErrorEquals()
570 ASSERT_EQ(InstrProfError::take(std::move(Result1)), in TEST_P()
576 ASSERT_EQ(InstrProfError::take(std::move(Result2)), in TEST_P()
581 ASSERT_EQ(InstrProfError::take(std::move(Result3)), in TEST_P()
589 ASSERT_EQ(InstrProfError::take(std::move(Result4)), in TEST_P()
598 ASSERT_EQ(InstrProfError::take(std::move(Result5)), in TEST_P()
/external/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp198 instrprof_error IPE = InstrProfError::take(std::move(E)); in load()
203 return make_error<InstrProfError>(IPE); in load()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ProfileData/Coverage/
DCoverageMapping.cpp221 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()
226 return make_error<InstrProfError>(IPE); in loadFunctionRecord()
DCoverageMappingReader.cpp427 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ProfileData/
DInstrProfTest.cpp28 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in ErrorEquals()
571 auto Err = [&](Error E) { Result = InstrProfError::take(std::move(E)); }; in TEST_P()
/external/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp592 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()
/external/clang/lib/CodeGen/
DCodeGenPGO.cpp808 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Transforms/Instrumentation/
DPGOInstrumentation.cpp1016 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()