Searched refs:instrprof_error (Results 1 – 11 of 11) sorted by relevance
79 case instrprof_error::success: in getInstrProfErrString()81 case instrprof_error::eof: in getInstrProfErrString()85 case instrprof_error::bad_magic: in getInstrProfErrString()87 case instrprof_error::bad_header: 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()105 case instrprof_error::hash_mismatch: in getInstrProfErrString()107 case instrprof_error::count_mismatch: in getInstrProfErrString()[all …]
188 return error(instrprof_error::truncated); in readValueProfileData()191 return error(instrprof_error::malformed); in readValueProfileData()207 return error(instrprof_error::malformed); in readValueProfileData()259 return error(instrprof_error::eof); in readNextRecord()269 return error(instrprof_error::truncated); in readNextRecord()271 return error(instrprof_error::malformed); in readNextRecord()276 return error(instrprof_error::truncated); in readNextRecord()278 return error(instrprof_error::malformed); in readNextRecord()280 return error(instrprof_error::malformed); in readNextRecord()314 return error(instrprof_error::bad_magic); in readHeader()[all …]
236 auto MapWarn = [&](instrprof_error E) { in addRecord()422 return make_error<InstrProfError>(instrprof_error::invalid_prof); in validateRecord()
282 enum class instrprof_error { enum311 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError()323 instrprof_error get() const { return Err; } in get()327 static instrprof_error take(Error E) { in take()328 auto Err = instrprof_error::success; in take()339 instrprof_error Err;347 instrprof_error FirstError = instrprof_error::success;365 assert(FirstError == instrprof_error::success && in ~SoftInstrProfErrors()370 void addError(instrprof_error IE);389 if (FirstError == instrprof_error::success) in takeError()[all …]
73 instrprof_error LastError = instrprof_error::success;117 Error error(instrprof_error Err) { in error()119 if (Err == instrprof_error::success) in error()127 Error success() { return error(instrprof_error::success); } in success()131 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()134 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
95 return make_error<InstrProfError>(instrprof_error::unsupported_version); in setIsIRLevelProfile()
80 instrprof_error instrError = IPE.get(); in exitWithError()118 auto IPE = instrprof_error::success; in handleMergeWriterError()128 if (IPE != instrprof_error::success) { in handleMergeWriterError()130 case instrprof_error::hash_mismatch: in handleMergeWriterError()131 case instrprof_error::count_mismatch: in handleMergeWriterError()199 SmallSet<instrprof_error, 4> &WriterErrorCodes;218 if (IPE != instrprof_error::empty_raw_profile) in overlapInput()247 if (IPE != instrprof_error::empty_raw_profile) in loadInput()336 SmallSet<instrprof_error, 4> WriterErrorCodes; in mergeInstrProfile()574 SmallSet<instrprof_error, 4> WriterErrorCodes; in supplementInstrProfile()[all …]
248 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()249 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord()253 } else if (IPE != instrprof_error::unknown_function) in loadFunctionRecord()
570 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
1029 if (IPE == llvm::instrprof_error::unknown_function) in loadRegionCounts()1031 else if (IPE == llvm::instrprof_error::hash_mismatch) in loadRegionCounts()1033 else if (IPE == llvm::instrprof_error::malformed) in loadRegionCounts()
1286 if (Err == instrprof_error::unknown_function) { in readCounters()1290 } else if (Err == instrprof_error::hash_mismatch || in readCounters()1291 Err == instrprof_error::malformed) { in readCounters()