mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::ir::BinaryIntegerOperator Class Reference

#include <BinaryIntegerOperator.h>

Inheritance diagram for mini_llvm::ir::BinaryIntegerOperator:
Collaboration diagram for mini_llvm::ir::BinaryIntegerOperator:

Public Member Functions

template<typename Self>
auto & lhs (this Self &&self)
template<typename Self>
auto & rhs (this Self &&self)
std::unordered_set< const UseBase * > operands () const override
bool isFoldable () const override
bool isWellFormed () const override
Public Member Functions inherited from mini_llvm::ir::Instruction
BasicBlockparent () const
BasicBlock::iterator parentIterator () const
std::unordered_set< UseBase * > operands ()
virtual std::shared_ptr< Constantfold () const
virtual void accept (InstructionVisitor &visitor)=0
virtual void accept (InstructionVisitor &visitor) const =0
bool isWellFormed () const override
std::string formatAsOperand () const override
Public Member Functions inherited from mini_llvm::ir::Value
virtual ~Value ()=default
 Value ()=default
 Value (const Value &)=delete
Valueoperator= (const Value &)=delete
 Value (Value &&)=delete
Valueoperator= (Value &&)=delete
const std::string & name () const &
std::string && name () &&
void setName (std::string name)
std::string formatName () const
use_iterator use_begin () const
use_iterator use_end () const
bool use_empty () const
size_t use_size () const
virtual std::unique_ptr< Typetype () const =0
virtual std::string format () const =0
virtual std::unique_ptr< Valueclone () const =0

Protected Member Functions

 BinaryIntegerOperator (std::shared_ptr< Value > lhs, std::shared_ptr< Value > rhs)

Additional Inherited Members

Public Types inherited from mini_llvm::ir::Value
using use_iterator = IndirectIterator<UseSet::iterator, UseBase>

Constructor & Destructor Documentation

◆ BinaryIntegerOperator()

mini_llvm::ir::BinaryIntegerOperator::BinaryIntegerOperator ( std::shared_ptr< Value > lhs,
std::shared_ptr< Value > rhs )
inlineprotected

Member Function Documentation

◆ isFoldable()

bool mini_llvm::ir::BinaryIntegerOperator::isFoldable ( ) const
overridevirtual

Reimplemented from mini_llvm::ir::Instruction.

◆ isWellFormed()

bool mini_llvm::ir::BinaryIntegerOperator::isWellFormed ( ) const
overridevirtual

Reimplemented from mini_llvm::ir::Value.

◆ lhs()

template<typename Self>
auto & mini_llvm::ir::BinaryIntegerOperator::lhs ( this Self && self)
inline

◆ operands()

std::unordered_set< const UseBase * > mini_llvm::ir::BinaryIntegerOperator::operands ( ) const
inlineoverridevirtual

◆ rhs()

template<typename Self>
auto & mini_llvm::ir::BinaryIntegerOperator::rhs ( this Self && self)
inline

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