mageec  0.1.0
MAchine Guided Energy Efficient Compilation
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros
Functions | Variables
ruletree.c File Reference
#include "defns.i"
#include "extern.i"

Go to the source code of this file.

Functions

void ConstructRuleTree (CRuleSet RS)
 
void SetTestIndex (Condition C)
 
RuleTree GrowRT (RuleNo *RR, int RRN, CRule *Rule)
 
int DesiredOutcome (CRule R, int TI)
 
int SelectTest (RuleNo *RR, int RRN, CRule *Rule)
 
void FreeRuleTree (RuleTree RT)
 

Variables

ConditionTest =Nil
 
int NTest
 
int TestSpace
 
int * TestOccur
 
int * RuleCondOK
 
BooleanTestUsed
 

Function Documentation

void ConstructRuleTree ( CRuleSet  RS)

Definition at line 59 of file ruletree.c.

int DesiredOutcome ( CRule  R,
int  TI 
)

Definition at line 282 of file ruletree.c.

void FreeRuleTree ( RuleTree  RT)

Definition at line 377 of file ruletree.c.

RuleTree GrowRT ( RuleNo RR,
int  RRN,
CRule Rule 
)

Definition at line 163 of file ruletree.c.

int SelectTest ( RuleNo RR,
int  RRN,
CRule Rule 
)

Definition at line 331 of file ruletree.c.

void SetTestIndex ( Condition  C)

Definition at line 103 of file ruletree.c.

Variable Documentation

int NTest

Definition at line 43 of file ruletree.c.

int * RuleCondOK

Definition at line 43 of file ruletree.c.

Condition* Test =Nil

Definition at line 42 of file ruletree.c.

int * TestOccur

Definition at line 43 of file ruletree.c.

int TestSpace

Definition at line 43 of file ruletree.c.

Boolean* TestUsed

Definition at line 48 of file ruletree.c.