| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/ |
| H A D | InstrProfReader.cpp | 118 instrprof_error::malformed, in readBinaryIdsInternal() 123 return make_error<InstrProfError>(instrprof_error::malformed, in readBinaryIdsInternal() 130 instrprof_error::malformed, "not enough data to read binary id data"); in readBinaryIdsInternal() 139 instrprof_error::malformed, in readBinaryIdsInternal() 176 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in create() 193 return make_error<InstrProfError>(instrprof_error::unrecognized_format); in create() 229 return make_error<InstrProfError>(instrprof_error::bad_magic); in create() 278 return error(instrprof_error::bad_header); in readHeader() 291 return error(instrprof_error::eof); in readTemporalProfTraceData() 295 return error(instrprof_error::malformed); in readTemporalProfTraceData() [all …]
|
| H A D | InstrProf.cpp | 82 static std::string getInstrProfErrString(instrprof_error Err, in getInstrProfErrString() 88 case instrprof_error::success: in getInstrProfErrString() 91 case instrprof_error::eof: in getInstrProfErrString() 94 case instrprof_error::unrecognized_format: in getInstrProfErrString() 97 case instrprof_error::bad_magic: in getInstrProfErrString() 100 case instrprof_error::bad_header: in getInstrProfErrString() 103 case instrprof_error::unsupported_version: in getInstrProfErrString() 106 case instrprof_error::unsupported_hash_type: in getInstrProfErrString() 109 case instrprof_error::too_large: in getInstrProfErrString() 112 case instrprof_error::truncated: in getInstrProfErrString() [all …]
|
| H A D | InstrProfCorrelator.cpp | 47 instrprof_error::unable_to_correlate_profile, in getInstrProfSection() 101 instrprof_error::unable_to_correlate_profile, in get() 106 instrprof_error::unable_to_correlate_profile, in get() 113 instrprof_error::unable_to_correlate_profile, in get() 129 instrprof_error::unable_to_correlate_profile, in get() 147 instrprof_error::unable_to_correlate_profile, in get() 172 instrprof_error::unable_to_correlate_profile, "not an object file"); in get() 219 instrprof_error::unable_to_correlate_profile, in get() 225 instrprof_error::unable_to_correlate_profile, in get() 235 instrprof_error::unable_to_correlate_profile, in correlateProfileData() [all …]
|
| H A D | MemProfReader.cpp | 58 return make_error<InstrProfError>(instrprof_error::bad_magic); in checkBuffer() 61 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); in checkBuffer() 64 return make_error<InstrProfError>(instrprof_error::truncated); in checkBuffer() 81 return make_error<InstrProfError>(instrprof_error::unsupported_version); in checkBuffer() 89 return make_error<InstrProfError>(instrprof_error::malformed); in checkBuffer() 481 instrprof_error::malformed, in mapRawProfileToRecords() 620 instrprof_error::malformed, in symbolizeAndFilterStackFrames() 685 instrprof_error::malformed, in readRawProfile() 723 instrprof_error::malformed, in readRawProfile()
|
| H A D | PGOCtxProfReader.cpp | 43 return make_error<InstrProfError>(instrprof_error::invalid_prof, in getOrEmplace() 53 return make_error<InstrProfError>(instrprof_error::invalid_prof, Msg); in wrongValue() 57 return make_error<InstrProfError>(instrprof_error::unsupported_version, Msg); in unsupported() 183 return make_error<InstrProfError>(instrprof_error::invalid_prof, in readMetadata()
|
| H A D | InstrProfWriter.cpp | 202 auto MapWarn = [&](instrprof_error E) { in addRecord() 261 Warn(make_error<InstrProfError>(instrprof_error::malformed, in addMemProfFrame() 278 Warn(make_error<InstrProfError>(instrprof_error::malformed, in addMemProfCallStack() 729 return make_error<InstrProfError>(instrprof_error::invalid_prof); in validateRecord()
|
| H A D | MemProf.cpp | 367 return make_error<InstrProfError>(instrprof_error::malformed, in readMemProfSchema() 376 return make_error<InstrProfError>(instrprof_error::malformed, in readMemProfSchema()
|
| H A D | IndexedMemProfData.cpp | 330 instrprof_error::unsupported_version, in writeMemProf() 460 instrprof_error::unsupported_version, in deserialize()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/ |
| H A D | InstrProf.h | 399 enum class instrprof_error { enum 446 inline std::error_code make_error_code(instrprof_error E) { in make_error_code() 452 InstrProfError(instrprof_error Err, const Twine &ErrStr = Twine()) 454 assert(Err != instrprof_error::success && "Not an error"); in Err() 465 instrprof_error get() const { return Err; } in get() 471 static std::pair<instrprof_error, std::string> take(Error E) { in take() 472 auto Err = instrprof_error::success; in take() 475 assert(Err == instrprof_error::success && "Multiple errors encountered"); in take() 485 instrprof_error Err; 633 return make_error<InstrProfError>(instrprof_error::malformed, in addSymbolName() [all …]
|
| H A D | MemProfReader.h | 59 return make_error<InstrProfError>(instrprof_error::empty_raw_profile); 62 return make_error<InstrProfError>(instrprof_error::eof); 76 return make_error<InstrProfError>(instrprof_error::hash_mismatch);
|
| H A D | InstrProfReader.h | 96 instrprof_error LastError = instrprof_error::success; 172 Error error(instrprof_error Err, const std::string &ErrMsg = "") { 175 if (Err == instrprof_error::success) 189 Error success() { return error(instrprof_error::success); } in success() 193 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF() 196 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
|
| H A D | InstrProfWriter.h | 189 return make_error<InstrProfError>(instrprof_error::unsupported_version); in mergeProfileKind() 196 instrprof_error::unsupported_version, in mergeProfileKind()
|
| /freebsd/contrib/llvm-project/llvm/tools/llvm-profdata/ |
| H A D | llvm-profdata.cpp | 531 instrprof_error instrError = IPE.get(); in exitWithError() 533 if (instrError == instrprof_error::unrecognized_format) { in exitWithError() 565 auto IPE = instrprof_error::success; in handleMergeWriterError() 575 if (IPE != instrprof_error::success) { in handleMergeWriterError() 577 case instrprof_error::hash_mismatch: in handleMergeWriterError() 578 case instrprof_error::count_mismatch: in handleMergeWriterError() 579 case instrprof_error::value_site_count_mismatch: in handleMergeWriterError() 654 SmallSet<instrprof_error, 4> &WriterErrorCodes; 657 SmallSet<instrprof_error, 4> &WriterErrorCodes, in WriterContext() 677 if (ErrorCode != instrprof_error::empty_raw_profile) in overlapInput() [all …]
|
| /freebsd/contrib/llvm-project/llvm/lib/ProfileData/Coverage/ |
| H A D | CoverageMapping.cpp | 844 instrprof_error IPE = std::get<0>(InstrProfError::take(std::move(E))); in loadFunctionRecord() 845 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord() 850 if (IPE != instrprof_error::unknown_function) in loadFunctionRecord() 867 instrprof_error IPE = std::get<0>(InstrProfError::take(std::move(E))); in loadFunctionRecord() 868 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord() 873 if (IPE != instrprof_error::unknown_function) in loadFunctionRecord()
|
| H A D | CoverageMappingReader.cpp | 629 return make_error<InstrProfError>(instrprof_error::malformed, in insertFunctionRecordIfNeeded()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | MemProfUse.cpp | 390 if (Err == instrprof_error::unknown_function) { in readMemprof() 394 } else if (Err == instrprof_error::hash_mismatch) { in readMemprof()
|
| H A D | PGOInstrumentation.cpp | 1416 if (Err == instrprof_error::unknown_function) { in handleInstrProfError() 1420 } else if (Err == instrprof_error::hash_mismatch || in handleInstrProfError() 1421 Err == instrprof_error::malformed) { in handleInstrProfError()
|
| /freebsd/contrib/llvm-project/clang/lib/CodeGen/ |
| H A D | CodeGenPGO.cpp | 1429 if (IPE == llvm::instrprof_error::unknown_function) in loadRegionCounts() 1431 else if (IPE == llvm::instrprof_error::hash_mismatch) in loadRegionCounts() 1433 else if (IPE == llvm::instrprof_error::malformed) in loadRegionCounts()
|