LLVM 19.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 233 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 250 of file TargetCallingConv.h.

References ArgVT, and VT.

Member Data Documentation

◆ ArgVT

EVT llvm::ISD::OutputArg::ArgVT

Definition at line 236 of file TargetCallingConv.h.

Referenced by OutputArg().

◆ Flags

ArgFlagsTy llvm::ISD::OutputArg::Flags

Definition at line 234 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 239 of file TargetCallingConv.h.

◆ OrigArgIndex

unsigned llvm::ISD::OutputArg::OrigArgIndex

Index original Function's argument.

Definition at line 242 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 247 of file TargetCallingConv.h.

◆ VT

MVT llvm::ISD::OutputArg::VT

Definition at line 235 of file TargetCallingConv.h.

Referenced by OutputArg().


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