Home
last modified time | relevance | path

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

/freebsd-12.1/contrib/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()
322 return make_error<InstrProfError>(instrprof_error::eof); in readNextHeader()
326 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
329 return make_error<InstrProfError>(instrprof_error::malformed); in readNextHeader()
333 return make_error<InstrProfError>(instrprof_error::bad_magic); in readNextHeader()
575 return make_error<InstrProfError>(instrprof_error::malformed); in getRecords()
584 return make_error<InstrProfError>(instrprof_error::eof); in getRecords()
[all …]
H A DInstrProf.cpp209 std::string InstrProfError::message() const { in message()
213 char InstrProfError::ID = 0;
413 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
452 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()
460 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
739 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
742 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
747 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
750 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
762 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
[all …]
H A DInstrProfWriter.cpp199 Warn(make_error<InstrProfError>(E)); in addRecord()
/freebsd-12.1/contrib/llvm/tools/llvm-profdata/
H A 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()
221 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
223 WC->Err = make_error<InstrProfError>(IPE); in loadInput()
248 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
257 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadInput()
259 WC->Err = make_error<InstrProfError>(IPE); in loadInput()
350 if (!WC->Err.isA<InstrProfError>()) in mergeInstrProfile()
353 instrprof_error IPE = InstrProfError::take(std::move(WC->Err)); in mergeInstrProfile()
[all …]
/freebsd-12.1/contrib/llvm/include/llvm/ProfileData/
H A 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()
H A 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()
H A DInstrProfWriter.h85 : make_error<InstrProfError>( in setIsIRLevelProfile()
/freebsd-12.1/contrib/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp215 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()
220 return make_error<InstrProfError>(IPE); in loadFunctionRecord()
H A DCoverageMappingReader.cpp427 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
/freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/
H A DCodeGenPGO.cpp973 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts()
/freebsd-12.1/contrib/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1022 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters()