|
Jlm
|
#include <gtest/gtest.h>#include <jlm/llvm/backend/IpGraphToLlvmConverter.hpp>#include <jlm/llvm/ir/CallingConvention.hpp>#include <jlm/llvm/ir/ipgraph-module.hpp>#include <jlm/llvm/ir/operators/call.hpp>#include <jlm/llvm/ir/operators/IntegerOperations.hpp>#include <jlm/llvm/ir/operators/Load.hpp>#include <jlm/llvm/ir/operators/operators.hpp>#include <jlm/llvm/ir/operators/SpecializedArithmeticIntrinsicOperations.hpp>#include <jlm/llvm/ir/operators/StdLibIntrinsicOperations.hpp>#include <jlm/llvm/ir/operators/Store.hpp>#include <jlm/llvm/ir/print.hpp>#include <jlm/rvsdg/TestType.hpp>#include <llvm/IR/Instructions.h>#include <llvm/IR/Intrinsics.h>#include <llvm/IR/LLVMContext.h>#include <llvm/IR/Module.h>
Go to the source code of this file.
Functions | |
| TEST (IpGraphToLlvmConverterTests, LoadConversion) | |
| TEST (IpGraphToLlvmConverterTests, LoadVolatileConversion) | |
| TEST (IpGraphToLlvmConverterTests, MemCpyConversion) | |
| TEST (IpGraphToLlvmConverterTests, MemCpyVolatileConversion) | |
| TEST (IpGraphToLlvmConverterTests, MemSetConversion) | |
| TEST (IpGraphToLlvmConverterTests, StoreConversion) | |
| TEST (IpGraphToLlvmConverterTests, StoreVolatileConversion) | |
| TEST (IpGraphToLlvmConverterTests, FMulAddConversion) | |
| TEST (IpGraphToLlvmConverterTests, IntegerConstant) | |
| TEST (IpGraphToLlvmConverterTests, Malloc) | |
| TEST (IpGraphToLlvmConverterTests, Free) | |
| TEST (IpGraphToLlvmConverterTests, IgnoreMemoryState) | |
| TEST (IpGraphToLlvmConverterTests, SelectWithState) | |
| TEST (IpGraphToLlvmConverterTests, TestAttributeKindConversion) | |
| TEST (IpGraphToLlvmConverterTests, CallingConvConversion) | |
| TEST | ( | IpGraphToLlvmConverterTests | , |
| CallingConvConversion | |||
| ) |
Tests that function nodes and call operations in the IpGraph are converted to LLVM function declarations, definitions and calls with the correct calling conventions.
The tested IpGraph corresponds to the one created in the CallingConvConversion test in LlvmModuleConversionTests.cpp
Definition at line 724 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| FMulAddConversion | |||
| ) |
Definition at line 434 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| Free | |||
| ) |
Definition at line 592 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| IgnoreMemoryState | |||
| ) |
Definition at line 650 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| IntegerConstant | |||
| ) |
Definition at line 496 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| LoadConversion | |||
| ) |
Definition at line 25 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| LoadVolatileConversion | |||
| ) |
Definition at line 78 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| Malloc | |||
| ) |
Definition at line 534 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| MemCpyConversion | |||
| ) |
Definition at line 137 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| MemCpyVolatileConversion | |||
| ) |
Definition at line 196 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| MemSetConversion | |||
| ) |
Definition at line 260 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| SelectWithState | |||
| ) |
Definition at line 676 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| StoreConversion | |||
| ) |
Definition at line 317 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| StoreVolatileConversion | |||
| ) |
Definition at line 372 of file IpGraphToLlvmConverterTests.cpp.
| TEST | ( | IpGraphToLlvmConverterTests | , |
| TestAttributeKindConversion | |||
| ) |
Definition at line 712 of file IpGraphToLlvmConverterTests.cpp.