Lines Matching defs:BranchProbabilityAnalysis
33 // Please note that BranchProbabilityAnalysis is not a FunctionPass.
37 class BranchProbabilityAnalysis {
120 BranchProbabilityAnalysis(DenseMap<Edge, uint32_t> *W,
146 bool BranchProbabilityAnalysis::calcMetadataWeights(BasicBlock *BB) {
184 bool BranchProbabilityAnalysis::calcReturnHeuristics(BasicBlock *BB){
224 bool BranchProbabilityAnalysis::calcPointerHeuristics(BasicBlock *BB) {
259 bool BranchProbabilityAnalysis::calcLoopBranchHeuristics(BasicBlock *BB) {
323 bool BranchProbabilityAnalysis::calcZeroHeuristics(BasicBlock *BB) {
385 bool BranchProbabilityAnalysis::runOnFunction(Function &F) {
415 BranchProbabilityAnalysis BPA(&Weights, this, &LI);