Searched refs:HasWeight (Results 1 – 3 of 3) sorted by relevance
585 bool HasWeight = false; in getBlockWeight() local590 HasWeight = true; in getBlockWeight()593 return HasWeight ? ErrorOr<uint64_t>(Max) : std::error_code(); in getBlockWeight()
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()
867 bool HasWeight = MD && (MD->getNumOperands() == 2 + SI->getNumCases()); in SimplifyEqualityComparisonWithOnlyPredecessor() local868 if (HasWeight) in SimplifyEqualityComparisonWithOnlyPredecessor()877 if (HasWeight) { in SimplifyEqualityComparisonWithOnlyPredecessor()885 if (HasWeight && Weights.size() >= 2) in SimplifyEqualityComparisonWithOnlyPredecessor()4432 bool HasWeight = HasBranchWeights(SI); in eliminateDeadSwitchCases() local4433 if (HasWeight) { in eliminateDeadSwitchCases()4435 HasWeight = (Weights.size() == 1 + SI->getNumCases()); in eliminateDeadSwitchCases()4443 if (HasWeight) { in eliminateDeadSwitchCases()4452 if (HasWeight && Weights.size() >= 2) { in eliminateDeadSwitchCases()