|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectat.dms.kjc.backendSupport.CommonPasses
public class CommonPasses
Common passes, useful in new back ends.
| Constructor Summary | |
|---|---|
CommonPasses()
|
|
| Method Summary | |
|---|---|
Map<String,Set<String>> |
getAssociatedGlobals()
Get the names of globals that may have been copied into multiple places. |
SIRStream |
getOrigSTR()
Get the original stream for statistics gathering. |
Partitioner |
getPartitioner()
Get the Partitioner used in run. |
WorkEstimate |
getWorkEstimate()
Get the WorkEstimate used in run. |
Slice[] |
run(SIRStream str,
JInterfaceDeclaration[] interfaces,
SIRInterfaceTable[] interfaceTables,
SIRStructure[] structs,
SIRHelper[] helpers,
SIRGlobal global,
int numCores)
Top level method for executing passes common to some current and all future StreamIt compilers. |
SpaceTimeScheduleAndPartitioner |
scheduleSlices()
Create schedules for init, prime-pump and steady phases. |
void |
simplifySlices()
This method performs some standard cleanup on the slice graph. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public CommonPasses()
| Method Detail |
|---|
public Slice[] run(SIRStream str,
JInterfaceDeclaration[] interfaces,
SIRInterfaceTable[] interfaceTables,
SIRStructure[] structs,
SIRHelper[] helpers,
SIRGlobal global,
int numCores)
str - SIRStream from Kopi2SIRinterfaces - JInterfaceDeclaration[] from Kopi2SIRinterfaceTables - SIRInterfaceTable[] from Kopi2SIRstructs - SIRStructure[] from Kopi2SIRhelpers - SIRHelper[] from Kopi2SIRglobal - SIRGlobal from Kopi2SIRnumCores - Number of ComputeNode's to use in partitioning.
Slice representation.public void simplifySlices()
public SpaceTimeScheduleAndPartitioner scheduleSlices()
public Partitioner getPartitioner()
run.
public WorkEstimate getWorkEstimate()
run.
public SIRStream getOrigSTR()
public Map<String,Set<String>> getAssociatedGlobals()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||