Lines Matching refs:Div
2410 BinaryOperator *Div, in foldICmpDivConstant() argument
2419 if (!match(Div->getOperand(1), m_APInt(C2))) in foldICmpDivConstant()
2430 bool DivIsSigned = Div->getOpcode() == Instruction::SDiv; in foldICmpDivConstant()
2457 APInt RangeSize = Div->isExact() ? APInt(C2->getBitWidth(), 1) : *C2; in foldICmpDivConstant()
2498 if (Div->isExact()) in foldICmpDivConstant()
2525 Value *X = Div->getOperand(0); in foldICmpDivConstant()
2534 ConstantInt::get(Div->getType(), LoBound)); in foldICmpDivConstant()
2538 ConstantInt::get(Div->getType(), HiBound)); in foldICmpDivConstant()
2547 ConstantInt::get(Div->getType(), LoBound)); in foldICmpDivConstant()
2551 ConstantInt::get(Div->getType(), HiBound)); in foldICmpDivConstant()
2561 return new ICmpInst(Pred, X, ConstantInt::get(Div->getType(), LoBound)); in foldICmpDivConstant()
2570 ConstantInt::get(Div->getType(), HiBound)); in foldICmpDivConstant()
2572 ConstantInt::get(Div->getType(), HiBound)); in foldICmpDivConstant()