Searched refs:instrprof_error (Results 1 – 11 of 11) sorted by relevance
78 case instrprof_error::success: in getInstrProfErrString()80 case instrprof_error::eof: in getInstrProfErrString()84 case instrprof_error::bad_magic: in getInstrProfErrString()86 case instrprof_error::bad_header: in getInstrProfErrString()92 case instrprof_error::too_large: in getInstrProfErrString()94 case instrprof_error::truncated: in getInstrProfErrString()96 case instrprof_error::malformed: in getInstrProfErrString()100 case instrprof_error::hash_mismatch: in getInstrProfErrString()102 case instrprof_error::count_mismatch: in getInstrProfErrString()185 if (IE == instrprof_error::success) in addError()[all …]
167 return error(instrprof_error::bad_header); in readHeader()179 return error(instrprof_error::truncated); in readValueProfileData()182 return error(instrprof_error::malformed); in readValueProfileData()198 return error(instrprof_error::malformed); in readValueProfileData()250 return error(instrprof_error::eof); in readNextRecord()260 return error(instrprof_error::truncated); in readNextRecord()262 return error(instrprof_error::malformed); in readNextRecord()267 return error(instrprof_error::truncated); in readNextRecord()269 return error(instrprof_error::malformed); in readNextRecord()271 return error(instrprof_error::malformed); in readNextRecord()[all …]
198 auto MapWarn = [&](instrprof_error E) { in addRecord()
280 enum class instrprof_error { enum308 InstrProfError(instrprof_error Err) : Err(Err) { in InstrProfError()320 instrprof_error get() const { return Err; } in get()324 static instrprof_error take(Error E) { in take()325 auto Err = instrprof_error::success; in take()336 instrprof_error Err;344 instrprof_error FirstError = instrprof_error::success;362 assert(FirstError == instrprof_error::success && in ~SoftInstrProfErrors()367 void addError(instrprof_error IE);386 if (FirstError == instrprof_error::success) in takeError()[all …]
63 instrprof_error LastError = instrprof_error::success;97 Error error(instrprof_error Err) { in error()99 if (Err == instrprof_error::success) in error()107 Error success() { return error(instrprof_error::success); } in success()111 bool isEOF() { return LastError == instrprof_error::eof; } in isEOF()114 bool hasError() { return LastError != instrprof_error::success && !isEOF(); } in hasError()
86 instrprof_error::unsupported_version); in setIsIRLevelProfile()
69 instrprof_error instrError = IPE.get(); in exitWithError()98 auto IPE = instrprof_error::success; in handleMergeWriterError()108 if (IPE != instrprof_error::success) { in handleMergeWriterError()110 case instrprof_error::hash_mismatch: in handleMergeWriterError()111 case instrprof_error::count_mismatch: in handleMergeWriterError()193 case instrprof_error::success: in isFatalError()194 case instrprof_error::eof: in isFatalError()195 case instrprof_error::unknown_function: in isFatalError()196 case instrprof_error::hash_mismatch: in isFatalError()197 case instrprof_error::count_mismatch: in isFatalError()[all …]
215 instrprof_error IPE = InstrProfError::take(std::move(E)); in loadFunctionRecord()216 if (IPE == instrprof_error::hash_mismatch) { in loadFunctionRecord()219 } else if (IPE != instrprof_error::unknown_function) in loadFunctionRecord()
427 return make_error<InstrProfError>(instrprof_error::malformed); in insertFunctionRecordIfNeeded()
974 if (IPE == llvm::instrprof_error::unknown_function) in loadRegionCounts()976 else if (IPE == llvm::instrprof_error::hash_mismatch) in loadRegionCounts()978 else if (IPE == llvm::instrprof_error::malformed) in loadRegionCounts()
1025 if (Err == instrprof_error::unknown_function) { in readCounters()1028 } else if (Err == instrprof_error::hash_mismatch || in readCounters()1029 Err == instrprof_error::malformed) { in readCounters()