Lines Matching refs:buildConstant
1850 auto ShiftAmt = B.buildConstant(S32, WidthM1 + 1); in getSegmentAperture()
1882 B.buildConstant(LLT::scalar(64), Offset).getReg(0)); in getSegmentAperture()
1904 B.buildConstant(LLT::scalar(64), StructOffset).getReg(0)); in getSegmentAperture()
1967 auto SegmentNull = B.buildConstant(DstTy, NullVal); in legalizeAddrSpaceCast()
1968 auto FlatNull = B.buildConstant(SrcTy, 0); in legalizeAddrSpaceCast()
2004 auto SegmentNull = B.buildConstant(SrcTy, TM.getNullPointerValue(SrcAS)); in legalizeAddrSpaceCast()
2005 auto FlatNull = B.buildConstant(DstTy, TM.getNullPointerValue(DestAS)); in legalizeAddrSpaceCast()
2032 auto HighAddr = B.buildConstant( in legalizeAddrSpaceCast()
2127 auto Const0 = B.buildConstant(S32, FractBits - 32); in extractF64Exponent()
2128 auto Const1 = B.buildConstant(S32, ExpBits); in extractF64Exponent()
2135 return B.buildSub(S32, ExpPart, B.buildConstant(S32, 1023)); in extractF64Exponent()
2159 const auto SignBitMask = B.buildConstant(S32, UINT32_C(1) << 31); in legalizeIntrinsicTrunc()
2162 const auto FractMask = B.buildConstant(S64, (UINT64_C(1) << FractBits) - 1); in legalizeIntrinsicTrunc()
2164 const auto Zero32 = B.buildConstant(S32, 0); in legalizeIntrinsicTrunc()
2172 auto FiftyOne = B.buildConstant(S32, FractBits - 1); in legalizeIntrinsicTrunc()
2196 auto ThirtyTwo = B.buildConstant(S32, 32); in legalizeITOFP()
2215 auto One = B.buildConstant(S32, 1); in legalizeITOFP()
2219 auto ThirtyOne = B.buildConstant(S32, 31); in legalizeITOFP()
2279 Sign = B.buildAShr(S32, Src, B.buildConstant(S32, 31)); in legalizeFPTOI()
2575 B.buildConstant(DstReg, MFI->allocateLDSGlobal(B.getDataLayout(), in legalizeGlobalValue()
2933 Zero32 = B.buildConstant(S32, 0).getReg(0); in buildMultiply()
2938 Zero64 = B.buildConstant(S64, 0).getReg(0); in buildMultiply()
3212 B.buildUMin(Dst, Tmp, B.buildConstant(DstTy, SrcTy.getSizeInBits())); in legalizeCTLZ_CTTZ()
3290 auto ShiftAmt = B.buildConstant(S32, Shift); in loadInputValue()
3294 B.buildAnd(DstReg, AndMaskSrc, B.buildConstant(S32, Mask >> Shift)); in loadInputValue()
3315 B.buildConstant(DstReg, 0); in loadInputValue()
3342 B.buildConstant(MI.getOperand(0).getReg(), C); in replaceWithConstant()
3398 auto COffset = B.buildConstant(LLT::scalar(64), Offset); in getKernargParameterPtr()
3461 auto NegY = B.buildSub(S32, B.buildConstant(S32, 0), Y); in legalizeUnsignedDIV_REM32Impl()
3470 auto One = B.buildConstant(S32, 1); in legalizeUnsignedDIV_REM32Impl()
3542 auto Zero64 = B.buildConstant(S64, 0); in legalizeUnsignedDIV_REM64Impl()
3562 auto Zero32 = B.buildConstant(S32, 0); in legalizeUnsignedDIV_REM64Impl()
3604 auto One64 = B.buildConstant(S64, 1); in legalizeUnsignedDIV_REM64Impl()
3694 auto SignBitOffset = B.buildConstant(S32, Ty.getSizeInBits() - 1); in legalizeSignedDIV_REM()
4063 auto C0 = B.buildConstant(S32, 0x6f800000); in legalizeFDIVFastIntrin()
4064 auto C1 = B.buildConstant(S32, 0x2f800000); in legalizeFDIVFastIntrin()
4065 auto C2 = B.buildConstant(S32, FloatToBits(1.0f)); in legalizeFDIVFastIntrin()
4179 B.buildPtrAdd(DstReg, KernargPtrReg, B.buildConstant(IdxTy, Offset).getReg(0)); in getImplicitArgPtr()
4207 B.buildConstant(DstReg, KnownSize.value()); in getLDSKernelId()
4280 BaseReg = B.buildConstant(S32, Overflow).getReg(0); in splitBufferOffsets()
4282 auto OverflowVal = B.buildConstant(S32, Overflow); in splitBufferOffsets()
4288 BaseReg = B.buildConstant(S32, 0).getReg(0); in splitBufferOffsets()
4435 VIndex = B.buildConstant(S32, 0).getReg(0); in legalizeBufferStore()
4516 VIndex = B.buildConstant(S32, 0).getReg(0); in legalizeBufferLoad()
4714 VIndex = B.buildConstant(LLT::scalar(32), 0).getReg(0); in legalizeBufferAtomic()
5329 B.buildConstant(LLT::scalar(64), Offset).getReg(0)); in legalizeTrapHsaQueuePtr()
5641 B.buildConstant(MI.getOperand(0).getReg(), 0); in legalizeIntrinsic()
5715 B.buildConstant(MI.getOperand(0), ST.getWavefrontSize()); in legalizeIntrinsic()