at.dms.kjc.raw
Class Util
java.lang.Object
at.dms.util.Utils
at.dms.kjc.raw.Util
- All Implemented Interfaces:
- DeepCloneable, Serializable
public class Util
- extends Utils
This class contains various function used by multiple passes
- See Also:
- Serialized Form
Constructor Summary |
Util()
|
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, 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 |
CSTOINTVAR
public static String CSTOINTVAR
CSTOFPVAR
public static String CSTOFPVAR
CSTIFPVAR
public static String CSTIFPVAR
CSTIINTVAR
public static String CSTIINTVAR
Util
public Util()
countMe
public static boolean countMe(SIRFilter filter)
nextPow2
public static int nextPow2(int i)
getCount
public static int getCount(HashMap<FlatNode,Integer> counts,
FlatNode node)
getCountPrev
public static int getCountPrev(HashMap<FlatNode,Integer> counts,
FlatNode prev,
FlatNode node)
getRRSplitterWeight
public static double getRRSplitterWeight(FlatNode prev,
FlatNode node)
getTypeSize
public static int getTypeSize(CType type)
makeInt
public static int[] makeInt(JExpression[] dims)
staticNetworkReceivePrefix
public static String staticNetworkReceivePrefix()
staticNetworkReceiveSuffix
public static String staticNetworkReceiveSuffix(CType tapeType)
staticNetworkSendPrefix
public static String staticNetworkSendPrefix(CType tapeType)
staticNetworkSendSuffix
public static String staticNetworkSendSuffix()
getAssignedEdges
public static HashSet<FlatNode> getAssignedEdges(FlatNode node)
getDirectDownstream
public static HashSet<Object> getDirectDownstream(FlatNode node)