Lines Matching refs:getConstant

257   NewRHS = DAG.getConstant(0, dl, RetVT);
361 DAG.getConstant(Demanded &
506 return TLO.CombineTo(Op, TLO.DAG.getConstant(0, dl, Op.getValueType()));
594 SDValue ANDC = TLO.DAG.getConstant(~KnownOne & NewMask, dl, VT);
610 TLO.DAG.getConstant(Expanded, dl, VT));
683 TLO.DAG.getConstant(Diff, dl, Op.getOperand(1).getValueType());
707 TLO.DAG.getConstant(ShAmt, dl, ShTy));
729 TLO.DAG.getConstant(ShAmt - InnerShAmt, dl,
779 TLO.DAG.getConstant(Diff, dl, Op.getOperand(1).getValueType());
852 TLO.DAG.getConstant(BitWidth - 1 - Log2, dl,
883 SDValue ShiftAmt = TLO.DAG.getConstant(BitWidth - ShAmt, dl,
1066 Shift = TLO.DAG.getConstant(ShVal, dl,
1127 SDValue ShAmt = TLO.DAG.getConstant(ShVal, dl, Op.getValueType());
1171 TLO.DAG.getConstant(KnownOne, dl, Op.getValueType()));
1308 SDValue Zero = DAG.getConstant(0, DL, OpVT);
1352 case ISD::SETFALSE2: return DAG.getConstant(0, dl, VT);
1357 return DAG.getConstant(
1393 SDValue Zero = DAG.getConstant(0, dl, N0.getValueType());
1414 DAG.getConstant(1, dl, CTVT));
1417 return DAG.getSetCC(dl, VT, And, DAG.getConstant(0, dl, CTVT), CC);
1471 SDValue C = DAG.getConstant(C1.trunc(MinBits), dl, MinVT);
1554 DAG.getConstant(bestOffset, dl, PtrType));
1561 DAG.getConstant(bestMask.trunc(bestWidth),
1563 DAG.getConstant(0LL, dl, newVT), Cond);
1579 case ISD::SETEQ: return DAG.getConstant(0, dl, VT);
1582 case ISD::SETNE: return DAG.getConstant(1, dl, VT);
1586 return DAG.getConstant(C1.isNegative(), dl, VT);
1590 return DAG.getConstant(C1.isNonNegative(), dl, VT);
1610 SDValue NewConst = DAG.getConstant(C1.trunc(InSize), dl, newVT);
1631 return DAG.getConstant(Cond == ISD::SETNE, dl, VT);
1640 DAG.getConstant(Imm, dl, Op0Ty));
1646 DAG.getConstant(C1 & APInt::getLowBitsSet(
1719 DAG.getConstant(1, dl, VT));
1723 DAG.getConstant(1, dl, VT));
1726 DAG.getConstant(0, dl, Op0.getValueType()),
1732 DAG.getConstant(0, dl, Op0.getValueType()),
1749 if (C1 == MinVal) return DAG.getConstant(1, dl, VT); // X >= MIN --> true
1758 DAG.getConstant(C, dl, N1.getValueType()),
1764 if (C1 == MaxVal) return DAG.getConstant(1, dl, VT); // X <= MAX --> true
1773 DAG.getConstant(C, dl, N1.getValueType()),
1779 return DAG.getConstant(0, dl, VT); // X < MIN --> false
1781 return DAG.getConstant(1, dl, VT); // X >= MIN --> true
1783 return DAG.getConstant(0, dl, VT); // X > MAX --> false
1785 return DAG.getConstant(1, dl, VT); // X <= MAX --> true
1797 DAG.getConstant(MinVal, dl, N0.getValueType()),
1802 DAG.getConstant(MaxVal, dl, N0.getValueType()),
1812 DAG.getConstant(0, dl, N1.getValueType()),
1819 DAG.getConstant(APInt::getAllOnesValue(OperandBitSize), dl,
1839 DAG.getConstant(AndRHS->getAPIntValue().logBase2(), dl,
1848 DAG.getConstant(C1.logBase2(), dl,
1870 DAG.getConstant(ShiftBits, dl,
1872 SDValue CmpRHS = DAG.getConstant(C1.lshr(ShiftBits), dl, CmpTy);
1902 DAG.getConstant(ShiftBits, dl, ShiftTy));
1903 SDValue CmpRHS = DAG.getConstant(NewC, dl, CmpTy);
1922 return DAG.getConstant(0, dl, VT);
1924 return DAG.getConstant(1, dl, VT);
1991 return DAG.getConstant(EqVal, dl, VT);
1995 return DAG.getConstant(EqVal, dl, VT);
1997 return DAG.getConstant(EqVal, dl, VT);
2036 DAG.getConstant(RHSC->getAPIntValue()-
2048 DAG.getConstant(LHSR->getAPIntValue() ^
2059 DAG.getConstant(SUBC->getAPIntValue() -
2078 DAG.getConstant(0, dl, N0.getValueType()), Cond);
2082 DAG.getConstant(0, dl, N0.getValueType()),
2090 DAG.getConstant(1, dl,
2105 DAG.getConstant(0, dl, N1.getValueType()), Cond);
2109 DAG.getConstant(0, dl, N1.getValueType()), Cond);
2116 DAG.getConstant(1, dl, getShiftAmountTy(N0.getValueType(), DL)));
2797 DAG.getConstant(ShAmt, dl, TLI.getShiftAmountTy(Op1.getValueType(),
2811 SDValue Op2 = DAG.getConstant(xn, dl, Op1.getValueType());
2856 DAG.getConstant(magics.m, dl, VT));
2861 DAG.getConstant(magics.m, dl, VT)).getNode(), 1);
2879 DAG.getConstant(magics.s, dl, getShiftAmountTy(Q.getValueType(), DL)));
2885 DAG.getConstant(VT.getScalarSizeInBits() - 1, dl,
2921 DAG.getConstant(Shift, dl, getShiftAmountTy(Q.getValueType(), DL)));
2933 Q = DAG.getNode(ISD::MULHU, dl, VT, Q, DAG.getConstant(magics.m, dl, VT));
2937 DAG.getConstant(magics.m, dl, VT)).getNode(), 1);
2948 DAG.getConstant(magics.s, dl, getShiftAmountTy(Q.getValueType(), DL)));
2954 DAG.getConstant(1, dl, getShiftAmountTy(NPQ.getValueType(), DL)));
2960 DAG.getConstant(magics.s - 1, dl,
3049 SDValue Shift = DAG.getConstant(ShiftAmt, dl, getShiftAmountTy(VT, DL));
3099 SDValue ExponentMask = DAG.getConstant(0x7F800000, dl, IntVT);
3100 SDValue ExponentLoBit = DAG.getConstant(23, dl, IntVT);
3101 SDValue Bias = DAG.getConstant(127, dl, IntVT);
3102 SDValue SignMask = DAG.getConstant(APInt::getSignBit(VT.getSizeInBits()), dl,
3104 SDValue SignLowBit = DAG.getConstant(VT.getSizeInBits() - 1, dl, IntVT);
3105 SDValue MantissaMask = DAG.getConstant(0x007FFFFF, dl, IntVT);
3122 DAG.getConstant(0x00800000, dl, IntVT));
3142 Result = DAG.getSelectCC(dl, Exponent, DAG.getConstant(0, dl, IntVT),
3143 DAG.getConstant(0, dl, NVT), Ret, ISD::SETLT);
3177 DAG.getConstant(Stride, SL, PtrVT));
3225 DAG.getConstant(Idx, SL, IdxVT));
3228 DAG.getConstant(Idx * Stride, SL, PtrVT));
3290 SDValue PtrIncrement = DAG.getConstant(RegBytes, dl, PtrVT);
3291 SDValue StackPtrIncrement = DAG.getConstant(RegBytes, dl, StackPtrVT);
3367 DAG.getConstant(IncrementSize, dl, Ptr.getValueType()));
3379 DAG.getConstant(IncrementSize, dl, Ptr.getValueType()));
3389 DAG.getConstant(NumBits, dl, getShiftAmountTy(Hi.getValueType(),
3451 SDValue PtrIncrement = DAG.getConstant(RegBytes, dl, PtrVT);
3452 SDValue StackPtrIncrement = DAG.getConstant(RegBytes, dl, StackPtrVT);
3507 DAG.getConstant(NumBits, dl, getShiftAmountTy(Val.getValueType(),
3521 DAG.getConstant(IncrementSize, dl, PtrVT));