|
Jlm
|
#include <ConversionOperations.hpp>


Public Member Functions | |
| ~FPTruncOperation () noexcept override | |
| FPTruncOperation (const fpsize &srcsize, const fpsize &dstsize) | |
| FPTruncOperation (const std::shared_ptr< const FloatingPointType > &srctype, const std::shared_ptr< const FloatingPointType > &dsttype) | |
| FPTruncOperation (const std::shared_ptr< const rvsdg::Type > &operandType, const 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 |
| const fpsize & | srcsize () const noexcept |
| const fpsize & | dstsize () 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 > | create (const Variable *operand, std::shared_ptr< const jlm::rvsdg::Type > resultType) |
| static rvsdg::SimpleNode & | createNode (rvsdg::Output &operand, const std::shared_ptr< const rvsdg::Type > &resultType) |
| static std::optional< std::vector< rvsdg::Output * > > | foldConstant (const FPTruncOperation &operation, const std::vector< rvsdg::Output * > &operands) |
Static Private Member Functions | |
| static const FloatingPointType & | checkAndExtractFloatingPointType (const rvsdg::Type &type) |
Definition at line 473 of file ConversionOperations.hpp.
|
overridedefaultnoexcept |
|
inline |
Definition at line 478 of file ConversionOperations.hpp.
|
inline |
Definition at line 486 of file ConversionOperations.hpp.
|
inline |
Definition at line 495 of file ConversionOperations.hpp.
|
inlinestaticprivate |
Definition at line 558 of file ConversionOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 275 of file ConversionOperations.cpp.
|
inlinestatic |
Definition at line 531 of file ConversionOperations.hpp.
|
inlinestatic |
Definition at line 538 of file ConversionOperations.hpp.
|
overridevirtual |
Implements jlm::rvsdg::Operation.
Definition at line 269 of file ConversionOperations.cpp.
|
inlinenoexcept |
Definition at line 525 of file ConversionOperations.hpp.
|
static |
Performs constant folding by statically evaluating the constant operand and replacing the operations result with the resulting constant.
| operation | The FPTruncOperation on which the transformation is performed. |
| operands | The operands of the FPTruncOperation node. |
Definition at line 281 of file ConversionOperations.cpp.
|
overridenoexcept |
Definition at line 262 of file ConversionOperations.cpp.
|
inlinenoexcept |
Definition at line 519 of file ConversionOperations.hpp.