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

#include <MemoryOperand.h>

Public Member Functions

 MemoryOperand (std::shared_ptr< Register > baseReg, std::unique_ptr< Immediate > offset=std::make_unique< IntegerImmediate >(0))
template<typename Self>
auto & baseReg (this Self &&self)
template<typename Self>
auto & offset (this Self &&self)
std::string format () const
MemoryOperand clone () const

Constructor & Destructor Documentation

◆ MemoryOperand()

mini_llvm::mir::MemoryOperand::MemoryOperand ( std::shared_ptr< Register > baseReg,
std::unique_ptr< Immediate > offset = std::make_unique<IntegerImmediate>(0) )
inlineexplicit

Member Function Documentation

◆ baseReg()

template<typename Self>
auto & mini_llvm::mir::MemoryOperand::baseReg ( this Self && self)
inline

◆ clone()

MemoryOperand mini_llvm::mir::MemoryOperand::clone ( ) const
inline

◆ format()

std::string mini_llvm::mir::MemoryOperand::format ( ) const
inline

◆ offset()

template<typename Self>
auto & mini_llvm::mir::MemoryOperand::offset ( this Self && self)
inline

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