void sharingAnalysis(Tree t)
Tree shprkey(Tree t)
Create a specific property key for the sharing count of subtrees of t.
A CTree = (Node x [CTree]) is a Node associated with a list of subtrees called branches.
const Node & node() const
return the content of the tree
bool isSigGen(Tree t, Tree &x)
void sharingAnnotation(int vctxt, Tree t)
void setSharingCount(Tree t, int count)
Type getCertifiedSigType(Tree sig)
Retrieve the type of sig and check it exists.
int getSharingCount(Tree t)
void setProperty(Tree t, Tree key, Tree val)
API to the typing system of signals.
int getSubSignals(Tree sig, vector< Tree > &vsigs, bool visitgen=true)
Extract the sub signals of a signal expression, that is not necesseraly all the subtrees.
bool getProperty(Tree t, Tree key, Tree &val)