Lines Matching refs:getConstant

202   NewRHS = DAG.getConstant(0, RetVT);
302 DAG.getConstant(Demanded &
444 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, Op.getValueType()));
532 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, VT);
548 TLO.DAG.getConstant(Expanded, VT));
621 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
645 TLO.DAG.getConstant(ShAmt, ShTy));
667 TLO.DAG.getConstant(ShAmt - InnerShAmt,
710 TLO.DAG.getConstant(Diff, Op.getOperand(1).getValueType());
775 TLO.DAG.getConstant(BitWidth - 1 - Log2,
801 SDValue ShiftAmt = TLO.DAG.getConstant(BitWidth - ShAmt, ShiftAmtTy);
957 TLO.DAG.getConstant(ShVal, getShiftAmountTy(Op.getValueType()));
1015 SDValue ShAmt = TLO.DAG.getConstant(ShVal, Op.getValueType());
1049 return TLO.CombineTo(Op, TLO.DAG.getConstant(KnownOne, Op.getValueType()));
1130 case ISD::SETFALSE2: return DAG.getConstant(0, VT);
1134 return DAG.getConstant(
1169 SDValue Zero = DAG.getConstant(0, N0.getValueType());
1190 DAG.getConstant(1, CTVT));
1193 return DAG.getSetCC(dl, VT, And, DAG.getConstant(0, CTVT), CC);
1230 SDValue C = DAG.getConstant(C1.trunc(MinBits), MinVT);
1281 DAG.getConstant(bestOffset, PtrType));
1288 DAG.getConstant(bestMask.trunc(bestWidth),
1290 DAG.getConstant(0LL, newVT), Cond);
1306 case ISD::SETEQ: return DAG.getConstant(0, VT);
1309 case ISD::SETNE: return DAG.getConstant(1, VT);
1313 return DAG.getConstant(C1.isNegative(), VT);
1317 return DAG.getConstant(C1.isNonNegative(), VT);
1336 DAG.getConstant(C1.trunc(InSize), newVT),
1353 return DAG.getConstant(Cond == ISD::SETNE, VT);
1362 DAG.getConstant(Imm, Op0Ty));
1368 DAG.getConstant(C1 & APInt::getLowBitsSet(
1440 DAG.getConstant(1, VT));
1444 DAG.getConstant(1, VT));
1447 DAG.getConstant(0, Op0.getValueType()),
1453 DAG.getConstant(0, Op0.getValueType()),
1470 if (C1 == MinVal) return DAG.getConstant(1, VT); // X >= MIN --> true
1473 DAG.getConstant(C1-1, N1.getValueType()),
1478 if (C1 == MaxVal) return DAG.getConstant(1, VT); // X <= MAX --> true
1481 DAG.getConstant(C1+1, N1.getValueType()),
1486 return DAG.getConstant(0, VT); // X < MIN --> false
1488 return DAG.getConstant(1, VT); // X >= MIN --> true
1490 return DAG.getConstant(0, VT); // X > MAX --> false
1492 return DAG.getConstant(1, VT); // X <= MAX --> true
1504 DAG.getConstant(MinVal, N0.getValueType()),
1509 DAG.getConstant(MaxVal, N0.getValueType()),
1519 DAG.getConstant(0, N1.getValueType()),
1526 DAG.getConstant(APInt::getAllOnesValue(OperandBitSize),
1545 DAG.getConstant(AndRHS->getAPIntValue().logBase2(), ShiftTy)));
1553 DAG.getConstant(C1.logBase2(), ShiftTy)));
1572 DAG.getConstant(ShiftBits, ShiftTy));
1573 SDValue CmpRHS = DAG.getConstant(C1.lshr(ShiftBits), CmpTy);
1600 DAG.getConstant(ShiftBits, ShiftTy));
1601 SDValue CmpRHS = DAG.getConstant(NewC, CmpTy);
1620 return DAG.getConstant(0, VT);
1622 return DAG.getConstant(1, VT);
1689 return DAG.getConstant(EqVal, VT);
1693 return DAG.getConstant(EqVal, VT);
1695 return DAG.getConstant(EqVal, VT);
1734 DAG.getConstant(RHSC->getAPIntValue()-
1746 DAG.getConstant(LHSR->getAPIntValue() ^
1757 DAG.getConstant(SUBC->getAPIntValue() -
1776 DAG.getConstant(0, N0.getValueType()), Cond);
1780 DAG.getConstant(0, N0.getValueType()), Cond);
1785 DAG.getConstant(1, getShiftAmountTy(N1.getValueType())));
1799 DAG.getConstant(0, N1.getValueType()), Cond);
1803 DAG.getConstant(0, N1.getValueType()), Cond);
1808 DAG.getConstant(1, getShiftAmountTy(N0.getValueType())));
1826 SDValue Zero = DAG.getConstant(0, N1.getValueType());
1837 SDValue Zero = DAG.getConstant(0, N0.getValueType());
2522 SDValue Amt = DAG.getConstant(ShAmt, getShiftAmountTy(Op1.getValueType()));
2532 Op2 = DAG.getConstant(xn, Op1.getValueType());
2560 DAG.getConstant(magics.m, VT));
2565 DAG.getConstant(magics.m, VT)).getNode(), 1);
2583 DAG.getConstant(magics.s, getShiftAmountTy(Q.getValueType())));
2589 DAG.getNode(ISD::SRL, dl, VT, Q, DAG.getConstant(VT.getSizeInBits()-1,
2623 DAG.getConstant(Shift, getShiftAmountTy(Q.getValueType())));
2636 Q = DAG.getNode(ISD::MULHU, dl, VT, Q, DAG.getConstant(magics.m, VT));
2640 DAG.getConstant(magics.m, VT)).getNode(), 1);
2650 DAG.getConstant(magics.s, getShiftAmountTy(Q.getValueType())));
2656 DAG.getConstant(1, getShiftAmountTy(NPQ.getValueType())));
2663 DAG.getConstant(magics.s-1, getShiftAmountTy(NPQ.getValueType())));