Lines Matching refs:getConstant
252 return DAG.getConstant(LLVMC->getValueAPF().bitcastToAPInt(), in ExpandConstantFP()
334 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy(AS)); in ExpandUnalignedStore()
388 SDValue ShiftAmount = DAG.getConstant(NumBits, in ExpandUnalignedStore()
400 DAG.getConstant(IncrementSize, TLI.getPointerTy(AS))); in ExpandUnalignedStore()
451 SDValue Increment = DAG.getConstant(RegBytes, TLI.getPointerTy()); in ExpandUnalignedLoad()
531 DAG.getConstant(IncrementSize, Ptr.getValueType())); in ExpandUnalignedLoad()
543 DAG.getConstant(IncrementSize, Ptr.getValueType())); in ExpandUnalignedLoad()
552 SDValue ShiftAmount = DAG.getConstant(NumBits, in ExpandUnalignedLoad()
599 Tmp3 = DAG.getNode(ISD::MUL, dl, IdxVT, Tmp3,DAG.getConstant(EltSize, IdxVT)); in PerformInsertVectorEltInMemory()
656 SDValue Con = DAG.getConstant(CFP->getValueAPF(). in OptimizeFloatStore()
666 SDValue Con = DAG.getConstant(CFP->getValueAPF().bitcastToAPInt(). in OptimizeFloatStore()
677 SDValue Lo = DAG.getConstant(IntVal.trunc(32), MVT::i32); in OptimizeFloatStore()
678 SDValue Hi = DAG.getConstant(IntVal.lshr(32).trunc(32), MVT::i32); in OptimizeFloatStore()
684 DAG.getConstant(4, Ptr.getValueType())); in OptimizeFloatStore()
795 DAG.getConstant(IncrementSize, Ptr.getValueType())); in LegalizeStoreOps()
797 DAG.getConstant(RoundWidth, in LegalizeStoreOps()
808 DAG.getConstant(ExtraWidth, in LegalizeStoreOps()
817 DAG.getConstant(IncrementSize, Ptr.getValueType())); in LegalizeStoreOps()
1007 DAG.getConstant(IncrementSize, Ptr.getValueType())); in LegalizeLoadOps()
1020 DAG.getConstant(RoundWidth, in LegalizeLoadOps()
1036 DAG.getConstant(IncrementSize, Ptr.getValueType())); in LegalizeLoadOps()
1050 DAG.getConstant(ExtraWidth, in LegalizeLoadOps()
1440 DAG.getConstant(EltSize, Idx.getValueType())); in ExpandExtractFromVectorThroughStack()
1493 DAG.getConstant(EltSize, Idx.getValueType())); in ExpandInsertToVectorThroughStack()
1530 SDValue Idx = DAG.getConstant(Offset, FIPtr.getValueType()); in ExpandVectorBuildThroughStack()
1592 DAG.getConstant(ByteOffset, LoadPtr.getValueType())); in ExpandFCOPYSIGN()
1602 DAG.getConstant(BitShift, in ExpandFCOPYSIGN()
1608 SignBit, DAG.getConstant(0, SignBit.getValueType()), in ExpandFCOPYSIGN()
1645 DAG.getConstant(-(uint64_t)Align, VT)); in ExpandDYNAMIC_STACKALLOC()
2421 SDValue WordOff = DAG.getConstant(sizeof(int), StackSlot.getValueType()); in ExpandLegalINT_TO_FP()
2433 SDValue SignBit = DAG.getConstant(0x80000000u, MVT::i32); in ExpandLegalINT_TO_FP()
2443 SDValue InitialHi = DAG.getConstant(0x43300000u, MVT::i32); in ExpandLegalINT_TO_FP()
2482 DAG.getConstant(UINT64_C(0x4330000000000000), MVT::i64); in ExpandLegalINT_TO_FP()
2486 DAG.getConstant(UINT64_C(0x4530000000000000), MVT::i64); in ExpandLegalINT_TO_FP()
2490 DAG.getConstant(32, MVT::i64)); in ExpandLegalINT_TO_FP()
2509 DAG.getConstant(1, TLI.getShiftAmountTy(Op0.getValueType())); in ExpandLegalINT_TO_FP()
2511 SDValue AndConst = DAG.getConstant(1, MVT::i64); in ExpandLegalINT_TO_FP()
2523 Op0, DAG.getConstant(0, MVT::i64), ISD::SETLT); in ExpandLegalINT_TO_FP()
2530 DAG.getConstant(UINT64_C(0xfffffffffffff800), MVT::i64)); in ExpandLegalINT_TO_FP()
2532 DAG.getConstant(UINT64_C(0x800), MVT::i64)); in ExpandLegalINT_TO_FP()
2534 DAG.getConstant(UINT64_C(0x7ff), MVT::i64)); in ExpandLegalINT_TO_FP()
2536 And2, DAG.getConstant(UINT64_C(0), MVT::i64), ISD::SETNE); in ExpandLegalINT_TO_FP()
2539 Op0, DAG.getConstant(UINT64_C(0x0020000000000000), MVT::i64), in ExpandLegalINT_TO_FP()
2545 DAG.getConstant(32, SHVT)); in ExpandLegalINT_TO_FP()
2561 Op0, DAG.getConstant(0, Op0.getValueType()), in ExpandLegalINT_TO_FP()
2698 Tmp2 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(8, SHVT)); in ExpandBSWAP()
2699 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(8, SHVT)); in ExpandBSWAP()
2702 Tmp4 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(24, SHVT)); in ExpandBSWAP()
2703 Tmp3 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(8, SHVT)); in ExpandBSWAP()
2704 Tmp2 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(8, SHVT)); in ExpandBSWAP()
2705 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(24, SHVT)); in ExpandBSWAP()
2706 Tmp3 = DAG.getNode(ISD::AND, dl, VT, Tmp3, DAG.getConstant(0xFF0000, VT)); in ExpandBSWAP()
2707 Tmp2 = DAG.getNode(ISD::AND, dl, VT, Tmp2, DAG.getConstant(0xFF00, VT)); in ExpandBSWAP()
2712 Tmp8 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(56, SHVT)); in ExpandBSWAP()
2713 Tmp7 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(40, SHVT)); in ExpandBSWAP()
2714 Tmp6 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(24, SHVT)); in ExpandBSWAP()
2715 Tmp5 = DAG.getNode(ISD::SHL, dl, VT, Op, DAG.getConstant(8, SHVT)); in ExpandBSWAP()
2716 Tmp4 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(8, SHVT)); in ExpandBSWAP()
2717 Tmp3 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(24, SHVT)); in ExpandBSWAP()
2718 Tmp2 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(40, SHVT)); in ExpandBSWAP()
2719 Tmp1 = DAG.getNode(ISD::SRL, dl, VT, Op, DAG.getConstant(56, SHVT)); in ExpandBSWAP()
2720 Tmp7 = DAG.getNode(ISD::AND, dl, VT, Tmp7, DAG.getConstant(255ULL<<48, VT)); in ExpandBSWAP()
2721 Tmp6 = DAG.getNode(ISD::AND, dl, VT, Tmp6, DAG.getConstant(255ULL<<40, VT)); in ExpandBSWAP()
2722 Tmp5 = DAG.getNode(ISD::AND, dl, VT, Tmp5, DAG.getConstant(255ULL<<32, VT)); in ExpandBSWAP()
2723 Tmp4 = DAG.getNode(ISD::AND, dl, VT, Tmp4, DAG.getConstant(255ULL<<24, VT)); in ExpandBSWAP()
2724 Tmp3 = DAG.getNode(ISD::AND, dl, VT, Tmp3, DAG.getConstant(255ULL<<16, VT)); in ExpandBSWAP()
2725 Tmp2 = DAG.getNode(ISD::AND, dl, VT, Tmp2, DAG.getConstant(255ULL<<8 , VT)); in ExpandBSWAP()
2752 SDValue Mask55 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x55)), VT); in ExpandBitCount()
2753 SDValue Mask33 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x33)), VT); in ExpandBitCount()
2754 SDValue Mask0F = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x0F)), VT); in ExpandBitCount()
2755 SDValue Mask01 = DAG.getConstant(APInt::getSplat(Len, APInt(8, 0x01)), VT); in ExpandBitCount()
2761 DAG.getConstant(1, ShVT)), in ExpandBitCount()
2768 DAG.getConstant(2, ShVT)), in ExpandBitCount()
2774 DAG.getConstant(4, ShVT))), in ExpandBitCount()
2779 DAG.getConstant(Len - 8, ShVT)); in ExpandBitCount()
2800 SDValue Tmp3 = DAG.getConstant(1ULL << i, ShVT); in ExpandBitCount()
2819 DAG.getConstant(1, VT))); in ExpandBitCount()
2824 DAG.getConstant(VT.getSizeInBits(), VT), in ExpandBitCount()
2860 Results.push_back(DAG.getConstant(0, Node->getValueType(0))); in ExpandNode()
2863 Results.push_back(DAG.getConstant(1, Node->getValueType(0))); in ExpandNode()
2877 Results.push_back(DAG.getConstant(0, MVT::i32)); in ExpandNode()
2898 SDValue Zero = DAG.getConstant(0, Node->getValueType(0)); in ExpandNode()
2974 Results.push_back(DAG.getConstant(0, VT)); in ExpandNode()
3016 SDValue ShiftCst = DAG.getConstant(BitsDiff, ShiftAmountTy); in ExpandNode()
3063 DAG.getConstant(x, NVT)); in ExpandNode()
3084 DAG.getConstant(Align - 1, in ExpandNode()
3088 DAG.getConstant(-(int64_t)Align, in ExpandNode()
3094 DAG.getConstant(TLI.getDataLayout()-> in ExpandNode()
3210 DAG.getConstant(Idx, TLI.getVectorIdxTy()))); in ExpandNode()
3214 DAG.getConstant(Idx - NumElems, in ExpandNode()
3229 DAG.getConstant(OpTy.getSizeInBits()/2, in ExpandNode()
3490 DAG.getConstant(APInt::getAllOnesValue(VT.getSizeInBits()), VT)); in ExpandNode()
3491 Tmp1 = DAG.getNode(ISD::ADD, dl, VT, Tmp1, DAG.getConstant(1, VT)); in ExpandNode()
3607 SDValue Shift = DAG.getConstant(HalfType.getSizeInBits(), in ExpandNode()
3632 SDValue Zero = DAG.getConstant(0, LHS.getValueType()); in ExpandNode()
3721 DAG.getConstant(LoSize-1, TLI.getPointerTy())); in ExpandNode()
3723 DAG.getConstant(LoSize-1, TLI.getPointerTy())); in ExpandNode()
3744 Tmp1 = DAG.getConstant(VT.getSizeInBits() - 1, in ExpandNode()
3751 DAG.getConstant(0, VT), ISD::SETNE); in ExpandNode()
3762 DAG.getConstant(PairTy.getSizeInBits()/2, in ExpandNode()
3777 DAG.getConstant(0, Tmp1.getValueType()), in ExpandNode()
3794 Index, DAG.getConstant(EntrySize, Index.getValueType())); in ExpandNode()
3828 DAG.getConstant(1, Tmp2.getValueType())); in ExpandNode()
3831 DAG.getConstant(0, Tmp3.getValueType()), in ExpandNode()
3873 DAG.getConstant(TrueValue, VT), DAG.getConstant(0, VT), in ExpandNode()
3941 Tmp2 = DAG.getConstant(0, Tmp1.getValueType()); in ExpandNode()
3972 Tmp3 = DAG.getConstant(0, Tmp2.getValueType()); in ExpandNode()
3996 Node->getOperand(0), DAG.getConstant(Idx, in ExpandNode()
4000 Node->getOperand(1), DAG.getConstant(Idx, in ExpandNode()
4055 Tmp1, DAG.getConstant(NVT.getSizeInBits(), NVT), in PromoteNode()
4058 DAG.getConstant(OVT.getSizeInBits(), NVT), Tmp1); in PromoteNode()
4063 DAG.getConstant(NVT.getSizeInBits() - in PromoteNode()
4073 DAG.getConstant(DiffBits, TLI.getShiftAmountTy(NVT))); in PromoteNode()