|
LLVM
4.0.0
|
#include <InstrProf.h>
Public Member Functions | |
| SoftInstrProfErrors () | |
| ~SoftInstrProfErrors () | |
| void | addError (instrprof_error IE) |
Track a soft error (IE) and increment its associated counter. More... | |
| unsigned | getNumHashMismatches () const |
| Get the number of hash mismatches. More... | |
| unsigned | getNumCountMismatches () const |
| Get the number of count mismatches. More... | |
| unsigned | getNumCounterOverflows () const |
| Get the number of counter overflows. More... | |
| unsigned | getNumValueSiteCountMismatches () const |
| Get the number of value site count mismatches. More... | |
| Error | takeError () |
| Return the first encountered error and reset FirstError to a success value. More... | |
Definition at line 345 of file InstrProf.h.
|
inline |
Definition at line 365 of file InstrProf.h.
|
inline |
Definition at line 370 of file InstrProf.h.
References assert(), and llvm::success.
| void llvm::SoftInstrProfErrors::addError | ( | instrprof_error | IE | ) |
Track a soft error (IE) and increment its associated counter.
Definition at line 98 of file InstrProf.cpp.
References llvm::count_mismatch, llvm::counter_overflow, llvm::hash_mismatch, llvm::ARM_PROC::IE, llvm_unreachable, llvm::success, and llvm::value_site_count_mismatch.
Referenced by llvm::InstrProfValueSiteRecord::merge(), llvm::InstrProfRecord::merge(), llvm::InstrProfValueSiteRecord::scale(), and llvm::InstrProfRecord::scale().
|
inline |
Get the number of counter overflows.
Definition at line 385 of file InstrProf.h.
|
inline |
Get the number of count mismatches.
Definition at line 382 of file InstrProf.h.
|
inline |
Get the number of hash mismatches.
Definition at line 379 of file InstrProf.h.
|
inline |
Get the number of value site count mismatches.
Definition at line 388 of file InstrProf.h.
|
inline |
Return the first encountered error and reset FirstError to a success value.
Definition at line 394 of file InstrProf.h.
References E, llvm::Error::success(), and llvm::success.
Referenced by llvm::InstrProfRecord::takeError().
1.8.6