LLVM 17.0.0git
|
#include "Target/AMDGPU/AMDGPUArgumentUsageInfo.h"
Public Member Functions | |
constexpr | ArgDescriptor (unsigned Val=0, unsigned Mask=~0u, bool IsStack=false, bool IsSet=false) |
bool | isSet () const |
operator bool () const | |
bool | isRegister () const |
MCRegister | getRegister () const |
unsigned | getStackOffset () const |
unsigned | getMask () const |
bool | isMasked () const |
void | print (raw_ostream &OS, const TargetRegisterInfo *TRI=nullptr) const |
Static Public Member Functions | |
static constexpr ArgDescriptor | createRegister (Register Reg, unsigned Mask=~0u) |
static constexpr ArgDescriptor | createStack (unsigned Offset, unsigned Mask=~0u) |
static constexpr ArgDescriptor | createArg (const ArgDescriptor &Arg, unsigned Mask) |
Friends | |
struct | AMDGPUFunctionArgInfo |
class | AMDGPUArgumentUsageInfo |
Definition at line 23 of file AMDGPUArgumentUsageInfo.h.
|
inlineconstexpr |
Definition at line 40 of file AMDGPUArgumentUsageInfo.h.
|
inlinestaticconstexpr |
Definition at line 54 of file AMDGPUArgumentUsageInfo.h.
References Arg.
Referenced by allocateVGPR32Input(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inlinestaticconstexpr |
Definition at line 44 of file AMDGPUArgumentUsageInfo.h.
References Reg.
Referenced by llvm::SIMachineFunctionInfo::addDispatchID(), llvm::SIMachineFunctionInfo::addDispatchPtr(), llvm::SIMachineFunctionInfo::addFlatScratchInit(), llvm::SIMachineFunctionInfo::addImplicitBufferPtr(), llvm::SIMachineFunctionInfo::addKernargSegmentPtr(), llvm::SIMachineFunctionInfo::addLDSKernelId(), llvm::SIMachineFunctionInfo::addPrivateSegmentBuffer(), llvm::SIMachineFunctionInfo::addPrivateSegmentWaveByteOffset(), llvm::SIMachineFunctionInfo::addQueuePtr(), llvm::SIMachineFunctionInfo::addWorkGroupIDX(), llvm::SIMachineFunctionInfo::addWorkGroupIDY(), llvm::SIMachineFunctionInfo::addWorkGroupIDZ(), llvm::SIMachineFunctionInfo::addWorkGroupInfo(), allocateSGPR32InputImpl(), llvm::SITargetLowering::allocateSpecialEntryInputVGPRs(), llvm::SITargetLowering::allocateSpecialInputVGPRsFixed(), allocateVGPR32Input(), llvm::AMDGPUFunctionArgInfo::fixedABILayout(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::SIMachineFunctionInfo::setPrivateSegmentWaveByteOffset(), and llvm::SIMachineFunctionInfo::SIMachineFunctionInfo().
|
inlinestaticconstexpr |
Definition at line 49 of file AMDGPUArgumentUsageInfo.h.
References llvm::Offset.
Referenced by allocateVGPR32Input(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
|
inline |
Definition at line 81 of file AMDGPUArgumentUsageInfo.h.
|
inline |
Definition at line 71 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inline |
Definition at line 76 of file AMDGPUArgumentUsageInfo.h.
References assert(), and StackOffset.
|
inline |
Definition at line 85 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inline |
Definition at line 67 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inline |
Definition at line 59 of file AMDGPUArgumentUsageInfo.h.
Referenced by operator bool().
|
inlineexplicit |
Definition at line 63 of file AMDGPUArgumentUsageInfo.h.
References isSet().
void llvm::ArgDescriptor::print | ( | raw_ostream & | OS, |
const TargetRegisterInfo * | TRI = nullptr |
||
) | const |
|
friend |
Definition at line 26 of file AMDGPUArgumentUsageInfo.h.
|
friend |
Definition at line 25 of file AMDGPUArgumentUsageInfo.h.
MCRegister llvm::ArgDescriptor::Reg |
Definition at line 29 of file AMDGPUArgumentUsageInfo.h.
Referenced by createRegister(), and getRegister().
unsigned llvm::ArgDescriptor::StackOffset |
Definition at line 30 of file AMDGPUArgumentUsageInfo.h.
Referenced by getStackOffset().