Package at.dms.kjc.common

Interface Summary
CodeGenerator A CodeGenerator visits each node of the tree and prints to the output file.
 

Class Summary
ALocalVariable Package up declaration statement and use expression for a local variable.
ArrayCopy  
CodegenPrintWriter A PrintWriter incorporating common functions called from our code generators Delegates to at.dms.compiler.TabbedPrintWriter, which in turn delegates to java.io.PrintWriter.
CommonConstants Class used by at.dms.kjc.raw and at.dms.kjc.cluster.
CommonUtils Some public static utility functions pulled out of other routines.
ConvertLocalsToFields This class converts certain (large) local variables into fields so that they are eventually declared as globals rather than locals, thereby avoiding stack-overflow problems.
ConvertLonelyPops This class will convert each pop expression that is not nested in another expression into an assignment of the pop expression to a compiler created variable.
HasSideEffects This class determines, given an expression, if the expression has any side effects.
MacroConversion This class converts small functions to macros.
PeekPopInHelper This class will search for input communication expressions outside of the work function of a filter and return true if they exist.
PeekPopPushInHelper This class will search for all communication expressions outside of the work function of a filter and return true if they exist.
RawSimulatorPrint This class gathers common code for printing on the raw simulator, including C code defines and SIRPrintStatement code generation.
RawUtil This class contains various function used by multiple passes
RemoveUnusedVars Class to remove unused variables from the IR.
SeparatePushPop This class will search all push expressions and if a push expression has a pop expression as a arg, the arg will be first assigned to a temp var and then push'ed.
SimulatedAnnealing This is a abstract class that any simulated annealing assignment algorithm can inherit and use.
StructureIncludeFile Create structs.h and its contents.
ToC This class converts the Stream IR (which references the Kopi Java IR) to C code and dumps it to a file, str.c.
ToCCommon Somewhat artificial class to provide common code for at.dms.kjc.common.ToC and at.dms.kjc.lir.LIRToC Hopefully keep from having to fix some bugs twice.
VariablesDefUse This class will return a HashSet containing all the variables (locals and fields) used or defined from the entry point of the visitor.
VariablesUsed This class will return a HashSet containing all the variables (locals and fields) used (ignoring defines)
VarsAssigned Find all the vars that are possible assigned given a tree in the IR.