LLVM  6.0.0svn
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/Target/TargetCallingConv.h"

Collaboration diagram for llvm::ISD::OutputArg:
Collaboration graph
[legend]

Public Member Functions

 OutputArg ()=default
 
 OutputArg (ArgFlagsTy flags, EVT 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 "...". More...
 
unsigned OrigArgIndex
 Index original Function's argument. More...
 
unsigned PartOffset
 Offset in bytes of current output value relative to the beginning of original argument. More...
 

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 175 of file TargetCallingConv.h.

Constructor & Destructor Documentation

◆ OutputArg() [1/2]

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

◆ OutputArg() [2/2]

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

Definition at line 192 of file TargetCallingConv.h.

References llvm::EVT::getSimpleVT().

Member Data Documentation

◆ ArgVT

EVT llvm::ISD::OutputArg::ArgVT

◆ Flags

ArgFlagsTy llvm::ISD::OutputArg::Flags

◆ IsFixed

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

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

Definition at line 181 of file TargetCallingConv.h.

◆ OrigArgIndex

unsigned llvm::ISD::OutputArg::OrigArgIndex

Index original Function's argument.

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

Referenced by llvm::SITargetLowering::LowerReturn().

◆ VT

MVT llvm::ISD::OutputArg::VT

Definition at line 177 of file TargetCallingConv.h.

Referenced by llvm::SITargetLowering::LowerReturn().


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