Lines Matching defs:SRem
2620 BinaryOperator *SRem,
2633 if (!SRem->hasOneUse())
2637 if (!match(SRem->getOperand(1), m_Power2(DivisorC)))
2649 Type *Ty = SRem->getType();
2652 Value *And = Builder.CreateAnd(SRem->getOperand(0), MaskC);
3474 case Instruction::SRem:
3823 case Instruction::SRem:
5228 BinaryOperator *SRem = nullptr;
5230 if (BO0 && BO0->getOpcode() == Instruction::SRem && Op1 == BO0->getOperand(1))
5231 SRem = BO0;
5233 else if (BO1 && BO1->getOpcode() == Instruction::SRem &&
5235 SRem = BO1;
5236 if (SRem) {
5239 switch (SRem == BO0 ? ICmpInst::getSwappedPredicate(Pred) : Pred) {
5248 return new ICmpInst(ICmpInst::ICMP_SGT, SRem->getOperand(1),
5249 Constant::getAllOnesValue(SRem->getType()));
5252 return new ICmpInst(ICmpInst::ICMP_SLT, SRem->getOperand(1),
5253 Constant::getNullValue(SRem->getType()));