LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
| AllocaInst (const Type *Ty, Value *ArraySize=0, const Twine &NameStr="", Instruction *InsertBefore=0) | |
| AllocaInst (const Type *Ty, Value *ArraySize, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| AllocaInst (const Type *Ty, const Twine &NameStr, Instruction *InsertBefore=0) | |
| AllocaInst (const Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| AllocaInst (const Type *Ty, Value *ArraySize, unsigned Align, const Twine &NameStr="", Instruction *InsertBefore=0) | |
| AllocaInst (const Type *Ty, Value *ArraySize, unsigned Align, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| virtual AllocaInst * | clone (LLVMContext &Context) const |
| bool | isStaticAlloca () 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) |
Definition at line 149 of file Instructions.h.
| llvm::AllocaInst::AllocaInst | ( | const Type * | Ty, | |
| Value * | ArraySize = 0, |
|||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, explicit] |
| llvm::AllocaInst::AllocaInst | ( | const Type * | Ty, | |
| Value * | ArraySize, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Definition at line 157 of file Instructions.h.
| llvm::AllocaInst::AllocaInst | ( | const Type * | Ty, | |
| const Twine & | NameStr, | |||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline] |
Definition at line 162 of file Instructions.h.
| llvm::AllocaInst::AllocaInst | ( | const Type * | Ty, | |
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Definition at line 165 of file Instructions.h.
| llvm::AllocaInst::AllocaInst | ( | const Type * | Ty, | |
| Value * | ArraySize, | |||
| unsigned | Align, | |||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline] |
Definition at line 169 of file Instructions.h.
| llvm::AllocaInst::AllocaInst | ( | const Type * | Ty, | |
| Value * | ArraySize, | |||
| unsigned | Align, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Definition at line 174 of file Instructions.h.
| AllocaInst * AllocaInst::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::AllocationInst.
Definition at line 2907 of file Instructions.cpp.
References AllocaInst(), llvm::AllocationInst::getAlignment(), llvm::AllocationInst::getAllocatedType(), llvm::User::getOperand(), and llvm::Value::SubclassOptionalData.
| bool AllocaInst::isStaticAlloca | ( | ) | const |
isStaticAlloca - Return true if this alloca is in the entry block of the function and is a constant size. If so, the code generator will fold it into the prolog/epilog code, so it is basically free.
isStaticAlloca - Return true if this alloca is in the entry block of the function and is a constant size. If so, the code generator will fold it into the prolog/epilog code, so it is basically free.
Definition at line 768 of file Instructions.cpp.
References llvm::Function::front(), llvm::AllocationInst::getArraySize(), llvm::Instruction::getParent(), and llvm::BasicBlock::getParent().
| static bool llvm::AllocaInst::classof | ( | const AllocaInst * | ) | [inline, static] |
| static bool llvm::AllocaInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::AllocationInst.
Definition at line 189 of file Instructions.h.
References llvm::Instruction::getOpcode().
Reimplemented from llvm::AllocationInst.
Definition at line 192 of file Instructions.h.
References classof().