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

The legacy pass manager's analysis pass to compute scop information for the whole function. More...

#include <ScopInfo.h>

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

Public Member Functions

 ScopInfoWrapperPass ()
 
 ~ScopInfoWrapperPass () override=default
 
ScopInfogetSI ()
 
const ScopInfogetSI () const
 
bool runOnFunction (Function &F) override
 Calculate all the polyhedral scops for a given function.
 
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< ScopInfoResult
 

Detailed Description

The legacy pass manager's analysis pass to compute scop information for the whole function.

This pass will maintain a map of the maximal region within a scop to its scop object for all the feasible scops present in a function. This pass is an alternative to the ScopInfoRegionPass in order to avoid a region pass manager.

Definition at line 2791 of file ScopInfo.h.

Constructor & Destructor Documentation

◆ ScopInfoWrapperPass()

polly::ScopInfoWrapperPass::ScopInfoWrapperPass ( )
inline

Definition at line 2795 of file ScopInfo.h.

◆ ~ScopInfoWrapperPass()

polly::ScopInfoWrapperPass::~ScopInfoWrapperPass ( )
overridedefault

Member Function Documentation

◆ getAnalysisUsage()

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

Definition at line 2769 of file ScopInfo.cpp.

◆ getSI() [1/2]

ScopInfo * polly::ScopInfoWrapperPass::getSI ( )
inline

Definition at line 2800 of file ScopInfo.h.

References Result.

◆ getSI() [2/2]

const ScopInfo * polly::ScopInfoWrapperPass::getSI ( ) const
inline

Definition at line 2801 of file ScopInfo.h.

References Result.

◆ print()

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

Definition at line 2795 of file ScopInfo.cpp.

References PollyPrintInstructions(), and Result.

Referenced by INITIALIZE_PASS_END().

◆ releaseMemory()

void polly::ScopInfoWrapperPass::releaseMemory ( )
inlineoverride

Definition at line 2806 of file ScopInfo.h.

References Result.

◆ runOnFunction()

bool ScopInfoWrapperPass::runOnFunction ( Function &  F)
override

Calculate all the polyhedral scops for a given function.

Definition at line 2781 of file ScopInfo.cpp.

References Result.

Member Data Documentation

◆ ID

char ScopInfoWrapperPass::ID = 0
static

Definition at line 2798 of file ScopInfo.h.

◆ Result

std::unique_ptr<ScopInfo> polly::ScopInfoWrapperPass::Result
private

Definition at line 2792 of file ScopInfo.h.

Referenced by getSI(), print(), releaseMemory(), and runOnFunction().


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