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

References

lib/Analysis/InstructionSimplify.cpp
 1010   if (Constant *C = foldOrCommuteConstant(Opcode, Op0, Op1, Q))
 1013   if (Value *V = simplifyDivRem(Op0, Op1, true))
 1020   if (match(Op0, m_c_Mul(m_Value(X), m_Specific(Op1)))) {
 1021     auto *Mul = cast<OverflowingBinaryOperator>(Op0);
 1033   if ((IsSigned && match(Op0, m_SRem(m_Value(), m_Specific(Op1)))) ||
 1034       (!IsSigned && match(Op0, m_URem(m_Value(), m_Specific(Op1)))))
 1035     return Constant::getNullValue(Op0->getType());
 1039   if (!IsSigned && match(Op0, m_UDiv(m_Value(X), m_ConstantInt(C1))) &&
 1044       return Constant::getNullValue(Op0->getType());
 1049   if (isa<SelectInst>(Op0) || isa<SelectInst>(Op1))
 1050     if (Value *V = ThreadBinOpOverSelect(Opcode, Op0, Op1, Q, MaxRecurse))
 1055   if (isa<PHINode>(Op0) || isa<PHINode>(Op1))
 1056     if (Value *V = ThreadBinOpOverPHI(Opcode, Op0, Op1, Q, MaxRecurse))
 1059   if (isDivZero(Op0, Op1, Q, MaxRecurse, IsSigned))
 1060     return Constant::getNullValue(Op0->getType());