LLVM API Documentation
#include <BlockFrequencyImpl.h>
Public Member Functions | |
BlockFrequency | getBlockFreq (const BlockT *BB) const |
getBlockFreq - Return block frequency. Return 0 if we don't have it. More... | |
void | print (raw_ostream &OS) const |
void | dump () const |
Friends | |
class | BlockFrequencyInfo |
class | MachineBlockFrequencyInfo |
BlockFrequencyImpl implements block frequency algorithm for IR and Machine Instructions. Algorithm starts with value ENTRY_FREQ for the entry block and then propagates frequencies using branch weights from (Machine)BranchProbabilityInfo. LoopInfo is not required because algorithm can find "backedges" by itself.
Definition at line 41 of file BlockFrequencyImpl.h.
|
inline |
Definition at line 340 of file BlockFrequencyImpl.h.
|
inline |
getBlockFreq - Return block frequency. Return 0 if we don't have it.
Definition at line 316 of file BlockFrequencyImpl.h.
Referenced by llvm::BlockFrequencyImpl< llvm::BasicBlock, llvm::Function, llvm::BranchProbabilityInfo >::print().
|
inline |
Definition at line 324 of file BlockFrequencyImpl.h.
Referenced by llvm::BlockFrequencyImpl< llvm::BasicBlock, llvm::Function, llvm::BranchProbabilityInfo >::dump().
|
friend |
Definition at line 263 of file BlockFrequencyImpl.h.
|
friend |
Definition at line 264 of file BlockFrequencyImpl.h.