LLVM 20.0.0git
|
#include "Target/AMDGPU/AMDGPUArgumentUsageInfo.h"
Public Member Functions | |
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 ArgDescriptor | createRegister (Register Reg, unsigned Mask=~0u) |
static ArgDescriptor | createStack (unsigned Offset, unsigned Mask=~0u) |
static ArgDescriptor | createArg (const ArgDescriptor &Arg, unsigned Mask) |
Friends | |
struct | AMDGPUFunctionArgInfo |
class | AMDGPUArgumentUsageInfo |
Definition at line 24 of file AMDGPUArgumentUsageInfo.h.
|
inline |
Definition at line 41 of file AMDGPUArgumentUsageInfo.h.
|
inlinestatic |
Definition at line 53 of file AMDGPUArgumentUsageInfo.h.
References Reg.
Referenced by allocateVGPR32Input(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inlinestatic |
Definition at line 45 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::addPrivateSegmentSize(), 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::AMDGPULegalizerInfo::loadInputValue(), llvm::GCNTargetMachine::parseMachineFunctionInfo(), llvm::SIMachineFunctionInfo::setPrivateSegmentWaveByteOffset(), and llvm::SIMachineFunctionInfo::SIMachineFunctionInfo().
|
inlinestatic |
Definition at line 49 of file AMDGPUArgumentUsageInfo.h.
References llvm::Offset.
Referenced by allocateVGPR32Input(), and llvm::GCNTargetMachine::parseMachineFunctionInfo().
|
inline |
Definition at line 79 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::AMDGPULegalizerInfo::loadInputValue(), and llvm::AMDGPUTargetLowering::loadInputValue().
|
inline |
Definition at line 69 of file AMDGPUArgumentUsageInfo.h.
Referenced by allocateSGPR32Input(), allocateSGPR64Input(), llvm::AMDGPULegalizerInfo::loadInputValue(), llvm::AMDGPUTargetLowering::loadInputValue(), llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inline |
Definition at line 74 of file AMDGPUArgumentUsageInfo.h.
References assert(), and StackOffset.
Referenced by llvm::AMDGPUTargetLowering::loadInputValue().
|
inline |
Definition at line 83 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::AMDGPULegalizerInfo::loadInputValue(), llvm::AMDGPUTargetLowering::loadInputValue(), llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inline |
Definition at line 65 of file AMDGPUArgumentUsageInfo.h.
Referenced by llvm::AMDGPUTargetLowering::loadInputValue(), llvm::SITargetLowering::passSpecialInputs(), and llvm::AMDGPUCallLowering::passSpecialInputs().
|
inline |
Definition at line 57 of file AMDGPUArgumentUsageInfo.h.
Referenced by operator bool().
|
inlineexplicit |
Definition at line 61 of file AMDGPUArgumentUsageInfo.h.
References isSet().
void llvm::ArgDescriptor::print | ( | raw_ostream & | OS, |
const TargetRegisterInfo * | TRI = nullptr |
||
) | const |
Referenced by llvm::operator<<().
|
friend |
Definition at line 27 of file AMDGPUArgumentUsageInfo.h.
|
friend |
Definition at line 26 of file AMDGPUArgumentUsageInfo.h.
MCRegister llvm::ArgDescriptor::Reg |
Definition at line 30 of file AMDGPUArgumentUsageInfo.h.
Referenced by createArg(), createRegister(), and getRegister().
unsigned llvm::ArgDescriptor::StackOffset |
Definition at line 31 of file AMDGPUArgumentUsageInfo.h.
Referenced by getStackOffset().