Polly 20.0.0git
|
Construct a new DependenceInfoWrapper pass. More...
#include <DependenceInfo.h>
Public Member Functions | |
DependenceInfoWrapperPass () | |
Construct a new DependenceInfoWrapper pass. | |
const Dependences & | getDependences (Scop *S, Dependences::AnalysisLevel Level) |
Return the dependence information for the given SCoP. | |
const Dependences & | recomputeDependences (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. | |
Construct a new DependenceInfoWrapper pass.
Definition at line 286 of file DependenceInfo.h.
|
private |
Definition at line 319 of file DependenceInfo.h.
|
inline |
Construct a new DependenceInfoWrapper pass.
Definition at line 291 of file DependenceInfo.h.
|
override |
Register all analyses and transformation required.
Definition at line 1024 of file DependenceInfo.cpp.
const Dependences & polly::DependenceInfoWrapperPass::getDependences | ( | Scop * | S, |
Dependences::AnalysisLevel | Level | ||
) |
Return the dependence information for the given SCoP.
S | SCoP object. |
Level | The granularity of dependence analysis result. |
Referenced by polly::PolyhedralInfo::checkParallel().
|
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().
const Dependences & DependenceInfoWrapperPass::recomputeDependences | ( | Scop * | S, |
Dependences::AnalysisLevel | Level | ||
) |
Recompute dependences from schedule and memory accesses.
Definition at line 1000 of file DependenceInfo.cpp.
|
inlineoverride |
Release the internal memory.
Definition at line 313 of file DependenceInfo.h.
References ScopToDepsMap.
|
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.
|
static |
Definition at line 288 of file DependenceInfo.h.
|
private |
Scop to Dependence map for the current function.
Definition at line 322 of file DependenceInfo.h.
Referenced by releaseMemory().