Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp686 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local
687 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()
696 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()
704 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()
3263 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local
3264 if (HasWeight) { in EliminateDeadSwitchCases()
3266 HasWeight = (Weights.size() == 1 + SI->getNumCases()); in EliminateDeadSwitchCases()
3274 if (HasWeight) { in EliminateDeadSwitchCases()
3283 if (HasWeight && Weights.size() >= 2) { in EliminateDeadSwitchCases()