class VAArgInst

Declaration

class VAArgInst : public UnaryInstruction { /* full declaration omitted */ };

Description

This class represents the va_arg llvm instruction, which returns an argument of the specified type given a va_list and increments that list

Declared at: llvm/include/llvm/IR/Instructions.h:1832

Inherits from: UnaryInstruction

Member Variables

Inherited from Value:

protected SubclassOptionalData
protected NumUserOperands
protected IsUsedByMD
protected HasName
protected HasMetadata
protected HasHungOffUses
protected HasDescriptor
public static MaxAlignmentExponent = 32
public static MaximumAlignment = 1ULL << MaxAlignmentExponent

Method Overview

  • public VAArgInst(llvm::Value * List, llvm::Type * Ty, const llvm::Twine & NameStr = "", llvm::Instruction * InsertBefore = nullptr)
  • public VAArgInst(llvm::Value * List, llvm::Type * Ty, const llvm::Twine & NameStr, llvm::BasicBlock * InsertAtEnd)
  • public static bool classof(const llvm::Instruction * I)
  • public static bool classof(const llvm::Value * V)
  • protected llvm::VAArgInst * cloneImpl() const
  • public llvm::Value * getPointerOperand()
  • public const llvm::Value * getPointerOperand() const
  • public static unsigned int getPointerOperandIndex()

Inherited from UnaryInstruction:

Inherited from Instruction:

Inherited from User:

Inherited from Value:

Methods

VAArgInst(
    llvm::Value* List,
    llvm::Type* Ty,
    const llvm::Twine& NameStr = "",
    llvm::Instruction* InsertBefore = nullptr)

Declared at: llvm/include/llvm/IR/Instructions.h:1840

Parameters

llvm::Value* List
llvm::Type* Ty
const llvm::Twine& NameStr = ""
llvm::Instruction* InsertBefore = nullptr

VAArgInst(llvm::Value* List,
          llvm::Type* Ty,
          const llvm::Twine& NameStr,
          llvm::BasicBlock* InsertAtEnd)

Declared at: llvm/include/llvm/IR/Instructions.h:1846

Parameters

llvm::Value* List
llvm::Type* Ty
const llvm::Twine& NameStr
llvm::BasicBlock* InsertAtEnd

static bool classof(const llvm::Instruction* I)

Declared at: llvm/include/llvm/IR/Instructions.h:1857

Parameters

const llvm::Instruction* I

static bool classof(const llvm::Value* V)

Declared at: llvm/include/llvm/IR/Instructions.h:1860

Parameters

const llvm::Value* V

llvm::VAArgInst* cloneImpl() const

Declared at: llvm/include/llvm/IR/Instructions.h:1837

llvm::Value* getPointerOperand()

Declared at: llvm/include/llvm/IR/Instructions.h:1852

const llvm::Value* getPointerOperand() const

Declared at: llvm/include/llvm/IR/Instructions.h:1853

static unsigned int getPointerOperandIndex()

Declared at: llvm/include/llvm/IR/Instructions.h:1854