public static void fuse(SIRPipeline pipe, PartitionGroup partitions) { RefactorPipeline.addHierarchicalChildren(pipe, partitions); for (int i=0; i<partitions.size(); i++) { if (partitions.get(i)!=1) { SIRPipeline child = (SIRPipeline)pipe.get(i); internalFuse(child); Lifter.eliminatePipe(child); } }
public static int fuse(SIRPipeline pipe) { return internalFuse(pipe, pipe.size(), pipe.size());
    public static void fuse(SIRPipeline pipe, PartitionGroup partitions) {	RefactorPipeline.addHierarchicalChildren(pipe, partitions);	for (int i=0; i<partitions.size(); i++) {	    if (partitions.get(i)!=1) {		SIRPipeline child = (SIRPipeline)pipe.get(i);		internalFuse(child);		Lifter.eliminatePipe(child);	    }	}    }