Public Member Functions

OA::CallGraph::CallGraphIRInterface Class Reference

#include <CallGraphIRInterface.hpp>

Inheritance diagram for OA::CallGraph::CallGraphIRInterface:
Inheritance graph
[legend]
Collaboration diagram for OA::CallGraph::CallGraphIRInterface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 CallGraphIRInterface ()
virtual ~CallGraphIRInterface ()
virtual OA_ptr< IRStmtIteratorgetStmtIterator (ProcHandle h)=0
virtual OA_ptr
< IRCallsiteIterator
getCallsites (StmtHandle h)=0
 Return an iterator over all of the callsites in a given stmt.
virtual SymHandle getProcSymHandle (ProcHandle h)=0
 Given a ProcHandle, return its SymHandle.
virtual OA_ptr< MemRefExprgetCallMemRefExpr (CallHandle h)=0

Detailed Description

The CallGraphIRInterface abstract base class gives a set of methods for manipulating a program. This is the primary interface to the underlying intermediate representation.

Definition at line 42 of file CallGraphIRInterface.hpp.


Constructor & Destructor Documentation

OA::CallGraph::CallGraphIRInterface::CallGraphIRInterface (  )  [inline]

Definition at line 36 of file CallGraphIRInterface.hpp.

Referenced by ~CallGraphIRInterface().

virtual OA::CallGraph::CallGraphIRInterface::~CallGraphIRInterface (  )  [inline, virtual]

Definition at line 38 of file CallGraphIRInterface.hpp.

References CallGraphIRInterface(), getCallMemRefExpr(), getCallsites(), getProcSymHandle(), and getStmtIterator().

Here is the call graph for this function:


Member Function Documentation

virtual OA_ptr<MemRefExpr> OA::CallGraph::CallGraphIRInterface::getCallMemRefExpr ( CallHandle  h  )  [pure virtual]

Given a procedure call create a memory reference expression to describe that call. For example, a normal call is a NamedRef. A call involving a function ptr is a Deref.

Referenced by ~CallGraphIRInterface().

virtual OA_ptr<IRCallsiteIterator> OA::CallGraph::CallGraphIRInterface::getCallsites ( StmtHandle  h  )  [pure virtual]

Return an iterator over all of the callsites in a given stmt.

Referenced by ~CallGraphIRInterface().

virtual SymHandle OA::CallGraph::CallGraphIRInterface::getProcSymHandle ( ProcHandle  h  )  [pure virtual]

Given a ProcHandle, return its SymHandle.

Referenced by ~CallGraphIRInterface().

virtual OA_ptr<IRStmtIterator> OA::CallGraph::CallGraphIRInterface::getStmtIterator ( ProcHandle  h  )  [pure virtual]

Given a subprogram return an IRStmtIterator* for the entire subprogram The user must free the iterator's memory via delete.

Referenced by ~CallGraphIRInterface().


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