|
FAUST compiler
0.9.9.6b8
|
Occurences Markup of a root tree. More...
#include <occurences.hh>

Public Member Functions | |
| void | mark (Tree root) |
| start markup of root tree with new unique key More... | |
| Occurences * | retrieve (Tree t) |
| occurences of subtree t within root tree More... | |
Private Member Functions | |
| void | incOcc (Tree env, int v, int r, int d, Tree t) |
| inc the occurence of t in context v,r More... | |
| Occurences * | getOcc (Tree t) |
| get Occurences property of t or null More... | |
| void | setOcc (Tree t, Occurences *occ) |
| set Occurences property of t More... | |
Private Attributes | |
| Tree | fRootTree |
| occurences computed within this tree More... | |
| Tree | fPropKey |
| key used to store occurences property More... | |
Occurences Markup of a root tree.
First create an OccMarkup om, second om.mark(root) then om.retrieve(subtree)
Definition at line 32 of file occurences.hh.
|
private |
get Occurences property of t or null
Definition at line 144 of file occurences.cpp.
References fPropKey, CTree::getProperty(), and tree2ptr().
Referenced by incOcc(), and retrieve().


inc the occurence of t in context v,r
Definition at line 95 of file occurences.cpp.
References checkDelayInterval(), getCertifiedSigType(), getOcc(), getRecursivness(), getSubSignals(), Occurences::incOccurences(), isSigFixDelay(), isSigGen(), isSigPrefix(), isSigSelect3(), and setOcc().
Referenced by mark().


| void OccMarkup::mark | ( | Tree | root | ) |
start markup of root tree with new unique key
Definition at line 63 of file occurences.cpp.
References fPropKey, fRootTree, hd(), incOcc(), isList(), kSamp, nil, tl(), tree(), and unique().
Referenced by DocCompiler::annotate().


| Occurences * OccMarkup::retrieve | ( | Tree | t | ) |
occurences of subtree t within root tree
Definition at line 81 of file occurences.cpp.
References getOcc().
Referenced by VectorCompiler::generateCacheCode(), DocCompiler::generateCacheCode(), DocCompiler::generateFConst(), VectorCompiler::generateFixDelay(), DocCompiler::generateFVar(), DocCompiler::generateNumber(), DocCompiler::generateRec(), and VectorCompiler::needSeparateLoop().


|
private |
set Occurences property of t
Definition at line 155 of file occurences.cpp.
References fPropKey, CTree::setProperty(), and tree().
Referenced by incOcc().


|
private |
key used to store occurences property
Definition at line 35 of file occurences.hh.
|
private |
occurences computed within this tree
Definition at line 34 of file occurences.hh.
Referenced by mark().
1.8.7