Lines Matching refs:instrprof_error
77 static std::string getInstrProfErrString(instrprof_error Err, in getInstrProfErrString()
83 case instrprof_error::success: in getInstrProfErrString()
86 case instrprof_error::eof: in getInstrProfErrString()
89 case instrprof_error::unrecognized_format: in getInstrProfErrString()
92 case instrprof_error::bad_magic: in getInstrProfErrString()
95 case instrprof_error::bad_header: in getInstrProfErrString()
98 case instrprof_error::unsupported_version: in getInstrProfErrString()
101 case instrprof_error::unsupported_hash_type: in getInstrProfErrString()
104 case instrprof_error::too_large: in getInstrProfErrString()
107 case instrprof_error::truncated: in getInstrProfErrString()
110 case instrprof_error::malformed: in getInstrProfErrString()
113 case instrprof_error::missing_debug_info_for_correlation: in getInstrProfErrString()
116 case instrprof_error::unexpected_debug_info_for_correlation: in getInstrProfErrString()
119 case instrprof_error::unable_to_correlate_profile: in getInstrProfErrString()
122 case instrprof_error::invalid_prof: in getInstrProfErrString()
127 case instrprof_error::unknown_function: in getInstrProfErrString()
130 case instrprof_error::hash_mismatch: in getInstrProfErrString()
133 case instrprof_error::count_mismatch: in getInstrProfErrString()
136 case instrprof_error::counter_overflow: in getInstrProfErrString()
139 case instrprof_error::value_site_count_mismatch: in getInstrProfErrString()
142 case instrprof_error::compress_failed: in getInstrProfErrString()
145 case instrprof_error::uncompress_failed: in getInstrProfErrString()
148 case instrprof_error::empty_raw_profile: in getInstrProfErrString()
151 case instrprof_error::zlib_unavailable: in getInstrProfErrString()
173 return getInstrProfErrString(static_cast<instrprof_error>(IE)); in message()
231 void SoftInstrProfErrors::addError(instrprof_error IE) { in addError()
232 if (IE == instrprof_error::success) in addError()
235 if (FirstError == instrprof_error::success) in addError()
239 case instrprof_error::hash_mismatch: in addError()
242 case instrprof_error::count_mismatch: in addError()
245 case instrprof_error::counter_overflow: in addError()
248 case instrprof_error::value_site_count_mismatch: in addError()
507 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()
513 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
657 function_ref<void(instrprof_error)> Warn) { in merge()
669 Warn(instrprof_error::counter_overflow); in merge()
678 function_ref<void(instrprof_error)> Warn) { in scale()
683 Warn(instrprof_error::counter_overflow); in scale()
691 function_ref<void(instrprof_error)> Warn) { in mergeValueProfData()
695 Warn(instrprof_error::value_site_count_mismatch); in mergeValueProfData()
709 function_ref<void(instrprof_error)> Warn) { in merge()
713 Warn(instrprof_error::count_mismatch); in merge()
722 Warn(instrprof_error::counter_overflow); in merge()
731 function_ref<void(instrprof_error)> Warn) { in scaleValueProfData()
737 function_ref<void(instrprof_error)> Warn) { in scale()
743 Warn(instrprof_error::counter_overflow); in scale()
912 instrprof_error::malformed, "number of value profile kinds is invalid"); in checkIntegrity()
916 instrprof_error::malformed, "total size is not multiples of quardword"); in checkIntegrity()
921 return make_error<InstrProfError>(instrprof_error::malformed, in checkIntegrity()
926 instrprof_error::malformed, in checkIntegrity()
939 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
944 return make_error<InstrProfError>(instrprof_error::too_large); in getValueProfData()
1335 return make_error<InstrProfError>(instrprof_error::bad_magic); in readFromBuffer()
1341 return make_error<InstrProfError>(instrprof_error::unsupported_version); in readFromBuffer()