LLVM 22.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 (ArgFlagsTy Flags, MVT VT, EVT ArgVT, Type *OrigTy, bool Used, unsigned OrigArgIndex, unsigned PartOffset) | |
bool | isOrigArg () const |
unsigned | getOrigArgIndex () const |
Public Attributes | |
ArgFlagsTy | Flags |
MVT | VT = MVT::Other |
Legalized type of this argument part. | |
EVT | ArgVT |
Usually the non-legalized type of the argument, which is the EVT corresponding to the OrigTy IR type. | |
Type * | OrigTy |
Original IR type of the argument. | |
bool | Used |
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 204 of file TargetCallingConv.h.
|
inline |
Definition at line 227 of file TargetCallingConv.h.
References ArgVT, Flags, OrigArgIndex, OrigTy, PartOffset, Used, and VT.
|
inline |
Definition at line 236 of file TargetCallingConv.h.
References assert(), NoArgIndex, and OrigArgIndex.
Referenced by llvm::SITargetLowering::LowerFormalArguments(), and processPSInputArgs().
|
inline |
Definition at line 232 of file TargetCallingConv.h.
References NoArgIndex, and OrigArgIndex.
Referenced by llvm::SITargetLowering::LowerFormalArguments().
EVT llvm::ISD::InputArg::ArgVT |
Usually the non-legalized type of the argument, which is the EVT corresponding to the OrigTy IR type.
However, for post-legalization libcalls, this will be a legalized type.
Definition at line 211 of file TargetCallingConv.h.
Referenced by handleCMSEValue(), and InputArg().
ArgFlagsTy llvm::ISD::InputArg::Flags |
Definition at line 205 of file TargetCallingConv.h.
Referenced by handleCMSEValue(), InputArg(), llvm::SITargetLowering::LowerFormalArguments(), and processPSInputArgs().
Sentinel value for implicit machine-level input arguments.
Definition at line 220 of file TargetCallingConv.h.
Referenced by getOrigArgIndex(), isOrigArg(), llvm::TargetLowering::LowerCallTo(), and llvm::FastISel::lowerCallTo().
unsigned llvm::ISD::InputArg::OrigArgIndex |
Index original Function's argument.
Definition at line 218 of file TargetCallingConv.h.
Referenced by getOrigArgIndex(), InputArg(), and isOrigArg().
Type* llvm::ISD::InputArg::OrigTy |
Original IR type of the argument.
For aggregates, this is the type of an individual aggregate element, not the whole aggregate.
Definition at line 214 of file TargetCallingConv.h.
Referenced by InputArg().
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 225 of file TargetCallingConv.h.
Referenced by InputArg().
bool llvm::ISD::InputArg::Used |
Definition at line 215 of file TargetCallingConv.h.
Referenced by InputArg(), and processPSInputArgs().
MVT llvm::ISD::InputArg::VT = MVT::Other |
Legalized type of this argument part.
Definition at line 207 of file TargetCallingConv.h.
Referenced by InputArg(), llvm::SITargetLowering::LowerCall(), llvm::SITargetLowering::LowerFormalArguments(), llvm::AMDGPUTargetLowering::lowerUnhandledCall(), and processPSInputArgs().