Lines Matching refs:DivIsSigned
873 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv; in FoldICmpDivCst() local
874 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()
878 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst()
895 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst()
915 if (!DivIsSigned) { // udiv in FoldICmpDivCst()
978 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
981 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
984 DivIsSigned, true)); in FoldICmpDivCst()
989 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
992 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
995 DivIsSigned, false)); in FoldICmpDivCst()