LLVM 20.0.0git
|
InputArg - This struct carries flags and type information about a single incoming (formal) argument or incoming (from the perspective of the caller) return value virtual register. More...
#include "llvm/CodeGen/TargetCallingConv.h"
Public Member Functions | |
InputArg ()=default | |
InputArg (ArgFlagsTy flags, EVT vt, EVT argvt, bool used, unsigned origIdx, unsigned partOffs) | |
bool | isOrigArg () const |
unsigned | getOrigArgIndex () const |
Public Attributes | |
ArgFlagsTy | Flags |
MVT | VT = MVT::Other |
EVT | ArgVT |
bool | Used = false |
unsigned | OrigArgIndex |
Index original Function's argument. | |
unsigned | PartOffset |
Offset in bytes of current input value relative to the beginning of original argument. | |
Static Public Attributes | |
static const unsigned | NoArgIndex = UINT_MAX |
Sentinel value for implicit machine-level input arguments. | |
InputArg - This struct carries flags and type information about a single incoming (formal) argument or incoming (from the perspective of the caller) return value virtual register.
Definition at line 199 of file TargetCallingConv.h.
|
default |
|
inline |
Definition at line 216 of file TargetCallingConv.h.
References ArgVT, llvm::EVT::getSimpleVT(), and VT.
|
inline |
Definition at line 227 of file TargetCallingConv.h.
References assert(), NoArgIndex, and OrigArgIndex.
Referenced by llvm::SITargetLowering::LowerFormalArguments(), and processPSInputArgs().
|
inline |
Definition at line 223 of file TargetCallingConv.h.
References NoArgIndex, and OrigArgIndex.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
EVT llvm::ISD::InputArg::ArgVT |
Definition at line 202 of file TargetCallingConv.h.
Referenced by handleCMSEValue(), InputArg(), llvm::FastISel::lowerCallTo(), and llvm::TargetLowering::LowerCallTo().
ArgFlagsTy llvm::ISD::InputArg::Flags |
Definition at line 200 of file TargetCallingConv.h.
Referenced by handleCMSEValue(), llvm::FastISel::lowerCallTo(), llvm::TargetLowering::LowerCallTo(), llvm::SITargetLowering::LowerFormalArguments(), and processPSInputArgs().
Sentinel value for implicit machine-level input arguments.
Definition at line 208 of file TargetCallingConv.h.
Referenced by getOrigArgIndex(), and isOrigArg().
unsigned llvm::ISD::InputArg::OrigArgIndex |
Index original Function's argument.
Definition at line 206 of file TargetCallingConv.h.
Referenced by getOrigArgIndex(), and isOrigArg().
unsigned llvm::ISD::InputArg::PartOffset |
Offset in bytes of current input value relative to the beginning of original argument.
E.g. if argument was splitted into four 32 bit registers, we got 4 InputArgs with PartOffsets 0, 4, 8 and 12.
Definition at line 213 of file TargetCallingConv.h.
bool llvm::ISD::InputArg::Used = false |
Definition at line 203 of file TargetCallingConv.h.
Referenced by llvm::FastISel::lowerCallTo(), llvm::TargetLowering::LowerCallTo(), and processPSInputArgs().
MVT llvm::ISD::InputArg::VT = MVT::Other |
Definition at line 201 of file TargetCallingConv.h.
Referenced by InputArg(), llvm::SITargetLowering::LowerCall(), llvm::FastISel::lowerCallTo(), llvm::TargetLowering::LowerCallTo(), llvm::SITargetLowering::LowerFormalArguments(), llvm::AMDGPUTargetLowering::lowerUnhandledCall(), and processPSInputArgs().