Lines Matching refs:BlockFrequencyInfo
1 //=======-------- BlockFrequencyInfo.cpp - Block Frequency Analysis -------=======//
16 #include "llvm/Analysis/BlockFrequencyInfo.h"
23 INITIALIZE_PASS_BEGIN(BlockFrequencyInfo, "block-freq", "Block Frequency Analysis",
26 INITIALIZE_PASS_END(BlockFrequencyInfo, "block-freq", "Block Frequency Analysis",
29 char BlockFrequencyInfo::ID = 0;
32 BlockFrequencyInfo::BlockFrequencyInfo() : FunctionPass(ID) {
37 BlockFrequencyInfo::~BlockFrequencyInfo() {
41 void BlockFrequencyInfo::getAnalysisUsage(AnalysisUsage &AU) const {
46 bool BlockFrequencyInfo::runOnFunction(Function &F) {
52 void BlockFrequencyInfo::print(raw_ostream &O, const Module *) const {
61 BlockFrequency BlockFrequencyInfo::getBlockFreq(BasicBlock *BB) const {