Home
last modified time | relevance | path

Searched refs:ArgDescriptor (Results 1 – 10 of 10) sorted by relevance

/third_party/skia/third_party/externals/swiftshader/third_party/llvm-10.0/llvm/lib/Target/AMDGPU/
DAMDGPUArgumentUsageInfo.h26 struct ArgDescriptor { struct
43 ArgDescriptor(unsigned Val = 0, unsigned Mask = ~0u, argument
47 static ArgDescriptor createRegister(Register Reg, unsigned Mask = ~0u) { argument
48 return ArgDescriptor(Reg, Mask, false, true);
51 static ArgDescriptor createStack(unsigned Offset, unsigned Mask = ~0u) {
52 return ArgDescriptor(Offset, Mask, true, true);
55 static ArgDescriptor createArg(const ArgDescriptor &Arg, unsigned Mask) { in createArg() argument
56 return ArgDescriptor(Arg.Reg, Mask, Arg.IsStack, Arg.IsSet); in createArg()
92 inline raw_ostream &operator<<(raw_ostream &OS, const ArgDescriptor &Arg) { argument
124 ArgDescriptor PrivateSegmentBuffer;
[all …]
DSIMachineFunctionInfo.cpp78 ArgDescriptor::createRegister(ScratchRSrcReg); in SIMachineFunctionInfo()
80 ArgDescriptor::createRegister(ScratchWaveOffsetReg); in SIMachineFunctionInfo()
125 ArgDescriptor::createRegister(AMDGPU::SGPR5); in SIMachineFunctionInfo()
190 ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addPrivateSegmentBuffer()
197 ArgInfo.DispatchPtr = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addDispatchPtr()
204 ArgInfo.QueuePtr = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addQueuePtr()
212 = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addKernargSegmentPtr()
219 ArgInfo.DispatchID = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addDispatchID()
226 ArgInfo.FlatScratchInit = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addFlatScratchInit()
233 ArgInfo.ImplicitBufferPtr = ArgDescriptor::createRegister(TRI.getMatchingSuperReg( in addImplicitBufferPtr()
[all …]
DSIMachineFunctionInfo.h544 ArgInfo.WorkGroupIDX = ArgDescriptor::createRegister(getNextSystemSGPR());
550 ArgInfo.WorkGroupIDY = ArgDescriptor::createRegister(getNextSystemSGPR());
556 ArgInfo.WorkGroupIDZ = ArgDescriptor::createRegister(getNextSystemSGPR());
562 ArgInfo.WorkGroupInfo = ArgDescriptor::createRegister(getNextSystemSGPR());
568 void setWorkItemIDX(ArgDescriptor Arg) {
572 void setWorkItemIDY(ArgDescriptor Arg) {
576 void setWorkItemIDZ(ArgDescriptor Arg) {
582 = ArgDescriptor::createRegister(getNextSystemSGPR());
588 ArgInfo.PrivateSegmentWaveByteOffset = ArgDescriptor::createRegister(Reg);
663 std::pair<const ArgDescriptor *, const TargetRegisterClass *>
DAMDGPUArgumentUsageInfo.cpp22 void ArgDescriptor::print(raw_ostream &OS, in print()
80 std::pair<const ArgDescriptor *, const TargetRegisterClass *>
DAMDGPUTargetMachine.cpp1074 ArgDescriptor &Arg, unsigned UserSGPRs, in parseMachineFunctionInfo()
1088 Arg = ArgDescriptor::createRegister(Reg); in parseMachineFunctionInfo()
1090 Arg = ArgDescriptor::createStack(A->StackOffset); in parseMachineFunctionInfo()
1093 Arg = ArgDescriptor::createArg(Arg, A->Mask.getValue()); in parseMachineFunctionInfo()
DAMDGPULegalizerInfo.h82 const ArgDescriptor *Arg) const;
DAMDGPUISelLowering.h26 struct ArgDescriptor;
311 const ArgDescriptor &Arg) const;
DSIISelLowering.cpp1417 const ArgDescriptor *InputPtrReg; in lowerKernArgParameterPtr()
1566 const ArgDescriptor *Reg; in getPreloadedValue()
1635 Info.setWorkItemIDX(ArgDescriptor::createRegister(Reg)); in allocateSpecialEntryInputVGPRs()
1643 Info.setWorkItemIDY(ArgDescriptor::createRegister(Reg)); in allocateSpecialEntryInputVGPRs()
1651 Info.setWorkItemIDZ(ArgDescriptor::createRegister(Reg)); in allocateSpecialEntryInputVGPRs()
1659 static ArgDescriptor allocateVGPR32Input(CCState &CCInfo, unsigned Mask = ~0u, in allocateVGPR32Input()
1660 ArgDescriptor Arg = ArgDescriptor()) { in allocateVGPR32Input()
1662 return ArgDescriptor::createArg(Arg, Mask); in allocateVGPR32Input()
1671 return ArgDescriptor::createStack(Offset, Mask); in allocateVGPR32Input()
1681 return ArgDescriptor::createRegister(Reg, Mask); in allocateVGPR32Input()
[all …]
DAMDGPULegalizerInfo.cpp1842 const ArgDescriptor *Arg) const { in loadInputValue()
1897 const ArgDescriptor *Arg; in legalizePreloadedArgIntrin()
2264 const ArgDescriptor *Arg; in legalizeImplicitArgPtr()
DAMDGPUISelLowering.cpp4187 const ArgDescriptor &Arg) const { in loadInputValue()