LLVM: llvm::BlockFrequencyInfo Class Reference (original) (raw)
BlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate IR basic block frequencies. More...
#include "[llvm/Analysis/BlockFrequencyInfo.h](BlockFrequencyInfo%5F8h%5Fsource.html)"
BlockFrequencyInfo pass uses BlockFrequencyInfoImpl implementation to estimate IR basic block frequencies.
Definition at line 38 of file BlockFrequencyInfo.h.
| BlockFrequencyInfo::BlockFrequencyInfo ( ) | default |
|---|
◆ BlockFrequencyInfo() [2/4]
◆ BlockFrequencyInfo() [3/4]
References BlockFrequencyInfo().
◆ BlockFrequencyInfo() [4/4]
◆ ~BlockFrequencyInfo()
| BlockFrequencyInfo::~BlockFrequencyInfo ( ) | default |
|---|
◆ calculate()
◆ getBlockFreq()
getblockFreq - Return block frequency.
Return 0 if we don't have the information. Please note that initial frequency is equal to ENTRY_FREQ. It means that we should not rely on the value itself, but only on the comparison to the other block frequencies. We do this to avoid using of floating points.
Definition at line 200 of file BlockFrequencyInfo.cpp.
Referenced by adjustedSumFreq(), computeFunctionSummary(), findBBsToSinkInto(), findBestInsertionSet(), llvm::getMaxFreq(), llvm::InlineFunctionImpl(), isColdCallSite(), llvm::printBlockFreq(), sinkLoopInvariantInstructions(), llvm::SplitIndirectBrCriticalEdges(), and updateCallerBFI().
◆ getBlockProfileCount()
◆ getBPI()
◆ getEntryFreq()
◆ getFunction()
◆ getProfileCountFromFreq()
Returns the estimated profile count of Freq.
This uses the frequency Freq and multiplies it by the enclosing function's count (if available) and returns the value.
Definition at line 214 of file BlockFrequencyInfo.cpp.
References getFunction().
◆ invalidate()
◆ isIrrLoopHeader()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ print()
| void BlockFrequencyInfo::print | ( | raw_ostream & | OS | ) | const |
|---|
◆ releaseMemory()
| void BlockFrequencyInfo::releaseMemory | ( | ) |
|---|
◆ setBlockFreq()
◆ setBlockFreqAndScale()
◆ verifyMatch()
◆ view()
| void BlockFrequencyInfo::view | ( | StringRef | title = "BlockFrequencyDAGs" | ) | const |
|---|
The documentation for this class was generated from the following files:
- include/llvm/Analysis/BlockFrequencyInfo.h
- lib/Analysis/BlockFrequencyInfo.cpp