/external/llvm/lib/CodeGen/ |
D | MachineBranchProbabilityInfo.cpp | 31 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()
|
D | MachineBlockPlacement.cpp | 419 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 …]
|
D | IfConversion.cpp | 848 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()
|
D | TailDuplication.cpp | 861 PredBB->addSuccessor(*I, MBPI->getEdgeProbability(TailBB, I)); in TailDuplicate()
|
D | BranchFolding.cpp | 1094 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
|
/external/llvm/include/llvm/Analysis/ |
D | BranchProbabilityInfo.h | 55 BranchProbability getEdgeProbability(const BasicBlock *Src, 61 BranchProbability getEdgeProbability(const BasicBlock *Src, 64 BranchProbability getEdgeProbability(const BasicBlock *Src,
|
D | BlockFrequencyInfoImpl.h | 1200 getWeightFromBranchProb(BPI->getEdgeProbability(BB, SI))))
|
/external/llvm/include/llvm/CodeGen/ |
D | MachineBranchProbabilityInfo.h | 49 BranchProbability getEdgeProbability(const MachineBasicBlock *Src, 55 getEdgeProbability(const MachineBasicBlock *Src,
|
/external/llvm/lib/Analysis/ |
D | BranchProbabilityInfo.cpp | 553 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/ |
D | CFGMST.h | 118 Weight = BPI->getEdgeProbability(&*BB, TargetBB).scale(scaleFactor); in buildEdges()
|
/external/llvm/lib/Transforms/Scalar/ |
D | JumpThreading.cpp | 1500 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()
|
D | InductiveRangeCheckElimination.cpp | 400 if (BPI.getEdgeProbability(BI->getParent(), (unsigned) 0) < LikelyTaken) in create() 678 BPI.getEdgeProbability(LatchBr->getParent(), LatchBrExitIdx); in parseLoopStructure()
|
/external/llvm/lib/Target/Mips/ |
D | MipsDelaySlotFiller.cpp | 807 return Prob.getEdgeProbability(&B, Dst0) < in selectSuccBB() 808 Prob.getEdgeProbability(&B, Dst1); in selectSuccBB()
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 479 if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob) in isProfitable() 481 if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob) in isProfitable()
|
D | HexagonNewValueJump.cpp | 295 MBPI->getEdgeProbability(Src, jmpTarget); in getNewValueJumpOpcode()
|
D | HexagonInstrInfo.cpp | 3116 const BranchProbability Prediction = MBPI->getEdgeProbability(Src, Dst); in getDotNewPredJumpOp()
|
/external/llvm/lib/CodeGen/SelectionDAG/ |
D | SelectionDAGBuilder.h | 745 BranchProbability getEdgeProbability(const MachineBasicBlock *Src,
|
D | SelectionDAGBuilder.cpp | 1274 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 …]
|
D | FastISel.cpp | 1428 auto BranchProbability = FuncInfo.BPI->getEdgeProbability( in fastEmitBranch() 1444 FuncInfo.BPI->getEdgeProbability(BranchBB, TrueMBB->getBasicBlock()); in finishCondBranch()
|
/external/llvm/lib/Target/AArch64/ |
D | AArch64FastISel.cpp | 2348 auto BranchProbability = FuncInfo.BPI->getEdgeProbability( in selectBranch()
|