at.dms.kjc.raw
Class TileCode

java.lang.Object
  extended by at.dms.util.Utils
      extended by 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

Field Summary
static String ARRAY_INDEX
           
static HashSet<Coordinate> realTiles
           
static HashSet<Object> tiles
           
 
Fields inherited from class at.dms.util.Utils
EMPTY_LIST, getForLoopCallers
 
Constructor Summary
TileCode()
           
 
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
 

Field Detail

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
Constructor Detail

TileCode

public TileCode()
Method Detail

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.