Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp804 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local
805 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()
814 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()
822 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()
4040 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local
4041 if (HasWeight) { in EliminateDeadSwitchCases()
4043 HasWeight = (Weights.size() == 1 + SI->getNumCases()); in EliminateDeadSwitchCases()
4051 if (HasWeight) { in EliminateDeadSwitchCases()
4060 if (HasWeight && Weights.size() >= 2) { in EliminateDeadSwitchCases()