Searched refs:HasWeight (Results 1 – 1 of 1) sorted by relevance
709 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local710 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()719 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()727 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()3704 bool HasWeight = HasBranchWeights(SI); in EliminateDeadSwitchCases() local3705 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()