LLVM: llvm::DebugCounter Class Reference (original) (raw)
#include "[llvm/Support/DebugCounter.h](DebugCounter%5F8h%5Fsource.html)"
Definition at line 56 of file DebugCounter.h.
◆ CounterVector
◆ addCounter()
unsigned llvm::DebugCounter::addCounter ( const std::string & Name, const std::string & Desc ) |
inlineprotected |
◆ begin()
◆ dump()
◆ enableAllCounters()
static void llvm::DebugCounter::enableAllCounters ( ) |
inlinestatic |
◆ end()
◆ getCounterId()
unsigned llvm::DebugCounter::getCounterId ( const std::string & Name) const |
inline |
◆ getCounterInfo()
std::pair< std::string, std::string > llvm::DebugCounter::getCounterInfo ( unsigned ID) const |
inline |
◆ getCounterState()
◆ getNumCounters()
unsigned int llvm::DebugCounter::getNumCounters ( ) const |
inline |
◆ instance()
◆ isCounterSet()
static bool llvm::DebugCounter::isCounterSet ( unsigned ID) |
inlinestatic |
◆ isCountingEnabled()
static bool llvm::DebugCounter::isCountingEnabled ( ) |
inlinestatic |
◆ parseChunks()
◆ print()
◆ printChunks()
◆ push_back()
void DebugCounter::push_back |
( |
const std::string & |
Val |
) |
◆ registerCounter()
◆ setCounterState()
◆ shouldExecute()
static bool llvm::DebugCounter::shouldExecute ( unsigned CounterName) |
inlinestatic |
Definition at line 87 of file DebugCounter.h.
References isCountingEnabled(), and shouldExecuteImpl().
Referenced by checkCondition(), DCEInstruction(), findRenameRegForSameLdStRegPair(), llvm::getKnowledgeFromBundle(), llvm::Attributor::getOrCreateAAFor(), llvm::slpvectorizer::BoUpSLP::isTreeTinyAndNotFullyVectorizable(), llvm::Negator::Negate(), optimizeDivRem(), optimizeSQRT(), llvm::InstCombinerImpl::run(), and llvm::InstructionSelect::selectMachineFunction().
◆ shouldExecuteImpl()
bool DebugCounter::shouldExecuteImpl ( unsigned CounterName) |
static |
◆ BreakOnLast
bool llvm::DebugCounter::BreakOnLast = false |
protected |
◆ Counters
◆ Enabled
bool llvm::DebugCounter::Enabled = false |
protected |
◆ RegisteredCounters
◆ ShouldPrintCounter
bool llvm::DebugCounter::ShouldPrintCounter = false |
protected |
The documentation for this class was generated from the following files: