class SoftInstrProfErrors

Declaration

class SoftInstrProfErrors { /* full declaration omitted */ };

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:334

Method Overview

Methods

SoftInstrProfErrors()

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:354

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

Description

Get the number of count mismatches.

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:368

unsigned int getNumCounterOverflows() const

Description

Get the number of counter overflows.

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:371

unsigned int getNumHashMismatches() const

Description

Get the number of hash mismatches.

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:365

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()

Description

Return the first encountered error and reset FirstError to a success value.

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:380

~SoftInstrProfErrors()

Declared at: llvm/include/llvm/ProfileData/InstrProf.h:356