|
Jlm
|
#include <ConversionOperations.hpp>


Public Member Functions | |
| ~TruncOperation () noexcept override | |
| TruncOperation (const std::shared_ptr< const rvsdg::BitType > &operandType, const std::shared_ptr< const rvsdg::BitType > &resultType) | |
| TruncOperation (std::shared_ptr< const rvsdg::Type > operandType, std::shared_ptr< const rvsdg::Type > resultType) | |
| bool | operator== (const Operation &other) const noexcept override |
| std::string | debug_string () const override |
| std::unique_ptr< Operation > | copy () const override |
| size_t | nsrcbits () const noexcept |
| size_t | ndstbits () const noexcept |
Public Member Functions inherited from jlm::rvsdg::UnaryOperation | |
| ~UnaryOperation () noexcept override | |
| UnaryOperation (std::shared_ptr< const Type > operand, std::shared_ptr< const 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< ThreeAddressCode > | createTac (const Variable *operand, const std::shared_ptr< const rvsdg::Type > &resultType) |
| static rvsdg::SimpleNode & | createNode (rvsdg::Output &operand, std::shared_ptr< const rvsdg::Type > resultType) |
| static rvsdg::Output & | create (size_t ndstbits, rvsdg::Output &operand) |
| static std::optional< std::vector< rvsdg::Output * > > | foldConstant (const TruncOperation &operation, const std::vector< rvsdg::Output * > &operands) |
Static Private Member Functions | |
| static std::shared_ptr< const rvsdg::BitType > | checkBitType (const std::shared_ptr< const rvsdg::Type > &type) |
Definition at line 240 of file ConversionOperations.hpp.
|
overridedefaultnoexcept |
|
inline |
Definition at line 245 of file ConversionOperations.hpp.
|
inline |
Definition at line 254 of file ConversionOperations.hpp.
|
inlinestaticprivate |
Definition at line 315 of file ConversionOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 142 of file ConversionOperations.cpp.
|
inlinestatic |
Definition at line 295 of file ConversionOperations.hpp.
|
inlinestatic |
Definition at line 289 of file ConversionOperations.hpp.
|
inlinestatic |
Definition at line 282 of file ConversionOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 136 of file ConversionOperations.cpp.
|
static |
Performs constant folding by statically evaluating the constant operand and replacing the operations result with the resulting constant.
| operation | The TruncOperation on which the transformation is performed. |
| operands | The operands of the TruncOperation node. |
Definition at line 148 of file ConversionOperations.cpp.
|
inlinenoexcept |
Definition at line 276 of file ConversionOperations.hpp.
|
inlinenoexcept |
Definition at line 270 of file ConversionOperations.hpp.
|
overridenoexcept |
Definition at line 129 of file ConversionOperations.cpp.