Jlm
Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
TestAnalysis Class Referencefinal
Inheritance diagram for TestAnalysis:
Inheritance graph
[legend]
Collaboration diagram for TestAnalysis:
Collaboration graph
[legend]

Public Member Functions

std::unique_ptr< jlm::llvm::aa::PointsToGraphAnalyze (const jlm::rvsdg::RvsdgModule &rvsdgModule, jlm::util::StatisticsCollector &) override
 Analyze RVSDG module. More...
 
std::unique_ptr< jlm::llvm::aa::PointsToGraphAnalyze (const jlm::llvm::LlvmRvsdgModule &rvsdgModule)
 
- Public Member Functions inherited from jlm::llvm::aa::PointsToAnalysis
virtual ~PointsToAnalysis ()=default
 

Static Public Member Functions

static std::unique_ptr< jlm::llvm::aa::PointsToGraphCreateAndAnalyze (const jlm::llvm::LlvmRvsdgModule &rvsdgModule)
 

Private Member Functions

void AnalyzeRegion (jlm::rvsdg::Region &region)
 
void AnalyzeImports (const jlm::rvsdg::Graph &rvsdg)
 

Private Attributes

std::unique_ptr< jlm::llvm::aa::PointsToGraphpointsToGraph_
 

Detailed Description

A simple test analysis that does nothing else than creating some points-to graph nodes and edges.

Definition at line 21 of file PointsToGraphTests.cpp.

Member Function Documentation

◆ Analyze() [1/2]

std::unique_ptr<jlm::llvm::aa::PointsToGraph> TestAnalysis::Analyze ( const jlm::llvm::LlvmRvsdgModule rvsdgModule)
inline

Definition at line 36 of file PointsToGraphTests.cpp.

◆ Analyze() [2/2]

std::unique_ptr<jlm::llvm::aa::PointsToGraph> TestAnalysis::Analyze ( const jlm::rvsdg::RvsdgModule module,
jlm::util::StatisticsCollector statisticsCollector 
)
inlineoverridevirtual

Analyze RVSDG module.

Parameters
moduleRVSDG module the analysis is performed on.
statisticsCollectorStatistics collector for collecting analysis statistics.
Returns
A PointsTo graph.

Implements jlm::llvm::aa::PointsToAnalysis.

Definition at line 25 of file PointsToGraphTests.cpp.

◆ AnalyzeImports()

void TestAnalysis::AnalyzeImports ( const jlm::rvsdg::Graph rvsdg)
inlineprivate

Definition at line 95 of file PointsToGraphTests.cpp.

◆ AnalyzeRegion()

void TestAnalysis::AnalyzeRegion ( jlm::rvsdg::Region region)
inlineprivate

Definition at line 51 of file PointsToGraphTests.cpp.

◆ CreateAndAnalyze()

static std::unique_ptr<jlm::llvm::aa::PointsToGraph> TestAnalysis::CreateAndAnalyze ( const jlm::llvm::LlvmRvsdgModule rvsdgModule)
inlinestatic

Definition at line 43 of file PointsToGraphTests.cpp.

Member Data Documentation

◆ pointsToGraph_

std::unique_ptr<jlm::llvm::aa::PointsToGraph> TestAnalysis::pointsToGraph_
private

Definition at line 111 of file PointsToGraphTests.cpp.


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