Public Member Functions | Public Attributes

nanojit::RegAlloc Class Reference

#include <RegAlloc.h>

Collaboration diagram for nanojit::RegAlloc:

List of all members.

Public Member Functions

 RegAlloc ()
void clear ()
bool isFree (Register r) const
void addFree (Register r)
void removeFree (Register r)
void addActive (Register r, LIns *v)
void useActive (Register r)
void removeActive (Register r)
void retire (Register r)
int32_t getPriority (Register r)
LInsgetActive (Register r) const
 debug_only (uint32_t countActive();) debug_only(bool isConsistent(Register r
 debug_only (RegisterMask managed;) LIns *active[LastReg+1]

Public Attributes

LIns *v const
int32_t usepri [LastReg+1]
RegisterMask free
int32_t priority

Constructor & Destructor Documentation

nanojit::RegAlloc::RegAlloc (  )  [inline]

Member Function Documentation

void nanojit::RegAlloc::addActive ( Register  r,
LIns v 
) [inline]
void nanojit::RegAlloc::addFree ( Register  r  )  [inline]
void nanojit::RegAlloc::clear (  )  [inline]
nanojit::RegAlloc::debug_only ( uint32_t countActive();   ) 
nanojit::RegAlloc::debug_only ( RegisterMask managed;   ) 
LIns* nanojit::RegAlloc::getActive ( Register  r  )  const [inline]
int32_t nanojit::RegAlloc::getPriority ( Register  r  )  [inline]
bool nanojit::RegAlloc::isFree ( Register  r  )  const [inline]
void nanojit::RegAlloc::removeActive ( Register  r  )  [inline]
void nanojit::RegAlloc::removeFree ( Register  r  )  [inline]
void nanojit::RegAlloc::retire ( Register  r  )  [inline]
void nanojit::RegAlloc::useActive ( Register  r  )  [inline]

Member Data Documentation

int32_t nanojit::RegAlloc::usepri[LastReg+1]

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