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
ValuegetPointerOperand ()
const ValuegetPointerOperand () 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 190 of file Instructions.h.


Constructor & Destructor Documentation

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

Definition at line 788 of file Instructions.cpp.

Referenced by clone().

FreeInst::FreeInst ( Value Ptr,
BasicBlock InsertAfter 
)

Definition at line 793 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 2913 of file Instructions.cpp.

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

Value* llvm::FreeInst::getPointerOperand (  )  [inline]

Definition at line 199 of file Instructions.h.

References llvm::User::getOperand().

const Value* llvm::FreeInst::getPointerOperand (  )  const [inline]

Definition at line 200 of file Instructions.h.

References llvm::User::getOperand().

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

Definition at line 203 of file Instructions.h.

Referenced by classof().

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

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

Reimplemented from llvm::UnaryInstruction.

Definition at line 204 of file Instructions.h.

References llvm::Instruction::getOpcode().

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

Reimplemented from llvm::UnaryInstruction.

Definition at line 207 of file Instructions.h.

References classof().


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



This web site is hosted by the Computer Science Department at the University of Illinois at Urbana-Champaign.