Uses of Class
at.dms.kjc.JLocalVariable

Packages that use JLocalVariable
at.dms.kjc   
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.linear Provides analysis and optimization of linear portions of the stream graph. 
at.dms.kjc.sir.linear.frequency Translates linear filters into the frequency domain. 
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.statespace Provides analysis and optimization of linear statespace portions of the stream graph. 
at.dms.kjc.spacedynamic   
 

Uses of JLocalVariable in at.dms.kjc
 

Subclasses of JLocalVariable in at.dms.kjc
 class JFormalParameter
          This class represents a parameter declaration in the syntax tree
 class JGeneratedLocalVariable
          This class represents a local variable declaration
 class JVariableDefinition
          This class represents a local variable definition in the syntax tree
 

Methods in at.dms.kjc that return JLocalVariable
 JLocalVariable JLocalVariableExpression.getVariable()
           
 JLocalVariable CContext.lookupLocalVariable(String ident)
          lookupLocalVariable
 JLocalVariable CClassContext.lookupLocalVariable(String ident)
          lookupLocalVariable
 JLocalVariable CBlockContext.lookupLocalVariable(String ident)
          lookupLocalVariable
 

Methods in at.dms.kjc with parameters of type JLocalVariable
 void CBlockContext.addVariable(JLocalVariable var)
          addLocal variable
protected  void JLocalVariable.deepCloneInto(JLocalVariable other)
          Clones all fields of this into
 JExpression CSourceClass.getOuterLocalAccess(TokenReference ref, JLocalVariable var, CMethod constructor)
          Gets the code to access outer local vars
 void JReturnStatement.load(CodeSequence code, JLocalVariable var)
          Load the value from a local var (after finally)
 void CodeSequence.plantLocalVar(int opcode, JLocalVariable var)
          Adds a local var instruction to the code of the current method.
 void JReturnStatement.store(CodeSequence code, JLocalVariable var)
          Load the value from a local var (after finally)
static String CSourceClass.varName(JLocalVariable var)
          Naming of variables abstracted away
 

Constructors in at.dms.kjc with parameters of type JLocalVariable
JLocalVariableExpression(JLocalVariable variable)
           
JLocalVariableExpression(TokenReference where, JLocalVariable variable)
          Construct a node in the parsing tree
JOuterLocalVariableExpression(TokenReference where, JLocalVariable var, CClass outer)
          Construct a node in the parsing tree
 

Uses of JLocalVariable in at.dms.kjc.raw
 

Methods in at.dms.kjc.raw with parameters of type JLocalVariable
static JStatement RawExecutionCode.makeForLoop(JStatement body, JLocalVariable var, JExpression count)
          Returns a for loop that uses field to count times with the body of the loop being .
 

Uses of JLocalVariable in at.dms.kjc.rstream
 

Methods in at.dms.kjc.rstream that return JLocalVariable
 JLocalVariable JDoLoopStatement.getInduction()
          return the induction var of this loop
 

Methods in at.dms.kjc.rstream that return types with arguments of type JLocalVariable
static HashMap<JLocalVariable,HashSet> UseDefInfo.getUsesMap(JMethodDeclaration meth)
          Given a method, return a hashmap from local vars -> HashSet, where the hashset holds all the access of the local variable in the method.
 

Methods in at.dms.kjc.rstream with parameters of type JLocalVariable
static JStatement GenerateCCode.makeDoLoop(JStatement body, JLocalVariable var, JIntLiteral count)
          Returns a do loop that uses local variable *var* to count *count* times with the body of the loop being *body*.
static JStatement GenerateCCode.makeForLoop(JStatement body, JLocalVariable var, JExpression count)
          Returns a for loop that uses local variable *var* to count *count* times with the body of the loop being *body*.
 

Constructors in at.dms.kjc.rstream with parameters of type JLocalVariable
JDoLoopStatement(JLocalVariable induction, JExpression initVal, JExpression condVal, JExpression incrVal, JStatement body, boolean countUp)
          construct a new JDoLoopStatement, see the class comment for semantics.
JDoLoopStatement(JLocalVariable induction, JExpression initVal, JExpression condVal, JExpression incrVal, JStatement body, boolean countUp, boolean zeroInit)
          construct a new JDoLoopStatement, see the class comment for semantics.
 

Uses of JLocalVariable in at.dms.kjc.sir
 

Fields in at.dms.kjc.sir declared as JLocalVariable
protected  JLocalVariable SIRInterfaceTable.vardecl
          The variable declaration containing this interface table.
 

Methods in at.dms.kjc.sir that return JLocalVariable
 JLocalVariable SIRInterfaceTable.getVarDecl()
          Returns the variable declaration for the table.
 

Methods in at.dms.kjc.sir with parameters of type JLocalVariable
 void SIRInterfaceTable.setVarDecl(JLocalVariable vardecl)
          Associates a variable declaration with the table.
 

Uses of JLocalVariable in at.dms.kjc.sir.linear
 

Methods in at.dms.kjc.sir.linear with parameters of type JLocalVariable
static JExpression LinearReplacer.makeArrayFieldAccessExpr(JLocalVariable arrField, int index)
           
static JExpression LinearReplacer.makeArrayFieldAccessExpr(JLocalVariable arrField, JExpression index)
          Makes a field array access expression of the form prefix-arrField[index], where user can set prefix.
static JExpression LinearReplacer.makeLocalVarExpression(JLocalVariable var)
          Creates a local variable expression.
 

Uses of JLocalVariable in at.dms.kjc.sir.linear.frequency
 

Methods in at.dms.kjc.sir.linear.frequency with parameters of type JLocalVariable
 JStatement LEETFrequencyReplacer.makeArrayAddAndPushStatement(JLocalVariable arr1, JLocalVariable arr2, JVariableDefinition indexVar)
          makes an array push statement of the following form: push(this.arr1[indexVar] + this.arr2[indexVar]);
 JStatement LEETFrequencyReplacer.makeArrayAssignment(JLocalVariable field, int index, float value)
          Creates an assignment expression of the form: this.f[index]=value;
 JStatement LEETFrequencyReplacer.makeArrayAssignment(JLocalVariable field, JExpression index, JExpression assignedValue, String comment)
          Creates an assignment expression of the form: this.f[index]=rhs;
 JStatement LEETFrequencyReplacer.makeArrayAssignment(JLocalVariable field, JVariableDefinition index, JExpression assignedValue, String comment)
          Creates an assignment expression of the form: this.f[index]=rhs;
 JStatement LEETFrequencyReplacer.makeArrayPushStatement(JLocalVariable arr, JVariableDefinition indexVar)
           
 JStatement LEETFrequencyReplacer.makePartialCopyExpression(JLocalVariable field1, JExpression index1, JLocalVariable field2, JExpression index2)
          Makes a copy expression from one array field to another array field of the form this.field1[index1] = this.field2[index2].
 

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

Fields in at.dms.kjc.sir.lowering with type parameters of type JLocalVariable
protected  Hashtable<JLocalVariable,Object> Propagator.constants
          Map of known constants/Overloaded for copy prop (JLocalVariable -> JLiteral/JLocalVariableExpr/Array) When storing information about an array JLiteral/JLocalVariablesExpr are stored in the Array being mapped to
 

Methods in at.dms.kjc.sir.lowering that return JLocalVariable
 JLocalVariable LoopIterInfo.getVar()
          The induction variable in the loop.
 

Methods in at.dms.kjc.sir.lowering that return types with arguments of type JLocalVariable
 Hashtable<JLocalVariable,Boolean> Propagator.getChanged()
          Get map from JLocalVariable (JVariableDefinition, JFormalParameter etc) to whether has changed
 Hashtable<JLocalVariable,Object> Propagator.getConstants()
          Get map from JLocalVariable (JVariableDefinition, JFormalParameter etc) to constant.
 

Method parameters in at.dms.kjc.sir.lowering with type arguments of type JLocalVariable
 Propagator Propagator.construct(Hashtable<JLocalVariable,Object> constants)
          Factory rather than direct call to constructor.
 Propagator Propagator.construct(Hashtable<JLocalVariable,Object> constants, boolean write)
          Factory rather than direct call to constructor.
static LoopIterInfo LoopIterInfo.getLoopInfo(JStatement init, JExpression cond, JStatement incr, JStatement body, Map<JLocalVariable,JExpression> values, Map<JLocalVariable,JLiteral> constants)
          Get unroll info for this loop.
static LoopIterInfo LoopIterInfo.getLoopInfo(JStatement init, JExpression cond, JStatement incr, JStatement body, Map<JLocalVariable,JExpression> values, Map<JLocalVariable,JLiteral> constants)
          Get unroll info for this loop.
 

Constructor parameters in at.dms.kjc.sir.lowering with type arguments of type JLocalVariable
Propagator(Hashtable<JLocalVariable,Object> constants)
          Constructor, given that constants maps JLocalVariables to JLiterals for the scope that we'll be visiting.
Propagator(Hashtable<JLocalVariable,Object> constants, boolean write)
          Constructor, given that constants maps JLocalVariables to JLiterals for the scope that we'll be visiting.
Unroller(Hashtable<JLocalVariable,JLiteral> constants)
          Creates one of these given that constants maps JLocalVariables to JLiterals for the scope that we'll be visiting.
Unroller(Hashtable<JLocalVariable,JLiteral> constants, boolean unrollOuterLoops)
           
 

Uses of JLocalVariable in at.dms.kjc.sir.statespace
 

Methods in at.dms.kjc.sir.statespace with parameters of type JLocalVariable
static JExpression LinearReplacer.makeArrayFieldAccessExpr(JLocalVariable arrField, int index)
           
static JExpression LinearReplacer.makeArrayFieldAccessExpr(JLocalVariable arrField, JExpression index)
          Makes a field array access expression of the form prefix-arrField[index], where user can set prefix.
static JExpression LinearReplacer.makeLocalVarExpression(JLocalVariable var)
          Creates a local variable expression.
 

Uses of JLocalVariable in at.dms.kjc.spacedynamic
 

Methods in at.dms.kjc.spacedynamic with parameters of type JLocalVariable
static JStatement RawExecutionCode.makeForLoop(JStatement body, JLocalVariable var, JExpression count)
          Returns a for loop that uses field