Searched refs:DivIsSigned (Results 1 – 2 of 2) sorted by relevance
758 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv; in FoldICmpDivCst() local759 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()763 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst()780 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst()800 if (!DivIsSigned) { // udiv in FoldICmpDivCst()864 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()867 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()870 DivIsSigned, true)); in FoldICmpDivCst()875 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()878 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()[all …]
1199 bool DivIsSigned = DivI->getOpcode() == Instruction::SDiv; in FoldICmpDivCst() local1200 if (!ICI.isEquality() && DivIsSigned != ICI.isSigned()) in FoldICmpDivCst()1204 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst()1221 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst()1241 if (!DivIsSigned) { // udiv in FoldICmpDivCst()1304 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()1307 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()1310 DivIsSigned, true)); in FoldICmpDivCst()1315 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in FoldICmpDivCst()1318 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in FoldICmpDivCst()[all …]