class SoftInstrProfErrors
Declaration
class SoftInstrProfErrors { /* full declaration omitted */ };
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:334
Method Overview
- public SoftInstrProfErrors()
- public void addError(llvm::instrprof_error IE)
- public unsigned int getNumCountMismatches() const
- public unsigned int getNumCounterOverflows() const
- public unsigned int getNumHashMismatches() const
- public unsigned int getNumValueSiteCountMismatches() const
- public llvm::Error takeError()
- public ~SoftInstrProfErrors()
Methods
¶SoftInstrProfErrors()
SoftInstrProfErrors()
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:354
¶void addError(llvm::instrprof_error IE)
void addError(llvm::instrprof_error IE)
Description
Track a soft error (\p IE) and increment its associated counter.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:362
Parameters
- llvm::instrprof_error IE
¶unsigned int getNumCountMismatches() const
unsigned int getNumCountMismatches() const
Description
Get the number of count mismatches.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:368
¶unsigned int getNumCounterOverflows() const
unsigned int getNumCounterOverflows() const
Description
Get the number of counter overflows.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:371
¶unsigned int getNumHashMismatches() const
unsigned int getNumHashMismatches() const
Description
Get the number of hash mismatches.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:365
¶unsigned int getNumValueSiteCountMismatches()
const
unsigned int getNumValueSiteCountMismatches()
const
Description
Get the number of value site count mismatches.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:374
¶llvm::Error takeError()
llvm::Error takeError()
Description
Return the first encountered error and reset FirstError to a success value.
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:380
¶~SoftInstrProfErrors()
~SoftInstrProfErrors()
Declared at: llvm/include/llvm/ProfileData/InstrProf.h:356