/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 346 const MachineBranchProbabilityInfo *MBPI; member in __anon6fc47f580111::MachineBlockPlacement 672 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in collectViableSuccessors() 775 BranchProbability PProb = MBPI->getEdgeProbability(BB, Succ); in isProfitableToTailDup() 789 auto Prob = MBPI->getEdgeProbability(Succ, SuccSucc); in isProfitableToTailDup() 807 * MBPI->getEdgeProbability(SuccPred, Succ); in isProfitableToTailDup() 842 BranchProbability UProb = MBPI->getEdgeProbability(Succ, PDom); in isProfitableToTailDup() 1020 MBPI->getEdgeProbability(SuccPred, Succ); in getBestTrellisSuccessor() 1049 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor() 1052 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor() 1067 MBPI->getEdgeProbability(BB, TrellisSucc), AdjustedSumProb); in getBestTrellisSuccessor() [all …]
|
D | MachineBlockFrequencyInfo.cpp | 178 MachineBranchProbabilityInfo &MBPI, in MachineBlockFrequencyInfo() argument 180 calculate(F, MBPI, MLI); in MachineBlockFrequencyInfo() 193 const MachineFunction &F, const MachineBranchProbabilityInfo &MBPI, in calculate() argument 197 MBFI->calculate(F, MBPI, MLI); in calculate() 211 MachineBranchProbabilityInfo &MBPI = in runOnMachineFunction() local 214 calculate(F, MBPI, MLI); in runOnMachineFunction()
|
D | TailDuplication.cpp | 86 auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local 91 Duplicator.initMF(MF, PreRegAlloc, MBPI, MBFI, PSI, /*LayoutMode=*/false); in runOnMachineFunction()
|
D | LazyMachineBlockFrequencyInfo.cpp | 64 auto &MBPI = getAnalysis<MachineBranchProbabilityInfo>(); in calculateIfNotAvailable() local 89 OwnedMBFI->calculate(*MF, MBPI, *MLI); in calculateIfNotAvailable()
|
D | IfConversion.cpp | 196 const MachineBranchProbabilityInfo *MBPI; member in __anone11d33740111::IfConverter 451 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in INITIALIZE_PASS_DEPENDENCY() 464 BranchFolder BF(true, false, MBFI, *MBPI, PSI); in INITIALIZE_PASS_DEPENDENCY() 606 BranchFolder BF(false, false, MBFI, *MBPI, PSI); in INITIALIZE_PASS_DEPENDENCY() 1295 BranchProbability Prediction = MBPI->getEdgeProbability(BB, TrueBBI.BB); in AnalyzeBlock() 1677 CvtNext = MBPI->getEdgeProbability(&CvtMBB, &NextMBB); in IfConvertTriangle() 1678 CvtFalse = MBPI->getEdgeProbability(&CvtMBB, CvtBBI->FalseBB); in IfConvertTriangle() 1679 BBNext = MBPI->getEdgeProbability(BBI.BB, &NextMBB); in IfConvertTriangle() 1680 BBCvt = MBPI->getEdgeProbability(BBI.BB, &CvtMBB); in IfConvertTriangle() 2277 To2FromProb = MBPI->getEdgeProbability(ToBBI.BB, &FromMBB); in MergeBlocks() [all …]
|
D | BranchFolding.h | 159 const MachineBranchProbabilityInfo &MBPI; variable
|
D | TailDuplicator.cpp | 91 MBPI = MBPIin; in initMF() 96 assert(MBPI != nullptr && "Machine Branch Probability Info required"); in initMF() 873 PredBB->addSuccessor(Succ, MBPI->getEdgeProbability(TailBB, Succ)); in tailDuplicate()
|
D | EarlyIfConversion.cpp | 944 MachineBranchProbabilityInfo *MBPI; member in __anon529a6d110411::EarlyIfPredicator 985 auto TrueProbability = MBPI->getEdgeProbability(IfConv.Head, IfConv.TBB); in shouldConvertIf() 1050 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction()
|
D | MachineSink.cpp | 95 const MachineBranchProbabilityInfo *MBPI; member in __anon6d7315c90111::MachineSinking 332 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() 456 if (From->isSuccessor(To) && MBPI->getEdgeProbability(From, To) <= in isWorthBreakingCriticalEdge()
|
D | BranchFolding.cpp | 149 MBBFreqInfo(FreqInfo), MBPI(ProbInfo), PSI(PSI) { in BranchFolder() 1210 *EdgeFreq += BlockFreq * MBPI.getEdgeProbability(SrcMBB, *SuccI); in setCommonTailEdgeWeights()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 143 const MachineBranchProbabilityInfo *MBPI; member in __anonadf1e6200111::SSACCmpConv 192 const MachineBranchProbabilityInfo *MBPI) { in runOnMachineFunction() argument 194 this->MBPI = MBPI; in runOnMachineFunction() 580 BranchProbability Head2CmpBB = MBPI->getEdgeProbability(Head, CmpBB); in convert() 581 BranchProbability CmpBB2Tail = MBPI->getEdgeProbability(CmpBB, Tail); in convert() 596 BranchProbability Head2Tail = MBPI->getEdgeProbability(Head, Tail); in convert() 606 BranchProbability CmpBB2I = MBPI->getEdgeProbability(CmpBB, *I); in convert() 762 const MachineBranchProbabilityInfo *MBPI; member in __anonadf1e6200211::AArch64ConditionalCompares 940 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() 946 CmpConv.runOnMachineFunction(MF, MBPI); in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/ |
D | X86CondBrFolding.cpp | 104 const MachineBranchProbabilityInfo *MBPI, in X86CondBrFolding() argument 106 : TII(TII), MBPI(MBPI), MF(MF) {} in X86CondBrFolding() 111 const MachineBranchProbabilityInfo *MBPI; member in __anonb870ad470211::X86CondBrFolding 239 setBranchProb(MBB, NewDest, MBPI->getEdgeProbability(MBB, OrigDest)); in replaceBrDest() 285 BranchProbability TargetProb = MBPI->getEdgeProbability(&MBB, MBBInfo->TBB); in optimizeCondBr() 352 Prob = MBPI->getEdgeProbability(ThisMBB, NextMBB); in optimizeCondBr() 574 const MachineBranchProbabilityInfo *MBPI = in runOnMachineFunction() local 577 X86CondBrFolding CondBr(TII, MBPI, MF); in runOnMachineFunction()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 42 MachineBranchProbabilityInfo &MBPI, 52 const MachineBranchProbabilityInfo &MBPI,
|
D | TailDuplicator.h | 41 const MachineBranchProbabilityInfo *MBPI; variable 71 const MachineBranchProbabilityInfo *MBPI,
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 220 const MachineBranchProbabilityInfo *MBPI = nullptr; member in __anon1f2746b60111::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 …]
|
D | HexagonNewValueJump.cpp | 100 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()
|
D | HexagonVLIWPacketizer.h | 62 const MachineBranchProbabilityInfo *MBPI; 72 AAResults *AA, const MachineBranchProbabilityInfo *MBPI,
|
D | HexagonVLIWPacketizer.cpp | 135 const MachineBranchProbabilityInfo *MBPI, bool Minimal) in INITIALIZE_PASS_DEPENDENCY() 136 : VLIWPacketizerList(MF, MLI, AA), MBPI(MBPI), MLI(&MLI), in INITIALIZE_PASS_DEPENDENCY() 211 auto *MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local 219 HexagonPacketizerList Packetizer(MF, MLI, AA, MBPI, MinOnly); in runOnMachineFunction() 457 NewOpcode = HII->getDotNewPredOp(MI, MBPI); in promoteToDotNew()
|
D | HexagonInstrInfo.h | 443 const MachineBranchProbabilityInfo *MBPI) const; 445 const MachineBranchProbabilityInfo *MBPI) const;
|
D | HexagonInstrInfo.cpp | 3573 const MachineBranchProbabilityInfo *MBPI) const { in getDotNewPredJumpOp() 3580 auto getEdgeProbability = [MBPI] (const MachineBasicBlock *Src, in getDotNewPredJumpOp() 3582 if (MBPI) in getDotNewPredJumpOp() 3583 return MBPI->getEdgeProbability(Src, Dst); in getDotNewPredJumpOp() 3659 const MachineBranchProbabilityInfo *MBPI) const { in getDotNewPredOp() 3664 return getDotNewPredJumpOp(MI, MBPI); in getDotNewPredOp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/PowerPC/ |
D | PPCReduceCRLogicals.cpp | 114 const MachineBranchProbabilityInfo *MBPI; member 184 if (BSI.MBPI) { in splitMBB() 186 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigFallThrough) / 2; in splitMBB() 191 ProbToNewTarget = BSI.MBPI->getEdgeProbability(ThisMBB, OrigTarget) / 2; in splitMBB() 382 const MachineBranchProbabilityInfo *MBPI = nullptr; member in __anond658e9be0111::PPCReduceCRLogicals 572 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in initialize() 693 InvertOrigBranch, TargetIsFallThrough, MBPI, CRI.MI, in splitBlockOnBinaryCROp()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/ |
D | RegBankSelect.cpp | 90 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in init() 93 MBPI = nullptr; in init() 515 assert(MBFI && MBPI && "Cost computation requires MBFI and MBPI"); in computeMapping() 920 const MachineBranchProbabilityInfo *MBPI = in frequency() local 922 if (!MBPI) in frequency() 925 return (MBFI->getBlockFreq(&Src) * MBPI->getEdgeProbability(&Src, DstOrSplit)) in frequency()
|
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/ |
D | RegBankSelect.h | 501 MachineBranchProbabilityInfo *MBPI = nullptr; variable
|