Lines Matching refs:getConstant

683     return DAG.getStore(Chain, DL, DAG.getConstant(*CI, VT), InitPtr,  in LowerConstantInitializer()
703 SDValue Offset = DAG.getConstant(SL->getElementOffset(I), PtrVT); in LowerConstantInitializer()
727 SDValue Offset = DAG.getConstant(i * EltSize, PtrVT); in LowerConstantInitializer()
789 return DAG.getConstant(Offset, getPointerTy(AMDGPUAS::LOCAL_ADDRESS)); in LowerGlobalAddress()
873 return DAG.getConstant(Offset * 4 * TFL->getStackWidth(MF), in LowerFrameIndex()
1045 SDValue Neg = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerIntrinsicIABS()
1206 DAG.getConstant(i * MemEltSize, PtrVT)); in ScalarizeVectorLoad()
1257 DAG.getConstant(LoMemVT.getStoreSize(), PtrVT)); in SplitVectorLoad()
1297 SDValue Mask = DAG.getConstant((1 << MemEltBits) - 1, MVT::i32); in MergeVectorStore()
1304 DAG.getConstant(i, MVT::i32)); in MergeVectorStore()
1308 SDValue Shift = DAG.getConstant(MemEltBits * i, MVT::i32); in MergeVectorStore()
1350 DAG.getConstant(i, MVT::i32)); in ScalarizeVectorStore()
1352 SDValue Offset = DAG.getConstant(i * MemEltVT.getStoreSize(), PtrVT); in ScalarizeVectorStore()
1391 DAG.getConstant(LoMemVT.getStoreSize(), PtrVT)); in SplitVectorStore()
1449 DAG.getConstant(2, MVT::i32)); in LowerLOAD()
1456 DAG.getConstant(0x3, MVT::i32)); in LowerLOAD()
1458 DAG.getConstant(3, MVT::i32)); in LowerLOAD()
1508 DAG.getConstant(2, MVT::i32)); in LowerSTORE()
1513 DAG.getConstant(0x3, MVT::i32)); in LowerSTORE()
1516 DAG.getConstant(3, MVT::i32)); in LowerSTORE()
1526 SDValue DstMask = DAG.getNode(ISD::SHL, DL, MVT::i32, DAG.getConstant(Mask, MVT::i32), in LowerSTORE()
1529 DAG.getConstant(0xffffffff, MVT::i32)); in LowerSTORE()
1561 SDValue jq = DAG.getConstant(1, IntVT); in LowerDIVREM24()
1568 jq = DAG.getNode(ISD::SRA, DL, VT, jq, DAG.getConstant(BitSize - 2, VT)); in LowerDIVREM24()
1571 jq = DAG.getNode(ISD::OR, DL, VT, jq, DAG.getConstant(1, VT)); in LowerDIVREM24()
1620 jq = DAG.getNode(ISD::SELECT, DL, VT, cv, jq, DAG.getConstant(0, VT)); in LowerDIVREM24()
1648 SDValue one = DAG.getConstant(1, HalfVT); in LowerUDIVREM64()
1649 SDValue zero = DAG.getConstant(0, HalfVT); in LowerUDIVREM64()
1688 SDValue POS = DAG.getConstant(bitPos, HalfVT); in LowerUDIVREM64()
1695 REM = DAG.getNode(ISD::SHL, DL, VT, REM, DAG.getConstant(1, VT)); in LowerUDIVREM64()
1699 SDValue BIT = DAG.getConstant(1 << bitPos, HalfVT); in LowerUDIVREM64()
1749 SDValue NEG_RCP_LO = DAG.getNode(ISD::SUB, DL, VT, DAG.getConstant(0, VT), in LowerUDIVREM()
1753 SDValue ABS_RCP_LO = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT), in LowerUDIVREM()
1767 SDValue Tmp0 = DAG.getSelectCC(DL, RCP_HI, DAG.getConstant(0, VT), in LowerUDIVREM()
1781 DAG.getConstant(-1, VT), in LowerUDIVREM()
1782 DAG.getConstant(0, VT), in LowerUDIVREM()
1787 DAG.getConstant(-1, VT), in LowerUDIVREM()
1788 DAG.getConstant(0, VT), in LowerUDIVREM()
1798 DAG.getConstant(1, VT)); in LowerUDIVREM()
1802 DAG.getConstant(1, VT)); in LowerUDIVREM()
1805 SDValue Div = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM()
1809 Div = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM()
1821 SDValue Rem = DAG.getSelectCC(DL, Tmp1, DAG.getConstant(0, VT), in LowerUDIVREM()
1825 Rem = DAG.getSelectCC(DL, Remainder_GE_Zero, DAG.getConstant(0, VT), in LowerUDIVREM()
1842 SDValue Zero = DAG.getConstant(0, VT); in LowerSDIVREM()
1843 SDValue NegOne = DAG.getConstant(-1, VT); in LowerSDIVREM()
1937 DAG.getConstant(FractBits - 32, MVT::i32), in extractF64Exponent()
1938 DAG.getConstant(ExpBits, MVT::i32)); in extractF64Exponent()
1940 DAG.getConstant(1023, MVT::i32)); in extractF64Exponent()
1951 const SDValue Zero = DAG.getConstant(0, MVT::i32); in LowerFTRUNC()
1952 const SDValue One = DAG.getConstant(1, MVT::i32); in LowerFTRUNC()
1965 const SDValue SignBitMask = DAG.getConstant(UINT32_C(1) << 31, MVT::i32); in LowerFTRUNC()
1975 = DAG.getConstant((UINT64_C(1) << FractBits) - 1, MVT::i64); in LowerFTRUNC()
1983 const SDValue FiftyOne = DAG.getConstant(FractBits - 1, MVT::i32); in LowerFTRUNC()
2057 const SDValue Zero = DAG.getConstant(0, MVT::i32); in LowerFROUND64()
2058 const SDValue One = DAG.getConstant(1, MVT::i32); in LowerFROUND64()
2059 const SDValue NegOne = DAG.getConstant(-1, MVT::i32); in LowerFROUND64()
2060 const SDValue FiftyOne = DAG.getConstant(51, MVT::i32); in LowerFROUND64()
2070 const SDValue Mask = DAG.getConstant(INT64_C(0x000fffffffffffff), MVT::i64); in LowerFROUND64()
2074 DAG.getConstant(INT64_C(0x0008000000000000), MVT::i64), in LowerFROUND64()
2079 DAG.getConstant(0, MVT::i64), Tmp0, in LowerFROUND64()
2083 D, DAG.getConstant(0, MVT::i64)); in LowerFROUND64()
2149 DAG.getConstant(0, MVT::i32)); in LowerINT_TO_FP64()
2151 DAG.getConstant(1, MVT::i32)); in LowerINT_TO_FP64()
2159 DAG.getConstant(32, MVT::i32)); in LowerINT_TO_FP64()
2180 DAG.getConstant(0, MVT::i32)); in LowerUINT_TO_FP()
2183 DAG.getConstant(1, MVT::i32)); in LowerUINT_TO_FP()
2313 return DAG.getConstant(Result, MVT::i32); in constantFoldBFE()
2316 return DAG.getConstant(Src0 >> Offset, MVT::i32); in constantFoldBFE()
2452 return DAG.getConstant(0, MVT::i32); in PerformDAGCombine()
2501 SDValue ShiftVal = DAG.getConstant(OffsetVal, MVT::i32); in PerformDAGCombine()