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

References

lib/Analysis/InstructionSimplify.cpp
 5010     if (Op0 == Op1)
 5019     if (isa<UndefValue>(Op0) || isa<UndefValue>(Op1)) {
 5030     if (match(Op0, m_Zero()) || match(Op1, m_Zero()))
 5034     if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5040     if (match(Op0, m_AllOnes()) || match(Op1, m_AllOnes()))
 5048     if (match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5053       return Op0;
 5055     if (match(Op0, m_Zero()))
 5060     if (match(Op0, m_Zero()) || match(Op1, m_AllOnes()))
 5065     if (Op0 == Op1 || match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5065     if (Op0 == Op1 || match(Op0, m_Undef()) || match(Op1, m_Undef()))
 5069       return Op0;
 5072     if (auto *C0 = dyn_cast<Constant>(Op0))
 5080         return ConstantFP::get(Op0->getType(), 1.0);
 5083         return Op0;
 5091     if (Op0 == Op1) return Op0;
 5091     if (Op0 == Op1) return Op0;
 5094     if (match(Op0, m_Undef()))
 5097       return Op0;
 5101     if (match(Op0, m_NaN()))
 5102       return PropagateNaN ? Op0 : Op1;
 5104       return PropagateNaN ? Op1 : Op0;
 5108     if (auto *M0 = dyn_cast<IntrinsicInst>(Op0))
 5111         return Op0;
 5114           (M1->getOperand(0) == Op0 || M1->getOperand(1) == Op0))
 5114           (M1->getOperand(0) == Op0 || M1->getOperand(1) == Op0))
 5121     if ((match(Op0, m_APFloat(C)) && C->isInfinity() &&