LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::ISD::OutputArg Struct Reference

OutputArg - This struct carries flags and a value for a single outgoing (actual) argument or outgoing (from the perspective of the caller) return value virtual register. More...

#include "llvm/CodeGen/TargetCallingConv.h"

Public Member Functions

 OutputArg ()=default
 
 OutputArg (ArgFlagsTy flags, MVT vt, EVT argvt, bool isfixed, unsigned origIdx, unsigned partOffs)
 

Public Attributes

ArgFlagsTy Flags
 
MVT VT
 
EVT ArgVT
 
bool IsFixed = false
 IsFixed - Is this a "fixed" value, ie not passed through a vararg "...".
 
unsigned OrigArgIndex
 Index original Function's argument.
 
unsigned PartOffset
 Offset in bytes of current output value relative to the beginning of original argument.
 

Detailed Description

OutputArg - This struct carries flags and a value for a single outgoing (actual) argument or outgoing (from the perspective of the caller) return value virtual register.

Definition at line 237 of file TargetCallingConv.h.

Constructor & Destructor Documentation

◆ OutputArg() [1/2]

llvm::ISD::OutputArg::OutputArg ( )
default

◆ OutputArg() [2/2]

llvm::ISD::OutputArg::OutputArg ( ArgFlagsTy  flags,
MVT  vt,
EVT  argvt,
bool  isfixed,
unsigned  origIdx,
unsigned  partOffs 
)
inline

Definition at line 254 of file TargetCallingConv.h.

References ArgVT, and VT.

Member Data Documentation

◆ ArgVT

EVT llvm::ISD::OutputArg::ArgVT

Definition at line 240 of file TargetCallingConv.h.

Referenced by OutputArg().

◆ Flags

ArgFlagsTy llvm::ISD::OutputArg::Flags

Definition at line 238 of file TargetCallingConv.h.

Referenced by llvm::TargetLowering::LowerCallTo().

◆ IsFixed

bool llvm::ISD::OutputArg::IsFixed = false

IsFixed - Is this a "fixed" value, ie not passed through a vararg "...".

Definition at line 243 of file TargetCallingConv.h.

◆ OrigArgIndex

unsigned llvm::ISD::OutputArg::OrigArgIndex

Index original Function's argument.

Definition at line 246 of file TargetCallingConv.h.

◆ PartOffset

unsigned llvm::ISD::OutputArg::PartOffset

Offset in bytes of current output value relative to the beginning of original argument.

E.g. if argument was splitted into four 32 bit registers, we got 4 OutputArgs with PartOffsets 0, 4, 8 and 12.

Definition at line 251 of file TargetCallingConv.h.

◆ VT

MVT llvm::ISD::OutputArg::VT

Definition at line 239 of file TargetCallingConv.h.

Referenced by OutputArg().


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