C-Breeze
C Compiler Infrastructure

[ Project home page]
Main Page   Modules   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Related Pages  

ListRecord Class Reference

#include <briggs_reg_alloc.h>

List of all members.

Public Member Functions

 ListRecord (int web, float spc)
void addAdjacentNode (int reg)
void removeAdjacentNode (int reg)
void removeAllAdjacencies ()
void incCost (float f)
void decCost (float f)
int getWeb ()
int numInts ()
float getSpillCost ()
const int_setgetAdjNodes ()
const int_setgetRmAdjNodes ()
int & getColor ()

Static Public Attributes

const int color_none

Private Attributes

int webNum
int num_ints
int color
int disp
float spillCost
int_set adjNodes
int_set removeAdj


Constructor & Destructor Documentation

ListRecord::ListRecord int    web,
float    spc
[inline]
 

Definition at line 262 of file briggs_reg_alloc.h.


Member Function Documentation

void ListRecord::addAdjacentNode int    reg
 

Definition at line 158 of file briggs_reg_alloc.cc.

References adjNodes, and num_ints.

void ListRecord::decCost float    f [inline]
 

Definition at line 285 of file briggs_reg_alloc.h.

const int_set& ListRecord::getAdjNodes   [inline]
 

Definition at line 307 of file briggs_reg_alloc.h.

Referenced by briggs_reg_alloc::removeUnavailableColors().

int& ListRecord::getColor   [inline]
 

Definition at line 318 of file briggs_reg_alloc.h.

Referenced by briggs_reg_alloc::assignRegisters().

const int_set& ListRecord::getRmAdjNodes   [inline]
 

Definition at line 313 of file briggs_reg_alloc.h.

Referenced by briggs_reg_alloc::removeUnavailableColors().

float ListRecord::getSpillCost   [inline]
 

Definition at line 301 of file briggs_reg_alloc.h.

int ListRecord::getWeb   [inline]
 

Definition at line 291 of file briggs_reg_alloc.h.

void ListRecord::incCost float    f [inline]
 

Definition at line 280 of file briggs_reg_alloc.h.

int ListRecord::numInts   [inline]
 

Definition at line 296 of file briggs_reg_alloc.h.

void ListRecord::removeAdjacentNode int    reg
 

Definition at line 168 of file briggs_reg_alloc.cc.

References adjNodes, int_set_p, num_ints, and removeAdj.

void ListRecord::removeAllAdjacencies  
 

Definition at line 185 of file briggs_reg_alloc.cc.

References adjNodes, num_ints, and removeAdj.


Member Data Documentation

int_set ListRecord::adjNodes [private]
 

Definition at line 255 of file briggs_reg_alloc.h.

Referenced by addAdjacentNode(), removeAdjacentNode(), and removeAllAdjacencies().

int ListRecord::color [private]
 

Definition at line 249 of file briggs_reg_alloc.h.

const int ListRecord::color_none [static]
 

Initial value:

  INT_MIN

Definition at line 49 of file briggs_reg_alloc.cc.

Referenced by briggs_reg_alloc::removeUnavailableColors().

int ListRecord::disp [private]
 

Definition at line 249 of file briggs_reg_alloc.h.

int ListRecord::num_ints [private]
 

Definition at line 249 of file briggs_reg_alloc.h.

Referenced by addAdjacentNode(), removeAdjacentNode(), and removeAllAdjacencies().

int_set ListRecord::removeAdj [private]
 

Definition at line 255 of file briggs_reg_alloc.h.

Referenced by removeAdjacentNode(), and removeAllAdjacencies().

float ListRecord::spillCost [private]
 

Definition at line 253 of file briggs_reg_alloc.h.

int ListRecord::webNum [private]
 

Definition at line 247 of file briggs_reg_alloc.h.


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

Generated on August 27, 2003
Back to the C-Breeze home page