Searched refs:HasWeight (Results 1 – 1 of 1) sorted by relevance
686 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local687 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()696 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()704 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()3263 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local3264 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()