|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectat.dms.kjc.sir.lowering.fusion.FusePipe
public class FusePipe
This is the high-level fusion class for pipelines. It dispatches to another class (e.g., FusePipeShift, FusePipeModulo) for actually performing the fusion. This class deals with the interface, the legality of fusion, and patching the fusion product into the parent stream graph.
Field Summary | |
---|---|
static boolean |
debugging
enable / disable debuging printouts. |
static String |
INIT_WORK_NAME
Name of init work, fused across fusion and fission. |
Constructor Summary | |
---|---|
FusePipe()
|
Method Summary | |
---|---|
static void |
fuse(SIRFilter first,
SIRFilter last)
|
static int |
fuse(SIRPipeline pipe)
Fuses all eligibles portions of |
static int |
fuse(SIRPipeline pipe,
int targetElim)
Fuses all candidate portions of |
static SIRStream |
fuse(SIRPipeline pipe,
PartitionGroup partitions)
Fuses sections of |
static int |
fuseTwo(SIRPipeline pipe,
int start)
Fuses two filters starting from |
static String |
getFusedName(List<SIRStream> filterInfo)
Return a name for the fused filter that consists of those filters in |
static boolean |
isFusable(SIRStream str)
Returns whether or note str is a candidate component for fusion. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
public static final String INIT_WORK_NAME
public static boolean debugging
Constructor Detail |
---|
public FusePipe()
Method Detail |
---|
public static int fuse(SIRPipeline pipe)
public static int fuse(SIRPipeline pipe, int targetElim)
public static SIRStream fuse(SIRPipeline pipe, PartitionGroup partitions)
public static int fuseTwo(SIRPipeline pipe, int start)
public static void fuse(SIRFilter first, SIRFilter last)
public static boolean isFusable(SIRStream str)
public static String getFusedName(List<SIRStream> filterInfo)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |