Home
last modified time | relevance | path

Searched refs:getEdgeProbability (Results 1 – 20 of 20) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp31 BranchProbability MachineBranchProbabilityInfo::getEdgeProbability( in getEdgeProbability() function in MachineBranchProbabilityInfo
37 BranchProbability MachineBranchProbabilityInfo::getEdgeProbability( in getEdgeProbability() function in MachineBranchProbabilityInfo
41 return getEdgeProbability(Src, in getEdgeProbability()
50 return getEdgeProbability(Src, Dst) > HotProb; in isEdgeHot()
59 auto Prob = getEdgeProbability(MBB, I); in getHotSucc()
67 if (getEdgeProbability(MBB, MaxSucc) >= HotProb) in getHotSucc()
77 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
DMachineBlockPlacement.cpp419 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in selectBestSuccessor()
427 uint32_t SuccProbN = MBPI->getEdgeProbability(BB, Succ).getNumerator(); in selectBestSuccessor()
470 auto RealSuccProb = MBPI->getEdgeProbability(BB, Succ); in selectBestSuccessor()
479 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in selectBestSuccessor()
741 auto SuccProb = MBPI->getEdgeProbability(MBB, Succ); in findBestLoopExit()
882 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB); in rotateLoopWithProfile()
903 auto SuccProb = MBPI->getEdgeProbability(BB, Succ); in rotateLoopWithProfile()
961 auto TailToHeadProb = MBPI->getEdgeProbability(TailBB, *Iter); in rotateLoopWithProfile()
1009 MBPI->getEdgeProbability(LoopPred, L.getHeader()); in collectLoopBlockSet()
1282 MBPI->getEdgeProbability(PrevBB, FBB) > in buildCFGChains()
[all …]
DIfConversion.cpp848 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock()
1215 CvtNext = MBPI->getEdgeProbability(CvtBBI->BB, NextBBI->BB); in IfConvertTriangle()
1216 CvtFalse = MBPI->getEdgeProbability(CvtBBI->BB, CvtBBI->FalseBB); in IfConvertTriangle()
1217 BBNext = MBPI->getEdgeProbability(BBI.BB, NextBBI->BB); in IfConvertTriangle()
1218 BBCvt = MBPI->getEdgeProbability(BBI.BB, CvtBBI->BB); in IfConvertTriangle()
1679 To2FromProb = MBPI->getEdgeProbability(ToBBI.BB, FromBBI.BB); in MergeBlocks()
1700 NewProb = MBPI->getEdgeProbability(FromBBI.BB, Succ); in MergeBlocks()
1739 MBPI->getEdgeProbability(ToBBI.BB, Succ) + NewProb); in MergeBlocks()
DTailDuplication.cpp861 PredBB->addSuccessor(*I, MBPI->getEdgeProbability(TailBB, I)); in TailDuplicate()
DBranchFolding.cpp1094 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
/external/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h55 BranchProbability getEdgeProbability(const BasicBlock *Src,
61 BranchProbability getEdgeProbability(const BasicBlock *Src,
64 BranchProbability getEdgeProbability(const BasicBlock *Src,
DBlockFrequencyInfoImpl.h1200 getWeightFromBranchProb(BPI->getEdgeProbability(BB, SI))))
/external/llvm/include/llvm/CodeGen/
DMachineBranchProbabilityInfo.h49 BranchProbability getEdgeProbability(const MachineBasicBlock *Src,
55 getEdgeProbability(const MachineBasicBlock *Src,
/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp553 return getEdgeProbability(Src, Dst) > BranchProbability(4, 5); in isEdgeHot()
632 getEdgeProbability(const BasicBlock *Src, unsigned IndexInSuccessors) const { in getEdgeProbability() function in BranchProbabilityInfo
647 getEdgeProbability(const BasicBlock *Src, const BasicBlock *Dst) const { in getEdgeProbability() function in BranchProbabilityInfo
661 BranchProbabilityInfo::getEdgeProbability(const BasicBlock *Src, in getEdgeProbability() function in BranchProbabilityInfo
663 return getEdgeProbability(Src, Dst.getSuccessorIndex()); in getEdgeProbability()
671 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability()
/external/llvm/lib/Transforms/Instrumentation/
DCFGMST.h118 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
/external/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp1500 BFI->getBlockFreq(PredBB) * BPI->getEdgeProbability(PredBB, BB); in ThreadEdge()
1607 PredBBFreq += BFI->getBlockFreq(Pred) * BPI->getEdgeProbability(Pred, BB); in SplitBlockPreds()
1634 auto BB2SuccBBFreq = BBOrigFreq * BPI->getEdgeProbability(BB, SuccBB); in UpdateBlockFreqAndEdgeWeight()
1644 : BBOrigFreq * BPI->getEdgeProbability(BB, *I); in UpdateBlockFreqAndEdgeWeight()
DInductiveRangeCheckElimination.cpp400 if (BPI.getEdgeProbability(BI->getParent(), (unsigned) 0) < LikelyTaken) in create()
678 BPI.getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx); in parseLoopStructure()
/external/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp807 return Prob.getEdgeProbability(&B, Dst0) < in selectSuccBB()
808 Prob.getEdgeProbability(&B, Dst1); in selectSuccBB()
/external/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp479 if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob) in isProfitable()
481 if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob) in isProfitable()
DHexagonNewValueJump.cpp295 MBPI->getEdgeProbability(Src, jmpTarget); in getNewValueJumpOpcode()
DHexagonInstrInfo.cpp3116 const BranchProbability Prediction = MBPI->getEdgeProbability(Src, Dst); in getDotNewPredJumpOp()
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h745 BranchProbability getEdgeProbability(const MachineBasicBlock *Src,
DSelectionDAGBuilder.cpp1274 Prob *= BPI->getEdgeProbability(EHPadBB, NewEHPadBB); in findUnwindDestinations()
1286 ? BPI->getEdgeProbability(FuncInfo.MBB->getBasicBlock(), UnwindDest) in visitCleanupRet()
1473 SelectionDAGBuilder::getEdgeProbability(const MachineBasicBlock *Src, in getEdgeProbability() function in SelectionDAGBuilder
1485 return BPI->getEdgeProbability(SrcBB, DstBB); in getEdgeProbability()
1495 Prob = getEdgeProbability(Src, Dst); in addSuccessorWithProb()
1727 getEdgeProbability(BrMBB, Succ0MBB), in visitBr()
1728 getEdgeProbability(BrMBB, Succ1MBB)); in visitBr()
2140 BPI ? BPI->getEdgeProbability(InvokeMBB->getBasicBlock(), EHPadBB) in visitInvoke()
8160 BPI->getEdgeProbability(SwitchMBB->getBasicBlock(), (unsigned)0)); in lowerWorkItem()
8477 BPI ? BPI->getEdgeProbability(SI.getParent(), I.getSuccessorIndex()) in visitSwitch()
[all …]
DFastISel.cpp1428 auto BranchProbability = FuncInfo.BPI->getEdgeProbability( in fastEmitBranch()
1444 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
/external/llvm/lib/Target/AArch64/
DAArch64FastISel.cpp2348 auto BranchProbability = FuncInfo.BPI->getEdgeProbability( in selectBranch()