mini-llvm 0.1.0
Loading...
Searching...
No Matches
mini_llvm::mir::FAdd Class Reference

#include <FAdd.h>

Inheritance diagram for mini_llvm::mir::FAdd:
Collaboration diagram for mini_llvm::mir::FAdd:

Public Member Functions

 FAdd (Precision precision, std::shared_ptr< Register > dst, std::shared_ptr< Register > src1, std::shared_ptr< Register > src2)
bool hasSideEffects () const override
std::unique_ptr< Instructionclone () const override
void accept (InstructionVisitor &visitor) override
void accept (InstructionVisitor &visitor) const override
Public Member Functions inherited from mini_llvm::mir::FBinaryOperator
Precision precision () const
template<typename Self>
auto & dst (this Self &&self)
template<typename Self>
auto & src1 (this Self &&self)
template<typename Self>
auto & src2 (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

Protected Member Functions

const char * mnemonic () const override
Protected Member Functions inherited from mini_llvm::mir::FBinaryOperator
 FBinaryOperator (Precision precision, std::shared_ptr< Register > dst, std::shared_ptr< Register > src1, std::shared_ptr< Register > src2)

Constructor & Destructor Documentation

◆ FAdd()

mini_llvm::mir::FAdd::FAdd ( Precision precision,
std::shared_ptr< Register > dst,
std::shared_ptr< Register > src1,
std::shared_ptr< Register > src2 )
inline

Member Function Documentation

◆ accept() [1/2]

void mini_llvm::mir::FAdd::accept ( InstructionVisitor & visitor) const
inlineoverridevirtual

◆ accept() [2/2]

void mini_llvm::mir::FAdd::accept ( InstructionVisitor & visitor)
inlineoverridevirtual

◆ clone()

std::unique_ptr< Instruction > mini_llvm::mir::FAdd::clone ( ) const
inlineoverridevirtual

◆ hasSideEffects()

bool mini_llvm::mir::FAdd::hasSideEffects ( ) const
inlineoverridevirtual

◆ mnemonic()

const char * mini_llvm::mir::FAdd::mnemonic ( ) const
inlineoverrideprotectedvirtual

The documentation for this class was generated from the following file:
  • include/mini-llvm/mir/Instruction/FAdd.h