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 isSigSelect3(Tree t, Tree &selector, Tree &s1, Tree &s2, Tree &s3)
bool isSigGen(Tree t, Tree &x)
int getSharingCount(Tree t)
void sharingAnalysis(Tree t)
Type getCertifiedSigType(Tree sig)
Retrieve the type of sig and check it exists.
void setProperty(Tree t, Tree key, Tree val)
void sharingAnnotation(int vctxt, Tree t)
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.
void setSharingCount(Tree t, int count)
bool getProperty(Tree t, Tree key, Tree &val)