Lines Matching refs:instrprof_error
36 std::string getInstrProfErrString(instrprof_error Err) { in getInstrProfErrString()
38 case instrprof_error::success: in getInstrProfErrString()
40 case instrprof_error::eof: in getInstrProfErrString()
42 case instrprof_error::unrecognized_format: in getInstrProfErrString()
44 case instrprof_error::bad_magic: in getInstrProfErrString()
46 case instrprof_error::bad_header: in getInstrProfErrString()
48 case instrprof_error::unsupported_version: in getInstrProfErrString()
50 case instrprof_error::unsupported_hash_type: in getInstrProfErrString()
52 case instrprof_error::too_large: in getInstrProfErrString()
54 case instrprof_error::truncated: in getInstrProfErrString()
56 case instrprof_error::malformed: in getInstrProfErrString()
58 case instrprof_error::unknown_function: in getInstrProfErrString()
60 case instrprof_error::hash_mismatch: in getInstrProfErrString()
62 case instrprof_error::count_mismatch: in getInstrProfErrString()
64 case instrprof_error::counter_overflow: in getInstrProfErrString()
66 case instrprof_error::value_site_count_mismatch: in getInstrProfErrString()
68 case instrprof_error::compress_failed: in getInstrProfErrString()
70 case instrprof_error::uncompress_failed: in getInstrProfErrString()
82 return getInstrProfErrString(static_cast<instrprof_error>(IE)); in message()
95 void SoftInstrProfErrors::addError(instrprof_error IE) { in addError()
96 if (IE == instrprof_error::success) in addError()
99 if (FirstError == instrprof_error::success) in addError()
103 case instrprof_error::hash_mismatch: in addError()
106 case instrprof_error::count_mismatch: in addError()
109 case instrprof_error::counter_overflow: in addError()
112 case instrprof_error::value_site_count_mismatch: in addError()
273 return make_error<InstrProfError>(instrprof_error::compress_failed); in collectPGOFuncNameStrings()
314 return make_error<InstrProfError>(instrprof_error::uncompress_failed); in readPGOFuncNameStrings()
351 SIPE.addError(instrprof_error::counter_overflow); in merge()
365 SIPE.addError(instrprof_error::counter_overflow); in scale()
377 SIPE.addError(instrprof_error::value_site_count_mismatch); in mergeValueProfData()
392 SIPE.addError(instrprof_error::count_mismatch); in merge()
401 SIPE.addError(instrprof_error::counter_overflow); in merge()
421 SIPE.addError(instrprof_error::counter_overflow); in scale()
599 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
602 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
607 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
610 return make_error<InstrProfError>(instrprof_error::malformed); in checkIntegrity()
621 return make_error<InstrProfError>(instrprof_error::truncated); in getValueProfData()
626 return make_error<InstrProfError>(instrprof_error::too_large); in getValueProfData()