|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.cluster.ClusterCode
public class ClusterCode
This class generates and emits code for each filter, splitter, and joiner in the flat graph.
Field Summary | |
---|---|
static HashSet<SIRJoiner> |
feedbackJoinersNeedingPrep
getter? joiners for feedbackloops with >0 enqueues need initialization to perform initial pushes of enqueued values into their input tapes. |
Constructor Summary | |
---|---|
ClusterCode()
|
Method Summary | |
---|---|
static void |
generateCode(FlatNode topLevel)
Generate and emit code for all nodes in FlatGraph |
static void |
generateJoiner(FlatNode node)
Generate and emit code for a joiner |
static void |
generateSlidingWindow(FlatNode node,
int n,
int m)
|
static void |
generateSplitter(FlatNode node)
Generate and emit code for a splitter. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final HashSet<SIRJoiner> feedbackJoinersNeedingPrep
Constructor Detail |
---|
public ClusterCode()
Method Detail |
---|
public static void generateCode(FlatNode topLevel)
topLevel
- the entry point to the FlatGraph of the programpublic static void generateSplitter(FlatNode node)
node
- FlatNode for the splitter to generate code for.public static void generateJoiner(FlatNode node)
node
- is a FlatNode where node.contents instanceof SIRJoinerpublic static void generateSlidingWindow(FlatNode node, int n, int m)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |