Lines Matching refs:SRem
2636 case Instruction::SRem: in foldICmpBinOpEqualityWithConstant()
3323 BinaryOperator *SRem = nullptr; in foldICmpBinOp() local
3325 if (BO0 && BO0->getOpcode() == Instruction::SRem && Op1 == BO0->getOperand(1)) in foldICmpBinOp()
3326 SRem = BO0; in foldICmpBinOp()
3328 else if (BO1 && BO1->getOpcode() == Instruction::SRem && in foldICmpBinOp()
3330 SRem = BO1; in foldICmpBinOp()
3331 if (SRem) { in foldICmpBinOp()
3334 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) { in foldICmpBinOp()
3343 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1), in foldICmpBinOp()
3344 Constant::getAllOnesValue(SRem->getType())); in foldICmpBinOp()
3347 return new ICmpInst(ICmpInst::ICMP_SLT, SRem->getOperand(1), in foldICmpBinOp()
3348 Constant::getNullValue(SRem->getType())); in foldICmpBinOp()