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

References

lib/Transforms/InstCombine/InstCombineSelect.cpp
  923   if ((CmpLHS == TrueVal && AdjustedRHS == FalseVal) ||
  924       (CmpLHS == FalseVal && AdjustedRHS == TrueVal)) {
  937     if (match(TrueVal, m_SExt(m_Specific(CmpLHS))) && SextRHS == FalseVal) {
  938       CmpLHS = TrueVal;
  940     } else if (match(FalseVal, m_SExt(m_Specific(CmpLHS))) &&
  942       CmpLHS = FalseVal;
  950       if (match(TrueVal, m_ZExt(m_Specific(CmpLHS))) && ZextRHS == FalseVal) {
  951         CmpLHS = TrueVal;
  953       } else if (match(FalseVal, m_ZExt(m_Specific(CmpLHS))) &&
  955         CmpLHS = FalseVal;
  971   Cmp.setOperand(0, CmpLHS);