Home
last modified time | relevance | path

Searched refs:TrueProb (Results 1 – 5 of 5) sorted by relevance

/openbsd/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DLowerExpectIntrinsic.cpp69 double TrueProb = Confidence->getValueAPF().convertToDouble(); in getBranchWeight() local
70 assert((TrueProb >= 0.0 && TrueProb <= 1.0) && in getBranchWeight()
72 double FalseProb = (1.0 - TrueProb) / (BranchCount - 1); in getBranchWeight()
73 uint32_t LikelyBW = ceil((TrueProb * (double)(INT32_MAX - 1)) + 1.0); in getBranchWeight()
136 double TrueProb = Confidence->getValueAPF().convertToDouble(); in handlePhiDef() local
137 ExpectedValueIsLikely = (TrueProb > 0.5); in handlePhiDef()
/openbsd/gnu/llvm/llvm/include/llvm/CodeGen/
H A DSwitchLoweringUtils.h141 BranchProbability TrueProb, FalseProb; member
151 TrueProb(trueprob), FalseProb(falseprob) {} in CC()
162 DbgLoc(dl), TrueProb(trueprob), FalseProb(falseprob) {}
/openbsd/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DControlHeightReduction.cpp582 BranchProbability &TrueProb, in extractBranchProbabilities() argument
597 TrueProb = BranchProbability::getBranchProbability(TrueWeight, SumWeight); in extractBranchProbabilities()
612 static bool checkBias(K *Key, BranchProbability TrueProb, in checkBias() argument
616 if (TrueProb >= Threshold) { in checkBias()
618 BiasMap[Key] = TrueProb; in checkBias()
665 BranchProbability TrueProb, FalseProb; in checkBiasedSelect() local
666 if (!extractBranchProbabilities(SI, TrueProb, FalseProb)) in checkBiasedSelect()
669 CHR_DEBUG(dbgs() << "TrueProb " << TrueProb << " "); in checkBiasedSelect()
671 return checkBias(SI, TrueProb, FalseProb, in checkBiasedSelect()
/openbsd/gnu/llvm/llvm/lib/CodeGen/GlobalISel/
H A DIRTranslator.cpp830 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase()
880 addSuccessorWithProb(CB.ThisBB, CB.TrueBB, CB.TrueProb); in emitSwitchCase()
/openbsd/gnu/llvm/llvm/lib/CodeGen/SelectionDAG/
H A DSelectionDAGBuilder.cpp2520 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase()
2576 addSuccessorWithProb(SwitchBB, CB.TrueBB, CB.TrueProb); in visitSwitchCase()