Home
last modified time | relevance | path

Searched refs:TakenProb (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp336 BranchProbability TakenProb(PH_TAKEN_WEIGHT, in calcPointerHeuristics() local
338 setEdgeProbability(BB, TakenIdx, TakenProb); in calcPointerHeuristics()
339 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcPointerHeuristics()
479 BranchProbability TakenProb(ZH_TAKEN_WEIGHT, in calcZeroHeuristics() local
481 setEdgeProbability(BB, TakenIdx, TakenProb); in calcZeroHeuristics()
482 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcZeroHeuristics()
516 BranchProbability TakenProb(FPH_TAKEN_WEIGHT, in calcFloatingPointHeuristics() local
518 setEdgeProbability(BB, TakenIdx, TakenProb); in calcFloatingPointHeuristics()
519 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcFloatingPointHeuristics()
528 BranchProbability TakenProb(IH_TAKEN_WEIGHT, in calcInvokeHeuristics() local
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Analysis/
DBranchProbabilityInfo.cpp420 BranchProbability TakenProb(PH_TAKEN_WEIGHT, in calcPointerHeuristics() local
422 setEdgeProbability(BB, TakenIdx, TakenProb); in calcPointerHeuristics()
423 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcPointerHeuristics()
621 BranchProbability TakenProb = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics() local
622 auto Prob = TakenProb / numBackEdges; in calcLoopBranchHeuristics()
628 BranchProbability TakenProb = BranchProbability(LBH_TAKEN_WEIGHT, Denom); in calcLoopBranchHeuristics() local
629 auto Prob = TakenProb / numInEdges; in calcLoopBranchHeuristics()
759 BranchProbability TakenProb(ZH_TAKEN_WEIGHT, in calcZeroHeuristics() local
761 setEdgeProbability(BB, TakenIdx, TakenProb); in calcZeroHeuristics()
762 setEdgeProbability(BB, NonTakenIdx, TakenProb.getCompl()); in calcZeroHeuristics()
[all …]