souffle  2.0.2-371-g6315b36
Public Member Functions | Protected Attributes
souffle::ram::transform::LoopTransformer Class Reference

@Class LoopTransformer @Brief Composite loop transformer More...

#include <Loop.h>

Inheritance diagram for souffle::ram::transform::LoopTransformer:
Inheritance graph
Collaboration diagram for souffle::ram::transform::LoopTransformer:
Collaboration graph

Public Member Functions

std::string getName () const override
 @Brief get name of the transformer More...
 
 LoopTransformer (Own< Transformer > tLoop)
 
bool transform (TranslationUnit &tU) override
 @Brief transform the translation unit / used by apply @Param translationUnit that will be transformed. More...
 
- Public Member Functions inherited from souffle::ram::transform::Transformer
bool apply (TranslationUnit &translationUnit)
 @Brief apply the transformer to a translation unit @Param translationUnit that will be transformed. More...
 
virtual ~Transformer ()=default
 

Protected Attributes

Own< Transformerloop
 transformer of the loop More...
 

Additional Inherited Members

Detailed Description

@Class LoopTransformer @Brief Composite loop transformer

A transformation is invoked iteratively until no further change is made.

Definition at line 40 of file Loop.h.

Constructor & Destructor Documentation

◆ LoopTransformer()

souffle::ram::transform::LoopTransformer::LoopTransformer ( Own< Transformer tLoop)
inline

Definition at line 48 of file Loop.h.

48 :
49  /** transformer of the loop */

Member Function Documentation

◆ getName()

std::string souffle::ram::transform::LoopTransformer::getName ( ) const
inlineoverridevirtual

@Brief get name of the transformer

Implements souffle::ram::transform::Transformer.

Definition at line 49 of file Loop.h.

◆ transform()

bool souffle::ram::transform::LoopTransformer::transform ( TranslationUnit translationUnit)
inlineoverridevirtual

@Brief transform the translation unit / used by apply @Param translationUnit that will be transformed.

@Return flag reporting whether the RAM program has changed

Implements souffle::ram::transform::Transformer.

Definition at line 52 of file Loop.h.

Field Documentation

◆ loop

Own<Transformer> souffle::ram::transform::LoopTransformer::loop
protected

transformer of the loop

Definition at line 62 of file Loop.h.


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