CACAO
Public Member Functions | Private Member Functions | Private Attributes | Friends
cacao::jit::compiler2::ManagedStackSlot Class Reference
Inheritance diagram for cacao::jit::compiler2::ManagedStackSlot:
cacao::jit::compiler2::MachineOperand cacao::jit::compiler2::memory::ManagerMixin< MachineOperand >

Public Member Functions

virtual StackSlotto_StackSlot ()
 FIXME this should be managed. More...
 
virtual ManagedStackSlotto_ManagedStackSlot ()
 
virtual const char * get_name () const
 
unsigned get_id () const
 
virtual OStreamprint (OStream &OS) const
 
- Public Member Functions inherited from cacao::jit::compiler2::MachineOperand
std::size_t get_id () const
 
 MachineOperand (OperandID op_id, Type::TypeID type)
 
OperandID get_OperandID () const
 
Type::TypeID get_type () const
 
virtual ~MachineOperand ()
 
virtual MachineOperandto_MachineOperand ()
 
virtual VoidOperandto_VoidOperand ()
 
virtual Registerto_Register ()
 
virtual Immediateto_Immediate ()
 
virtual Addressto_Address ()
 
bool is_MachineOperand () const
 
bool is_VoidOperand () const
 
bool is_Register () const
 
bool is_StackSlot () const
 
bool is_ManagedStackSlot () const
 
bool is_Immediate () const
 
bool is_Address () const
 
bool is_stackslot () const
 
bool aquivalence_less (const MachineOperand &MO) const
 
bool aquivalent (const MachineOperand &MO) const
 
virtual bool is_virtual () const
 True if operand is virtual and must be assigned during register allocation. More...
 
virtual bool needs_allocation () const
 Return true if operand is processed during register allocation. More...
 
bool has_embedded_operands ()
 
std::size_t op_size () const
 
EmbeddedMachineOperandoperator[] (std::size_t i)
 
const EmbeddedMachineOperandget (std::size_t i) const
 
EmbeddedMachineOperandget (std::size_t i)
 
operand_iterator begin ()
 
operand_iterator end ()
 
operand_iterator find (MachineOperand *op)
 
EmbeddedMachineOperandfront ()
 
EmbeddedMachineOperandback ()
 
const_operand_iterator begin () const
 
const_operand_iterator end () const
 

Private Member Functions

 ManagedStackSlot (StackSlotManager *SSM, unsigned id, Type::TypeID type)
 

Private Attributes

StackSlotManagerparent
 
unsigned id
 

Friends

class StackSlotManager
 

Additional Inherited Members

- Public Types inherited from cacao::jit::compiler2::MachineOperand
enum  OperandID {
  MachineOperandID, RegisterID, StackSlotID, ManagedStackSlotID,
  ImmediateID, AddressID, VoidOperandID
}
 
typedef const voidIdentifyTy
 
typedef std::size_t IdentifyOffsetTy
 
typedef std::size_t IdentifySizeTy
 
typedef alloc::vector
< EmbeddedMachineOperand >
::type 
embedded_operand_list
 
typedef
embedded_operand_list::iterator 
operand_iterator
 
typedef
embedded_operand_list::const_iterator 
const_operand_iterator
 
- Static Public Member Functions inherited from cacao::jit::compiler2::memory::ManagerMixin< MachineOperand >
static voidoperator new (std::size_t size) throw (std::bad_alloc)
 normal new More...
 
static voidoperator new (std::size_t size, void *ptr) throw ()
 placement new More...
 
static voidoperator new (std::size_t size, const std::nothrow_t &nt) throw ()
 nothrow new More...
 
static void operator delete (void *pMemory) throw ()
 normal delete More...
 
static void operator delete (void *pMemory, void *ptr) throw ()
 placement delete More...
 
static void operator delete (void *pMemory, const std::nothrow_t &) throw ()
 nothrow delete More...
 
static voidoperator new[] (std::size_t size) throw (std::bad_alloc)
 normal new[] More...
 
static voidoperator new[] (std::size_t size, void *ptr) throw ()
 placement new[] More...
 
static voidoperator new[] (std::size_t size, const std::nothrow_t &nt) throw ()
 nothrow new[] More...
 
static void operator delete[] (void *pMemory) throw ()
 normal delete[] More...
 
static void operator delete[] (void *pMemory, void *ptr) throw ()
 placement delete[] More...
 
static void operator delete[] (void *pMemory, const std::nothrow_t &) throw ()
 nothrow delete[] More...
 
- Protected Member Functions inherited from cacao::jit::compiler2::MachineOperand
virtual IdentifyTy id_base () const
 
virtual IdentifyOffsetTy id_offset () const
 
virtual IdentifySizeTy id_size () const
 
- Protected Attributes inherited from cacao::jit::compiler2::MachineOperand
embedded_operand_list embedded_operands
 TODO describe. More...
 

Detailed Description

Definition at line 279 of file MachineOperand.hpp.

Constructor & Destructor Documentation

cacao::jit::compiler2::ManagedStackSlot::ManagedStackSlot ( StackSlotManager SSM,
unsigned  id,
Type::TypeID  type 
)
inlineprivate

Definition at line 283 of file MachineOperand.hpp.

Member Function Documentation

unsigned cacao::jit::compiler2::ManagedStackSlot::get_id ( ) const
inline

Definition at line 295 of file MachineOperand.hpp.

virtual const char* cacao::jit::compiler2::ManagedStackSlot::get_name ( ) const
inlinevirtual

Implements cacao::jit::compiler2::MachineOperand.

Definition at line 291 of file MachineOperand.hpp.

virtual OStream& cacao::jit::compiler2::ManagedStackSlot::print ( OStream OS) const
inlinevirtual

Reimplemented from cacao::jit::compiler2::MachineOperand.

Definition at line 296 of file MachineOperand.hpp.

virtual ManagedStackSlot* cacao::jit::compiler2::ManagedStackSlot::to_ManagedStackSlot ( )
inlinevirtual

Reimplemented from cacao::jit::compiler2::MachineOperand.

Definition at line 290 of file MachineOperand.hpp.

StackSlot * cacao::jit::compiler2::ManagedStackSlot::to_StackSlot ( )
virtual

FIXME this should be managed.

Reimplemented from cacao::jit::compiler2::MachineOperand.

Definition at line 58 of file MachineOperand.cpp.

Friends And Related Function Documentation

friend class StackSlotManager
friend

Definition at line 299 of file MachineOperand.hpp.

Field Documentation

unsigned cacao::jit::compiler2::ManagedStackSlot::id
private

Definition at line 282 of file MachineOperand.hpp.

StackSlotManager* cacao::jit::compiler2::ManagedStackSlot::parent
private

Definition at line 281 of file MachineOperand.hpp.


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