Jlm
Functions
ThreeAddressCodeConversionTests.cpp File Reference
#include <gtest/gtest.h>
#include <jlm/llvm/frontend/InterProceduralGraphConversion.hpp>
#include <jlm/llvm/ir/ipgraph-module.hpp>
#include <jlm/llvm/ir/operators/lambda.hpp>
#include <jlm/llvm/ir/operators/Load.hpp>
#include <jlm/llvm/ir/operators/Store.hpp>
#include <jlm/llvm/ir/RvsdgModule.hpp>
#include <jlm/rvsdg/TestType.hpp>
#include <jlm/rvsdg/view.hpp>
#include <jlm/util/Statistics.hpp>
Include dependency graph for ThreeAddressCodeConversionTests.cpp:

Go to the source code of this file.

Functions

static std::unique_ptr< jlm::llvm::ControlFlowGraphSetupControlFlowGraph (jlm::llvm::InterProceduralGraphModule &ipgModule, const jlm::rvsdg::SimpleOperation &operation)
 
static std::unique_ptr< jlm::llvm::InterProceduralGraphModuleSetupFunctionWithThreeAddressCode (const jlm::rvsdg::SimpleOperation &operation)
 
 TEST (ThreeAddressCodeConversionTests, LoadVolatileConversion)
 
 TEST (ThreeAddressCodeConversionTests, StoreVolatileConversion)
 

Function Documentation

◆ SetupControlFlowGraph()

static std::unique_ptr<jlm::llvm::ControlFlowGraph> SetupControlFlowGraph ( jlm::llvm::InterProceduralGraphModule ipgModule,
const jlm::rvsdg::SimpleOperation operation 
)
static

Definition at line 21 of file ThreeAddressCodeConversionTests.cpp.

◆ SetupFunctionWithThreeAddressCode()

static std::unique_ptr<jlm::llvm::InterProceduralGraphModule> SetupFunctionWithThreeAddressCode ( const jlm::rvsdg::SimpleOperation operation)
static

Definition at line 56 of file ThreeAddressCodeConversionTests.cpp.

◆ TEST() [1/2]

TEST ( ThreeAddressCodeConversionTests  ,
LoadVolatileConversion   
)

Definition at line 85 of file ThreeAddressCodeConversionTests.cpp.

◆ TEST() [2/2]

TEST ( ThreeAddressCodeConversionTests  ,
StoreVolatileConversion   
)

Definition at line 107 of file ThreeAddressCodeConversionTests.cpp.