OpenADFortTk (including Open64 and OpenAnalysis references)
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
OA::Loop::Interface Class Referenceabstract

#include <Interface.hpp>

Inheritance diagram for OA::Loop::Interface:
Inheritance graph
Collaboration diagram for OA::Loop::Interface:
Collaboration graph

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 Interface.hpp.

Constructor & Destructor Documentation

OA::Loop::Interface::Interface ( )
inline

Definition at line 31 of file Interface.hpp.

virtual OA::Loop::Interface::~Interface ( )
inlinevirtual

Definition at line 32 of file 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

Implemented in OA::Loop::LoopResults.


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