Home
last modified time | relevance | path

Searched refs:buildConstant (Results 1 – 19 of 19) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/CodeGen/GlobalISel/
DLegalizerHelper.cpp638 auto K = MIRBuilder.buildConstant(NarrowTy, in narrowScalar()
648 auto K = MIRBuilder.buildConstant( in narrowScalar()
677 MIRBuilder.buildConstant(LLT::scalar(64), NarrowTy.getSizeInBits() - 1); in narrowScalar()
694 Register ZeroReg = MIRBuilder.buildConstant(SrcTy, 0).getReg(0); in narrowScalar()
972 MachineInstrBuilder Zero = MIRBuilder.buildConstant(NarrowTy, 0); in narrowScalar()
1037 MIRBuilder.buildConstant(NarrowTy, NarrowTy.getScalarSizeInBits() - 1) in narrowScalar()
1212 auto ShiftAmt = MIRBuilder.buildConstant(WideTy, Offset); in widenScalarMergeValues()
1321 auto ShiftAmt = MIRBuilder.buildConstant(NewSrcTy, SizeDiff * I); in widenScalarUnmergeValues()
1384 ShiftTy, Src, MIRBuilder.buildConstant(ShiftTy, Offset)); in widenScalarExtract()
1460 {NewOp, MIRBuilder.buildConstant(WideTy, Mask.getZExtValue())}); in widenScalar()
[all …]
DCSEMIRBuilder.cpp162 return buildConstant(DstOps[0], Cst->getSExtValue()); in buildInstr()
173 return buildConstant(Dst, MaybeCst->getSExtValue()); in buildInstr()
204 MachineInstrBuilder CSEMIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in CSEMIRBuilder
208 return MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
213 return buildSplatVector(Res, buildConstant(Ty.getElementType(), Val)); in buildConstant()
227 MachineInstrBuilder NewMIB = MachineIRBuilder::buildConstant(Res, Val); in buildConstant()
DCombinerHelper.cpp943 return MIB.buildConstant(Ty, SplatVal).getReg(0); in getMemsetValue()
955 auto MagicMI = MIB.buildConstant(ExtType, Magic); in getMemsetValue()
1062 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), DstOff); in optimizeMemset()
1166 Offset = MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset) in optimizeMemcpy()
1264 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset); in optimizeMemmove()
1281 MIB.buildConstant(LLT::scalar(PtrTy.getSizeInBits()), CurrOffset); in optimizeMemmove()
1380 auto NewOffset = MIB.buildConstant(OffsetTy, MatchInfo.Imm); in applyPtrAddImmedChain()
DMachineIRBuilder.cpp236 auto Cst = buildConstant(ValueTy, Value); in materializePtrAdd()
278 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in MachineIRBuilder
298 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in MachineIRBuilder
303 return buildConstant(Res, *CI); in buildConstant()
331 MachineInstrBuilder MachineIRBuilder::buildConstant(const DstOp &Res, in buildConstant() function in MachineIRBuilder
334 return buildConstant(Res, *CI); in buildConstant()
DIRTranslator.cpp534 auto FirstCst = MIB.buildConstant(SwitchTy, JTH.First); in emitJumpTableHeader()
608 auto Diff = MIB.buildConstant(CmpTy, High - Low); in emitSwitchCase()
633 auto True = MIB.buildConstant(i1Ty, 1); in emitSwitchCase()
1087 auto OffsetMIB = MIRBuilder.buildConstant({OffsetTy}, Offset); in translateGetElementPtr()
1101 auto ElementSizeMIB = MIRBuilder.buildConstant( in translateGetElementPtr()
1114 MIRBuilder.buildConstant(getLLTForType(*OffsetIRTy, *DL), Offset); in translateGetElementPtr()
1445 MIRBuilder.buildConstant(Reg, TypeID); in translateKnownIntrinsic()
1847 auto SAMinusOne = MIRBuilder.buildConstant(IntPtrTy, StackAlign - 1); in translateAlloca()
1851 MIRBuilder.buildConstant(IntPtrTy, ~(uint64_t)(StackAlign - 1)); in translateAlloca()
2137 EntryBuilder->buildConstant(Reg, *CI); in translate()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/include/llvm/CodeGen/GlobalISel/
DConstantFoldingMIRBuilder.h54 return buildConstant(Dst, MaybeCst->getSExtValue());
65 return buildConstant(Dst, MaybeCst->getSExtValue());
DCSEMIRBuilder.h98 using MachineIRBuilder::buildConstant;
100 MachineInstrBuilder buildConstant(const DstOp &Res,
DLegalizationArtifactCombiner.h87 Builder.buildConstant( in tryCombineAnyExt()
116 auto MIBMask = Builder.buildConstant( in tryCombineZExt()
131 Builder.buildConstant( in tryCombineZExt()
184 Builder.buildConstant( in tryCombineTrunc()
222 Builder.buildConstant(DstReg, 0); in tryFoldImplicitDef()
DMachineIRBuilder.h673 virtual MachineInstrBuilder buildConstant(const DstOp &Res,
684 MachineInstrBuilder buildConstant(const DstOp &Res, int64_t Val);
685 MachineInstrBuilder buildConstant(const DstOp &Res, const APInt &Val);
1342 auto NegOne = buildConstant(Dst.getLLTTy(*getMRI()), -1); in buildNot()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPULegalizerInfo.cpp1212 auto ShiftAmt = B.buildConstant(S32, WidthM1 + 1); in getSegmentAperture()
1293 auto HighAddr = B.buildConstant( in legalizeAddrSpaceCast()
1305 auto SegmentNull = B.buildConstant(DstTy, NullVal); in legalizeAddrSpaceCast()
1306 auto FlatNull = B.buildConstant(SrcTy, 0); in legalizeAddrSpaceCast()
1328 B.buildConstant(SrcTy, TM.getNullPointerValue(SrcAS)); in legalizeAddrSpaceCast()
1330 B.buildConstant(DstTy, TM.getNullPointerValue(DestAS)); in legalizeAddrSpaceCast()
1418 auto Const0 = B.buildConstant(S32, FractBits - 32); in extractF64Exponent()
1419 auto Const1 = B.buildConstant(S32, ExpBits); in extractF64Exponent()
1425 return B.buildSub(S32, ExpPart, B.buildConstant(S32, 1023)); in extractF64Exponent()
1451 const auto SignBitMask = B.buildConstant(S32, UINT32_C(1) << 31); in legalizeIntrinsicTrunc()
[all …]
DAMDGPURegisterBankInfo.cpp79 auto True = B.buildConstant(S32, Opc == AMDGPU::G_SEXT ? -1 : 1); in applyBank()
80 auto False = B.buildConstant(S32, 0); in applyBank()
1177 B.buildConstant(IdxReg, DefIdx); in applyMappingWideLoad()
1326 BaseReg = B.buildConstant(S32, Overflow).getReg(0); in splitBufferOffsets()
1328 auto OverflowVal = B.buildConstant(S32, Overflow); in splitBufferOffsets()
1335 BaseReg = B.buildConstant(S32, 0).getReg(0); in splitBufferOffsets()
1800 auto ShiftAmt = B.buildConstant(S32, 31); in applyMappingImpl()
1805 B.buildConstant(DefRegs[1], 0); in applyMappingImpl()
1828 auto True = B.buildConstant(SelType, Signed ? -1 : 1); in applyMappingImpl()
1829 auto False = B.buildConstant(SelType, 0); in applyMappingImpl()
[all …]
DAMDGPUCallLowering.cpp357 B.buildConstant(OffsetReg, Offset); in lowerParameterPtr()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/ARM/
DARMLegalizerInfo.cpp411 MIRBuilder.buildConstant(OriginalResult, in legalizeCustom()
449 MIRBuilder.buildConstant(Zero, 0); in legalizeCustom()
465 MIRBuilder.buildConstant(MI.getOperand(0).getReg(), in legalizeCustom()
DARMCallLowering.cpp106 MIRBuilder.buildConstant(OffsetReg, Offset); in getStackAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AArch64/
DAArch64LegalizerInfo.cpp745 auto AlignMinus1 = MIRBuilder.buildConstant(IntPtrTy, Align - 1); in legalizeVaArg()
760 auto Size = MIRBuilder.buildConstant(IntPtrTy, alignTo(ValSize, PtrSize)); in legalizeVaArg()
DAArch64CallLowering.cpp160 MIRBuilder.buildConstant(OffsetReg, Offset); in getStackAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/Mips/
DMipsLegalizerInfo.cpp293 {Src, MIRBuilder.buildConstant(s32, UINT32_C(0x43300000))}); in legalizeCustom()
DMipsCallLowering.cpp299 MIRBuilder.buildConstant(OffsetReg, Offset); in getStackAddress()
/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/X86/
DX86CallLowering.cpp115 MIRBuilder.buildConstant(OffsetReg, Offset); in getStackAddress()