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

Construct a new DependenceInfoWrapper pass. More...

#include <DependenceInfo.h>

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

Public Member Functions

 DependenceInfoWrapperPass ()
 Construct a new DependenceInfoWrapper pass.
 
const DependencesgetDependences (Scop *S, Dependences::AnalysisLevel Level)
 Return the dependence information for the given SCoP.
 
const DependencesrecomputeDependences (Scop *S, Dependences::AnalysisLevel Level)
 Recompute dependences from schedule and memory accesses.
 
bool runOnFunction (Function &F) override
 Compute the dependence information on-the-fly for the function.
 
void print (raw_ostream &OS, const Module *M=nullptr) const override
 Print the dependences for the current function to OS.
 
void releaseMemory () override
 Release the internal memory.
 
void getAnalysisUsage (AnalysisUsage &AU) const override
 Register all analyses and transformation required.
 

Static Public Attributes

static char ID = 0
 

Private Types

using ScopToDepsMapTy = DenseMap< Scop *, std::unique_ptr< Dependences > >
 

Private Attributes

ScopToDepsMapTy ScopToDepsMap
 Scop to Dependence map for the current function.
 

Detailed Description

Construct a new DependenceInfoWrapper pass.

Definition at line 286 of file DependenceInfo.h.

Member Typedef Documentation

◆ ScopToDepsMapTy

using polly::DependenceInfoWrapperPass::ScopToDepsMapTy = DenseMap<Scop *, std::unique_ptr<Dependences> >
private

Definition at line 319 of file DependenceInfo.h.

Constructor & Destructor Documentation

◆ DependenceInfoWrapperPass()

polly::DependenceInfoWrapperPass::DependenceInfoWrapperPass ( )
inline

Construct a new DependenceInfoWrapper pass.

Definition at line 291 of file DependenceInfo.h.

Member Function Documentation

◆ getAnalysisUsage()

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

Register all analyses and transformation required.

Definition at line 1024 of file DependenceInfo.cpp.

◆ getDependences()

const Dependences & polly::DependenceInfoWrapperPass::getDependences ( Scop S,
Dependences::AnalysisLevel  Level 
)

Return the dependence information for the given SCoP.

Parameters
SSCoP object.
LevelThe granularity of dependence analysis result.
Returns
The dependence analysis result

Referenced by polly::PolyhedralInfo::checkParallel().

◆ print()

void DependenceInfoWrapperPass::print ( raw_ostream &  OS,
const Module *  M = nullptr 
) const
override

Print the dependences for the current function to OS.

Definition at line 1017 of file DependenceInfo.cpp.

References assert.

Referenced by INITIALIZE_PASS_END().

◆ recomputeDependences()

const Dependences & DependenceInfoWrapperPass::recomputeDependences ( Scop S,
Dependences::AnalysisLevel  Level 
)

Recompute dependences from schedule and memory accesses.

Definition at line 1000 of file DependenceInfo.cpp.

◆ releaseMemory()

void polly::DependenceInfoWrapperPass::releaseMemory ( )
inlineoverride

Release the internal memory.

Definition at line 313 of file DependenceInfo.h.

References ScopToDepsMap.

◆ runOnFunction()

bool DependenceInfoWrapperPass::runOnFunction ( Function &  F)
override

Compute the dependence information on-the-fly for the function.

Definition at line 1008 of file DependenceInfo.cpp.

References polly::Dependences::AL_Access, and assert.

Member Data Documentation

◆ ID

char DependenceInfoWrapperPass::ID = 0
static

Definition at line 288 of file DependenceInfo.h.

◆ ScopToDepsMap

ScopToDepsMapTy polly::DependenceInfoWrapperPass::ScopToDepsMap
private

Scop to Dependence map for the current function.

Definition at line 322 of file DependenceInfo.h.

Referenced by releaseMemory().


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