LLVM API Documentation

Public Member Functions | Static Public Member Functions | Protected Member Functions
llvm::VAArgInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::VAArgInst:
Inheritance graph
[legend]
Collaboration diagram for llvm::VAArgInst:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 VAArgInst (Value *List, Type *Ty, const Twine &NameStr="", Instruction *InsertBefore=nullptr)
 VAArgInst (Value *List, Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd)
ValuegetPointerOperand ()
const ValuegetPointerOperand () const

Static Public Member Functions

static unsigned getPointerOperandIndex ()
static bool classof (const Instruction *I)
static bool classof (const Value *V)
 Methods for support type inquiry through isa, cast, and dyn_cast:

Protected Member Functions

VAArgInstclone_impl () const override

Detailed Description

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

Definition at line 1618 of file Instructions.h.


Constructor & Destructor Documentation

llvm::VAArgInst::VAArgInst ( Value List,
Type Ty,
const Twine NameStr = "",
Instruction InsertBefore = nullptr 
) [inline]

Definition at line 1623 of file Instructions.h.

Referenced by clone_impl().

llvm::VAArgInst::VAArgInst ( Value List,
Type Ty,
const Twine NameStr,
BasicBlock InsertAtEnd 
) [inline]

Definition at line 1628 of file Instructions.h.


Member Function Documentation

static bool llvm::VAArgInst::classof ( const Instruction I) [inline, static]

Reimplemented from llvm::UnaryInstruction.

Definition at line 1639 of file Instructions.h.

References llvm::Instruction::getOpcode(), and llvm::VAArg.

static bool llvm::VAArgInst::classof ( const Value V) [inline, static]

Methods for support type inquiry through isa, cast, and dyn_cast:

Reimplemented from llvm::UnaryInstruction.

Definition at line 1642 of file Instructions.h.

VAArgInst * VAArgInst::clone_impl ( ) const [override, protected, virtual]

Implements llvm::Instruction.

Definition at line 3737 of file Instructions.cpp.

References llvm::User::getOperand(), llvm::Value::getType(), and VAArgInst().

Definition at line 1634 of file Instructions.h.

Referenced by llvm::AliasAnalysis::getLocation().

Definition at line 1635 of file Instructions.h.

Definition at line 1636 of file Instructions.h.


The documentation for this class was generated from the following files: