|
FAUST compiler
0.9.9.6b8
|


Go to the source code of this file.
Typedefs | |
| typedef bool(* | barrier )(const Tree &t) |
Functions | |
| Tree | shprkey (Tree t) |
| Create a specific property key for the sharing count of subtrees of t. | |
| int | shcount (Tree key, Tree t) |
| Return the value of sharing count or 0. | |
Definition at line 58 of file shlysis.hh.
Return the value of sharing count or 0.
Definition at line 81 of file shlysis.cpp.
References Node::getInt(), getProperty(), and CTree::node().
Referenced by annotate().
{
Tree c;
if (getProperty(t, key, c)) {
return c->node().getInt();
} else {
return 0;
}
}


Create a specific property key for the sharing count of subtrees of t.
Definition at line 69 of file shlysis.cpp.
References name(), tree(), and unique().
Referenced by ScalarCompiler::sharingAnalysis(), DocCompiler::sharingAnalysis(), and shlysis().


1.8.0