Uses of Interface
at.dms.kjc.KjcVisitor

Packages that use KjcVisitor
at.dms.kjc   
at.dms.kjc.backendSupport Package documentation for at.dms.kjc.backendSupport 
at.dms.kjc.cell   
at.dms.kjc.cluster The cluster backend for StreamIt generates a set of threads that can be executed on a cluster of networked computers or a SMP. 
at.dms.kjc.common   
at.dms.kjc.lir Provides a set of low-level stubs (LIR stands for Low-level IR) for compiling to the original (and mostly obsolete) uniprocessor backend. 
at.dms.kjc.raw   
at.dms.kjc.rstream   
at.dms.kjc.sir Contains the heart of the StreamIt Intermediate Representation, or SIR for short. 
at.dms.kjc.sir.lowering Provides compiler passes that analyze or optimize the SIR, primarily within the code of each filter. 
at.dms.kjc.sir.lowering.fusion Provides compiler passes to fuse (combine) a set of filters into a single filter. 
at.dms.kjc.spacetime   
at.dms.util   
 

Uses of KjcVisitor in at.dms.kjc
 

Subinterfaces of KjcVisitor in at.dms.kjc
 interface SLIRVisitor
          This visitor is for visiting statement-level constructs in the streamit IR.
 

Classes in at.dms.kjc that implement KjcVisitor
 class CloningVisitor
          This descends through a stream hierarchy and identifies local variables and stream structures that SHOULD be cloned (since their definition is within the hierarchy).
 class KjcEmptyVisitor
          This is a visitor that just recurses into children at every node.
 class KjcPrettyPrinter
          This class implements a Java pretty printer
 class SLIREmptyVisitor
          This visitor is for visiting statement-level constructs in the streamit IR.
 

Methods in at.dms.kjc with parameters of type KjcVisitor
 void JWhileStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JVariableDefinition.accept(KjcVisitor p)
          Accepts the specified visitor
 void JVariableDeclarationStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JUnqualifiedInstanceCreation.accept(KjcVisitor p)
          Accepts the specified visitor
 void JUnqualifiedAnonymousCreation.accept(KjcVisitor p)
          Accepts the specified visitor
 void JUnaryPromote.accept(KjcVisitor p)
          Accepts the specified visitor
 void JUnaryPlusExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JUnaryMinusExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JTypeNameExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JTypeDeclarationStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JTryFinallyStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JTryCatchStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JThrowStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JThisExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JSynchronizedStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JSwitchStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JSwitchLabel.accept(KjcVisitor p)
          Accepts the specified visitor
 void JSwitchGroup.accept(KjcVisitor p)
          Accepts the specified visitor
 void JSuperExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JStringLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JShortLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JShiftExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JReturnStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JRelationalExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JQualifiedInstanceCreation.accept(KjcVisitor p)
          Accepts the specified visitor
 void JQualifiedAnonymousCreation.accept(KjcVisitor p)
          Accepts the specified visitor
 void JPrefixExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JPostfixExpression.accept(KjcVisitor p)
          Accepts the specified visitor
abstract  void JPhylum.accept(KjcVisitor p)
          Accepts the specified visitor
 void JParenthesedExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JPackageName.accept(KjcVisitor p)
          Accepts the specified visitor
 void JPackageImport.accept(KjcVisitor p)
          Accepts the specified visitor
 void JNullLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JNewArrayExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JNameExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JMultExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JModuloExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JMinusExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JMethodDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JMethodCallExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JMemberDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JLongLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JLogicalComplementExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JLocalVariableExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JLabeledStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JIntLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JInterfaceDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JInstanceofExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JInitializerDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JIfStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JGeneratedLocalVariable.accept(KjcVisitor p)
          Accepts the specified visitor
 void JForStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JFormalParameter.accept(KjcVisitor p)
          Accepts the specified visitor
 void JFloatLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JFieldDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JFieldAccessExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JExpressionStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JExpressionListStatement.accept(KjcVisitor p)
          Accepts the specified visitor
abstract  void JExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JEqualityExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JEmptyStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JEmittedTextExpression.accept(KjcVisitor p)
           
 void JDoubleLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JDoStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JDivideExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JContinueStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JConstructorDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JConstructorCall.accept(KjcVisitor p)
          Accepts the specified visitor
 void JConditionalOrExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JConditionalExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JConditionalAndExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCompoundStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCompoundAssignmentExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCompilationUnit.accept(KjcVisitor p)
          Accepts the specified visitor
 void JClassImport.accept(KjcVisitor p)
          Accepts the specified visitor
 void JClassFieldDeclarator.accept(KjcVisitor p)
          Accepts the specified visitor
 void JClassExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JClassDeclaration.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCheckedExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCharLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCatchClause.accept(KjcVisitor p)
          Accepts the specified visitor
 void JCastExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JByteLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JBreakStatement.accept(KjcVisitor p)
          Accepts the specified visitor
 void JBooleanLiteral.accept(KjcVisitor p)
          Accepts the specified visitor
 void JBlock.accept(KjcVisitor p)
          Accepts the specified visitor
 void JBitwiseExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JBitwiseComplementExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JAssignmentExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JArrayLengthExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JArrayInitializer.accept(KjcVisitor p)
          Accepts the specified visitor
 void JArrayAccessExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JAddExpression.accept(KjcVisitor p)
          Accepts the specified visitor
 void JMemberDeclaration.genComments(KjcVisitor p)
          Generate the code in pure java form It is useful to debug and tune compilation process
 

Uses of KjcVisitor in at.dms.kjc.backendSupport
 

Classes in at.dms.kjc.backendSupport that implement KjcVisitor
protected  class EmitCode.CodeGen
          Class to actually emit code.
 

Uses of KjcVisitor in at.dms.kjc.cell
 

Classes in at.dms.kjc.cell that implement KjcVisitor
protected  class EmitCellCode.CellPPUCodeGen
           
protected  class EmitCellCode.CellSPUCodeGen
           
 

Uses of KjcVisitor in at.dms.kjc.cluster
 

Classes in at.dms.kjc.cluster that implement KjcVisitor
 class CodeEstimate
          Estimates the code size and size of local variables for a SIRFilter
 class DetectConst
          Constructs a set of fields that are modified by a method other that the init function.
 class FlatIRToCluster
          This class dumps the tile code for each filter into a file based on the tile number assigned.
 class InsertCounters
          If KjcOptions.countops is enabled, this class inserts insrumentation calls for counting the number of operations in the C runtime.
 class InsertTimers
          If KjcOptions.profiling is enabled, this class inserts timers around certain sections of code.
 class ModState
          Determines if a method modifies the state of a stream node!
 class PPAnalyze
           
 

Uses of KjcVisitor in at.dms.kjc.common
 

Subinterfaces of KjcVisitor in at.dms.kjc.common
 interface CodeGenerator
          A CodeGenerator visits each node of the tree and prints to the output file.
 

Classes in at.dms.kjc.common that implement KjcVisitor
 class HasSideEffects
          This class determines, given an expression, if the expression has any side effects.
 class PeekPopInHelper
          This class will search for input communication expressions outside of the work function of a filter and return true if they exist.
 class PeekPopPushInHelper
          This class will search for all communication expressions outside of the work function of a filter and return true if they exist.
 class ToC
          This class converts the Stream IR (which references the Kopi Java IR) to C code and dumps it to a file, str.c.
 class 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.
 class VariablesDefUse
          This class will return a HashSet containing all the variables (locals and fields) used or defined from the entry point of the visitor.
 class VariablesUsed
          This class will return a HashSet containing all the variables (locals and fields) used (ignoring defines)
 class VarsAssigned
          Find all the vars that are possible assigned given a tree in the IR.
 

Uses of KjcVisitor in at.dms.kjc.lir
 

Classes in at.dms.kjc.lir that implement KjcVisitor
 class LIRToC
           
 

Methods in at.dms.kjc.lir with parameters of type KjcVisitor
 void LIRNode.accept(KjcVisitor p)
          Accepts the specified visitor - NOT SUPPORTED YET.
protected  void LIRToC.declareInitializedArray(CType baseType, String ident, JExpression expr, KjcVisitor visitor, boolean printInit)
          If printInit is true, the initializer is actually printed; otherwise just the declaration is printed.
 

Uses of KjcVisitor in at.dms.kjc.raw
 

Classes in at.dms.kjc.raw that implement KjcVisitor
 class FlatIRToC
          This class dumps the tile code for each filter into a file based on the tile number assigned
 

Uses of KjcVisitor in at.dms.kjc.rstream
 

Classes in at.dms.kjc.rstream that implement KjcVisitor
 class CheckForMethodCalls
          Given an entry point for a visitor on the java IR, check if anything under it has a method call.
 class FlatIRToRS
          This class converts the Stream IR (which references the Kopi Java IR) to C code and dumps it to a file, str.c.
 class UseDefInfo
          This class will return a HashMap from local vars->hashset.
 

Uses of KjcVisitor in at.dms.kjc.sir
 

Classes in at.dms.kjc.sir that implement KjcVisitor
 class SIRToStreamIt
          Dump an SIR tree into a StreamIt program.
 

Methods in at.dms.kjc.sir with parameters of type KjcVisitor
 void SIRRegSenderStatement.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRRegReceiverStatement.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRRangeExpression.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRPushExpression.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRPrintStatement.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRPortal.accept(KjcVisitor p)
          Accepts the specified visitor
 void SIRPopExpression.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRPeekExpression.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRMessageStatement.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRMarker.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRLatencySet.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRLatencyRange.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRLatencyMax.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRLatency.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRInterfaceTable.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRInitStatement.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRDynamicToken.accept(KjcVisitor p)
          Accepts the specified visitor.
 void SIRCreatePortal.accept(KjcVisitor p)
           
 void InlineAssembly.accept(KjcVisitor p)
          Main entry point for KjcVisitor.
 

Uses of KjcVisitor in at.dms.kjc.sir.lowering
 

Classes in at.dms.kjc.sir.lowering that implement KjcVisitor
 class FindTapeOps
           
 

Methods in at.dms.kjc.sir.lowering with parameters of type KjcVisitor
 void JVectorLiteral.accept(KjcVisitor p)
           
 

Uses of KjcVisitor in at.dms.kjc.sir.lowering.fusion
 

Classes in at.dms.kjc.sir.lowering.fusion that implement KjcVisitor
 class FindVarDecls
          Unused! Finds variable definitions and accesses that have type "Int" or "Float" and replaces them with numbered variables.
 

Uses of KjcVisitor in at.dms.kjc.spacetime
 

Classes in at.dms.kjc.spacetime that implement KjcVisitor
 class TraceIRtoC
          This class returns the c code (a string) for a given raw tile
 

Uses of KjcVisitor in at.dms.util
 

Classes in at.dms.util that implement KjcVisitor
 class IRPrinter
           
 class SIRPrinter