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

Go to the source code of this file.

Macros

#define PartInfo(n)   (-(n)*Log((n)/GEnv.Cases))
 

Functions

void EvalContinuousAtt (Attribute Att, CaseNo Fp, CaseNo Lp)
 
void EstimateMaxGR (Attribute Att, CaseNo Fp, CaseNo Lp)
 
void PrepareForContin (Attribute Att, CaseNo Fp, CaseNo Lp)
 
CaseNo PrepareForScan (CaseNo Lp)
 
void ContinTest (Tree Node, Attribute Att)
 
void AdjustAllThresholds (Tree T)
 
void AdjustThresholds (Tree T, Attribute Att, CaseNo *Ep)
 
ContValue GreatestValueBelow (ContValue Th, CaseNo *Ep)
 

Macro Definition Documentation

#define PartInfo (   n)    (-(n)*Log((n)/GEnv.Cases))

Definition at line 37 of file contin.c.

Function Documentation

void AdjustAllThresholds ( Tree  T)

Definition at line 519 of file contin.c.

void AdjustThresholds ( Tree  T,
Attribute  Att,
CaseNo Ep 
)

Definition at line 537 of file contin.c.

void ContinTest ( Tree  Node,
Attribute  Att 
)

Definition at line 497 of file contin.c.

void EstimateMaxGR ( Attribute  Att,
CaseNo  Fp,
CaseNo  Lp 
)

Definition at line 218 of file contin.c.

void EvalContinuousAtt ( Attribute  Att,
CaseNo  Fp,
CaseNo  Lp 
)

Definition at line 51 of file contin.c.

ContValue GreatestValueBelow ( ContValue  Th,
CaseNo Ep 
)

Definition at line 590 of file contin.c.

void PrepareForContin ( Attribute  Att,
CaseNo  Fp,
CaseNo  Lp 
)

Definition at line 321 of file contin.c.

CaseNo PrepareForScan ( CaseNo  Lp)

Definition at line 440 of file contin.c.