LLVM API Documentation
#include <Instructions.h>
Inheritance diagram for llvm::MallocInst:
Public Member Functions | |
MallocInst (const Type *Ty, Value *ArraySize=0, const std::string &Name="", Instruction *InsertBefore=0) | |
MallocInst (const Type *Ty, Value *ArraySize, const std::string &Name, BasicBlock *InsertAtEnd) | |
MallocInst (const Type *Ty, Value *ArraySize, unsigned Align, const std::string &Name, BasicBlock *InsertAtEnd) | |
MallocInst (const Type *Ty, Value *ArraySize, unsigned Align, const std::string &Name="", Instruction *InsertBefore=0) | |
virtual MallocInst * | clone () 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 96 of file Instructions.h.
llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
Value * | ArraySize = 0 , |
|||
const std::string & | Name = "" , |
|||
Instruction * | InsertBefore = 0 | |||
) | [inline, explicit] |
llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
Value * | ArraySize, | |||
const std::string & | Name, | |||
BasicBlock * | InsertAtEnd | |||
) | [inline] |
Definition at line 103 of file Instructions.h.
llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
Value * | ArraySize, | |||
unsigned | Align, | |||
const std::string & | Name, | |||
BasicBlock * | InsertAtEnd | |||
) | [inline] |
Definition at line 106 of file Instructions.h.
llvm::MallocInst::MallocInst | ( | const Type * | Ty, | |
Value * | ArraySize, | |||
unsigned | Align, | |||
const std::string & | Name = "" , |
|||
Instruction * | InsertBefore = 0 | |||
) | [inline, explicit] |
static bool llvm::MallocInst::classof | ( | const Value * | V | ) | [inline, static] |
static bool llvm::MallocInst::classof | ( | const Instruction * | I | ) | [inline, static] |
Methods for support type inquiry through isa, cast, and dyn_cast:.
Reimplemented from llvm::AllocationInst.
Definition at line 118 of file Instructions.h.
References llvm::Instruction::getOpcode(), and llvm::Instruction::Malloc.
static bool llvm::MallocInst::classof | ( | const MallocInst * | ) | [inline, static] |
MallocInst * MallocInst::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 1270 of file Instructions.cpp.