Searched refs:HasWeight (Results 1 – 1 of 1) sorted by relevance
804 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local805 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()814 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()822 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()4040 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local4041 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()