Lines Matching refs:BranchProbabilityInfo
1 //===-- BranchProbabilityInfo.cpp - Branch Probability Analysis -----------===//
14 #include "llvm/Analysis/BranchProbabilityInfo.h"
122 bool BranchProbabilityInfo::calcUnreachableHeuristics(BasicBlock *BB) {
182 bool BranchProbabilityInfo::calcMetadataWeights(BasicBlock *BB) {
244 bool BranchProbabilityInfo::calcColdCallHeuristics(BasicBlock *BB) {
299 bool BranchProbabilityInfo::calcPointerHeuristics(BasicBlock *BB) {
332 bool BranchProbabilityInfo::calcLoopBranchHeuristics(BasicBlock *BB,
390 bool BranchProbabilityInfo::calcZeroHeuristics(BasicBlock *BB) {
472 bool BranchProbabilityInfo::calcFloatingPointHeuristics(BasicBlock *BB) {
508 bool BranchProbabilityInfo::calcInvokeHeuristics(BasicBlock *BB) {
518 void BranchProbabilityInfo::releaseMemory() {
522 void BranchProbabilityInfo::print(raw_ostream &OS) const {
535 uint32_t BranchProbabilityInfo::getSumForBlock(const BasicBlock *BB) const {
549 bool BranchProbabilityInfo::
556 BasicBlock *BranchProbabilityInfo::getHotSucc(BasicBlock *BB) const {
585 uint32_t BranchProbabilityInfo::
596 uint32_t BranchProbabilityInfo::getEdgeWeight(const BasicBlock *Src,
603 uint32_t BranchProbabilityInfo::
621 void BranchProbabilityInfo::
631 BranchProbability BranchProbabilityInfo::
646 BranchProbability BranchProbabilityInfo::
661 BranchProbabilityInfo::getEdgeProbability(const BasicBlock *Src,
667 BranchProbabilityInfo::printEdgeProbability(raw_ostream &OS,
679 void BranchProbabilityInfo::calculate(Function &F, const LoopInfo& LI) {