/external/llvm-project/llvm/lib/CodeGen/ |
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() 253 const MachineBranchProbabilityInfo &MBPI) { in onEdgeSplit() argument 256 MBPI.getEdgeProbability(&NewPredecessor, &NewSuccessor); in onEdgeSplit()
|
D | MachineBlockPlacement.cpp | 354 const MachineBranchProbabilityInfo *MBPI; member in __anon17d227c40111::MachineBlockPlacement 705 AdjustedSumProb -= MBPI->getEdgeProbability(BB, Succ); in collectViableSuccessors() 808 BranchProbability PProb = MBPI->getEdgeProbability(BB, Succ); in isProfitableToTailDup() 822 auto Prob = MBPI->getEdgeProbability(Succ, SuccSucc); in isProfitableToTailDup() 840 * MBPI->getEdgeProbability(SuccPred, Succ); in isProfitableToTailDup() 875 BranchProbability UProb = MBPI->getEdgeProbability(Succ, PDom); in isProfitableToTailDup() 1053 MBPI->getEdgeProbability(SuccPred, Succ); in getBestTrellisSuccessor() 1082 isProfitableToTailDup(BB, Succ2, MBPI->getEdgeProbability(BB, Succ1), in getBestTrellisSuccessor() 1085 MBPI->getEdgeProbability(BB, Succ2), AdjustedSumProb); in getBestTrellisSuccessor() 1100 MBPI->getEdgeProbability(BB, TrellisSucc), AdjustedSumProb); in getBestTrellisSuccessor() [all …]
|
D | TailDuplication.cpp | 87 auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local 94 Duplicator.initMF(MF, PreRegAlloc, MBPI, MBFI ? MBFIW.get() : nullptr, PSI, in runOnMachineFunction()
|
D | LazyMachineBlockFrequencyInfo.cpp | 64 auto &MBPI = getAnalysis<MachineBranchProbabilityInfo>(); in calculateIfNotAvailable() local 89 OwnedMBFI->calculate(*MF, MBPI, *MLI); in calculateIfNotAvailable()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/ |
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 | MachineBlockPlacement.cpp | 346 const MachineBranchProbabilityInfo *MBPI; member in __anon60b6bfb80111::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 | 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()
|
/external/llvm-project/llvm/include/llvm/CodeGen/ |
D | MachineBlockFrequencyInfo.h | 42 MachineBranchProbabilityInfo &MBPI, 52 const MachineBranchProbabilityInfo &MBPI, 81 const MachineBranchProbabilityInfo &MBPI);
|
D | TailDuplicator.h | 42 const MachineBranchProbabilityInfo *MBPI; variable 72 const MachineBranchProbabilityInfo *MBPI,
|
/external/llvm-project/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 143 const MachineBranchProbabilityInfo *MBPI; member in __anonabd3908c0111::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 __anonabd3908c0211::AArch64ConditionalCompares 940 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() 946 CmpConv.runOnMachineFunction(MF, MBPI); in runOnMachineFunction()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/ |
D | AArch64ConditionalCompares.cpp | 143 const MachineBranchProbabilityInfo *MBPI; member in __anon1fe7b6800111::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 __anon1fe7b6800211::AArch64ConditionalCompares 940 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() 946 CmpConv.runOnMachineFunction(MF, MBPI); in runOnMachineFunction()
|
/external/llvm/lib/CodeGen/ |
D | MachineBlockPlacement.cpp | 248 const MachineBranchProbabilityInfo *MBPI; member in __anonee1641960311::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 …]
|
D | TailDuplication.cpp | 51 auto MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in runOnMachineFunction() local 53 Duplicator.initMF(MF, MMI, MBPI); in runOnMachineFunction()
|
/external/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 __anone51755a70211::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()
|
/external/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,
|
/external/llvm-project/llvm/unittests/Target/X86/ |
D | MachineSizeOptsTest.cpp | 49 std::unique_ptr<MachineBranchProbabilityInfo> MBPI; member 54 MBPI.reset(new MachineBranchProbabilityInfo()); in BFIData() 55 MBFI.reset(new MachineBlockFrequencyInfo(MF, *MBPI, *MLI)); in BFIData()
|
/external/llvm/include/llvm/CodeGen/ |
D | TailDuplicator.h | 33 const MachineBranchProbabilityInfo *MBPI; variable 49 const MachineBranchProbabilityInfo *MBPI);
|
/external/llvm-project/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 220 const MachineBranchProbabilityInfo *MBPI = nullptr; member in __anoned6b45220111::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 …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/ |
D | HexagonEarlyIfConv.cpp | 220 const MachineBranchProbabilityInfo *MBPI = nullptr; member in __anonc602b7160111::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 …]
|
/external/llvm/lib/Target/Hexagon/ |
D | HexagonVLIWPacketizer.h | 36 const MachineBranchProbabilityInfo *MBPI; 47 const MachineBranchProbabilityInfo *MBPI);
|
D | HexagonNewValueJump.cpp | 94 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()
|
/external/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 __anon58a2661e0111::PPCReduceCRLogicals 572 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in initialize() 693 InvertOrigBranch, TargetIsFallThrough, MBPI, CRI.MI, in splitBlockOnBinaryCROp()
|
/external/llvm-project/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 __anon6d1cb5aa0111::PPCReduceCRLogicals 572 MBPI = &getAnalysis<MachineBranchProbabilityInfo>(); in initialize() 693 InvertOrigBranch, TargetIsFallThrough, MBPI, CRI.MI, in splitBlockOnBinaryCROp()
|