Home
last modified time | relevance | path

Searched refs:MBPI (Results 1 – 12 of 12) sorted by relevance

/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp213 const MachineBranchProbabilityInfo *MBPI; member in __anond3af580f0311::MachineBlockPlacement
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()
[all …]
DBranchFolding.h31 const MachineBranchProbabilityInfo &MBPI);
115 const MachineBranchProbabilityInfo &MBPI; variable
DMachineBlockFrequencyInfo.cpp141 MachineBranchProbabilityInfo &MBPI = in runOnMachineFunction() local
146 MBFI->calculate(F, MBPI, MLI); in runOnMachineFunction()
DIfConversion.cpp165 const MachineBranchProbabilityInfo *MBPI; member in __anon01cb6a4b0111::IfConverter
284 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in INITIALIZE_PASS_DEPENDENCY()
295 BranchFolder BF(true, false, *MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
428 BranchFolder BF(false, false, *MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
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()
[all …]
DTailDuplication.cpp66 const MachineBranchProbabilityInfo *MBPI; member in __anon7b8aa9fc0111::TailDuplicatePass
143 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
861 PredBB->addSuccessor(*I, MBPI->getEdgeProbability(TailBB, I)); in TailDuplicate()
DBranchFolding.cpp113 MBPI(ProbInfo) { in BranchFolder()
1094 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
/external/llvm/lib/Target/Hexagon/
DHexagonVLIWPacketizer.h36 const MachineBranchProbabilityInfo *MBPI;
47 const MachineBranchProbabilityInfo *MBPI);
DHexagonNewValueJump.cpp93 const MachineBranchProbabilityInfo *MBPI; member
291 *MBPI) { in getNewValueJumpOpcode() argument
295 MBPI->getEdgeProbability(Src, jmpTarget); in getNewValueJumpOpcode()
402 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
637 jmpTarget, MBPI); in runOnMachineFunction()
DHexagonVLIWPacketizer.cpp105 const MachineBranchProbabilityInfo *MBPI) in INITIALIZE_PASS_DEPENDENCY()
106 : VLIWPacketizerList(MF, MLI, AA), MBPI(MBPI), MLI(&MLI) { in INITIALIZE_PASS_DEPENDENCY()
178 auto *MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local
184 HexagonPacketizerList Packetizer(MF, MLI, AA, MBPI); in runOnMachineFunction()
418 NewOpcode = HII->getDotNewPredOp(MI, MBPI); in promoteToDotNew()
DHexagonInstrInfo.h359 const MachineBranchProbabilityInfo *MBPI) const;
361 const MachineBranchProbabilityInfo *MBPI) const;
DHexagonEarlyIfConv.cpp197 const MachineBranchProbabilityInfo *MBPI; member in __anonb9ada2ed0111::HexagonEarlyIfConversion
477 if (MBPI) { in isProfitable()
479 if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob) in isProfitable()
481 if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob) in isProfitable()
1044 MBPI = EnableHexagonBP ? &getAnalysis<MachineBranchProbabilityInfo>() : in runOnMachineFunction()
DHexagonInstrInfo.cpp3109 const MachineBranchProbabilityInfo *MBPI) const { in getDotNewPredJumpOp()
3116 const BranchProbability Prediction = MBPI->getEdgeProbability(Src, Dst); in getDotNewPredJumpOp()
3134 const MachineBranchProbabilityInfo *MBPI) const { in getDotNewPredOp()
3143 return getDotNewPredJumpOp(MI, MBPI); in getDotNewPredOp()