Home
last modified time | relevance | path

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

12

/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/AArch64/
DAArch64ConditionalCompares.cpp143 const MachineBranchProbabilityInfo *MBPI; member in __anon7d3781d80111::SSACCmpConv
192 const MachineBranchProbabilityInfo *MBPI) { in runOnMachineFunction() argument
194 this->MBPI = MBPI; in runOnMachineFunction()
581 BranchProbability Head2CmpBB = MBPI->getEdgeProbability(Head, CmpBB); in convert()
582 BranchProbability CmpBB2Tail = MBPI->getEdgeProbability(CmpBB, Tail); in convert()
597 BranchProbability Head2Tail = MBPI->getEdgeProbability(Head, Tail); in convert()
607 BranchProbability CmpBB2I = MBPI->getEdgeProbability(CmpBB, *I); in convert()
763 const MachineBranchProbabilityInfo *MBPI; member in __anon7d3781d80211::AArch64ConditionalCompares
941 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
947 CmpConv.runOnMachineFunction(MF, MBPI); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp343 const MachineBranchProbabilityInfo *MBPI; member in __anon3918c7100111::MachineBlockPlacement
652 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in collectViableSuccessors()
755 BranchProbability PProb = MBPI->getEdgeProbability(BB, Succ); in isProfitableToTailDup()
769 auto Prob = MBPI->getEdgeProbability(Succ, SuccSucc); in isProfitableToTailDup()
787 * MBPI->getEdgeProbability(SuccPred, Succ); in isProfitableToTailDup()
822 BranchProbability UProb = MBPI->getEdgeProbability(Succ, PDom); in isProfitableToTailDup()
1000 MBPI->getEdgeProbability(SuccPred, Succ); in getBestTrellisSuccessor()
1029 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor()
1032 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor()
1047 MBPI->getEdgeProbability(BB, TrellisSucc), AdjustedSumProb); in getBestTrellisSuccessor()
[all …]
DMachineBlockFrequencyInfo.cpp186 const MachineFunction &F, const MachineBranchProbabilityInfo &MBPI, in calculate() argument
190 MBFI->calculate(F, MBPI, MLI); in calculate()
204 MachineBranchProbabilityInfo &MBPI = in runOnMachineFunction() local
207 calculate(F, MBPI, MLI); in runOnMachineFunction()
DTailDuplication.cpp77 auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local
78 Duplicator.initMF(MF, PreRegAlloc, MBPI, /*LayoutMode=*/false); in runOnMachineFunction()
DLazyMachineBlockFrequencyInfo.cpp64 auto &MBPI = getAnalysis<MachineBranchProbabilityInfo>(); in calculateIfNotAvailable() local
89 OwnedMBFI->calculate(*MF, MBPI, *MLI); in calculateIfNotAvailable()
DIfConversion.cpp194 const MachineBranchProbabilityInfo *MBPI; member in __anon0dc22c2c0111::IfConverter
348 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in INITIALIZE_PASS_DEPENDENCY()
359 BranchFolder BF(true, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
499 BranchFolder BF(false, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
1173 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock()
1559 CvtNext = MBPI->getEdgeProbability(&CvtMBB, &NextMBB); in IfConvertTriangle()
1560 CvtFalse = MBPI->getEdgeProbability(&CvtMBB, CvtBBI->FalseBB); in IfConvertTriangle()
1561 BBNext = MBPI->getEdgeProbability(BBI.BB, &NextMBB); in IfConvertTriangle()
1562 BBCvt = MBPI->getEdgeProbability(BBI.BB, &CvtMBB); in IfConvertTriangle()
2137 To2FromProb = MBPI->getEdgeProbability(ToBBI.BB, &FromMBB); in MergeBlocks()
[all …]
/external/llvm/lib/CodeGen/
DMachineBlockPlacement.cpp248 const MachineBranchProbabilityInfo *MBPI; member in __anon2de5acb80311::MachineBlockPlacement
459 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in collectViableSuccessors()
643 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, Succ); in hasBetterLayoutPredecessor()
683 auto RealSuccProb = MBPI->getEdgeProbability(BB, Succ); in selectBestSuccessor()
1007 auto SuccProb = MBPI->getEdgeProbability(MBB, Succ); in findBestLoopExit()
1147 MBFI->getBlockFreq(Pred) * MBPI->getEdgeProbability(Pred, HeaderBB); in rotateLoopWithProfile()
1168 auto SuccProb = MBPI->getEdgeProbability(BB, Succ); in rotateLoopWithProfile()
1226 auto TailToHeadProb = MBPI->getEdgeProbability(TailBB, *Iter); in rotateLoopWithProfile()
1274 MBPI->getEdgeProbability(LoopPred, L.getHeader()); in collectLoopBlockSet()
1556 MBPI->getEdgeProbability(ChainBB, FBB) > in optimizeBranches()
[all …]
DTailDuplication.cpp51 auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local
53 Duplicator.initMF(MF, MMI, MBPI); in runOnMachineFunction()
DMachineBlockFrequencyInfo.cpp136 MachineBranchProbabilityInfo &MBPI = in runOnMachineFunction() local
141 MBFI->calculate(F, MBPI, MLI); in runOnMachineFunction()
DBranchFolding.h34 const MachineBranchProbabilityInfo &MBPI);
128 const MachineBranchProbabilityInfo &MBPI; variable
DIfConversion.cpp166 const MachineBranchProbabilityInfo *MBPI; member in __anon7862d4d40111::IfConverter
294 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in INITIALIZE_PASS_DEPENDENCY()
305 BranchFolder BF(true, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
429 BranchFolder BF(false, false, MBFI, *MBPI); in INITIALIZE_PASS_DEPENDENCY()
882 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock()
1255 CvtNext = MBPI->getEdgeProbability(CvtBBI->BB, NextBBI->BB); in IfConvertTriangle()
1256 CvtFalse = MBPI->getEdgeProbability(CvtBBI->BB, CvtBBI->FalseBB); in IfConvertTriangle()
1257 BBNext = MBPI->getEdgeProbability(BBI.BB, NextBBI->BB); in IfConvertTriangle()
1258 BBCvt = MBPI->getEdgeProbability(BBI.BB, CvtBBI->BB); in IfConvertTriangle()
1751 To2FromProb = MBPI->getEdgeProbability(ToBBI.BB, FromBBI.BB); in MergeBlocks()
[all …]
/external/swiftshader/third_party/LLVM/lib/CodeGen/
DMachineBlockFrequencyInfo.cpp48 MachineBranchProbabilityInfo &MBPI = getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local
49 MBFI->doFunction(&F, &MBPI); in runOnMachineFunction()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp221 const MachineBranchProbabilityInfo *MBPI; member in __anon8448aa6e0111::HexagonEarlyIfConversion
508 if (MBPI && FP.TrueB && !FP.FalseB && in isProfitable()
509 (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) < JumpProb || in isProfitable()
510 MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob)) in isProfitable()
513 if (MBPI && !FP.TrueB && FP.FalseB && in isProfitable()
514 (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) < JumpProb || in isProfitable()
515 MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob)) in isProfitable()
520 if (MBPI) { in isProfitable()
521 if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob) in isProfitable()
523 if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob) in isProfitable()
[all …]
DHexagonNewValueJump.cpp100 const MachineBranchProbabilityInfo *MBPI; member
339 *MBPI) { in getNewValueJumpOpcode() argument
343 MBPI->getEdgeProbability(Src, jmpTarget); in getNewValueJumpOpcode()
463 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
688 jmpTarget, MBPI); in runOnMachineFunction()
DHexagonVLIWPacketizer.h63 const MachineBranchProbabilityInfo *MBPI;
73 const MachineBranchProbabilityInfo *MBPI);
/external/llvm/include/llvm/CodeGen/
DTailDuplicator.h33 const MachineBranchProbabilityInfo *MBPI; variable
49 const MachineBranchProbabilityInfo *MBPI);
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/CodeGen/
DTailDuplicator.h40 const MachineBranchProbabilityInfo *MBPI; variable
68 const MachineBranchProbabilityInfo *MBPI,
DMachineBlockFrequencyInfo.h50 const MachineBranchProbabilityInfo &MBPI,
/external/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp49 MBFI(nullptr), MBPI(nullptr), OptMode(RunningMode) { in RegBankSelect()
65 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in init()
68 MBPI = nullptr; in init()
411 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI"); in computeMapping()
761 const MachineBranchProbabilityInfo *MBPI = in frequency() local
763 if (!MBPI) in frequency()
766 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
/external/llvm/lib/Target/Hexagon/
DHexagonNewValueJump.cpp94 const MachineBranchProbabilityInfo *MBPI; member
291 *MBPI) { in getNewValueJumpOpcode() argument
295 MBPI->getEdgeProbability(Src, jmpTarget); in getNewValueJumpOpcode()
405 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
639 jmpTarget, MBPI); in runOnMachineFunction()
DHexagonVLIWPacketizer.h36 const MachineBranchProbabilityInfo *MBPI;
47 const MachineBranchProbabilityInfo *MBPI);
DHexagonVLIWPacketizer.cpp107 const MachineBranchProbabilityInfo *MBPI) in INITIALIZE_PASS_DEPENDENCY()
108 : VLIWPacketizerList(MF, MLI, AA), MBPI(MBPI), MLI(&MLI) { in INITIALIZE_PASS_DEPENDENCY()
181 auto *MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local
187 HexagonPacketizerList Packetizer(MF, MLI, AA, MBPI); in runOnMachineFunction()
424 NewOpcode = HII->getDotNewPredOp(MI, MBPI); in promoteToDotNew()
DHexagonInstrInfo.h389 const MachineBranchProbabilityInfo *MBPI) const;
391 const MachineBranchProbabilityInfo *MBPI) const;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Target/PowerPC/
DPPCReduceCRLogicals.cpp118 const MachineBranchProbabilityInfo *MBPI; member
175 !BSI.MBPI ? BranchProbability::getUnknown() in splitMBB()
176 : BSI.MBPI->getEdgeProbability(ThisMBB, NewBRTarget); in splitMBB()
357 const MachineBranchProbabilityInfo *MBPI; member in __anondfa6c4760111::PPCReduceCRLogicals
547 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in initialize()
667 InvertOrigBranch, TargetIsFallThrough, MBPI, CRI.MI, in splitBlockOnBinaryCROp()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/CodeGen/GlobalISel/
DRegBankSelect.cpp91 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in init()
94 MBPI = nullptr; in init()
462 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI"); in computeMapping()
847 const MachineBranchProbabilityInfo *MBPI = in frequency() local
849 if (!MBPI) in frequency()
852 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()

12