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

References

lib/Transforms/InstCombine/InstCombineMulDivRem.cpp
 1064   if (match(Op1, m_AllOnes()) ||
 1065       (match(Op1, m_SExt(m_Value(X))) && X->getType()->isIntOrIntVectorTy(1)))
 1069   if (match(Op1, m_SignMask()))
 1070     return new ZExtInst(Builder.CreateICmpEQ(Op0, Op1), I.getType());
 1073   if (match(Op1, m_APInt(Op1C))) {
 1076       Value *ShAmt = ConstantInt::get(Op1->getType(), Op1C->exactLogBase2());
 1092           ConstantExpr::getTrunc(cast<Constant>(Op1), Op0Src->getType());
 1119     if (MaskedValueIsZero(Op1, Mask, 0, &I)) {
 1121       auto *BO = BinaryOperator::CreateUDiv(Op0, Op1, I.getName());
 1126     if (isKnownToBeAPowerOfTwo(Op1, /*OrZero*/ true, 0, &I)) {
 1131       auto *BO = BinaryOperator::CreateUDiv(Op0, Op1, I.getName());