Public Member Functions

OA::UDDUChains::UDDUChainsIRInterface Class Reference

#include <UDDUChainsIRInterface.hpp>

Inheritance diagram for OA::UDDUChains::UDDUChainsIRInterface:
Inheritance graph
[legend]
Collaboration diagram for OA::UDDUChains::UDDUChainsIRInterface:
Collaboration graph
[legend]

List of all members.

Public Member Functions

 UDDUChainsIRInterface ()
virtual ~UDDUChainsIRInterface ()
virtual OA_ptr< IRStmtIteratorgetStmtIterator (ProcHandle h)=0
virtual OA_ptr
< MemRefHandleIterator
getDefMemRefs (StmtHandle stmt)=0
virtual OA_ptr
< MemRefHandleIterator
getUseMemRefs (StmtHandle stmt)=0
virtual OA_ptr
< IRCallsiteIterator
getCallsites (StmtHandle h)=0
 Return an iterator over all of the callsites in a given stmt.

Detailed Description

The UDDUChainsIRInterface abstract base class gives a set of methods for querying the source IR for information relevant to computing UD and DU chains. This is the primary interface for UDDUChains to the underlying intermediate representation.

Definition at line 38 of file UDDUChainsIRInterface.hpp.


Constructor & Destructor Documentation

OA::UDDUChains::UDDUChainsIRInterface::UDDUChainsIRInterface (  )  [inline]

Definition at line 40 of file UDDUChainsIRInterface.hpp.

virtual OA::UDDUChains::UDDUChainsIRInterface::~UDDUChainsIRInterface (  )  [inline, virtual]

Definition at line 41 of file UDDUChainsIRInterface.hpp.


Member Function Documentation

virtual OA_ptr<IRCallsiteIterator> OA::UDDUChains::UDDUChainsIRInterface::getCallsites ( StmtHandle  h  )  [pure virtual]

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

virtual OA_ptr<MemRefHandleIterator> OA::UDDUChains::UDDUChainsIRInterface::getDefMemRefs ( StmtHandle  stmt  )  [pure virtual]

Return a list of all the def memory reference handles that appear in the given statement. User is responsible for deleting the list

virtual OA_ptr<IRStmtIterator> OA::UDDUChains::UDDUChainsIRInterface::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.

virtual OA_ptr<MemRefHandleIterator> OA::UDDUChains::UDDUChainsIRInterface::getUseMemRefs ( StmtHandle  stmt  )  [pure virtual]

Return a list of all the source and sub memory reference handles that appear in the given statement. User is responsible for deleting the list


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