Jlm
Functions
LoopStrengthReductionTests.cpp File Reference
#include <jlm/llvm/ir/operators/call.hpp>
#include <jlm/llvm/ir/operators/delta.hpp>
#include <jlm/llvm/ir/operators/GetElementPtr.hpp>
#include <jlm/llvm/ir/operators/IntegerOperations.hpp>
#include <jlm/llvm/ir/operators/lambda.hpp>
#include <jlm/llvm/ir/operators/Load.hpp>
#include <jlm/llvm/ir/operators/operators.hpp>
#include <jlm/llvm/ir/operators/sext.hpp>
#include <jlm/llvm/ir/operators/Store.hpp>
#include <jlm/llvm/ir/RvsdgModule.hpp>
#include <jlm/llvm/opt/LoopStrengthReduction.hpp>
#include <jlm/rvsdg/gamma.hpp>
#include <jlm/rvsdg/TestOperations.hpp>
#include <jlm/rvsdg/view.hpp>
#include <gtest/gtest.h>
Include dependency graph for LoopStrengthReductionTests.cpp:

Go to the source code of this file.

Functions

void RunLoopStrengthReduction (jlm::rvsdg::RvsdgModule &rvsdgModule)
 
 TEST (LoopStrengthReductionTests, SimpleArithmeticCandidateOperation)
 
 TEST (LoopStrengthReductionTests, CandidateOperationDependentOnInvalidInductionVariable)
 
 TEST (LoopStrengthReductionTests, NestedArithmeticCandidateOperation)
 
 TEST (LoopStrengthReductionTests, NestedArithmeticCandidateOperationWithUsersForBoth)
 
 TEST (LoopStrengthReductionTests, SimpleGEPCandidateOperation)
 
 TEST (LoopStrengthReductionTests, GEPCandidateOperationWithNAryStart)
 
 TEST (LoopStrengthReductionTests, CandidateOperationInNestedLoopTest)
 
 TEST (LoopStrengthReductionTests, CandidateOperationInNestedLoopWithGammaTest)
 
 TEST (LoopStrengthReductionTests, CandidateOperationInThreeLevelNestedLoopTest)
 
 TEST (LoopStrengthReductionTests, CandidateOperationWithInitTest)
 
 TEST (LoopStrengthReductionTests, CandidateOperationWithInitAndTracingTest)
 

Function Documentation

◆ RunLoopStrengthReduction()

void RunLoopStrengthReduction ( jlm::rvsdg::RvsdgModule rvsdgModule)

Definition at line 24 of file LoopStrengthReductionTests.cpp.

◆ TEST() [1/11]

TEST ( LoopStrengthReductionTests  ,
CandidateOperationDependentOnInvalidInductionVariable   
)

Definition at line 127 of file LoopStrengthReductionTests.cpp.

◆ TEST() [2/11]

TEST ( LoopStrengthReductionTests  ,
CandidateOperationInNestedLoopTest   
)

Definition at line 657 of file LoopStrengthReductionTests.cpp.

◆ TEST() [3/11]

TEST ( LoopStrengthReductionTests  ,
CandidateOperationInNestedLoopWithGammaTest   
)

Definition at line 778 of file LoopStrengthReductionTests.cpp.

◆ TEST() [4/11]

TEST ( LoopStrengthReductionTests  ,
CandidateOperationInThreeLevelNestedLoopTest   
)

Definition at line 935 of file LoopStrengthReductionTests.cpp.

◆ TEST() [5/11]

TEST ( LoopStrengthReductionTests  ,
CandidateOperationWithInitAndTracingTest   
)

Definition at line 1208 of file LoopStrengthReductionTests.cpp.

◆ TEST() [6/11]

TEST ( LoopStrengthReductionTests  ,
CandidateOperationWithInitTest   
)

Definition at line 1085 of file LoopStrengthReductionTests.cpp.

◆ TEST() [7/11]

TEST ( LoopStrengthReductionTests  ,
GEPCandidateOperationWithNAryStart   
)

Definition at line 535 of file LoopStrengthReductionTests.cpp.

◆ TEST() [8/11]

TEST ( LoopStrengthReductionTests  ,
NestedArithmeticCandidateOperation   
)

Definition at line 194 of file LoopStrengthReductionTests.cpp.

◆ TEST() [9/11]

TEST ( LoopStrengthReductionTests  ,
NestedArithmeticCandidateOperationWithUsersForBoth   
)

Definition at line 295 of file LoopStrengthReductionTests.cpp.

◆ TEST() [10/11]

TEST ( LoopStrengthReductionTests  ,
SimpleArithmeticCandidateOperation   
)

Definition at line 31 of file LoopStrengthReductionTests.cpp.

◆ TEST() [11/11]

TEST ( LoopStrengthReductionTests  ,
SimpleGEPCandidateOperation   
)

Definition at line 423 of file LoopStrengthReductionTests.cpp.