|
Jlm
|
Interpret pointer as callable function. More...
#include <FunctionPointer.hpp>


Public Member Functions | |
| ~PointerToFunctionOperation () noexcept override | |
| PointerToFunctionOperation (std::shared_ptr< const rvsdg::FunctionType > fn) | |
| bool | operator== (const Operation &other) const noexcept override |
| std::string | debug_string () const override |
| std::unique_ptr< rvsdg::Operation > | copy () const override |
| rvsdg::unop_reduction_path_t | can_reduce_operand (const jlm::rvsdg::Output *arg) const noexcept override |
| jlm::rvsdg::Output * | reduce_operand (rvsdg::unop_reduction_path_t path, jlm::rvsdg::Output *arg) const override |
| const std::shared_ptr< const rvsdg::FunctionType > & | FunctionType () const noexcept |
Public Member Functions inherited from jlm::rvsdg::UnaryOperation | |
| ~UnaryOperation () noexcept override | |
| UnaryOperation (std::shared_ptr< const jlm::rvsdg::Type > operand, std::shared_ptr< const jlm::rvsdg::Type > result) | |
Public Member Functions inherited from jlm::rvsdg::SimpleOperation | |
| ~SimpleOperation () noexcept override | |
| SimpleOperation (std::vector< std::shared_ptr< const jlm::rvsdg::Type >> operands, std::vector< std::shared_ptr< const jlm::rvsdg::Type >> results) | |
| size_t | narguments () const noexcept |
| const std::shared_ptr< const rvsdg::Type > & | argument (size_t index) const noexcept |
| size_t | nresults () const noexcept |
| const std::shared_ptr< const rvsdg::Type > & | result (size_t index) const noexcept |
Public Member Functions inherited from jlm::rvsdg::Operation | |
| virtual | ~Operation () noexcept |
| virtual bool | operator== (const Operation &other) const noexcept=0 |
| bool | operator!= (const Operation &other) const noexcept |
Static Public Member Functions | |
| static std::unique_ptr< PointerToFunctionOperation > | Create (std::shared_ptr< const rvsdg::FunctionType > fn) |
Private Attributes | |
| std::shared_ptr< const rvsdg::FunctionType > | FunctionType_ |
Interpret pointer as callable function.
Definition at line 58 of file FunctionPointer.hpp.
|
overridenoexcept |
Definition at line 86 of file FunctionPointer.cpp.
| jlm::llvm::PointerToFunctionOperation::PointerToFunctionOperation | ( | std::shared_ptr< const rvsdg::FunctionType > | fn | ) |
Definition at line 89 of file FunctionPointer.cpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::UnaryOperation.
Definition at line 121 of file FunctionPointer.cpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 115 of file FunctionPointer.cpp.
|
static |
Definition at line 155 of file FunctionPointer.cpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 109 of file FunctionPointer.cpp.
|
inlinenoexcept |
Definition at line 84 of file FunctionPointer.hpp.
|
overridenoexcept |
Definition at line 96 of file FunctionPointer.cpp.
|
overridevirtual |
Implements jlm::rvsdg::UnaryOperation.
Definition at line 137 of file FunctionPointer.cpp.
|
private |
Definition at line 90 of file FunctionPointer.hpp.