Home
last modified time | relevance | path

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

/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/
H A DInstrProfReader.cpp67 return make_error<InstrProfError>(instrprof_error::too_large); in create()
70 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in create()
83 return make_error<InstrProfError>(instrprof_error::unrecognized_format); in create()
118 return make_error<InstrProfError>(instrprof_error::too_large); in create()
122 return make_error<InstrProfError>(instrprof_error::bad_magic); in create()
136 InstrProfError::take(std::move(E)); in Increment()
331 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()
335 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
338 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
342 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()
[all …]
H A DInstrProf.cpp218 std::string InstrProfError::message() const { in message()
222 char InstrProfError::ID = 0;
434 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
472 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()
480 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
880 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
883 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
888 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
891 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
903 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
[all …]
H A DInstrProfWriter.cpp237 Warn(make_error<InstrProfError>(E)); in addRecord()
422 return make_error<InstrProfError>(instrprof_error::invalid_prof); in validateRecord()
/netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ProfileData/
H A DInstrProf.h309 class InstrProfError : public ErrorInfo<InstrProfError> {
311 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError() function
329 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) { in take()
391 auto E = make_error<InstrProfError>(FirstError); in takeError()
477 return make_error<InstrProfError>(instrprof_error::malformed); in addFuncName()
H A DInstrProfReader.h118 return make_error<InstrProfError>(Err); in error()
121 Error error(Error &&E) { return error(InstrProfError::take(std::move(E))); } in error()
136 return make_error<InstrProfError>(LastError); in getError()
H A DInstrProfWriter.h95 return make_error<InstrProfError>(instrprof_error::unsupported_version); in setIsIRLevelProfile()
/netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp58 if (E.isA<InstrProfError>()) { in warn()
59 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in warn()
77 if (E.isA<InstrProfError>()) { in exitWithError()
78 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError()
119 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()
216 instrprof_error IPE = InstrProfError::take(std::move(E)); in overlapInput()
218 WC->Errors.emplace_back(make_error<InstrProfError>(IPE), TestFilename); in overlapInput()
245 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
247 WC->Errors.emplace_back(make_error<InstrProfError>(IPE), Filename); in loadInput()
277 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
[all …]
/netbsd-src/external/apache2/llvm/dist/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp248 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()
254 return make_error<InstrProfError>(IPE); in loadFunctionRecord()
H A DCoverageMappingReader.cpp570 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
/netbsd-src/external/apache2/llvm/dist/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1028 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts()
/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1281 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()