|
FAUST compiler
0.9.9.6b8
|
#include <occurences.hh>
Public Member Functions | |
| Occurences (int v, int r) | |
| Occurences * | incOccurences (int v, int r, int d) |
| inc occurences in context v,r,d More... | |
| bool | hasMultiOccurences () const |
| true if multiple occurences or occ. in higher ctxt More... | |
| bool | hasOutDelayOccurences () const |
| true if has occurences outside a a delay More... | |
| int | getMaxDelay () const |
| return the maximal delay collected More... | |
| int | getMinDelay () const |
| return the minimal delay collected More... | |
Private Attributes | |
| const int | fXVariability |
| Extended Variability of the expression. More... | |
| int | fOccurences [4] |
| Occurences count according to Contexts. More... | |
| bool | fMultiOcc |
| True when exp has multiple occ. or occ. in higher ctxt. More... | |
| bool | fOutDelayOcc |
| True when exp has at least one occ. outside a delay. More... | |
| int | fMinDelay |
| Minimal fix delay usage. More... | |
| int | fMaxDelay |
| Maximal fix delay usage. More... | |
Definition at line 7 of file occurences.hh.
| Occurences::Occurences | ( | int | v, |
| int | r | ||
| ) |
Definition at line 27 of file occurences.cpp.
References fMaxDelay, fMultiOcc, fOccurences, and fOutDelayOcc.
| int Occurences::getMaxDelay | ( | ) | const |
return the maximal delay collected
Definition at line 54 of file occurences.cpp.
References fMaxDelay.
Referenced by ScalarCompiler::forceCacheCode(), VectorCompiler::generateCacheCode(), ScalarCompiler::generateCacheCode(), DocCompiler::generateCacheCode(), ScalarCompiler::generateFConst(), DocCompiler::generateFConst(), VectorCompiler::generateFixDelay(), DocCompiler::generateFVar(), ScalarCompiler::generateNumber(), DocCompiler::generateNumber(), DocCompiler::generateRec(), and VectorCompiler::needSeparateLoop().

| int Occurences::getMinDelay | ( | ) | const |
return the minimal delay collected
| bool Occurences::hasMultiOccurences | ( | ) | const |
true if multiple occurences or occ. in higher ctxt
Definition at line 50 of file occurences.cpp.
References fMultiOcc.
| bool Occurences::hasOutDelayOccurences | ( | ) | const |
true if has occurences outside a a delay
Definition at line 52 of file occurences.cpp.
References fOutDelayOcc.
| Occurences * Occurences::incOccurences | ( | int | v, |
| int | r, | ||
| int | d | ||
| ) |
inc occurences in context v,r,d
Definition at line 34 of file occurences.cpp.
References fMaxDelay, fMultiOcc, fOccurences, fOutDelayOcc, fXVariability, and xVariability().
Referenced by OccMarkup::incOcc().


|
private |
Maximal fix delay usage.
Definition at line 14 of file occurences.hh.
Referenced by getMaxDelay(), incOccurences(), and Occurences().
|
private |
Minimal fix delay usage.
Definition at line 13 of file occurences.hh.
|
private |
True when exp has multiple occ. or occ. in higher ctxt.
Definition at line 11 of file occurences.hh.
Referenced by hasMultiOccurences(), incOccurences(), and Occurences().
|
private |
Occurences count according to Contexts.
Definition at line 10 of file occurences.hh.
Referenced by incOccurences(), and Occurences().
|
private |
True when exp has at least one occ. outside a delay.
Definition at line 12 of file occurences.hh.
Referenced by hasOutDelayOccurences(), incOccurences(), and Occurences().
|
private |
Extended Variability of the expression.
Definition at line 9 of file occurences.hh.
Referenced by incOccurences().
1.8.7