at.dms.kjc.raw
Class TileCode
java.lang.Object
at.dms.util.Utils
at.dms.kjc.raw.TileCode
- All Implemented Interfaces:
- DeepCloneable, FlatVisitor, Serializable
public class TileCode
- extends Utils
- implements FlatVisitor
This class dumps the tile code for each filter into a file based
on the tile number assigned
- See Also:
- Serialized Form
Method Summary |
static void |
generateCode(FlatNode topLevel)
|
void |
visitNode(FlatNode node)
The visitor must define this method that will be called once on
each FlatNode that is down stream of the accepting node. |
Methods inherited from class at.dms.util.Utils |
asPercent, cellMathEquivalent, cMathEquivalent, cppMathEquivalent, deepClone, deepCloneInto, equalArrays, fail, getEnvironmentVariable, getExpression, hasPeeks, initArray, initArray, initLiteralArray, intArrayToList, isMathMethod, isUniform, kopi_assert, kopi_assert, makeCountdownForLoop, makeDotFileName, makeForLoop, makeForLoop, makeForLoop, makeForLoopFieldIndex, makeForLoopLocalIndex, nextPow2, passThruParens, peelMarkers, popBeforePeek, readFile, removeUnusedPops, replaceAll, setupDotFileName, simplifyMathMethod, splitQualifiedName, splitQualifiedName, toArray, toIntArray, toVector, voidToInt, writeFile |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
realTiles
public static HashSet<Coordinate> realTiles
tiles
public static HashSet<Object> tiles
ARRAY_INDEX
public static final String ARRAY_INDEX
- See Also:
- Constant Field Values
TileCode
public TileCode()
generateCode
public static void generateCode(FlatNode topLevel)
visitNode
public void visitNode(FlatNode node)
- Description copied from interface:
FlatVisitor
- The visitor must define this method that will be called once on
each FlatNode that is down stream of the accepting node.
- Specified by:
visitNode
in interface FlatVisitor
- Parameters:
node
- the node that is being currently visited.