Polly 20.0.0git
Public Member Functions | Static Public Attributes | Private Attributes | List of all members
polly::ScopInfoRegionPass Class Referencefinal

The legacy pass manager's analysis pass to compute scop information for a region. More...

#include <ScopInfo.h>

Inheritance diagram for polly::ScopInfoRegionPass:
Inheritance graph
[legend]

Public Member Functions

 ScopInfoRegionPass ()
 
 ~ScopInfoRegionPass () override=default
 
ScopgetScop ()
 Build Scop object, the Polly IR of static control part for the current SESE-Region.
 
const ScopgetScop () const
 
bool runOnRegion (Region *R, RGPassManager &RGM) override
 Calculate the polyhedral scop information for a given Region.
 
void releaseMemory () override
 
void print (raw_ostream &O, const Module *M=nullptr) const override
 
void getAnalysisUsage (AnalysisUsage &AU) const override
 

Static Public Attributes

static char ID = 0
 

Private Attributes

std::unique_ptr< ScopS
 The Scop pointer which is used to construct a Scop.
 

Detailed Description

The legacy pass manager's analysis pass to compute scop information for a region.

Definition at line 2679 of file ScopInfo.h.

Constructor & Destructor Documentation

◆ ScopInfoRegionPass()

polly::ScopInfoRegionPass::ScopInfoRegionPass ( )
inline

Definition at line 2686 of file ScopInfo.h.

◆ ~ScopInfoRegionPass()

polly::ScopInfoRegionPass::~ScopInfoRegionPass ( )
overridedefault

Member Function Documentation

◆ getAnalysisUsage()

void ScopInfoRegionPass::getAnalysisUsage ( AnalysisUsage &  AU) const
override

Definition at line 2550 of file ScopInfo.cpp.

◆ getScop() [1/2]

Scop * polly::ScopInfoRegionPass::getScop ( )
inline

Build Scop object, the Polly IR of static control part for the current SESE-Region.

Returns
If the current region is a valid for a static control part, return the Polly IR representing this static control part, return null otherwise.

Definition at line 2695 of file ScopInfo.h.

◆ getScop() [2/2]

const Scop * polly::ScopInfoRegionPass::getScop ( ) const
inline

Definition at line 2696 of file ScopInfo.h.

◆ print()

void ScopInfoRegionPass::print ( raw_ostream &  O,
const Module *  M = nullptr 
) const
override

Definition at line 2626 of file ScopInfo.cpp.

References PollyPrintInstructions().

Referenced by INITIALIZE_PASS_END().

◆ releaseMemory()

void polly::ScopInfoRegionPass::releaseMemory ( )
inlineoverride

Definition at line 2701 of file ScopInfo.h.

◆ runOnRegion()

bool ScopInfoRegionPass::runOnRegion ( Region *  R,
RGPassManager &  RGM 
)
override

Calculate the polyhedral scop information for a given Region.

Definition at line 2597 of file ScopInfo.cpp.

References polly::ScopDetection::countBeneficialLoops(), Function, polly::ScopBuilder::getScop(), and updateLoopCountStatistic().

Member Data Documentation

◆ ID

char ScopInfoRegionPass::ID = 0
static

Definition at line 2684 of file ScopInfo.h.

◆ S

std::unique_ptr<Scop> polly::ScopInfoRegionPass::S
private

The Scop pointer which is used to construct a Scop.

Definition at line 2681 of file ScopInfo.h.


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