public class IterationSpace
extends java.lang.Object
Constructor and Description |
---|
IterationSpace(java.util.List<Xnode> doStatements)
Constructs an iteration space object and populate it with the given do
statements.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<DependenceAnalysis> |
getLevel(int level)
Get a specific level.
|
int |
getNbLevel()
Get the number of levels.
|
boolean |
isPerfectlyNested()
Check if the iteration space is perfectly nested.
|
void |
printDebug(boolean inner)
Print some debugging information about the iteration space.
|
void |
reload(java.util.List<Xnode> doStatements)
Operation needed after a fusion.
|
public IterationSpace(java.util.List<Xnode> doStatements) throws java.lang.Exception
doStatements
- List of do statements part of the iteration space.java.lang.Exception
- If iteration space cannot be loaded.public void reload(java.util.List<Xnode> doStatements) throws java.lang.Exception
doStatements
- New list of do statements.java.lang.Exception
- If a node is not a do statement.public int getNbLevel()
public java.util.List<DependenceAnalysis> getLevel(int level)
level
- Index of the level to be returned.public void printDebug(boolean inner)
inner
- If true, DependenceAnalysis information are printed too.public boolean isPerfectlyNested()