LLVM API Documentation

llvm::VAArgInst Class Reference

#include <Instructions.h>

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

List of all members.

Public Member Functions

 VAArgInst (Value *List, const Type *Ty, const Twine &NameStr="", Instruction *InsertBefore=0)
 VAArgInst (Value *List, const Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd)
virtual VAArgInst * clone (LLVMContext &Context) const

Static Public Member Functions

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


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 1241 of file Instructions.h.


Constructor & Destructor Documentation

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

Definition at line 1243 of file Instructions.h.

Referenced by clone().

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

Definition at line 1248 of file Instructions.h.


Member Function Documentation

VAArgInst * VAArgInst::clone ( LLVMContext &  Context  )  const [virtual]

clone() - Create a copy of 'this' instruction that is identical in all ways except the following: The instruction has no parent The instruction has no name

Implements llvm::Instruction.

Definition at line 3022 of file Instructions.cpp.

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

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

Definition at line 1257 of file Instructions.h.

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

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

Reimplemented from llvm::UnaryInstruction.

Definition at line 1258 of file Instructions.h.

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

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

Reimplemented from llvm::UnaryInstruction.

Definition at line 1261 of file Instructions.h.


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