Home
last modified time | relevance | path

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

/freebsd-13.1/contrib/llvm-project/llvm/lib/ProfileData/
H A DInstrProfReader.cpp67 return make_error<InstrProfError>(instrprof_error::too_large); 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()
627 return make_error<InstrProfError>(instrprof_error::malformed); in getRecords()
636 return make_error<InstrProfError>(instrprof_error::eof); in getRecords()
[all …]
H A DInstrProf.cpp219 std::string InstrProfError::message() const { in message()
223 char InstrProfError::ID = 0;
435 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
473 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()
481 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
881 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
884 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
889 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
892 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
904 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()
/freebsd-13.1/contrib/llvm-project/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.h121 return make_error<InstrProfError>(Err); in error()
124 Error error(Error &&E) { return error(InstrProfError::take(std::move(E))); } in error()
139 return make_error<InstrProfError>(LastError); in getError()
H A DInstrProfWriter.h95 return make_error<InstrProfError>(instrprof_error::unsupported_version); in setIsIRLevelProfile()
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp59 if (E.isA<InstrProfError>()) { in warn()
60 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in warn()
78 if (E.isA<InstrProfError>()) { in exitWithError()
79 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError()
120 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()
217 instrprof_error IPE = InstrProfError::take(std::move(E)); in overlapInput()
246 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
278 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
297 instrprof_error IPE = InstrProfError::take(std::move(E)); in mergeWriterContexts()
301 warn(toString(make_error<InstrProfError>(IPE))); in mergeWriterContexts()
[all …]
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1028 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1281 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()