Home
last modified time | relevance | path

Searched refs:DivIsSigned (Results 1 – 1 of 1) sorted by relevance

/netbsd-src/external/apache2/llvm/dist/llvm/lib/Transforms/InstCombine/
H A DInstCombineCompares.cpp2394 bool DivIsSigned = Div->getOpcode() == Instruction::SDiv; in foldICmpDivConstant() local
2395 if (!Cmp.isEquality() && DivIsSigned != Cmp.isSigned()) in foldICmpDivConstant()
2403 (DivIsSigned && C2->isAllOnesValue())) in foldICmpDivConstant()
2415 bool ProdOV = (DivIsSigned ? Prod.sdiv(*C2) : Prod.udiv(*C2)) != C; in foldICmpDivConstant()
2433 if (!DivIsSigned) { // udiv in foldICmpDivConstant()
2496 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant()
2500 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in foldICmpDivConstant()
2504 Cmp, insertRangeTest(X, LoBound, HiBound, DivIsSigned, true)); in foldICmpDivConstant()
2509 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SLT : in foldICmpDivConstant()
2513 return new ICmpInst(DivIsSigned ? ICmpInst::ICMP_SGE : in foldICmpDivConstant()
[all …]