Lines Matching refs:DivIsSigned
803 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv; in FoldICmpDivCst() local
804 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()
808 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst()
825 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst()
845 if (!DivIsSigned) { // udiv in FoldICmpDivCst()
909 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
912 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
915 DivIsSigned, true)); in FoldICmpDivCst()
920 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()
923 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()
926 DivIsSigned, false)); in FoldICmpDivCst()