/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | MachineBranchProbabilityInfo.cpp | 82 BranchProbability MachineBranchProbabilityInfo::getEdgeProbability( in getEdgeProbability() function in MachineBranchProbabilityInfo 88 BranchProbability MachineBranchProbabilityInfo::getEdgeProbability( in getEdgeProbability() function in MachineBranchProbabilityInfo 92 return getEdgeProbability(Src, find(Src->successors(), Dst)); in getEdgeProbability() 98 return getEdgeProbability(Src, Dst) > HotProb; in isEdgeHot() 105 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
|
H A D | MachineBlockPlacement.cpp | 743 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in collectViableSuccessors() 846 BranchProbability PProb = MBPI->getEdgeProbability(BB, Succ); in isProfitableToTailDup() 860 auto Prob = MBPI->getEdgeProbability(Succ, SuccSucc); in isProfitableToTailDup() 878 * MBPI->getEdgeProbability(SuccPred, Succ); in isProfitableToTailDup() 913 BranchProbability UProb = MBPI->getEdgeProbability(Succ, PDom); in isProfitableToTailDup() 1091 MBPI->getEdgeProbability(SuccPred, Succ); in getBestTrellisSuccessor() 1120 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor() 1123 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor() 1138 MBPI->getEdgeProbability(BB, TrellisSucc), AdjustedSumProb); in getBestTrellisSuccessor() 1314 if (MBPI->getEdgeProbability(&BB, PDom) < BranchProbability(50, 100)) in precomputeTriangleChains() [all …]
|
H A D | IfConversion.cpp | 1290 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock() 1662 CvtNext = MBPI->getEdgeProbability(&CvtMBB, &NextMBB); in IfConvertTriangle() 1663 CvtFalse = MBPI->getEdgeProbability(&CvtMBB, CvtBBI->FalseBB); in IfConvertTriangle() 1664 BBNext = MBPI->getEdgeProbability(BBI.BB, &NextMBB); in IfConvertTriangle() 1665 BBCvt = MBPI->getEdgeProbability(BBI.BB, &CvtMBB); in IfConvertTriangle() 2268 To2FromProb = MBPI->getEdgeProbability(ToBBI.BB, &FromMBB); in MergeBlocks() 2285 NewProb = MBPI->getEdgeProbability(&FromMBB, Succ); in MergeBlocks() 2324 MBPI->getEdgeProbability(ToBBI.BB, Succ) + NewProb); in MergeBlocks()
|
H A D | MachineBlockFrequencyInfo.cpp | 302 MBPI.getEdgeProbability(&NewPredecessor, &NewSuccessor); in onEdgeSplit()
|
H A D | MIRSampleProfile.cpp | 250 BranchProbability OldProb = BFI->getMBPI()->getEdgeProbability(BB, SI); in setBranchProbs()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
H A D | MachineBranchProbabilityInfo.h | 37 BranchProbability getEdgeProbability(const MachineBasicBlock *Src, 43 getEdgeProbability(const MachineBasicBlock *Src,
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Analysis/ |
H A D | BranchProbabilityInfo.h | 158 BranchProbability getEdgeProbability(const BasicBlock *Src, 164 BranchProbability getEdgeProbability(const BasicBlock *Src, 167 BranchProbability getEdgeProbability(const BasicBlock *Src,
|
H A D | BlockFrequencyInfoImpl.h | 1519 auto EP = BPI->getEdgeProbability(SrcBB, DstBB); 1542 auto EP = BPI->getEdgeProbability(DstBB, SrcBB); 1580 auto EP = BPI->getEdgeProbability(BB, SI); 1704 getWeightFromBranchProb(BPI->getEdgeProbability(BB, SI)))) 1884 BranchProbability BP = BPI->getEdgeProbability(Node, EI);
|
H A D | CFGPrinter.h | 271 auto BranchProb = CFGInfo->getBPI()->getEdgeProbability(Node, SuccBB);
|
/freebsd/contrib/llvm-project/llvm/lib/Target/AArch64/ |
H A D | AArch64ConditionalCompares.cpp | 578 BranchProbability Head2CmpBB = MBPI->getEdgeProbability(Head, CmpBB); in convert() 579 BranchProbability CmpBB2Tail = MBPI->getEdgeProbability(CmpBB, Tail); in convert() 594 BranchProbability Head2Tail = MBPI->getEdgeProbability(Head, Tail); in convert() 604 BranchProbability CmpBB2I = MBPI->getEdgeProbability(CmpBB, *I); in convert()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/ |
H A D | HexagonEarlyIfConv.cpp | 509 (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) < JumpProb || in isProfitable() 510 MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob)) in isProfitable() 514 (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) < JumpProb || in isProfitable() 515 MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob)) in isProfitable() 521 if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob) in isProfitable() 523 if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob) in isProfitable()
|
H A D | HexagonLoopAlign.cpp | 157 BranchProbability BrProb = MBPI->getEdgeProbability(&MBB, &MBB); in attemptToBalignSmallLoop()
|
H A D | HexagonNewValueJump.cpp | 342 MBPI->getEdgeProbability(Src, jmpTarget); in getNewValueJumpOpcode()
|
H A D | HexagonInstrInfo.cpp | 3779 auto getEdgeProbability = [MBPI] (const MachineBasicBlock *Src, in getDotNewPredJumpOp() local 3782 return MBPI->getEdgeProbability(Src, Dst); in getDotNewPredJumpOp() 3788 Taken = getEdgeProbability(Src, Dst) >= OneHalf; in getDotNewPredJumpOp() 3825 Taken = getEdgeProbability(Src, SB) < OneHalf; in getDotNewPredJumpOp() 3838 Taken = BT && getEdgeProbability(Src, BT) < OneHalf; in getDotNewPredJumpOp()
|
/freebsd/contrib/llvm-project/llvm/lib/Analysis/ |
H A D | BranchProbabilityInfo.cpp | 1087 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot() 1095 BranchProbabilityInfo::getEdgeProbability(const BasicBlock *Src, in getEdgeProbability() function in BranchProbabilityInfo 1110 BranchProbabilityInfo::getEdgeProbability(const BasicBlock *Src, in getEdgeProbability() function in BranchProbabilityInfo 1112 return getEdgeProbability(Src, Dst.getSuccessorIndex()); in getEdgeProbability() 1118 BranchProbabilityInfo::getEdgeProbability(const BasicBlock *Src, in getEdgeProbability() function in BranchProbabilityInfo 1190 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/ |
H A D | BreakCriticalEdges.cpp | 379 EdgeProbabilities.emplace_back(BPI->getEdgeProbability(Target, I)); in SplitIndirectBrCriticalEdges() 408 BPI->getEdgeProbability(Src, DirectSucc); in SplitIndirectBrCriticalEdges()
|
H A D | CodeExtractor.cpp | 1736 BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, header); in extractCodeRegion() 1766 BF += BFI->getBlockFreq(Block) * BPI->getEdgeProbability(Block, Succ); in extractCodeRegion()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/ |
H A D | CFGMST.h | 156 Weight = BPI->getEdgeProbability(&BB, TargetBB).scale(scaleFactor); in buildEdges()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/PowerPC/ |
H A D | PPCReduceCRLogicals.cpp | 186 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; in splitMBB() 191 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; in splitMBB()
|
/freebsd/contrib/llvm-project/llvm/lib/Target/Mips/ |
H A D | MipsDelaySlotFiller.cpp | 879 return Prob.getEdgeProbability(&B, Dst0) < in selectSuccBB() 880 Prob.getEdgeProbability(&B, Dst1); in selectSuccBB()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
H A D | IRTranslator.cpp | 631 getEdgeProbability(&CurMBB, Succ0MBB), in translateBr() 632 getEdgeProbability(&CurMBB, Succ1MBB), in translateBr() 673 Prob = getEdgeProbability(Src, Dst); in addSuccessorWithProb() 678 IRTranslator::getEdgeProbability(const MachineBasicBlock *Src, in getEdgeProbability() function in IRTranslator 688 return FuncInfo.BPI->getEdgeProbability(SrcBB, DstBB); in getEdgeProbability() 703 BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex()) in translateSwitch() 750 auto DefaultProb = getEdgeProbability(SwitchMBB, DefaultMBB); in translateSwitch() 2869 Prob *= BPI->getEdgeProbability(EHPadBB, NewEHPadBB); in findUnwindDestinations() 2936 BPI ? BPI->getEdgeProbability(InvokeMBB->getBasicBlock(), EHPadBB) in translateInvoke()
|
H A D | RegBankSelect.cpp | 966 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
H A D | JumpThreading.cpp | 2284 BPI->getEdgeProbability(PredPredBB, PredBB); in threadThroughTwoBasicBlocks() 2411 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in threadEdge() 2474 Pred, BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB))); in splitBlockPreds() 2536 auto BB2SuccBBFreq = BBOrigFreq * BPI->getEdgeProbability(BB, SuccBB); in updateBlockFreqAndEdgeWeight() 2546 : BBOrigFreq * BPI->getEdgeProbability(BB, Succ); in updateBlockFreqAndEdgeWeight()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/GlobalISel/ |
H A D | IRTranslator.h | 770 BranchProbability getEdgeProbability(const MachineBasicBlock *Src,
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
H A D | SelectionDAGBuilder.h | 515 BranchProbability getEdgeProbability(const MachineBasicBlock *Src,
|