LLVM API Documentation

Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Namespace Members | Class Members | File Members | Related Pages

llvm::FreeInst Class Reference

#include <Instructions.h>

Inheritance diagram for llvm::FreeInst:

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

Collaboration graph
[legend]
List of all members.

Public Member Functions

 FreeInst (Value *Ptr, Instruction *InsertBefore=0)
 FreeInst (Value *Ptr, BasicBlock *InsertAfter)
virtual FreeInstclone () const
virtual bool mayWriteToMemory () const

Static Public Member Functions

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

FreeInst - an instruction to deallocate memory

Definition at line 146 of file Instructions.h.


Constructor & Destructor Documentation

FreeInst::FreeInst Value Ptr,
Instruction InsertBefore = 0
[explicit]
 

Definition at line 330 of file Instructions.cpp.

References llvm::cl::init().

Referenced by clone().

FreeInst::FreeInst Value Ptr,
BasicBlock InsertAfter
 

Definition at line 335 of file Instructions.cpp.

References llvm::cl::init().


Member Function Documentation

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

Reimplemented from llvm::Instruction.

Definition at line 162 of file Instructions.h.

References classof().

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

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

Reimplemented from llvm::Instruction.

Definition at line 159 of file Instructions.h.

References llvm::Instruction::getOpcode().

static bool llvm::FreeInst::classof const FreeInst  )  [inline, static]
 

Definition at line 158 of file Instructions.h.

Referenced by classof().

FreeInst * FreeInst::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::Instruction.

Definition at line 807 of file Instructions.cpp.

References FreeInst(), and llvm::User::Operands.

virtual bool llvm::FreeInst::mayWriteToMemory  )  const [inline, virtual]
 

mayWriteToMemory - Return true if this instruction may modify memory.

Reimplemented from llvm::Instruction.

Definition at line 155 of file Instructions.h.


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