LLVM  9.0.0svn
Public Member Functions | Static Public Member Functions | Friends | List of all members
llvm::ArgDescriptor Struct Reference

#include "Target/AMDGPU/AMDGPUArgumentUsageInfo.h"

Collaboration diagram for llvm::ArgDescriptor:
Collaboration graph

Public Member Functions

bool isSet () const
 operator bool () const
bool isRegister () const
unsigned getRegister () const
unsigned getStackOffset () const
void print (raw_ostream &OS, const TargetRegisterInfo *TRI=nullptr) const

Static Public Member Functions

static ArgDescriptor createRegister (unsigned Reg)
static ArgDescriptor createStack (unsigned Reg)


struct AMDGPUFunctionArgInfo
class AMDGPUArgumentUsageInfo

Detailed Description

Definition at line 25 of file AMDGPUArgumentUsageInfo.h.

Member Function Documentation

◆ createRegister()

static ArgDescriptor llvm::ArgDescriptor::createRegister ( unsigned  Reg)

◆ createStack()

static ArgDescriptor llvm::ArgDescriptor::createStack ( unsigned  Reg)

Definition at line 45 of file AMDGPUArgumentUsageInfo.h.

Referenced by allocateVGPR32Input().

◆ getRegister()

unsigned llvm::ArgDescriptor::getRegister ( ) const

◆ getStackOffset()

unsigned llvm::ArgDescriptor::getStackOffset ( ) const

Definition at line 66 of file AMDGPUArgumentUsageInfo.h.

References assert(), print(), StackOffset, and TRI.

Referenced by llvm::AMDGPUTargetLowering::loadInputValue().

◆ isRegister()

bool llvm::ArgDescriptor::isRegister ( ) const

◆ isSet()

bool llvm::ArgDescriptor::isSet ( ) const

Definition at line 49 of file AMDGPUArgumentUsageInfo.h.

Referenced by operator bool().

◆ operator bool()

llvm::ArgDescriptor::operator bool ( ) const

Definition at line 53 of file AMDGPUArgumentUsageInfo.h.

References isSet().

◆ print()

void llvm::ArgDescriptor::print ( raw_ostream OS,
const TargetRegisterInfo TRI = nullptr 
) const

Friends And Related Function Documentation

◆ AMDGPUArgumentUsageInfo

friend class AMDGPUArgumentUsageInfo

Definition at line 28 of file AMDGPUArgumentUsageInfo.h.

◆ AMDGPUFunctionArgInfo

friend struct AMDGPUFunctionArgInfo

Definition at line 27 of file AMDGPUArgumentUsageInfo.h.

Member Data Documentation

◆ Register

unsigned llvm::ArgDescriptor::Register

Definition at line 31 of file AMDGPUArgumentUsageInfo.h.

Referenced by getRegister().

◆ StackOffset

unsigned llvm::ArgDescriptor::StackOffset

Definition at line 32 of file AMDGPUArgumentUsageInfo.h.

Referenced by getStackOffset().

The documentation for this struct was generated from the following file: