Lines Matching refs:instrprof_error
77 static std::string getInstrProfErrString(instrprof_error Err) { in getInstrProfErrString()
79 case instrprof_error::success: in getInstrProfErrString()
81 case instrprof_error::eof: in getInstrProfErrString()
83 case instrprof_error::unrecognized_format: in getInstrProfErrString()
85 case instrprof_error::bad_magic: in getInstrProfErrString()
87 case instrprof_error::bad_header: in getInstrProfErrString()
89 case instrprof_error::unsupported_version: in getInstrProfErrString()
91 case instrprof_error::unsupported_hash_type: in getInstrProfErrString()
93 case instrprof_error::too_large: in getInstrProfErrString()
95 case instrprof_error::truncated: in getInstrProfErrString()
97 case instrprof_error::malformed: in getInstrProfErrString()
99 case instrprof_error::invalid_prof: in getInstrProfErrString()
103 case instrprof_error::unknown_function: in getInstrProfErrString()
105 case instrprof_error::hash_mismatch: in getInstrProfErrString()
107 case instrprof_error::count_mismatch: in getInstrProfErrString()
109 case instrprof_error::counter_overflow: in getInstrProfErrString()
111 case instrprof_error::value_site_count_mismatch: in getInstrProfErrString()
113 case instrprof_error::compress_failed: in getInstrProfErrString()
115 case instrprof_error::uncompress_failed: in getInstrProfErrString()
117 case instrprof_error::empty_raw_profile: in getInstrProfErrString()
119 case instrprof_error::zlib_unavailable: in getInstrProfErrString()
135 return getInstrProfErrString(static_cast<instrprof_error>(IE)); in message()
194 void SoftInstrProfErrors::addError(instrprof_error IE) { in addError()
195 if (IE == instrprof_error::success) in addError()
198 if (FirstError == instrprof_error::success) in addError()
202 case instrprof_error::hash_mismatch: in addError()
205 case instrprof_error::count_mismatch: in addError()
208 case instrprof_error::counter_overflow: in addError()
211 case instrprof_error::value_site_count_mismatch: in addError()
435 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
473 return make_error<InstrProfError>(instrprof_error::zlib_unavailable); in readPGOFuncNameStrings()
481 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
626 function_ref<void(instrprof_error)> Warn) { in merge()
639 Warn(instrprof_error::counter_overflow); in merge()
648 function_ref<void(instrprof_error)> Warn) { in scale()
653 Warn(instrprof_error::counter_overflow); in scale()
661 function_ref<void(instrprof_error)> Warn) { in mergeValueProfData()
665 Warn(instrprof_error::value_site_count_mismatch); in mergeValueProfData()
679 function_ref<void(instrprof_error)> Warn) { in merge()
683 Warn(instrprof_error::count_mismatch); in merge()
692 Warn(instrprof_error::counter_overflow); in merge()
701 function_ref<void(instrprof_error)> Warn) { in scaleValueProfData()
707 function_ref<void(instrprof_error)> Warn) { in scale()
713 Warn(instrprof_error::counter_overflow); in scale()
881 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
884 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
889 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
892 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
904 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
909 return make_error<InstrProfError>(instrprof_error::too_large); in getValueProfData()