Home
last modified time | relevance | path

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

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DBranchProbability.h137 BranchProbability Prob(*this);
138 Prob += RHS;
139 return Prob;
143 BranchProbability Prob(*this);
144 Prob -= RHS;
145 return Prob;
149 BranchProbability Prob(*this);
150 Prob *= RHS;
151 return Prob;
155 BranchProbability Prob(*this);
[all …]
DBlockFrequency.h39 BlockFrequency &operator*=(BranchProbability Prob);
40 BlockFrequency operator*(BranchProbability Prob) const;
44 BlockFrequency &operator/=(BranchProbability Prob);
45 BlockFrequency operator/(BranchProbability Prob) const;
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DBlockFrequency.cpp18 BlockFrequency &BlockFrequency::operator*=(BranchProbability Prob) { in operator *=() argument
19 Frequency = Prob.scale(Frequency); in operator *=()
23 BlockFrequency BlockFrequency::operator*(BranchProbability Prob) const { in operator *()
25 Freq *= Prob; in operator *()
29 BlockFrequency &BlockFrequency::operator/=(BranchProbability Prob) { in operator /=() argument
30 Frequency = Prob.scaleByInverse(Frequency); in operator /=()
34 BlockFrequency BlockFrequency::operator/(BranchProbability Prob) const { in operator /()
36 Freq /= Prob; in operator /()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/
DSwitchLoweringUtils.h45 BranchProbability Prob; member
48 MachineBasicBlock *MBB, BranchProbability Prob) { in range()
54 C.Prob = Prob; in range()
59 unsigned JTCasesIndex, BranchProbability Prob) { in jumpTable()
65 C.Prob = Prob; in jumpTable()
70 unsigned BTCasesIndex, BranchProbability Prob) { in bitTests()
76 C.Prob = Prob; in bitTests()
95 BranchProbability Prob) in CaseBits()
96 : Mask(mask), BB(bb), Bits(bits), ExtraProb(Prob) {} in CaseBits()
197 BranchProbability Prob) in BitTestCase()
[all …]
DMachineBasicBlock.h439 BranchProbability Prob = BranchProbability::getUnknown());
448 void setSuccProbability(succ_iterator I, BranchProbability Prob);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/
DMachineBranchProbabilityInfo.cpp75 auto Prob = getEdgeProbability(MBB, I); in getHotSucc() local
76 if (Prob > MaxProb) { in getHotSucc()
77 MaxProb = Prob; in getHotSucc()
93 const BranchProbability Prob = getEdgeProbability(Src, Dst); in printEdgeProbability() local
95 << " probability is " << Prob in printEdgeProbability()
DSwitchLoweringUtils.cpp194 auto Prob = BranchProbability::getZero(); in buildJumpTable() local
205 Prob += Clusters[I].Prob; in buildJumpTable()
220 JTProbs[Clusters[I].MBB] += Clusters[I].Prob; in buildJumpTable()
258 JTCases.size() - 1, Prob); in buildJumpTable()
432 CB->ExtraProb += Clusters[i].Prob; in buildBitTests()
433 TotalProb += Clusters[i].Prob; in buildBitTests()
484 Clusters[DstIndex - 1].Prob += CC.Prob; in sortAndRangeify()
DMachineBasicBlock.cpp644 for (auto Prob : Probs) in validateSuccProbs() local
645 Sum += Prob.getNumerator(); in validateSuccProbs()
656 BranchProbability Prob) { in addSuccessor() argument
660 Probs.push_back(Prob); in addSuccessor()
784 auto Prob = *FromMBB->Probs.begin(); in transferSuccessors() local
785 addSuccessor(Succ, Prob); in transferSuccessors()
801 auto Prob = *FromMBB->Probs.begin(); in transferSuccessorsAndUpdatePHIs() local
802 addSuccessor(Succ, Prob); in transferSuccessorsAndUpdatePHIs()
1333 const auto &Prob = *getProbabilityIterator(Succ); in getSuccProbability() local
1334 if (Prob.isUnknown()) { in getSuccProbability()
[all …]
DMachineBlockPlacement.cpp789 auto Prob = MBPI->getEdgeProbability(Succ, SuccSucc); in isProfitableToTailDup() local
790 if (Prob > BestSuccSucc) in isProfitableToTailDup()
791 BestSuccSucc = Prob; in isProfitableToTailDup()
DBranchFolding.cpp1226 auto Prob = BranchProbability::getBranchProbability( in setCommonTailEdgeWeights() local
1228 TailMBB.setSuccProbability(SuccI, Prob); in setCommonTailEdgeWeights()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp254 BranchProbability Prob(1, UnreachableEdges.size()); in calcUnreachableHeuristics() local
256 setEdgeProbability(BB, SuccIdx, Prob); in calcUnreachableHeuristics()
400 BranchProbability Prob(1, ColdEdges.size()); in calcColdCallHeuristics() local
402 setEdgeProbability(BB, SuccIdx, Prob); in calcColdCallHeuristics()
651 auto Prob = TakenProb / numBackEdges; in calcLoopBranchHeuristics() local
653 setEdgeProbability(BB, SuccIdx, Prob); in calcLoopBranchHeuristics()
658 auto Prob = TakenProb / numInEdges; in calcLoopBranchHeuristics() local
660 setEdgeProbability(BB, SuccIdx, Prob); in calcLoopBranchHeuristics()
666 auto Prob = NotTakenProb / numExitingEdges; in calcLoopBranchHeuristics() local
668 setEdgeProbability(BB, SuccIdx, Prob); in calcLoopBranchHeuristics()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CondBrFolding.cpp199 BranchProbability Prob) { in setBranchProb() argument
203 MBB->setSuccProbability(MBBI, Prob); in setBranchProb()
346 BranchProbability Prob; in optimizeCondBr() local
352 Prob = MBPI->getEdgeProbability(ThisMBB, NextMBB); in optimizeCondBr()
353 if (Prob.isUnknown()) in optimizeCondBr()
355 TargetProb = Prob * TargetProb; in optimizeCondBr()
356 Prob = Prob - TargetProb; in optimizeCondBr()
357 setBranchProb(ThisMBB, NextMBB, Prob); in optimizeCondBr()
DREADME-SSE.txt142 jne L_B1.24 # Prob 5% #91.13
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DIRTranslator.cpp412 BranchProbability Prob) { in addSuccessorWithProb() argument
417 if (Prob.isUnknown()) in addSuccessorWithProb()
418 Prob = getEdgeProbability(Src, Dst); in addSuccessorWithProb()
419 Src->addSuccessor(Dst, Prob); in addSuccessorWithProb()
447 BranchProbability Prob = in translateSwitch() local
450 Clusters.push_back(CaseCluster::range(CaseVal, CaseVal, Succ, Prob)); in translateSwitch()
672 auto JumpProb = I->Prob; in lowerJumpTableWorkItem()
743 CurMBB, MIB.getDebugLoc(), I->Prob, UnhandledProbs); in lowerSwitchRangeWorkItem()
768 return a.Prob != b.Prob in lowerSwitchWorkItem()
769 ? a.Prob > b.Prob in lowerSwitchWorkItem()
[all …]
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DIRTranslator.h538 BranchProbability Prob = BranchProbability::getUnknown()) override {
539 IRT->addSuccessorWithProb(Src, Dst, Prob);
615 BranchProbability Prob);
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Hexagon/
DHexagonEarlyIfConv.cpp507 BranchProbability Prob(9, 10); in isProfitable() local
510 MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob)) in isProfitable()
515 MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob)) in isProfitable()
521 if (MBPI->getEdgeProbability(FP.SplitB, FP.TrueB) > Prob) in isProfitable()
523 if (MBPI->getEdgeProbability(FP.SplitB, FP.FalseB) > Prob) in isProfitable()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGBuilder.h404 BranchProbability Prob = BranchProbability::getUnknown()) override {
405 SDB->addSuccessorWithProb(Src, Dst, Prob);
666 BranchProbability Prob = BranchProbability::getUnknown());
DSelectionDAGBuilder.cpp1682 BranchProbability Prob, in findWasmUnwindDestinations() argument
1689 UnwindDests.emplace_back(FuncInfo.MBBMap[EHPadBB], Prob); in findWasmUnwindDestinations()
1696 UnwindDests.emplace_back(FuncInfo.MBBMap[CatchPadBB], Prob); in findWasmUnwindDestinations()
1716 BranchProbability Prob, in findUnwindDestinations() argument
1727 findWasmUnwindDestinations(FuncInfo, EHPadBB, Prob, UnwindDests); in findUnwindDestinations()
1738 UnwindDests.emplace_back(FuncInfo.MBBMap[EHPadBB], Prob); in findUnwindDestinations()
1743 UnwindDests.emplace_back(FuncInfo.MBBMap[EHPadBB], Prob); in findUnwindDestinations()
1750 UnwindDests.emplace_back(FuncInfo.MBBMap[CatchPadBB], Prob); in findUnwindDestinations()
1764 Prob *= BPI->getEdgeProbability(EHPadBB, NewEHPadBB); in findUnwindDestinations()
2033 BranchProbability Prob) { in addSuccessorWithProb() argument
[all …]
DSelectionDAGISel.cpp1806 BranchProbability UnhandledProb = BTB.Prob; in FinishBasicBlock()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsDelaySlotFiller.cpp874 auto &Prob = getAnalysis<MachineBranchProbabilityInfo>(); in selectSuccBB() local
878 return Prob.getEdgeProbability(&B, Dst0) < in selectSuccBB()
879 Prob.getEdgeProbability(&B, Dst1); in selectSuccBB()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Analysis/
DBranchProbabilityInfo.h127 BranchProbability Prob);
DBlockFrequencyInfoImpl.h1303 inline uint32_t getWeightFromBranchProb(const BranchProbability Prob) {
1304 return Prob.getNumerator();
/third_party/libxml2/result/HTML/
Dtest3.html.sax19 SAX.characters(Component Package diagram Prob, 39)
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Transforms/Scalar/
DJumpThreading.cpp2288 for (auto Prob : BBSuccProbs) in UpdateBlockFreqAndEdgeWeight() local
2289 Weights.push_back(Prob.getNumerator()); in UpdateBlockFreqAndEdgeWeight()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/
DREADME.txt290 jb ..B1.70 # Prob 99% #108.2