reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/Transforms/InstCombine/InstCombineSelect.cpp
 1548     if (SPF1 == SPF2 && SelectPatternResult::isMinOrMax(SPF1))
 1548     if (SPF1 == SPF2 && SelectPatternResult::isMinOrMax(SPF1))
 1554     if ((SPF1 == SPF_SMIN && SPF2 == SPF_SMAX) ||
 1555         (SPF1 == SPF_SMAX && SPF2 == SPF_SMIN) ||
 1556         (SPF1 == SPF_UMIN && SPF2 == SPF_UMAX) ||
 1557         (SPF1 == SPF_UMAX && SPF2 == SPF_UMIN))
 1561   if (SPF1 == SPF2) {
 1567       if ((SPF1 == SPF_UMIN && CB->ule(*CC)) ||
 1568           (SPF1 == SPF_SMIN && CB->sle(*CC)) ||
 1569           (SPF1 == SPF_UMAX && CB->uge(*CC)) ||
 1570           (SPF1 == SPF_SMAX && CB->sge(*CC)))
 1575       if ((SPF1 == SPF_UMIN && CB->ugt(*CC)) ||
 1576           (SPF1 == SPF_SMIN && CB->sgt(*CC)) ||
 1577           (SPF1 == SPF_UMAX && CB->ult(*CC)) ||
 1578           (SPF1 == SPF_SMAX && CB->slt(*CC))) {
 1588   if (SPF1 == SPF2 &&
 1589       ((SPF1 == SPF_UMIN && match(C, m_c_UMax(m_Specific(A), m_Specific(B)))) ||
 1590        (SPF1 == SPF_SMIN && match(C, m_c_SMax(m_Specific(A), m_Specific(B)))) ||
 1591        (SPF1 == SPF_UMAX && match(C, m_c_UMin(m_Specific(A), m_Specific(B)))) ||
 1592        (SPF1 == SPF_SMAX && match(C, m_c_SMin(m_Specific(A), m_Specific(B))))))
 1598   if (SPF1 == SPF2 && (SPF1 == SPF_ABS || SPF1 == SPF_NABS)) {
 1598   if (SPF1 == SPF2 && (SPF1 == SPF_ABS || SPF1 == SPF_NABS)) {
 1598   if (SPF1 == SPF2 && (SPF1 == SPF_ABS || SPF1 == SPF_NABS)) {
 1604   if ((SPF1 == SPF_ABS && SPF2 == SPF_NABS) ||
 1605       (SPF1 == SPF_NABS && SPF2 == SPF_ABS)) {
 1641   if (SelectPatternResult::isMinOrMax(SPF1) &&
 1653     Value *NewInner = createMinMax(Builder, getInverseMinMaxFlavor(SPF1), NotA,