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

LoadVolatileTest class. More...

#include <TestRvsdgs.hpp>

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

Public Attributes

jlm::rvsdg::LambdaNode * lambda
 
jlm::rvsdg::SimpleNode * load
 

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

LoadVolatileTest class.

This class sets up an RVSDG representing the following function:

uint32_t f(uint32_t * p)
{
return * volatile p;
}

In contrast to the non-volatile case, the load requires an I/O state that sequentializes it with respect to other volatile memory accesses.

See also
LoadNonVolatileTest

Definition at line 57 of file TestRvsdgs.hpp.

Member Function Documentation

◆ SetupRvsdg()

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

Create RVSDG for this test.

Implements jlm::llvm::RvsdgTest.

Definition at line 60 of file TestRvsdgs.cpp.

Member Data Documentation

◆ lambda

jlm::rvsdg::LambdaNode* jlm::mlir::LoadVolatileTest::lambda

Definition at line 64 of file TestRvsdgs.hpp.

◆ load

jlm::rvsdg::SimpleNode* jlm::mlir::LoadVolatileTest::load

Definition at line 66 of file TestRvsdgs.hpp.


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