LLVM API Documentation

llvm::AllocaInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::AllocaInst:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 AllocaInst (const Type *Ty, Value *ArraySize=0, const std::string &Name="", Instruction *InsertBefore=0)
 AllocaInst (const Type *Ty, Value *ArraySize, const std::string &Name, BasicBlock *InsertAtEnd)
 AllocaInst (const Type *Ty, const std::string &Name, Instruction *InsertBefore=0)
 AllocaInst (const Type *Ty, const std::string &Name, BasicBlock *InsertAtEnd)
 AllocaInst (const Type *Ty, Value *ArraySize, unsigned Align, const std::string &Name="", Instruction *InsertBefore=0)
 AllocaInst (const Type *Ty, Value *ArraySize, unsigned Align, const std::string &Name, BasicBlock *InsertAtEnd)
virtual AllocaInstclone () const

Static Public Member Functions

static bool classof (const AllocaInst *)
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

AllocaInst - an instruction to allocate memory on the stack

Definition at line 142 of file Instructions.h.


Constructor & Destructor Documentation

llvm::AllocaInst::AllocaInst ( const Type Ty,
Value ArraySize = 0,
const std::string &  Name = "",
Instruction InsertBefore = 0 
) [inline, explicit]

Definition at line 145 of file Instructions.h.

References Name.

llvm::AllocaInst::AllocaInst ( const Type Ty,
Value ArraySize,
const std::string &  Name,
BasicBlock InsertAtEnd 
) [inline]

Definition at line 149 of file Instructions.h.

llvm::AllocaInst::AllocaInst ( const Type Ty,
const std::string &  Name,
Instruction InsertBefore = 0 
) [inline]

Definition at line 153 of file Instructions.h.

llvm::AllocaInst::AllocaInst ( const Type Ty,
const std::string &  Name,
BasicBlock InsertAtEnd 
) [inline]

Definition at line 156 of file Instructions.h.

llvm::AllocaInst::AllocaInst ( const Type Ty,
Value ArraySize,
unsigned  Align,
const std::string &  Name = "",
Instruction InsertBefore = 0 
) [inline]

Definition at line 159 of file Instructions.h.

References Name.

llvm::AllocaInst::AllocaInst ( const Type Ty,
Value ArraySize,
unsigned  Align,
const std::string &  Name,
BasicBlock InsertAtEnd 
) [inline]

Definition at line 162 of file Instructions.h.


Member Function Documentation

AllocaInst * AllocaInst::clone (  )  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::AllocationInst.

Definition at line 1318 of file Instructions.cpp.

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

Definition at line 169 of file Instructions.h.

Referenced by classof().

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

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

Reimplemented from llvm::AllocationInst.

Definition at line 170 of file Instructions.h.

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

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

Reimplemented from llvm::AllocationInst.

Definition at line 173 of file Instructions.h.

References classof(), and V.


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