| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 111 instrprof_error::malformed, in readBinaryIdsInternal() 138 instrprof_error::malformed, in readBinaryIdsInternal() 282 return error(instrprof_error::eof); in readTemporalProfTraceData() 289 return error(instrprof_error::eof); in readTemporalProfTraceData() 296 return error(instrprof_error::eof); in readTemporalProfTraceData() 303 return error(instrprof_error::eof); in readTemporalProfTraceData() 339 return error(instrprof_error::malformed, in readValueProfileData() 393 return error(instrprof_error::eof); in readNextRecord() 657 instrprof_error::malformed, in readRawCounts() 731 instrprof_error::malformed, in readRawBitmapBytes() [all …]
|
| H A D | InstrProf.cpp | 84 case instrprof_error::success: in getInstrProfErrString() 87 case instrprof_error::eof: in getInstrProfErrString() 93 case instrprof_error::bad_magic: in getInstrProfErrString() 96 case instrprof_error::bad_header: in getInstrProfErrString() 105 case instrprof_error::too_large: in getInstrProfErrString() 108 case instrprof_error::truncated: in getInstrProfErrString() 111 case instrprof_error::malformed: in getInstrProfErrString() 123 case instrprof_error::invalid_prof: in getInstrProfErrString() 131 case instrprof_error::hash_mismatch: in getInstrProfErrString() 134 case instrprof_error::count_mismatch: in getInstrProfErrString() [all …]
|
| H A D | InstrProfCorrelator.cpp | 47 instrprof_error::unable_to_correlate_profile, in getInstrProfSection() 105 instrprof_error::unable_to_correlate_profile, in get() 123 instrprof_error::unable_to_correlate_profile, in get() 148 instrprof_error::unable_to_correlate_profile, "not an object file"); in get() 195 instrprof_error::unable_to_correlate_profile, in get() 201 instrprof_error::unable_to_correlate_profile, in get() 211 instrprof_error::unable_to_correlate_profile, in correlateProfileData() 249 instrprof_error::unable_to_correlate_profile, in dumpYaml() 433 instrprof_error::unable_to_correlate_profile, in correlateProfileNameImpl() 478 instrprof_error::unable_to_correlate_profile, in correlateProfileNameImpl()
|
| H A D | RawMemProfReader.cpp | 56 return make_error<InstrProfError>(instrprof_error::bad_magic); in checkBuffer() 59 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in checkBuffer() 62 return make_error<InstrProfError>(instrprof_error::truncated); in checkBuffer() 72 return make_error<InstrProfError>(instrprof_error::unsupported_version); in checkBuffer() 80 return make_error<InstrProfError>(instrprof_error::malformed); in checkBuffer() 413 instrprof_error::malformed, in mapRawProfileToRecords() 552 instrprof_error::malformed, in symbolizeAndFilterStackFrames() 604 instrprof_error::malformed, in readRawProfile() 628 instrprof_error::malformed, in readRawProfile()
|
| H A D | MemProf.cpp | 101 return make_error<InstrProfError>(instrprof_error::malformed, in readMemProfSchema() 110 return make_error<InstrProfError>(instrprof_error::malformed, in readMemProfSchema()
|
| H A D | InstrProfWriter.cpp | 251 auto MapWarn = [&](instrprof_error E) { in addRecord() 288 Warn(make_error<InstrProfError>(instrprof_error::malformed, in addMemProfFrame() 703 return make_error<InstrProfError>(instrprof_error::invalid_prof); in validateRecord()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 324 enum class instrprof_error { enum 369 inline std::error_code make_error_code(instrprof_error E) { in make_error_code() 375 InstrProfError(instrprof_error Err, const Twine &ErrStr = Twine()) 377 assert(Err != instrprof_error::success && "Not an error"); in Err() 388 instrprof_error get() const { return Err; } in get() 394 static std::pair<instrprof_error, std::string> take(Error E) { in take() 395 auto Err = instrprof_error::success; in take() 408 instrprof_error Err; 494 return make_error<InstrProfError>(instrprof_error::malformed, in addFuncName() 683 function_ref<void(instrprof_error)> Warn); [all …]
|
| H A D | InstrProfReader.h | 92 instrprof_error LastError = instrprof_error::success; 165 Error error(instrprof_error Err, const std::string &ErrMsg = "") { 168 if (Err == instrprof_error::success) 182 Error success() { return error(instrprof_error::success); } in success() 186 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF() 189 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
|
| H A D | InstrProfWriter.h | 155 return make_error<InstrProfError>(instrprof_error::unsupported_version); in mergeProfileKind() 160 instrprof_error::unsupported_version, in mergeProfileKind()
|
| H A D | RawMemProfReader.h | 64 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); 67 return make_error<InstrProfError>(instrprof_error::eof);
|
| /freebsd-14.2/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 454 instrprof_error instrError = IPE.get(); in exitWithError() 488 auto IPE = instrprof_error::success; in handleMergeWriterError() 498 if (IPE != instrprof_error::success) { in handleMergeWriterError() 500 case instrprof_error::hash_mismatch: in handleMergeWriterError() 501 case instrprof_error::count_mismatch: in handleMergeWriterError() 502 case instrprof_error::value_site_count_mismatch: in handleMergeWriterError() 577 SmallSet<instrprof_error, 4> &WriterErrorCodes; 688 if (ErrCode != instrprof_error::empty_raw_profile) in loadInput() 882 SmallSet<instrprof_error, 4> WriterErrorCodes; in mergeInstrProfile() 1328 SmallSet<instrprof_error, 4> WriterErrorCodes; in supplementInstrProfile() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMapping.cpp | 759 instrprof_error IPE = std::get<0>(InstrProfError::take(std::move(E))); in loadFunctionRecord() 760 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord() 765 if (IPE != instrprof_error::unknown_function) in loadFunctionRecord() 774 instrprof_error IPE = std::get<0>(InstrProfError::take(std::move(E))); in loadFunctionRecord() 775 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord() 780 if (IPE != instrprof_error::unknown_function) in loadFunctionRecord()
|
| H A D | CoverageMappingReader.cpp | 614 return make_error<InstrProfError>(instrprof_error::malformed, in insertFunctionRecordIfNeeded()
|
| /freebsd-14.2/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 1285 if (IPE == llvm::instrprof_error::unknown_function) in loadRegionCounts() 1287 else if (IPE == llvm::instrprof_error::hash_mismatch) in loadRegionCounts() 1289 else if (IPE == llvm::instrprof_error::malformed) in loadRegionCounts()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfiler.cpp | 696 if (Err == instrprof_error::unknown_function) { in readMemprof() 700 } else if (Err == instrprof_error::hash_mismatch) { in readMemprof()
|
| H A D | PGOInstrumentation.cpp | 1281 if (Err == instrprof_error::unknown_function) { in handleInstrProfError() 1285 } else if (Err == instrprof_error::hash_mismatch || in handleInstrProfError() 1286 Err == instrprof_error::malformed) { in handleInstrProfError()
|