LLVM API Documentation

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 185 of file Instructions.h.


Constructor & Destructor Documentation

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

Definition at line 577 of file Instructions.cpp.

Referenced by clone().

FreeInst::FreeInst ( Value Ptr,
BasicBlock InsertAfter 
)

Definition at line 582 of file Instructions.cpp.


Member Function Documentation

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 1319 of file Instructions.cpp.

References FreeInst(), and llvm::UnaryInstruction::getOperand().

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

mayWriteToMemory - Return true if this instruction may modify memory.

Reimplemented from llvm::Instruction.

Definition at line 193 of file Instructions.h.

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

Definition at line 196 of file Instructions.h.

Referenced by 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 197 of file Instructions.h.

References llvm::Instruction::getOpcode().

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

Reimplemented from llvm::Instruction.

Definition at line 200 of file Instructions.h.

References classof(), and V.


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