mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::mir::FUnaryOperator Class Referenceabstract

#include <FUnaryOperator.h>

Inheritance diagram for mini_llvm::mir::FUnaryOperator:
Collaboration diagram for mini_llvm::mir::FUnaryOperator:

Public Member Functions

Precision precision () const
template<typename Self>
auto & dst (this Self &&self)
template<typename Self>
auto & src (this Self &&self)
std::unordered_set< const RegisterOperand * > regOps () const override
std::unordered_set< const RegisterOperand * > dsts () const override
std::unordered_set< const RegisterOperand * > srcs () const override
std::unordered_set< const ImmediateOperand * > immOps () const override
std::unordered_set< const MemoryOperand * > memOps () const override
std::string format () const override
Public Member Functions inherited from mini_llvm::mir::Instruction
virtual ~Instruction ()=default
 Instruction ()=default
 Instruction (const Instruction &)=delete
Instructionoperator= (const Instruction &)=delete
 Instruction (Instruction &&)=delete
Instructionoperator= (Instruction &&)=delete
std::unordered_set< RegisterOperand * > regOps ()
std::unordered_set< RegisterOperand * > dsts ()
std::unordered_set< RegisterOperand * > srcs ()
virtual std::unordered_set< PhysicalRegister * > implicitDsts () const
virtual std::unordered_set< PhysicalRegister * > implicitSrcs () const
std::unordered_set< ImmediateOperand * > immOps ()
std::unordered_set< MemoryOperand * > memOps ()
virtual bool isCoalescent () const
virtual RegistercoalescenceDst () const
virtual RegistercoalescenceSrc () const
virtual bool hasSideEffects () const =0
virtual std::unique_ptr< Instructionclone () const =0
virtual void accept (InstructionVisitor &visitor)=0
virtual void accept (InstructionVisitor &visitor) const =0

Protected Member Functions

 FUnaryOperator (Precision precision, std::shared_ptr< Register > dst, std::shared_ptr< Register > src)
virtual const char * mnemonic () const =0

Constructor & Destructor Documentation

◆ FUnaryOperator()

mini_llvm::mir::FUnaryOperator::FUnaryOperator ( Precision precision,
std::shared_ptr< Register > dst,
std::shared_ptr< Register > src )
inlineprotected

Member Function Documentation

◆ dst()

template<typename Self>
auto & mini_llvm::mir::FUnaryOperator::dst ( this Self && self)
inline

◆ dsts()

std::unordered_set< const RegisterOperand * > mini_llvm::mir::FUnaryOperator::dsts ( ) const
inlineoverridevirtual

◆ format()

std::string mini_llvm::mir::FUnaryOperator::format ( ) const
inlineoverridevirtual

◆ immOps()

std::unordered_set< const ImmediateOperand * > mini_llvm::mir::FUnaryOperator::immOps ( ) const
inlineoverridevirtual

◆ memOps()

std::unordered_set< const MemoryOperand * > mini_llvm::mir::FUnaryOperator::memOps ( ) const
inlineoverridevirtual

◆ mnemonic()

virtual const char * mini_llvm::mir::FUnaryOperator::mnemonic ( ) const
protectedpure virtual

◆ precision()

Precision mini_llvm::mir::FUnaryOperator::precision ( ) const
inline

◆ regOps()

std::unordered_set< const RegisterOperand * > mini_llvm::mir::FUnaryOperator::regOps ( ) const
inlineoverridevirtual

◆ src()

template<typename Self>
auto & mini_llvm::mir::FUnaryOperator::src ( this Self && self)
inline

◆ srcs()

std::unordered_set< const RegisterOperand * > mini_llvm::mir::FUnaryOperator::srcs ( ) const
inlineoverridevirtual

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