Searched refs:TrueProb (Results 1 – 6 of 6) sorted by relevance
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/ |
| H A D | LowerExpectIntrinsic.cpp | 66 double TrueProb = Confidence->getValueAPF().convertToDouble(); in getBranchWeight() local 67 assert((TrueProb >= 0.0 && TrueProb <= 1.0) && in getBranchWeight() 69 double FalseProb = (1.0 - TrueProb) / (BranchCount - 1); in getBranchWeight() 70 uint32_t LikelyBW = ceil((TrueProb * (double)(INT32_MAX - 1)) + 1.0); in getBranchWeight() 130 double TrueProb = Confidence->getValueAPF().convertToDouble(); in handlePhiDef() local 131 ExpectedValueIsLikely = (TrueProb > 0.5); in handlePhiDef()
|
| /freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/ |
| H A D | SwitchLoweringUtils.h | 141 BranchProbability TrueProb, FalseProb; member 153 TrueProb(trueprob), FalseProb(falseprob), in CC() 166 DbgLoc(dl), TrueProb(trueprob), FalseProb(falseprob),
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/Instrumentation/ |
| H A D | ControlHeightReduction.cpp | 580 BranchProbability &TrueProb, in extractBranchProbabilities() argument 595 TrueProb = BranchProbability::getBranchProbability(TrueWeight, SumWeight); in extractBranchProbabilities() 610 static bool checkBias(K *Key, BranchProbability TrueProb, in checkBias() argument 614 if (TrueProb >= Threshold) { in checkBias() 616 BiasMap[Key] = TrueProb; in checkBias() 663 BranchProbability TrueProb, FalseProb; in checkBiasedSelect() local 664 if (!extractBranchProbabilities(SI, TrueProb, FalseProb)) in checkBiasedSelect() 667 CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " "); in checkBiasedSelect() 669 return checkBias(SI, TrueProb, FalseProb, in checkBiasedSelect()
|
| /freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/ |
| H A D | HotColdSplitting.cpp | 127 auto TrueProb = BranchProbability::getBranchProbability(TrueWt, SumWt); in analyzeProfMetadata() local 130 if (TrueProb <= ColdProbThresh) in analyzeProfMetadata()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/GlobalISel/ |
| H A D | IRTranslator.cpp | 922 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase() 972 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase()
|
| /freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/ |
| H A D | SelectionDAGBuilder.cpp | 2862 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase() 2918 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase()
|