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 46 of file CallGraphIRInterface.hpp.


Constructor & Destructor Documentation

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

Definition at line 48 of file CallGraphIRInterface.hpp.

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

Definition at line 50 of file CallGraphIRInterface.hpp.


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.

Implemented in Open64IRInterface.

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

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

Implemented in Open64IRInterface.

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

Given a ProcHandle, return its SymHandle.

Implemented in Open64IRInterface.

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.

Implemented in Open64IRInterface.


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

Generated on Fri Jul 24 05:39:24 2009 for OpenADFortTk (extended to Open64) by  doxygen 1.5.7.1