|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JVariableDefinition | |
---|---|
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.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.lowering.fusion | Provides compiler passes to fuse (combine) a set of filters into a single filter. |
at.dms.kjc.sir.statespace | Provides analysis and optimization of linear statespace portions of the stream graph. |
at.dms.kjc.spacedynamic | |
at.dms.kjc.spacetime | |
at.dms.util |
Uses of JVariableDefinition in at.dms.kjc |
---|
Fields in at.dms.kjc declared as JVariableDefinition | |
---|---|
protected JVariableDefinition |
JFieldDeclaration.variable
|
Methods in at.dms.kjc that return JVariableDefinition | |
---|---|
JVariableDefinition |
JFieldDeclaration.getVariable()
|
JVariableDefinition[] |
JVariableDeclarationStatement.getVars()
Returns an array of variable definition declared by this statement |
Methods in at.dms.kjc with parameters of type JVariableDefinition | |
---|---|
protected void |
JVariableDefinition.deepCloneInto(JVariableDefinition other)
Clones all fields of this into |
void |
JFieldDeclaration.setVariable(JVariableDefinition _variable)
Allow setting a new variable name. |
void |
JVariableDeclarationStatement.setVars(JVariableDefinition[] vars)
Sets vars |
Object |
StatementQueueVisitor.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
|
Object |
ReplacingVisitor.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
Object |
Kopi2SIR.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
visits a variable declaration statement |
void |
KjcVisitor.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
visits a variable declaration statement |
void |
KjcPrettyPrinter.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
void |
KjcEmptyVisitor.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
Object |
EmptyAttributeVisitor.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
T |
AttributeVisitor.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
visits a variable declaration statement |
Object |
ReplacingVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Object |
Kopi2SIR.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
visits a variable declaration statement. |
void |
KjcVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
visits a variable declaration statement |
void |
KjcPrettyPrinter.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
void |
KjcEmptyVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Object |
EmptyAttributeVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
void |
CloningVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
Visits a variable decl. |
T |
AttributeVisitor.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
visits a variable declaration statement |
Constructors in at.dms.kjc with parameters of type JVariableDefinition | |
---|---|
CField(CClass owner,
int modifiers,
JVariableDefinition variable,
boolean deprecated)
Constructs a field export |
|
CSourceField(CClass owner,
int modifiers,
JVariableDefinition variable,
boolean deprecated)
Constructs a field export |
|
JFieldDeclaration(JVariableDefinition variable)
|
|
JFieldDeclaration(TokenReference where,
JVariableDefinition variable,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JVariableDeclarationStatement(JVariableDefinition var)
|
|
JVariableDeclarationStatement(JVariableDefinition[] vars)
|
|
JVariableDeclarationStatement(TokenReference where,
JVariableDefinition[] vars,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JVariableDeclarationStatement(TokenReference where,
JVariableDefinition var,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
Uses of JVariableDefinition in at.dms.kjc.backendSupport |
---|
Fields in at.dms.kjc.backendSupport declared as JVariableDefinition | |
---|---|
protected JVariableDefinition |
ChannelAsArray.bufDefn
definition for array |
protected JVariableDefinition |
ChannelAsArray.headDefn
definition for head |
protected JVariableDefinition |
ChannelAsArray.tailDefn
definition for tail |
Methods in at.dms.kjc.backendSupport with parameters of type JVariableDefinition | |
---|---|
void |
EmitCode.CodeGen.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
Simplify code for variable definitions. |
Uses of JVariableDefinition in at.dms.kjc.cell |
---|
Methods in at.dms.kjc.cell with parameters of type JVariableDefinition | |
---|---|
void |
EmitCellCode.CellPPUCodeGen.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
Simplify code for variable definitions. |
void |
EmitCellCode.CellSPUCodeGen.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
|
Uses of JVariableDefinition in at.dms.kjc.cluster |
---|
Methods in at.dms.kjc.cluster with parameters of type JVariableDefinition | |
---|---|
void |
FlatIRToCluster.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
void |
CodeEstimate.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
visits a variable definition, this increase size of locals |
Uses of JVariableDefinition in at.dms.kjc.common |
---|
Methods in at.dms.kjc.common that return JVariableDefinition | |
---|---|
JVariableDefinition |
ALocalVariable.getVarDefn()
Get the definition of the variable (allowing hacking name, type, initializer...). |
static JVariableDefinition |
CommonUtils.makeArrayVariableDefn(int numElements,
CType elementType,
String arrayName)
Make a JVariableDefinition for a static array. |
Methods in at.dms.kjc.common with parameters of type JVariableDefinition | |
---|---|
void |
ToCCommon.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
Object |
RemoveUnusedVars.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
Object |
RemoveUnusedVars.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Uses of JVariableDefinition in at.dms.kjc.lir |
---|
Methods in at.dms.kjc.lir with parameters of type JVariableDefinition | |
---|---|
void |
LIRToC.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Uses of JVariableDefinition in at.dms.kjc.raw |
---|
Methods in at.dms.kjc.raw with parameters of type JVariableDefinition | |
---|---|
void |
FlatIRToC.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Uses of JVariableDefinition in at.dms.kjc.rstream |
---|
Fields in at.dms.kjc.rstream declared as JVariableDefinition | |
---|---|
protected JVariableDefinition[] |
FusionState.bufferVar
the size of the incoming buffers for each incoming edge |
protected JVariableDefinition |
FilterFusionState.loopCounterVar
the induction variable for the outer loop |
protected JVariableDefinition |
FilterFusionState.popCounterVar
index variables indexing the different buffers |
protected JVariableDefinition |
FilterFusionState.pushCounterVar
|
protected JVariableDefinition |
FilterFusionState.pushCounterVarInit
we have separate init and steady push counters because in the steady state, the push buffer is initialized to the downstream's remaining items |
Methods in at.dms.kjc.rstream that return JVariableDefinition | |
---|---|
JVariableDefinition |
SplitterFusionState.getBufferVar(FlatNode prev,
boolean init)
return the outgoing buffer var for this splitter |
JVariableDefinition |
JoinerFusionState.getBufferVar(FlatNode node,
boolean init)
return the var def of the incoming (pop) buffer from *node* to this joiner |
abstract JVariableDefinition |
FusionState.getBufferVar(FlatNode prev,
boolean init)
Return the JVariableDefinition associated with the incoming buffer from *prev* to this node. |
JVariableDefinition |
FilterFusionState.getBufferVar(FlatNode prev,
boolean init)
return the buffer var representing the incoming buffer for this filter |
JVariableDefinition |
FilterFusionState.getPopCounterVar()
get the var representing the pop (incoming) buffer index |
JVariableDefinition |
FilterFusionState.getPushBufferVar(boolean isInit)
return the variable representing the push (outgoing) buffer of the filter |
JVariableDefinition |
FilterFusionState.getPushCounterVar(boolean isInit)
get the var representuing the push (outgoing) buffer index |
protected JVariableDefinition |
FusionState.makeBuffer(int bufferSize,
CType elementType,
String bufferName)
create a JVarDef representing an array of type *elementType* (which itself can be an array, with *bufferSize* elements and name *bufferName*. |
static JVariableDefinition |
GenerateCCode.newIntLocal(String prefix,
int uniqueID,
int initVal)
Return a new integer local variable definition with name *prefix* + *uniqueID*, that is initialized to *initVal*. |
Methods in at.dms.kjc.rstream with parameters of type JVariableDefinition | |
---|---|
protected JStatement |
FusionState.intAssignStm(JVariableDefinition def,
int value)
Returnn a JAssignmentStatement that will assign *value* to def*. |
protected JStatement |
FusionState.remainingBackupLoop(JVariableDefinition buffer,
JVariableDefinition loopCounterBackup,
int offset,
int remainingItems)
Return SIR code to move *remainingItems* to the beginning of *buffer* starting at *offset*, using *loopCounterBackup* as the induction variable of the loop. |
void |
FilterFusionState.sharedBufferVar(JVariableDefinition buf)
Set the incoming (pop) buffer var of this filter to be *buf*. |
void |
FFSPeekBuffer.sharedBufferVar(JVariableDefinition buf)
Deprecated. |
void |
FlatIRToRS.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Object |
ConvertArrayInitializers.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
Visit a local var def and remove and convert the array initializer. |
Uses of JVariableDefinition in at.dms.kjc.sir |
---|
Methods in at.dms.kjc.sir with parameters of type JVariableDefinition | |
---|---|
void |
SIRToStreamIt.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
prints a variable declaration statement |
void |
SIRToStreamIt.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Uses of JVariableDefinition in at.dms.kjc.sir.linear |
---|
Methods in at.dms.kjc.sir.linear with parameters of type JVariableDefinition | |
---|---|
static JFieldDeclaration[] |
LinearReplacer.appendFieldDeclaration(JFieldDeclaration[] originals,
JVariableDefinition newField)
Returns an array that is a field declaration for (newField) appended to the original field declarations. |
Uses of JVariableDefinition in at.dms.kjc.sir.linear.frequency |
---|
Methods in at.dms.kjc.sir.linear.frequency that return JVariableDefinition | |
---|---|
JVariableDefinition |
LEETFrequencyReplacer.makeWeightField(String name,
int arrayLength)
Create the field that we put the filter's frequency response in. |
Methods in at.dms.kjc.sir.linear.frequency with parameters of type JVariableDefinition | |
---|---|
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,
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.makeConstantForLoop(JVariableDefinition loopVar,
int initVal,
int maxVal,
JStatement forBody)
Generates the a for loop of the form: |
JStatement |
LEETFrequencyReplacer.makeFrequencyScale(JVariableDefinition fieldToScale,
int filterSize)
An assignment to scale each element in an array by 1/size via a callout. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewInit(LinearFilterRepresentation linearRep,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x)
Make the init function. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewInit(LinearFilterRepresentation linearRep,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x)
Make the init function. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewInit(LinearFilterRepresentation linearRep,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x)
Make the init function. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewInit(LinearFilterRepresentation linearRep,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x)
Make the init function. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewWork(int functionType,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x,
int N)
Make both the initWork and the work function (because they are not very different). We make a function that copies N+2(x-1) elements from the input tape into a local array, calls the library function with the local array and the weight field to calcluate the FFT of the input and the weight fields. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewWork(int functionType,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x,
int N)
Make both the initWork and the work function (because they are not very different). We make a function that copies N+2(x-1) elements from the input tape into a local array, calls the library function with the local array and the weight field to calcluate the FFT of the input and the weight fields. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewWork(int functionType,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x,
int N)
Make both the initWork and the work function (because they are not very different). We make a function that copies N+2(x-1) elements from the input tape into a local array, calls the library function with the local array and the weight field to calcluate the FFT of the input and the weight fields. |
JMethodDeclaration |
LEETFrequencyReplacer.makeNewWork(int functionType,
JVariableDefinition[] weightFields,
JVariableDefinition[] partialFields,
JVariableDefinition inputBufferField,
JVariableDefinition tempBufferField,
JVariableDefinition[] outputBufferFields,
int filterSize,
int x,
int N)
Make both the initWork and the work function (because they are not very different). We make a function that copies N+2(x-1) elements from the input tape into a local array, calls the library function with the local array and the weight field to calcluate the FFT of the input and the weight fields. |
JStatement |
LEETFrequencyReplacer.makeTimeToFrequencyConversion(JVariableDefinition fieldToConvert,
int filterSize)
An assignment to convert a field to frequency, via an external callout. |
Uses of JVariableDefinition in at.dms.kjc.sir.lowering |
---|
Methods in at.dms.kjc.sir.lowering that return JVariableDefinition | |
---|---|
static JVariableDefinition |
LoweringConstants.getInterfaceTableVariable(JExpression initializer)
Given the |
Methods in at.dms.kjc.sir.lowering with parameters of type JVariableDefinition | |
---|---|
Object |
RenameDestroyedVars.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
|
Object |
Unroller.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
checks var def |
Object |
RenameAll.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
renames local variable expression |
Object |
Propagator.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
Visits a variable declaration statement |
Object |
ArrayDestroyer.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
|
Uses of JVariableDefinition in at.dms.kjc.sir.lowering.fusion |
---|
Methods in at.dms.kjc.sir.lowering.fusion that return JVariableDefinition | |
---|---|
JVariableDefinition |
FindVarDecls.getFloatVar(Integer index)
Get (or create) the |
JVariableDefinition |
FindVarDecls.getIntVar(Integer index)
Get (or create) the |
Methods in at.dms.kjc.sir.lowering.fusion with parameters of type JVariableDefinition | |
---|---|
Object |
ReplaceVarDecls.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
Part of visitor: replace declarations from var_names with initialization statements but no declaration. |
void |
FindVarDecls.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
Used by visitor to accumulate all declared int and float variable names |
Uses of JVariableDefinition in at.dms.kjc.sir.statespace |
---|
Methods in at.dms.kjc.sir.statespace with parameters of type JVariableDefinition | |
---|---|
static JFieldDeclaration[] |
LinearReplacer.appendFieldDeclaration(JFieldDeclaration[] originals,
JVariableDefinition newField)
Returns an array that is a field declaration for (newField) appended to the original field declarations. |
Uses of JVariableDefinition in at.dms.kjc.spacedynamic |
---|
Methods in at.dms.kjc.spacedynamic with parameters of type JVariableDefinition | |
---|---|
void |
FlatIRToC.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Uses of JVariableDefinition in at.dms.kjc.spacetime |
---|
Methods in at.dms.kjc.spacetime with parameters of type JVariableDefinition | |
---|---|
void |
TraceIRtoC.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
prints a variable declaration statement |
Uses of JVariableDefinition in at.dms.util |
---|
Methods in at.dms.util with parameters of type JVariableDefinition | |
---|---|
static JStatement |
Utils.makeCountdownForLoop(JStatement body,
JExpression count,
JVariableDefinition loopIndex)
Returns a block with a loop counter declaration and a for loop that executes body for count number of times. |
static JStatement |
Utils.makeForLoop(JStatement body,
JExpression count,
JVariableDefinition loopIndex)
Returns a block with a loop counter declaration and a for loop that executes body for count number of times. |
static JStatement |
Utils.makeForLoopFieldIndex(JStatement body,
JVariableDefinition var,
JExpression count)
Returns a for loop that uses field var to count count times with the body of the loop being body. |
static JStatement |
Utils.makeForLoopLocalIndex(JStatement body,
JVariableDefinition local,
JExpression count)
Returns a for loop that uses local var to count count times with the body of the loop being body. |
void |
IRPrinter.visitVariableDeclarationStatement(JVariableDeclarationStatement self,
JVariableDefinition[] vars)
visits a variable declaration statement |
void |
IRPrinter.visitVariableDefinition(JVariableDefinition self,
int modifiers,
CType type,
String ident,
JExpression expr)
visits a variable declaration statement |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |