Uses of Interface
at.dms.kjc.AttributeVisitor

Packages that use AttributeVisitor
at.dms.kjc   
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.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   
 

Uses of AttributeVisitor in at.dms.kjc
 

Subinterfaces of AttributeVisitor in at.dms.kjc
 interface SLIRAttributeVisitor<T>
          Implementation of an Attributed Visitor Design Pattern for KJC.
 

Classes in at.dms.kjc that implement AttributeVisitor
 class EmptyAttributeVisitor
          This is a visitor that just recurses into children at every node and returns that node.
 class Kopi2SIR
           
 class ReplacingVisitor
          This class descends through the tree, and tests if any of the returned STATEMENTS or EXPRESSIONS are different from old ones in the tree.
 class SLIREmptyAttributeVisitor
          This is a visitor that just recurses into children at every node and returns that node.
 class SLIRReplacingVisitor
          This is just like ReplacingVisitor except for SLIR nodes, too.
 class StatementQueueVisitor
          This visitor is for analyses that want to add one or more statements every time they see a given expression.
 

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

Uses of AttributeVisitor in at.dms.kjc.common
 

Classes in at.dms.kjc.common that implement AttributeVisitor
 class RemoveUnusedVars
          Class to remove unused variables from the IR.
 class 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.
 

Uses of AttributeVisitor in at.dms.kjc.lir
 

Methods in at.dms.kjc.lir with parameters of type AttributeVisitor
 Object LIRNode.accept(AttributeVisitor p)
           
 Object LIRFunctionPointer.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 

Uses of AttributeVisitor in at.dms.kjc.rstream
 

Classes in at.dms.kjc.rstream that implement AttributeVisitor
 class ConvertArrayInitializers
          This class converts array initializers to a bunch of assignment statements.
 class ConvertChannelExprs
          This visitor will convert the communication expressions of a filter (push, pop, peek) into buffer accesses.
 class IDDoLoops
          This pass identifies java-style for loops that can be converted to fortran-style do loops.
 class RemoveDeadDoLoops
          This class traverses the IR looking for do loops that will never execute or will execute exactly once.
 

Uses of AttributeVisitor in at.dms.kjc.sir
 

Methods in at.dms.kjc.sir with parameters of type AttributeVisitor
 Object SIRRegSenderStatement.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRRegReceiverStatement.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRRangeExpression.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRPushExpression.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRPrintStatement.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRPortal.accept(AttributeVisitor p)
          Accepts the specified attribute visitor
 Object SIRPopExpression.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRPeekExpression.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRMessageStatement.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRMarker.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRLatencySet.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRLatencyRange.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRLatencyMax.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRLatency.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRInterfaceTable.accept(AttributeVisitor p)
           
 Object SIRInitStatement.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRDynamicToken.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object SIRCreatePortal.accept(AttributeVisitor p)
          Accepts the specified attribute visitor.
 Object InlineAssembly.accept(AttributeVisitor p)
          Dummy method to accept AttributeVisitor but not do anything.
 

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

Classes in at.dms.kjc.sir.lowering that implement AttributeVisitor
 class ArrayDestroyer
          This class breaks up arrays into local vars as much as possible
 class BlockFlattener
          This class flattens nested blocks in methods.
 class BranchAnalyzer
          This class aggressively analyzes branches in control flow for information gained and calls constant prop on the rest of the method with the new information gained.
 class DataFlow
          Basic dataflow framework.
 class IntroduceMultiPops
          Introduce multi-pops.
 class Propagator
          This class propagates constants and partially evaluates all expressions as much as possible.
 class RemoveMultiPops
          Remove multi-pops.
 class RenameAll
          This visitor renames every variable, method, and field to a globally unique name.
 class RenameDestroyedVars
           
 class StructDestroyer
          This class breaks up structures as much as possible.
 class Unroller
          This class unrolls loops where it can.
 class VarDeclRaiser
          This class raises Variable Declaration to the beginning of blocks for C friendly code Use visitBlockStatement to move Var Decls to top of block or have it run on the method and have it recurse
 

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

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

Classes in at.dms.kjc.sir.lowering.fusion that implement AttributeVisitor
 class ReplaceVarDecls
          Used by FindVarDecls.findAndReplace.
 

Uses of AttributeVisitor in at.dms.kjc.spacetime
 

Classes in at.dms.kjc.spacetime that implement AttributeVisitor
 class ConvertCommunication
          This class will convert peek and pop statements into reads from a buffer (an array).
 class ConvertCommunicationSimple
          This class will convert peek and pop statements into reads from a buffer (an array).
 class ConvertPushesToMethCall
          This class will convert all of the pushes into function calls.