Lines Matching refs:getConstant

302     return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), dl,  in ExpandConstantFP()
449 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore()
459 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt(). in OptimizeFloatStore()
470 SDValue Lo = DAG.getConstant(IntVal.trunc(32), dl, MVT::i32); in OptimizeFloatStore()
471 SDValue Hi = DAG.getConstant(IntVal.lshr(32).trunc(32), dl, MVT::i32); in OptimizeFloatStore()
589 DAG.getConstant(RoundWidth, dl, in LegalizeStoreOps()
600 DAG.getConstant(ExtraWidth, dl, in LegalizeStoreOps()
608 DAG.getConstant(IncrementSize, dl, in LegalizeStoreOps()
812 DAG.getConstant(RoundWidth, dl, in LegalizeLoadOps()
840 DAG.getConstant(ExtraWidth, dl, in LegalizeLoadOps()
1566 SDValue SignMask = DAG.getConstant(SignAsInt.SignMask, DL, IntVT); in ExpandFCOPYSIGN()
1577 DAG.getConstant(0, DL, IntVT), ISD::SETNE); in ExpandFCOPYSIGN()
1585 SDValue ClearSignMask = DAG.getConstant(~MagAsInt.SignMask, DL, MagVT); in ExpandFCOPYSIGN()
1598 SDValue ShiftCnst = DAG.getConstant(ShiftAmount, DL, ShiftVT); in ExpandFCOPYSIGN()
1601 SDValue ShiftCnst = DAG.getConstant(-ShiftAmount, DL, ShiftVT); in ExpandFCOPYSIGN()
1622 SDValue SignMask = DAG.getConstant(SignAsInt.SignMask, DL, IntVT); in ExpandFNEG()
1645 SDValue ClearSignMask = DAG.getConstant(~ValueAsInt.SignMask, DL, IntVT); in ExpandFABS()
1680 DAG.getConstant(-Alignment.value(), dl, VT)); in ExpandDYNAMIC_STACKALLOC()
2309 DAG.getConstant(0x80000000u, dl, MVT::i32)); in ExpandLegalINT_TO_FP()
2312 SDValue Hi = DAG.getConstant(0x43300000u, dl, MVT::i32); in ExpandLegalINT_TO_FP()
2384 dl, SetCCVT, Op0, DAG.getConstant(0, dl, SrcVT), ISD::SETLT); in ExpandLegalINT_TO_FP()
2387 SDValue ShiftConst = DAG.getConstant(1, dl, ShiftVT); in ExpandLegalINT_TO_FP()
2389 SDValue AndConst = DAG.getConstant(1, dl, SrcVT); in ExpandLegalINT_TO_FP()
2440 DAG.getConstant(0, dl, SrcVT), ISD::SETLT); in ExpandLegalINT_TO_FP()
2645 DAG.getConstant(1ULL << (--i), dl, ShVT)); in ExpandPARITY()
2650 return DAG.getNode(ISD::AND, dl, VT, Result, DAG.getConstant(1, dl, VT)); in ExpandPARITY()
2692 Results.push_back(DAG.getConstant(0, dl, Node->getValueType(0))); in ExpandNode()
2704 DAG.getConstant(0, dl, TLI.getPointerTy(DAG.getDataLayout()))); in ExpandNode()
2710 Results.push_back(DAG.getConstant(1, dl, Node->getValueType(0))); in ExpandNode()
2726 DAG.getConstant(0, dl, Node->getValueType(0))); in ExpandNode()
2732 Results.push_back(DAG.getConstant(0, dl, MVT::i32)); in ExpandNode()
2737 SDValue Zero = DAG.getConstant(0, dl, Node->getValueType(0)); in ExpandNode()
2813 Results.push_back(DAG.getConstant(0, dl, VT)); in ExpandNode()
2886 SDValue One = DAG.getConstant(1, dl, VT); in ExpandNode()
2888 SDValue Zero = DAG.getConstant(0, dl, VT); in ExpandNode()
2899 SDValue ShiftCst = DAG.getConstant(BitsDiff, dl, ShiftAmountTy); in ExpandNode()
3068 DAG.getConstant(OpTy.getSizeInBits() / 2, dl, in ExpandNode()
3104 Results.push_back(DAG.getConstant(0, dl, Node->getValueType(0))); in ExpandNode()
3233 DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), dl, in ExpandNode()
3235 Tmp1 = DAG.getNode(ISD::ADD, dl, VT, Tmp1, DAG.getConstant(1, dl, VT)); in ExpandNode()
3292 SDValue Shift = DAG.getConstant( in ExpandNode()
3341 DAG.getConstant(HalfType.getSizeInBits(), dl, in ExpandNode()
3414 SDValue One = DAG.getConstant(1, dl, VT); in ExpandNode()
3423 SDValue Zero = DAG.getConstant(0, dl, VT); in ExpandNode()
3468 DAG.getConstant(PairTy.getSizeInBits() / 2, dl, in ExpandNode()
3483 DAG.getConstant(0, dl, Tmp1.getValueType()), in ExpandNode()
3507 DAG.getConstant(llvm::Log2_32(EntrySize), dl, Index.getValueType())); in ExpandNode()
3510 DAG.getConstant(EntrySize, dl, Index.getValueType())); in ExpandNode()
3550 DAG.getConstant(1, dl, Tmp2.getValueType())); in ExpandNode()
3553 DAG.getConstant(0, dl, Tmp3.getValueType()), in ExpandNode()
3609 DAG.getConstant(TrueValue, dl, VT), in ExpandNode()
3610 DAG.getConstant(0, dl, VT), in ExpandNode()
3682 Tmp2 = DAG.getConstant(0, dl, Tmp1.getValueType()); in ExpandNode()
3714 Tmp3 = DAG.getConstant(0, dl, Tmp2.getValueType()); in ExpandNode()
4402 DAG.getConstant(TopBit, dl, NVT)); in PromoteNode()
4411 DAG.getConstant(NVT.getSizeInBits() - in PromoteNode()
4423 DAG.getConstant(DiffBits, dl, in PromoteNode()
4527 DAG.getConstant(OriginalSize, dl, TLI.getScalarShiftAmountTy(DL, NVT))); in PromoteNode()
4807 SDValue Factor = DAG.getConstant(NewEltsPerOldElt, SL, IdxVT); in PromoteNode()
4814 SDValue IdxOffset = DAG.getConstant(I, SL, IdxVT); in PromoteNode()
4855 SDValue Factor = DAG.getConstant(NewEltsPerOldElt, SDLoc(), IdxVT); in PromoteNode()
4863 SDValue IdxOffset = DAG.getConstant(I, SL, IdxVT); in PromoteNode()