struct InputArg

Declaration

struct InputArg { /* full declaration omitted */ };

Description

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.

Declared at: llvm/include/llvm/CodeGen/TargetCallingConv.h:157

Member Variables

public llvm::ISD::ArgFlagsTy Flags
public llvm::MVT VT = MVT::Other
public llvm::EVT ArgVT
public bool Used = false
public unsigned int OrigArgIndex
Index original Function's argument.
public unsigned int 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.
public static const unsigned int NoArgIndex = (2147483647 * 2U + 1U)
Sentinel value for implicit machine-level input arguments.

Method Overview

  • public InputArg()
  • public InputArg(llvm::ISD::ArgFlagsTy flags, llvm::EVT vt, llvm::EVT argvt, bool used, unsigned int origIdx, unsigned int partOffs)
  • public unsigned int getOrigArgIndex() const
  • public bool isOrigArg() const

Methods

InputArg()

Declared at: llvm/include/llvm/CodeGen/TargetCallingConv.h:173

InputArg(llvm::ISD::ArgFlagsTy flags,
         llvm::EVT vt,
         llvm::EVT argvt,
         bool used,
         unsigned int origIdx,
         unsigned int partOffs)

Declared at: llvm/include/llvm/CodeGen/TargetCallingConv.h:174

Parameters

llvm::ISD::ArgFlagsTy flags
llvm::EVT vt
llvm::EVT argvt
bool used
unsigned int origIdx
unsigned int partOffs

unsigned int getOrigArgIndex() const

Declared at: llvm/include/llvm/CodeGen/TargetCallingConv.h:185

bool isOrigArg() const

Declared at: llvm/include/llvm/CodeGen/TargetCallingConv.h:181