Home
last modified time | relevance | path

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

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp709 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local
710 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()
719 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()
727 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()
3704 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local
3705 if (HasWeight) { in EliminateDeadSwitchCases()
3707 HasWeight = (Weights.size() == 1 + SI->getNumCases()); in EliminateDeadSwitchCases()
3715 if (HasWeight) { in EliminateDeadSwitchCases()
3724 if (HasWeight && Weights.size() >= 2) { in EliminateDeadSwitchCases()