Thanks to visit codestin.com
Credit goes to llvm.org

LLVM 22.0.0git
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 (ArgFlagsTy Flags, MVT VT, EVT ArgVT, Type *OrigTy, unsigned OrigArgIndex, unsigned PartOffset)

Public Attributes

ArgFlagsTy Flags
MVT VT
EVT ArgVT
 Non-legalized type of the argument.
TypeOrigTy
 Original IR type of the argument.
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 246 of file TargetCallingConv.h.

Constructor & Destructor Documentation

◆ OutputArg()

llvm::ISD::OutputArg::OutputArg ( ArgFlagsTy Flags,
MVT VT,
EVT ArgVT,
Type * OrigTy,
unsigned OrigArgIndex,
unsigned PartOffset )
inline

Definition at line 265 of file TargetCallingConv.h.

References ArgVT, Flags, OrigArgIndex, OrigTy, PartOffset, and VT.

Member Data Documentation

◆ ArgVT

EVT llvm::ISD::OutputArg::ArgVT

Non-legalized type of the argument.

This is the EVT corresponding to the OrigTy IR type.

Definition at line 252 of file TargetCallingConv.h.

Referenced by OutputArg().

◆ Flags

ArgFlagsTy llvm::ISD::OutputArg::Flags

Definition at line 247 of file TargetCallingConv.h.

Referenced by llvm::TargetLowering::LowerCallTo(), and OutputArg().

◆ OrigArgIndex

unsigned llvm::ISD::OutputArg::OrigArgIndex

Index original Function's argument.

Definition at line 258 of file TargetCallingConv.h.

Referenced by OutputArg().

◆ OrigTy

Type* llvm::ISD::OutputArg::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 255 of file TargetCallingConv.h.

Referenced by OutputArg().

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

Referenced by OutputArg().

◆ VT

MVT llvm::ISD::OutputArg::VT

Definition at line 249 of file TargetCallingConv.h.

Referenced by OutputArg().


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