LLVM API Documentation
#include <Instructions.h>
Public Member Functions | |
| MallocInst (const Type *Ty, Value *ArraySize=0, const Twine &NameStr="", Instruction *InsertBefore=0) | |
| MallocInst (const Type *Ty, Value *ArraySize, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| MallocInst (const Type *Ty, const Twine &NameStr, Instruction *InsertBefore=0) | |
| MallocInst (const Type *Ty, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| MallocInst (const Type *Ty, Value *ArraySize, unsigned Align, const Twine &NameStr, BasicBlock *InsertAtEnd) | |
| MallocInst (const Type *Ty, Value *ArraySize, unsigned Align, const Twine &NameStr="", Instruction *InsertBefore=0) | |
| virtual MallocInst * | clone (LLVMContext &Context) const |
Static Public Member Functions | |
| static bool | classof (const MallocInst *) |
| 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 101 of file Instructions.h.
| llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
| Value * | ArraySize = 0, |
|||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline, explicit] |
| llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
| Value * | ArraySize, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Definition at line 108 of file Instructions.h.
| llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
| const Twine & | NameStr, | |||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline] |
Definition at line 112 of file Instructions.h.
| llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Definition at line 115 of file Instructions.h.
| llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
| Value * | ArraySize, | |||
| unsigned | Align, | |||
| const Twine & | NameStr, | |||
| BasicBlock * | InsertAtEnd | |||
| ) | [inline] |
Definition at line 119 of file Instructions.h.
| llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
| Value * | ArraySize, | |||
| unsigned | Align, | |||
| const Twine & | NameStr = "", |
|||
| Instruction * | InsertBefore = 0 | |||
| ) | [inline] |
Definition at line 124 of file Instructions.h.
| MallocInst * MallocInst::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 2899 of file Instructions.cpp.
References llvm::AllocationInst::getAlignment(), llvm::AllocationInst::getAllocatedType(), llvm::User::getOperand(), MallocInst(), and llvm::Value::SubclassOptionalData.
| static bool llvm::MallocInst::classof | ( | const MallocInst * | ) | [inline, static] |
| static bool llvm::MallocInst::classof | ( | const Instruction * | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::AllocationInst.
Definition at line 134 of file Instructions.h.
References llvm::Instruction::getOpcode(), and Malloc.
Reimplemented from llvm::AllocationInst.
Definition at line 137 of file Instructions.h.
References classof().