#include <CallGraphIRInterface.hpp>


Public Member Functions | |
| CallGraphIRInterface () | |
| virtual | ~CallGraphIRInterface () |
| virtual OA_ptr< IRStmtIterator > | getStmtIterator (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< MemRefExpr > | getCallMemRefExpr (CallHandle h)=0 |
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.
| 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().

| 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().
1.7.1