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

#include <RegisterAllocator.h>

Inheritance diagram for mini_llvm::RegisterAllocator:

Public Types

using RegisterAction

Public Member Functions

virtual ~RegisterAllocator ()=default
 RegisterAllocator ()=default
 RegisterAllocator (const RegisterAllocator &)=delete
RegisterAllocatoroperator= (const RegisterAllocator &)=delete
 RegisterAllocator (RegisterAllocator &&)=delete
RegisterAllocatoroperator= (RegisterAllocator &&)=delete
virtual bool allocate (mir::Function &F, const std::unordered_set< mir::VirtualRegister * > &virtRegs, const std::unordered_set< mir::PhysicalRegister * > &physRegs, RegisterAction load, RegisterAction store)=0

Member Typedef Documentation

◆ RegisterAction

Initial value:
void (mir::Register *reg, mir::StackSlot *slot, const mir::BasicBlockBuilder &builder)
>
Definition FunctionRef.h:13
Definition BasicBlockBuilder.h:14
Definition Register.h:14
Definition StackSlot.h:11

Constructor & Destructor Documentation

◆ ~RegisterAllocator()

virtual mini_llvm::RegisterAllocator::~RegisterAllocator ( )
virtualdefault

◆ RegisterAllocator() [1/3]

mini_llvm::RegisterAllocator::RegisterAllocator ( )
default

◆ RegisterAllocator() [2/3]

mini_llvm::RegisterAllocator::RegisterAllocator ( const RegisterAllocator & )
delete

◆ RegisterAllocator() [3/3]

mini_llvm::RegisterAllocator::RegisterAllocator ( RegisterAllocator && )
delete

Member Function Documentation

◆ allocate()

virtual bool mini_llvm::RegisterAllocator::allocate ( mir::Function & F,
const std::unordered_set< mir::VirtualRegister * > & virtRegs,
const std::unordered_set< mir::PhysicalRegister * > & physRegs,
RegisterAction load,
RegisterAction store )
pure virtual

◆ operator=() [1/2]

RegisterAllocator & mini_llvm::RegisterAllocator::operator= ( const RegisterAllocator & )
delete

◆ operator=() [2/2]

RegisterAllocator & mini_llvm::RegisterAllocator::operator= ( RegisterAllocator && )
delete

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