Polly 20.0.0git
Public Member Functions | Public Attributes | List of all members
polly::DependenceAnalysis::Result Struct Reference

#include <DependenceInfo.h>

Public Member Functions

const DependencesgetDependences (Dependences::AnalysisLevel Level)
 Return the dependence information for the current SCoP.
 
const DependencesrecomputeDependences (Dependences::AnalysisLevel Level)
 Recompute dependences from schedule and memory accesses.
 
void abandonDependences ()
 Invalidate the dependence information and recompute it when needed again.
 

Public Attributes

ScopS
 
std::unique_ptr< DependencesD [Dependences::NumAnalysisLevels]
 

Detailed Description

Definition at line 197 of file DependenceInfo.h.

Member Function Documentation

◆ abandonDependences()

void DependenceAnalysis::Result::abandonDependences ( )

Invalidate the dependence information and recompute it when needed again.

May be required when the underlaying Scop was changed in a way that would add new dependencies (e.g. between new statement instances insierted into the SCoP) or intentionally breaks existing ones. It is not required when updating the schedule that conforms the existing dependencies.

Definition at line 852 of file DependenceInfo.cpp.

Referenced by INITIALIZE_PASS_END().

◆ getDependences()

const Dependences & DependenceAnalysis::Result::getDependences ( Dependences::AnalysisLevel  Level)

Return the dependence information for the current SCoP.

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

Definition at line 838 of file DependenceInfo.cpp.

References D, and recomputeDependences().

Referenced by INITIALIZE_PASS_END(), and polly::DeadCodeElimPass::run().

◆ recomputeDependences()

const Dependences & DependenceAnalysis::Result::recomputeDependences ( Dependences::AnalysisLevel  Level)

Recompute dependences from schedule and memory accesses.

Definition at line 845 of file DependenceInfo.cpp.

References polly::Dependences::calculateDependences().

Referenced by getDependences(), and polly::DeadCodeElimPass::run().

Member Data Documentation

◆ D

std::unique_ptr<Dependences> polly::DependenceAnalysis::Result::D[Dependences::NumAnalysisLevels]

Definition at line 199 of file DependenceInfo.h.

Referenced by getDependences().

◆ S

Scop& polly::DependenceAnalysis::Result::S

Definition at line 198 of file DependenceInfo.h.


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