Searched refs:DivRHS (Results 1 – 3 of 3) sorted by relevance
346 SDValue DivRHS = N->getOperand(1); in Select() local363 return CurDAG->SelectNodeTo(N, Opcode, MVT::i32, DivLHS, DivRHS, in Select()
861 ConstantInt *DivRHS) { in FoldICmpDivCst() argument876 if (DivRHS->isZero()) in FoldICmpDivCst()878 if (DivIsSigned && DivRHS->isAllOnesValue()) in FoldICmpDivCst()880 if (DivRHS->isOne()) { in FoldICmpDivCst()890 Constant *Prod = ConstantExpr::getMul(CmpRHS, DivRHS); in FoldICmpDivCst()895 bool ProdOV = (DivIsSigned ? ConstantExpr::getSDiv(Prod, DivRHS) : in FoldICmpDivCst()896 ConstantExpr::getUDiv(Prod, DivRHS)) != CmpRHS; in FoldICmpDivCst()903 ConstantInt *RangeSize = DivI->isExact() ? getOne(Prod) : DivRHS; in FoldICmpDivCst()924 } else if (DivRHS->getValue().isStrictlyPositive()) { // Divisor is > 0. in FoldICmpDivCst()943 } else if (DivRHS->isNegative()) { // Divisor is < 0. in FoldICmpDivCst()[all …]
273 ConstantInt *DivRHS);275 ConstantInt *DivRHS);