Public Member Functions

OA::Loop::Interface Class Reference

#include <Interface.hpp>

List of all members.

Public Member Functions

 Interface ()
virtual ~Interface ()
virtual void addLoop (OA_ptr< LoopAbstraction > l)=0
virtual OA_ptr< LoopAbstraction > getLoop (StmtHandle stmt)=0
virtual OA_ptr< list< OA_ptr
< LoopIndex > > > 
getIndexVars (OA_ptr< LoopAbstraction > loop)=0

Detailed Description

Interface for classes that store loop detection analysis results.

Definition at line 29 of file Loop/Interface.hpp.


Constructor & Destructor Documentation

OA::Loop::Interface::Interface (  )  [inline]

Definition at line 31 of file Loop/Interface.hpp.

virtual OA::Loop::Interface::~Interface (  )  [inline, virtual]

Definition at line 32 of file Loop/Interface.hpp.


Member Function Documentation

virtual void OA::Loop::Interface::addLoop ( OA_ptr< LoopAbstraction >  l  )  [pure virtual]

Add a loop to the results

virtual OA_ptr<list<OA_ptr<LoopIndex> > > OA::Loop::Interface::getIndexVars ( OA_ptr< LoopAbstraction >  loop  )  [pure virtual]

Get an ordered list of variables representing the index variables for the specified loop and its parents. The first element of the list corresponds to the outermost (top-level) loop. This is to correspond with the order typically used in distance and direction vectors.

virtual OA_ptr<LoopAbstraction> OA::Loop::Interface::getLoop ( StmtHandle  stmt  )  [pure virtual]

Given a statement handle to a loop return the abstraction that's been built to represent it. If no such abstraction has been built return a null pointer


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