Lines Matching refs:instrprof_error

76 static std::string getInstrProfErrString(instrprof_error Err) {  in getInstrProfErrString()
78 case instrprof_error::success: in getInstrProfErrString()
80 case instrprof_error::eof: in getInstrProfErrString()
82 case instrprof_error::unrecognized_format: in getInstrProfErrString()
84 case instrprof_error::bad_magic: in getInstrProfErrString()
86 case instrprof_error::bad_header: in getInstrProfErrString()
88 case instrprof_error::unsupported_version: in getInstrProfErrString()
90 case instrprof_error::unsupported_hash_type: in getInstrProfErrString()
92 case instrprof_error::too_large: in getInstrProfErrString()
94 case instrprof_error::truncated: in getInstrProfErrString()
96 case instrprof_error::malformed: in getInstrProfErrString()
98 case instrprof_error::unknown_function: in getInstrProfErrString()
100 case instrprof_error::hash_mismatch: in getInstrProfErrString()
102 case instrprof_error::count_mismatch: in getInstrProfErrString()
104 case instrprof_error::counter_overflow: in getInstrProfErrString()
106 case instrprof_error::value_site_count_mismatch: in getInstrProfErrString()
108 case instrprof_error::compress_failed: in getInstrProfErrString()
110 case instrprof_error::uncompress_failed: in getInstrProfErrString()
112 case instrprof_error::empty_raw_profile: in getInstrProfErrString()
114 case instrprof_error::zlib_unavailable: in getInstrProfErrString()
129 return getInstrProfErrString(static_cast<instrprof_error>(IE)); in message()
184 void SoftInstrProfErrors::addError(instrprof_error IE) { in addError()
185 if (IE == instrprof_error::success) in addError()
188 if (FirstError == instrprof_error::success) in addError()
192 case instrprof_error::hash_mismatch: in addError()
195 case instrprof_error::count_mismatch: in addError()
198 case instrprof_error::counter_overflow: in addError()
201 case instrprof_error::value_site_count_mismatch: in addError()
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()
485 function_ref<void(instrprof_error)> Warn) { in merge()
498 Warn(instrprof_error::counter_overflow); in merge()
507 function_ref<void(instrprof_error)> Warn) { in scale()
512 Warn(instrprof_error::counter_overflow); in scale()
520 function_ref<void(instrprof_error)> Warn) { in mergeValueProfData()
524 Warn(instrprof_error::value_site_count_mismatch); in mergeValueProfData()
538 function_ref<void(instrprof_error)> Warn) { in merge()
542 Warn(instrprof_error::count_mismatch); in merge()
551 Warn(instrprof_error::counter_overflow); in merge()
560 function_ref<void(instrprof_error)> Warn) { in scaleValueProfData()
566 function_ref<void(instrprof_error)> Warn) { in scale()
571 Warn(instrprof_error::counter_overflow); in scale()
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()
767 return make_error<InstrProfError>(instrprof_error::too_large); in getValueProfData()