Main Page | Class Hierarchy | Alphabetical List | Compound List | File List | Compound Members | File Members

dag_node_ordering.H File Reference

#include <TinkerKnobs.H>
#include <dag.H>
#include <machine.h>
#include <search.H>
#include <assert.h>

Go to the source code of this file.

Compounds

class  dag_node_ordering
class  VLilist

Defines

#define public_derr(s)

Enumerations

enum  node_orderings { DEPENDENCE_HEIGHT, EXIT_COUNT, GLOBAL_WEIGHT, WEIGHTED_COUNT }

Functions

double GetCountHelped (DagNode *node)
double GetGlobalWeight (DagNode *node)
 public_derr (">> dag_node_ordering::SetValueToWeight")
 public_derr ("Node#"<< i<< ", weight"<< (*Front).GetDepth()<< "\n")
 public_derr ("<< dag_node_ordering::SetValueToWeight\n")
void SetDagValues ()

Variables

dag_node_ordering Front
dag_node_ordering Back
int i
int size
Front Value = (*Front).GetWeight()


Define Documentation

#define public_derr  ) 
 

Definition at line 21 of file src/dag_node_ordering.H.


Enumeration Type Documentation

enum node_orderings
 

Enumeration values:
DEPENDENCE_HEIGHT 
EXIT_COUNT 
GLOBAL_WEIGHT 
WEIGHTED_COUNT 

Definition at line 159 of file src/dag_node_ordering.H.


Function Documentation

double GetCountHelped DagNode node  )  [static]
 

Definition at line 25 of file src/dag_node_ordering.H.

References legoRegion::GetExitOpsPtr(), opList::GetNextListPtr(), DagNode::GetOp(), opList::GetOpPtr(), legoOp::GetParentBlockPtr(), legoRegion::GetParentPtr(), legoOp::GetPrevLink(), legoRegion::GetRegionType(), RT_HB, RT_PROC, RT_SB, and RT_TREE.

Referenced by SetDagValues().

double GetGlobalWeight DagNode node  )  [static]
 

Definition at line 90 of file src/dag_node_ordering.H.

References BR_OP, BRL, C_MERGE, FindLcAttribute(), attrs::GetAttrOprdPtr(), legoOprd::GetLiteralDouble(), opList::GetNextListPtr(), DagNode::GetOp(), opList::GetOpId(), legoOp::GetOpId(), legoOp::GetParentBlockPtr(), legoOp::GetPrevLink(), legoRegion::GetRegionType(), opList::GetWeight(), legoRegion::GetWeight(), public_derr, RT_BB, RT_HB, and machine::TinkerOptype().

Referenced by SetDagValues().

public_derr "<< dag_node_ordering::SetValueToWeight\n"   ) 
 

public_derr "Node#"<< i<< "  ,
weight"<< *Front.GetDepth()<< "\n" 
 

public_derr ">> dag_node_ordering::SetValueToWeight"   ) 
 

void SetDagValues  ) 
 

Definition at line 496 of file src/dag_node_ordering.H.

References Back, BRCF, BRDVF, BRDVI, BRU, BRW_F_F_F, D, DEPENDENCE_HEIGHT, EXIT_COUNT, Front, GetCountHelped(), flags::GetFlagName(), legoRegion::GetFlagPtr(), GetGlobalWeight(), legoRegion::GetParentPtr(), legoRegion::GetRegionType(), GLOBAL_WEIGHT, i, opcode, public_derr, RT_BB, RT_PROC, RT_TREE, RTS, SB, and WEIGHTED_COUNT.


Variable Documentation

class dag_node_ordering Back
 

class dag_node_ordering Front
 

int i
 

Definition at line 478 of file src/dag_node_ordering.H.

int size
 

Definition at line 478 of file src/dag_node_ordering.H.

Front Value = (*Front).GetWeight()
 

Definition at line 490 of file src/dag_node_ordering.H.


Generated on Mon Jul 21 20:29:39 2003 for TINKER LEGO DOC by doxygen 1.3.2