Jlm
Classes | Public Types | Public Member Functions | Static Public Member Functions | Private Member Functions | Private Attributes | List of all members
jlm::llvm::GammaGammaPredicateCorrelation Class Referencefinal

#include <PredicateCorrelation.hpp>

Collaboration diagram for jlm::llvm::GammaGammaPredicateCorrelation:
Collaboration graph
[legend]

Classes

struct  MatchCorrelationData
 

Public Types

using CorrelationData = std::variant< MatchCorrelationData >
 

Public Member Functions

CorrelationType type () const noexcept
 
rvsdg::GammaNodegammaNode1 () const noexcept
 
rvsdg::GammaNodegammaNode2 () const noexcept
 
const CorrelationDatacorrelationData () const noexcept
 

Static Public Member Functions

static std::unique_ptr< GammaGammaPredicateCorrelationCreateMatchCorrelation (rvsdg::GammaNode &gammaNode1, rvsdg::GammaNode &gammaNode2, MatchCorrelationData correlationData)
 

Private Member Functions

 GammaGammaPredicateCorrelation (const CorrelationType type, rvsdg::GammaNode &gammaNode1, rvsdg::GammaNode &gammaNode2, CorrelationData correlationData)
 

Private Attributes

CorrelationType type_
 
rvsdg::GammaNodegammaNode1_
 
rvsdg::GammaNodegammaNode2_
 
CorrelationData correlationData_
 

Detailed Description

Represents the predicate correlation between two gamma nodes.

Definition at line 61 of file PredicateCorrelation.hpp.

Member Typedef Documentation

◆ CorrelationData

Definition at line 69 of file PredicateCorrelation.hpp.

Constructor & Destructor Documentation

◆ GammaGammaPredicateCorrelation()

jlm::llvm::GammaGammaPredicateCorrelation::GammaGammaPredicateCorrelation ( const CorrelationType  type,
rvsdg::GammaNode gammaNode1,
rvsdg::GammaNode gammaNode2,
CorrelationData  correlationData 
)
inlineprivate

Definition at line 72 of file PredicateCorrelation.hpp.

Member Function Documentation

◆ correlationData()

const CorrelationData& jlm::llvm::GammaGammaPredicateCorrelation::correlationData ( ) const
inlinenoexcept

Definition at line 103 of file PredicateCorrelation.hpp.

◆ CreateMatchCorrelation()

static std::unique_ptr<GammaGammaPredicateCorrelation> jlm::llvm::GammaGammaPredicateCorrelation::CreateMatchCorrelation ( rvsdg::GammaNode gammaNode1,
rvsdg::GammaNode gammaNode2,
MatchCorrelationData  correlationData 
)
inlinestatic

Definition at line 109 of file PredicateCorrelation.hpp.

◆ gammaNode1()

rvsdg::GammaNode& jlm::llvm::GammaGammaPredicateCorrelation::gammaNode1 ( ) const
inlinenoexcept

Definition at line 91 of file PredicateCorrelation.hpp.

◆ gammaNode2()

rvsdg::GammaNode& jlm::llvm::GammaGammaPredicateCorrelation::gammaNode2 ( ) const
inlinenoexcept

Definition at line 97 of file PredicateCorrelation.hpp.

◆ type()

CorrelationType jlm::llvm::GammaGammaPredicateCorrelation::type ( ) const
inlinenoexcept

Definition at line 85 of file PredicateCorrelation.hpp.

Member Data Documentation

◆ correlationData_

CorrelationData jlm::llvm::GammaGammaPredicateCorrelation::correlationData_
private

Definition at line 125 of file PredicateCorrelation.hpp.

◆ gammaNode1_

rvsdg::GammaNode& jlm::llvm::GammaGammaPredicateCorrelation::gammaNode1_
private

Definition at line 123 of file PredicateCorrelation.hpp.

◆ gammaNode2_

rvsdg::GammaNode& jlm::llvm::GammaGammaPredicateCorrelation::gammaNode2_
private

Definition at line 124 of file PredicateCorrelation.hpp.

◆ type_

CorrelationType jlm::llvm::GammaGammaPredicateCorrelation::type_
private

Definition at line 122 of file PredicateCorrelation.hpp.


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