Lines Matching refs:buildConstant
2251 B.buildConstant(LLT::scalar(64), Offset).getReg(0)); in getSegmentAperture()
2273 B.buildConstant(LLT::scalar(64), StructOffset).getReg(0)); in getSegmentAperture()
2344 auto SegmentNull = B.buildConstant(DstTy, NullVal); in legalizeAddrSpaceCast()
2345 auto FlatNull = B.buildConstant(SrcTy, 0); in legalizeAddrSpaceCast()
2380 auto SegmentNull = B.buildConstant(SrcTy, TM.getNullPointerValue(SrcAS)); in legalizeAddrSpaceCast()
2381 auto FlatNull = B.buildConstant(DstTy, TM.getNullPointerValue(DestAS)); in legalizeAddrSpaceCast()
2405 auto HighAddr = B.buildConstant(S32, AddrHiVal); in legalizeAddrSpaceCast()
2499 auto Const0 = B.buildConstant(S32, FractBits - 32); in extractF64Exponent()
2500 auto Const1 = B.buildConstant(S32, ExpBits); in extractF64Exponent()
2507 return B.buildSub(S32, ExpPart, B.buildConstant(S32, 1023)); in extractF64Exponent()
2531 const auto SignBitMask = B.buildConstant(S32, UINT32_C(1) << 31); in legalizeIntrinsicTrunc()
2534 const auto FractMask = B.buildConstant(S64, (UINT64_C(1) << FractBits) - 1); in legalizeIntrinsicTrunc()
2536 const auto Zero32 = B.buildConstant(S32, 0); in legalizeIntrinsicTrunc()
2544 auto FiftyOne = B.buildConstant(S32, FractBits - 1); in legalizeIntrinsicTrunc()
2568 auto ThirtyTwo = B.buildConstant(S32, 32); in legalizeITOFP()
2585 auto One = B.buildConstant(S32, 1); in legalizeITOFP()
2589 auto ThirtyOne = B.buildConstant(S32, 31); in legalizeITOFP()
2645 Sign = B.buildAShr(S32, Src, B.buildConstant(S32, 31)); in legalizeFPTOI()
3008 B.buildConstant(DstReg, MFI->allocateLDSGlobal(B.getDataLayout(), in legalizeGlobalValue()
3411 auto MaskConst = B.buildConstant(Ty, 0xfffff000); in legalizeFlogCommon()
3678 auto MaskConst = B.buildConstant(Ty, 0xfffff000); in legalizeFExp()
3889 Zero32 = B.buildConstant(S32, 0).getReg(0); in buildMultiply()
3894 Zero64 = B.buildConstant(S64, 0).getReg(0); in buildMultiply()
4183 B.buildUMin(Dst, Tmp, B.buildConstant(DstTy, SrcTy.getSizeInBits())); in legalizeCTLZ_CTTZ()
4199 auto ShiftAmt = B.buildConstant(S32, 32u - NumBits); in legalizeCTLZ_ZERO_UNDEF()
4280 auto ShiftAmt = B.buildConstant(S32, Shift); in loadInputValue()
4284 B.buildAnd(DstReg, AndMaskSrc, B.buildConstant(S32, Mask >> Shift)); in loadInputValue()
4341 B.buildConstant(DstReg, 0); in loadInputValue()
4368 B.buildConstant(MI.getOperand(0).getReg(), C); in replaceWithConstant()
4424 auto COffset = B.buildConstant(LLT::scalar(64), Offset); in getKernargParameterPtr()
4487 auto NegY = B.buildSub(S32, B.buildConstant(S32, 0), Y); in legalizeUnsignedDIV_REM32Impl()
4496 auto One = B.buildConstant(S32, 1); in legalizeUnsignedDIV_REM32Impl()
4570 auto Zero64 = B.buildConstant(S64, 0); in legalizeUnsignedDIV_REM64Impl()
4590 auto Zero32 = B.buildConstant(S32, 0); in legalizeUnsignedDIV_REM64Impl()
4632 auto One64 = B.buildConstant(S64, 1); in legalizeUnsignedDIV_REM64Impl()
4722 auto SignBitOffset = B.buildConstant(S32, Ty.getSizeInBits() - 1); in legalizeSignedDIV_REM()
5128 auto Zero = B.buildConstant(InstrExpTy, 0); in legalizeFFREXP()
5223 auto NegOne = B.buildConstant(I32, -1); in legalizeFSQRTF32()
5229 auto PosOne = B.buildConstant(I32, 1); in legalizeFSQRTF32()
5308 auto ZeroInt = B.buildConstant(S32, 0); in legalizeFSQRTF64()
5312 auto ScaleUpFactor = B.buildConstant(S32, 256); in legalizeFSQRTF64()
5340 auto ScaleDownFactor = B.buildConstant(S32, -128); in legalizeFSQRTF64()
5554 B.buildPtrAdd(DstReg, KernargPtrReg, B.buildConstant(IdxTy, Offset).getReg(0)); in getImplicitArgPtr()
5577 auto AndMask = B.buildConstant(S32, 0x0000ffff); in legalizePointerAsRsrcIntrin()
5588 ShiftedStride = B.buildConstant(S32, ShiftedStrideVal); in legalizePointerAsRsrcIntrin()
5591 auto ShiftConst = B.buildConstant(S32, 16); in legalizePointerAsRsrcIntrin()
5626 B.buildConstant(DstReg, *KnownSize); in getLDSKernelId()
5700 BaseReg = B.buildConstant(S32, Overflow).getReg(0); in splitBufferOffsets()
5702 auto OverflowVal = B.buildConstant(S32, Overflow); in splitBufferOffsets()
5708 BaseReg = B.buildConstant(S32, 0).getReg(0); in splitBufferOffsets()
5835 VIndex = B.buildConstant(S32, 0).getReg(0); in legalizeBufferStore()
5946 VIndex = B.buildConstant(S32, 0).getReg(0); in legalizeBufferLoad()
6181 VIndex = B.buildConstant(LLT::scalar(32), 0).getReg(0); in legalizeBufferAtomic()
6861 B.buildConstant(LLT::scalar(64), Offset).getReg(0)); in legalizeTrapHsaQueuePtr()
7120 auto LSB = B.buildConstant(S32, 25); in legalizeWaveID()
7121 auto Width = B.buildConstant(S32, 5); in legalizeWaveID()
7270 B.buildConstant(MI.getOperand(0).getReg(), 0); in legalizeIntrinsic()
7346 B.buildConstant(MI.getOperand(0), ST.getWavefrontSize()); in legalizeIntrinsic()