Jlm
Public Member Functions | Static Public Member Functions | List of all members
jlm::llvm::FNegOperation Class Referencefinal

#include <operators.hpp>

Inheritance diagram for jlm::llvm::FNegOperation:
Inheritance graph
[legend]
Collaboration diagram for jlm::llvm::FNegOperation:
Collaboration graph
[legend]

Public Member Functions

 ~FNegOperation () noexcept override
 
 FNegOperation (const fpsize &size)
 
 FNegOperation (const std::shared_ptr< const FloatingPointType > &fpt)
 
bool operator== (const Operation &other) const noexcept override
 
std::string debug_string () const override
 
std::unique_ptr< Operation > copy () const override
 
jlm::rvsdg::unop_reduction_path_t can_reduce_operand (const jlm::rvsdg::Output *output) const noexcept override
 
jlm::rvsdg::Outputreduce_operand (jlm::rvsdg::unop_reduction_path_t path, jlm::rvsdg::Output *output) const override
 
const fpsizesize () 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< llvm::ThreeAddressCodecreate (const Variable *operand)
 

Detailed Description

Definition at line 1278 of file operators.hpp.

Constructor & Destructor Documentation

◆ ~FNegOperation()

jlm::llvm::FNegOperation::~FNegOperation ( )
overridedefaultnoexcept

◆ FNegOperation() [1/2]

jlm::llvm::FNegOperation::FNegOperation ( const fpsize size)
inlineexplicit

Definition at line 1283 of file operators.hpp.

◆ FNegOperation() [2/2]

jlm::llvm::FNegOperation::FNegOperation ( const std::shared_ptr< const FloatingPointType > &  fpt)
inlineexplicit

Definition at line 1287 of file operators.hpp.

Member Function Documentation

◆ can_reduce_operand()

rvsdg::unop_reduction_path_t jlm::llvm::FNegOperation::can_reduce_operand ( const jlm::rvsdg::Output output) const
overridevirtualnoexcept

Implements jlm::rvsdg::UnaryOperation.

Definition at line 641 of file operators.cpp.

◆ copy()

std::unique_ptr< rvsdg::Operation > jlm::llvm::FNegOperation::copy ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 635 of file operators.cpp.

◆ create()

static std::unique_ptr<llvm::ThreeAddressCode> jlm::llvm::FNegOperation::create ( const Variable operand)
inlinestatic

Definition at line 1314 of file operators.hpp.

◆ debug_string()

std::string jlm::llvm::FNegOperation::debug_string ( ) const
overridevirtual

Implements jlm::rvsdg::Operation.

Definition at line 629 of file operators.cpp.

◆ operator==()

bool jlm::llvm::FNegOperation::operator== ( const Operation &  other) const
overridenoexcept

Definition at line 622 of file operators.cpp.

◆ reduce_operand()

rvsdg::Output * jlm::llvm::FNegOperation::reduce_operand ( jlm::rvsdg::unop_reduction_path_t  path,
jlm::rvsdg::Output output 
) const
overridevirtual

Implements jlm::rvsdg::UnaryOperation.

Definition at line 647 of file operators.cpp.

◆ size()

const fpsize& jlm::llvm::FNegOperation::size ( ) const
inlinenoexcept

Definition at line 1308 of file operators.hpp.


The documentation for this class was generated from the following files: