|
Jlm
|
WideMemoryNodesTest class. More...
#include <TestRvsdgs.hpp>


Public Attributes | |
| jlm::rvsdg::LambdaNode * | lambda |
| jlm::rvsdg::SimpleNode * | malloc |
| jlm::rvsdg::SimpleNode * | alloca |
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 () |
WideMemoryNodesTest class.
This class sets up an RVSDG representing the following function:
Both allocations carry wider types than the ones the memory graphs in jlm::llvm::RvsdgTest use: the malloc size is a 64-bit integer where they use a 32-bit one, and the alloca allocates a 64-bit value rather than a pointer or a 32-bit value. Both widths live in the operations, so this is what puts a 64-bit size and a 64-bit allocated type under the comparison.
Definition at line 377 of file TestRvsdgs.hpp.
|
overrideprivatevirtual |
Create RVSDG for this test.
Implements jlm::llvm::RvsdgTest.
Definition at line 522 of file TestRvsdgs.cpp.
| jlm::rvsdg::SimpleNode* jlm::mlir::WideMemoryNodesTest::alloca |
Definition at line 388 of file TestRvsdgs.hpp.
| jlm::rvsdg::LambdaNode* jlm::mlir::WideMemoryNodesTest::lambda |
Definition at line 384 of file TestRvsdgs.hpp.
| jlm::rvsdg::SimpleNode* jlm::mlir::WideMemoryNodesTest::malloc |
Definition at line 386 of file TestRvsdgs.hpp.