|
Jlm
|
Function type class. More...
#include <FunctionType.hpp>


Public Member Functions | |
| ~FunctionType () noexcept override | |
| FunctionType (std::vector< std::shared_ptr< const jlm::rvsdg::Type > > argumentTypes, std::vector< std::shared_ptr< const jlm::rvsdg::Type > > resultTypes) | |
| const std::vector< std::shared_ptr< const jlm::rvsdg::Type > > & | Arguments () const noexcept |
| const std::vector< std::shared_ptr< const jlm::rvsdg::Type > > & | Results () const noexcept |
| size_t | NumResults () const noexcept |
| size_t | NumArguments () const noexcept |
| const jlm::rvsdg::Type & | ResultType (size_t index) const noexcept |
| const jlm::rvsdg::Type & | ArgumentType (size_t index) const noexcept |
| std::string | debug_string () const override |
| bool | operator== (const jlm::rvsdg::Type &other) const noexcept override |
| std::size_t | ComputeHash () const noexcept override |
| TypeKind | Kind () const noexcept override |
| Return the kind of this type. | |
Public Member Functions inherited from jlm::rvsdg::Type | |
| virtual | ~Type () noexcept |
| bool | operator!= (const jlm::rvsdg::Type &other) const noexcept |
Static Public Member Functions | |
| static std::shared_ptr< const FunctionType > | Create (std::vector< std::shared_ptr< const jlm::rvsdg::Type > > argumentTypes, std::vector< std::shared_ptr< const jlm::rvsdg::Type > > resultTypes) |
Private Attributes | |
| std::vector< std::shared_ptr< const jlm::rvsdg::Type > > | ArgumentTypes_ |
| std::vector< std::shared_ptr< const jlm::rvsdg::Type > > | ResultTypes_ |
Additional Inherited Members | |
Protected Member Functions inherited from jlm::rvsdg::Type | |
| constexpr | Type () noexcept |
Function type class.
Represents the type of a callable function.
Definition at line 24 of file FunctionType.hpp.
|
overridedefaultnoexcept |
| jlm::rvsdg::FunctionType::FunctionType | ( | std::vector< std::shared_ptr< const jlm::rvsdg::Type > > | argumentTypes, |
| std::vector< std::shared_ptr< const jlm::rvsdg::Type > > | resultTypes | ||
| ) |
Definition at line 17 of file FunctionType.cpp.
|
inlinenoexcept |
Definition at line 34 of file FunctionType.hpp.
|
inlinenoexcept |
Definition at line 65 of file FunctionType.hpp.
|
overridevirtualnoexcept |
Computes a hash value for the instance of the type.
Implements jlm::rvsdg::Type.
Definition at line 89 of file FunctionType.cpp.
|
static |
Definition at line 115 of file FunctionType.cpp.
|
overridevirtual |
Implements jlm::rvsdg::Type.
Definition at line 26 of file FunctionType.cpp.
|
overridevirtualnoexcept |
Return the kind of this type.
Implements jlm::rvsdg::Type.
Definition at line 109 of file FunctionType.cpp.
|
inlinenoexcept |
Definition at line 52 of file FunctionType.hpp.
|
inlinenoexcept |
Definition at line 46 of file FunctionType.hpp.
|
overridevirtualnoexcept |
Implements jlm::rvsdg::Type.
Definition at line 57 of file FunctionType.cpp.
|
inlinenoexcept |
Definition at line 40 of file FunctionType.hpp.
|
inlinenoexcept |
Definition at line 58 of file FunctionType.hpp.
|
private |
Definition at line 89 of file FunctionType.hpp.
|
private |
Definition at line 90 of file FunctionType.hpp.