Jlm
Loading...
Searching...
No Matches
Functions
LoadTests.cpp File Reference
#include <gtest/gtest.h>
#include <jlm/llvm/ir/operators/alloca.hpp>
#include <jlm/llvm/ir/operators/GetElementPtr.hpp>
#include <jlm/llvm/ir/operators/IntegerOperations.hpp>
#include <jlm/llvm/ir/operators/IOBarrier.hpp>
#include <jlm/llvm/ir/operators/Load.hpp>
#include <jlm/llvm/ir/operators/MemoryStateOperations.hpp>
#include <jlm/llvm/ir/operators/Store.hpp>
#include <jlm/rvsdg/gamma.hpp>
#include <jlm/rvsdg/NodeNormalization.hpp>
#include <jlm/rvsdg/TestOperations.hpp>
#include <jlm/rvsdg/TestType.hpp>
#include <jlm/rvsdg/view.hpp>
Include dependency graph for LoadTests.cpp:

Go to the source code of this file.

Functions

 TEST (LoadOperationTests, OperationEquality)
 
 TEST (LoadOperationTests, TestCopy)
 
 TEST (LoadOperationTests, TestLoadAllocaReduction)
 
 TEST (LoadOperationTests, TestDuplicateStateReduction)
 
 TEST (LoadOperationTests, TestLoadStoreStateReduction)
 
 TEST (LoadOperationTests, TestLoadStoreReduction_Success)
 
 TEST (LoadOperationTests, LoadStoreReduction_DifferentValueOperandType)
 
 TEST (LoadOperationTests, normalizeIOBarrierAddress)
 
 TEST (LoadOperationTests, normalizeIOBarrierAddress_Gamma)
 
 TEST (LoadOperationTests, normalizeIOBarrierAddress_GEP)
 
 TEST (LoadOperationTests, LoadVolatileOperationEquality)
 
 TEST (LoadOperationTests, OperationCopy)
 
 TEST (LoadOperationTests, OperationAccessors)
 
 TEST (LoadOperationTests, NodeCopy)
 

Function Documentation

◆ TEST() [1/14]

TEST ( LoadOperationTests  ,
LoadStoreReduction_DifferentValueOperandType   
)

Tests the load-store reduction with the value type of the store being different from the value type of the load.

Definition at line 246 of file LoadTests.cpp.

◆ TEST() [2/14]

TEST ( LoadOperationTests  ,
LoadVolatileOperationEquality   
)

Definition at line 498 of file LoadTests.cpp.

◆ TEST() [3/14]

TEST ( LoadOperationTests  ,
NodeCopy   
)

Definition at line 561 of file LoadTests.cpp.

◆ TEST() [4/14]

TEST ( LoadOperationTests  ,
normalizeIOBarrierAddress   
)

Definition at line 292 of file LoadTests.cpp.

◆ TEST() [5/14]

TEST ( LoadOperationTests  ,
normalizeIOBarrierAddress_Gamma   
)

Definition at line 353 of file LoadTests.cpp.

◆ TEST() [6/14]

TEST ( LoadOperationTests  ,
normalizeIOBarrierAddress_GEP   
)

Definition at line 416 of file LoadTests.cpp.

◆ TEST() [7/14]

TEST ( LoadOperationTests  ,
OperationAccessors   
)

Definition at line 540 of file LoadTests.cpp.

◆ TEST() [8/14]

TEST ( LoadOperationTests  ,
OperationCopy   
)

Definition at line 522 of file LoadTests.cpp.

◆ TEST() [9/14]

TEST ( LoadOperationTests  ,
OperationEquality   
)

Definition at line 21 of file LoadTests.cpp.

◆ TEST() [10/14]

TEST ( LoadOperationTests  ,
TestCopy   
)

Definition at line 45 of file LoadTests.cpp.

◆ TEST() [11/14]

TEST ( LoadOperationTests  ,
TestDuplicateStateReduction   
)

Definition at line 111 of file LoadTests.cpp.

◆ TEST() [12/14]

TEST ( LoadOperationTests  ,
TestLoadAllocaReduction   
)

Definition at line 74 of file LoadTests.cpp.

◆ TEST() [13/14]

TEST ( LoadOperationTests  ,
TestLoadStoreReduction_Success   
)

Definition at line 206 of file LoadTests.cpp.

◆ TEST() [14/14]

TEST ( LoadOperationTests  ,
TestLoadStoreStateReduction   
)

Definition at line 159 of file LoadTests.cpp.