Home
last modified time | relevance | path

Searched refs:IPE (Results 1 – 6 of 6) sorted by relevance

/openbsd-src/gnu/llvm/llvm/tools/llvm-profdata/
H A Dllvm-profdata.cpp74 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in warn() argument
75 warn(IPE.message(), std::string(Whence), std::string("")); in warn()
93 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in exitWithError() argument
94 instrprof_error instrError = IPE.get(); in exitWithError()
100 exitWithError(IPE.message(), std::string(Whence), std::string(Hint)); in exitWithError()
133 auto IPE = instrprof_error::success; in handleMergeWriterError() local
135 [&IPE](std::unique_ptr<InstrProfError> E) -> Error { in handleMergeWriterError()
136 IPE = E->get(); in handleMergeWriterError()
143 if (IPE != instrprof_error::success) { in handleMergeWriterError()
144 switch (IPE) { in handleMergeWriterError()
[all …]
/openbsd-src/gnu/llvm/llvm/include/llvm/ProfileData/
H A DInstrProfReader.h166 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in error()
167 LastError = IPE.get(); in error()
168 LastErrorMsg = IPE.getMessage(); in error()
H A DInstrProf.h360 handleAllErrors(std::move(E), [&Err](const InstrProfError &IPE) { in take()
362 Err = IPE.get(); in take()
/openbsd-src/gnu/llvm/llvm/lib/ProfileData/Coverage/
H A DCoverageMapping.cpp249 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord() local
250 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord()
254 } else if (IPE != instrprof_error::unknown_function) in loadFunctionRecord()
255 return make_error<InstrProfError>(IPE); in loadFunctionRecord()
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCodeGenPGO.cpp1039 auto IPE = llvm::InstrProfError::take(std::move(E)); in loadRegionCounts() local
1040 if (IPE == llvm::instrprof_error::unknown_function) in loadRegionCounts()
1042 else if (IPE == llvm::instrprof_error::hash_mismatch) in loadRegionCounts()
1044 else if (IPE == llvm::instrprof_error::malformed) in loadRegionCounts()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DPGOInstrumentation.cpp1311 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readMemprof() argument
1312 auto Err = IPE.get(); in readMemprof()
1333 (IPE.message() + Twine(" ") + F.getName().str() + Twine(" Hash = ") + in readMemprof()
1507 handleAllErrors(std::move(E), [&](const InstrProfError &IPE) { in readCounters() argument
1508 auto Err = IPE.get(); in readCounters()
1535 IPE.message() + std::string(" ") + F.getName().str() + in readCounters()