|
Jlm
|
#include <ConversionOperations.hpp>


Public Member Functions | |
| ~ZExtOperation () noexcept override | |
| ZExtOperation (std::shared_ptr< const jlm::rvsdg::Type > srctype, std::shared_ptr< const jlm::rvsdg::Type > dsttype) | |
| 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< llvm::ThreeAddressCode > | createTac (const Variable *operand, const std::shared_ptr< const jlm::rvsdg::Type > &type) |
| static rvsdg::SimpleNode & | createNode (const size_t numResultBits, rvsdg::Output &operand) |
| static rvsdg::Output & | create (size_t ndstbits, rvsdg::Output &operand) |
| static std::optional< std::vector< rvsdg::Output * > > | foldConstant (const ZExtOperation &operation, const std::vector< rvsdg::Output * > &operands) |
Definition at line 161 of file ConversionOperations.hpp.
|
overridedefaultnoexcept |
|
inline |
Definition at line 166 of file ConversionOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 99 of file ConversionOperations.cpp.
|
inlinestatic |
Definition at line 221 of file ConversionOperations.hpp.
|
inlinestatic |
Definition at line 212 of file ConversionOperations.hpp.
|
inlinestatic |
Definition at line 205 of file ConversionOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 93 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 ZExtOperation on which the transformation is performed. |
| operands | The operands of the ZExtOperation node. |
Definition at line 105 of file ConversionOperations.cpp.
|
inlinenoexcept |
Definition at line 199 of file ConversionOperations.hpp.
|
inlinenoexcept |
Definition at line 193 of file ConversionOperations.hpp.
|
overridenoexcept |
Definition at line 86 of file ConversionOperations.cpp.