Jlm
Loading...
Searching...
No Matches
Public Attributes | Private Member Functions | List of all members
jlm::mlir::ConstantDeltaTest Class Referencefinal

ConstantDeltaTest class. More...

#include <TestRvsdgs.hpp>

Inheritance diagram for jlm::mlir::ConstantDeltaTest:
Inheritance graph
[legend]
Collaboration diagram for jlm::mlir::ConstantDeltaTest:
Collaboration graph
[legend]

Public Attributes

jlm::rvsdg::DeltaNode * mutableDelta
 
jlm::rvsdg::DeltaNode * constantDelta
 

Private Member Functions

std::unique_ptr< jlm::llvm::LlvmRvsdgModule > SetupRvsdg () override
 Create RVSDG for this test.
 

Additional Inherited Members

- Public Member Functions inherited from jlm::llvm::RvsdgTest
virtual ~RvsdgTest ()=default
 
jlm::llvm::LlvmRvsdgModule & module ()
 
const rvsdg::Graph & graph ()
 
void InitializeTest ()
 

Detailed Description

ConstantDeltaTest class.

This class sets up an RVSDG representing the following declarations:

__attribute__((section("mysection"))) int mutableGlobal = 1;
__attribute__((section("mysection"))) const int constantGlobal = 1;

Both carry a section name, which distinguishes them from the deltas in the other graphs, and only the second one is marked constant. Both attributes take part in the operation's equality.

See also
jlm::llvm::DeltaTest1

Definition at line 320 of file TestRvsdgs.hpp.

Member Function Documentation

◆ SetupRvsdg()

std::unique_ptr< jlm::llvm::LlvmRvsdgModule > jlm::mlir::ConstantDeltaTest::SetupRvsdg ( )
overrideprivatevirtual

Create RVSDG for this test.

Implements jlm::llvm::RvsdgTest.

Definition at line 440 of file TestRvsdgs.cpp.

Member Data Documentation

◆ constantDelta

jlm::rvsdg::DeltaNode* jlm::mlir::ConstantDeltaTest::constantDelta

Definition at line 329 of file TestRvsdgs.hpp.

◆ mutableDelta

jlm::rvsdg::DeltaNode* jlm::mlir::ConstantDeltaTest::mutableDelta

Definition at line 327 of file TestRvsdgs.hpp.


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