|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use JStatement | |
---|---|
at.dms.kjc | |
at.dms.kjc.backendSupport | Package documentation for at.dms.kjc.backendSupport |
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.slicegraph | This package aims to supersede the SIR and flatgraph representations of the stream graph with a single representation that maintains all relevant information as well as slice information. |
at.dms.kjc.spacedynamic | |
at.dms.kjc.spacetime | |
at.dms.util |
Uses of JStatement in at.dms.kjc |
---|
Subclasses of JStatement in at.dms.kjc | |
---|---|
class |
JBlock
JLS 14.2: Block TA block is a sequence of statements and local variable declaration statements within braces. |
class |
JBreakStatement
JLS 14.14: Break Statement A break statement transfers control out of an enclosing statement. |
class |
JClassBlock
JLS 14.2: Block TA block is a sequence of statements and local variable declaration statements within braces. |
class |
JClassFieldDeclarator
JLS 8.3 : Class Field Declaration. |
class |
JCompoundStatement
A compound statement is a sequence of statements and local variable declaration statements without braces. |
class |
JConstructorBlock
This class represents the body of a constructor. |
class |
JContinueStatement
JLS 14.15: Continue Statement A continue statement may occur only in a while, do, or for statement; statements of these three kinds are called iteration statements. |
class |
JDoStatement
JLS 14.12: Do Statement The do statement executes an expression and a statement repeatedly until the value of the expression is false. |
class |
JEmptyStatement
JLS 14.6: Empty Statement. |
class |
JExpressionListStatement
JLS 14.8: Expression Statement Certain kinds of expressions may be used as statements by following them with semicolon. |
class |
JExpressionStatement
JLS 14.8: Expression Statement Certain kinds of expressions may be used as statements by following them with semicolon. |
class |
JForStatement
JLS 14.11: While Statement The while statement executes an expression and a statement repeatedly until the value of the expression is false. |
class |
JIfStatement
JLS 14.9: If Statement The if statement executes an expression and a statement repeatedly until the value of the expression is false. |
class |
JLabeledStatement
JLS 14.7: Labeled Statement Statements may have label prefixes. |
class |
JLoopStatement
Loop Statement Root class for loop statement |
class |
JReturnStatement
JLS 14.16: Return Statement A return statement returns control to the invoker of a method or constructor. |
class |
JSwitchStatement
JLS 14.10: Switch Statement |
class |
JSynchronizedStatement
JLS 14.18: Synchronized Statement A synchronized statement acquires a mutual-exclusion lock on behalf of the executing thread, executes a block, then releases the lock. |
class |
JThrowStatement
JLS 14.17: Throw Statement A throw statement causes an exception to be thrown. |
class |
JTryCatchStatement
JLS 14.19: Try Statement A try statement executes a block. |
class |
JTryFinallyStatement
JLS 14.19: Try Statement A try statement executes a block. |
class |
JTypeDeclarationStatement
JLS 14.3: Local Class Declaration A local type declaration declaration statement declares one type declaration in a body of a method. |
class |
JVariableDeclarationStatement
JLS 14.4: Local Variable Declaration Statement A local variable declaration statement declares one or more local variable names. |
class |
JWhileStatement
JLS 14.11: While Statement The while statement executes an expression and a statement repeatedly until the value of the expression is false. |
Fields in at.dms.kjc with type parameters of type JStatement | |
---|---|
protected LinkedList<JStatement> |
JBlock.body
|
Methods in at.dms.kjc that return JStatement | |
---|---|
JStatement |
JForStatement.getBody()
|
JStatement |
JIfStatement.getElseClause()
Get else clause. |
JStatement |
JForStatement.getIncrement()
|
JStatement |
JForStatement.getInit()
|
JStatement |
CLabeledContext.getLabeledStatement(String label)
Returns the statement with the specified label. |
JStatement |
CBodyContext.getLabeledStatement(String label)
Returns the statement with the specified label. |
JStatement |
CSwitchBodyContext.getNearestBreakableStatement()
Returns the innermost statement which can be target of a break statement without label. |
JStatement |
CLoopContext.getNearestBreakableStatement()
Returns the innermost statement which can be target of a break statement without label. |
JStatement |
CBodyContext.getNearestBreakableStatement()
Returns the innermost statement which can be target of a break statement without label. |
JStatement |
CLoopContext.getNearestContinuableStatement()
Returns the innermost statement which can be target of a continue statement without label. |
JStatement |
CBodyContext.getNearestContinuableStatement()
Returns the innermost statement which can be target of a continue statement without label. |
JStatement |
JBlock.getStatement(int i)
Returns i'th statement. |
JStatement[] |
JBlock.getStatementArray()
Returns array of statements in this. |
JStatement[] |
JSwitchGroup.getStatements()
Returns a list of statements |
JStatement |
JLabeledStatement.getTargetStatement()
Returns the actual target statement of a break or continue whose label is the label of this statement. |
JStatement |
JIfStatement.getThenClause()
Get then clause. |
Methods in at.dms.kjc that return types with arguments of type JStatement | |
---|---|
List<JStatement> |
JBlock.getStatements()
Returns INTERNAL list of statements in this. |
Methods in at.dms.kjc with parameters of type JStatement | |
---|---|
void |
CBodyContext.addBreak(JStatement target)
|
protected void |
CTryFinallyContext.addBreak(JStatement target,
CBodyContext context)
|
protected void |
CSwitchBodyContext.addBreak(JStatement target,
CBodyContext context)
|
protected void |
CLoopContext.addBreak(JStatement target,
CBodyContext context)
|
protected void |
CLabeledContext.addBreak(JStatement target,
CBodyContext context)
|
protected void |
CBodyContext.addBreak(JStatement target,
CBodyContext context)
|
void |
CBodyContext.addContinue(JStatement target)
|
protected void |
CTryFinallyContext.addContinue(JStatement target,
CBodyContext context)
|
protected void |
CLoopContext.addContinue(JStatement target,
CBodyContext context)
|
protected void |
CBodyContext.addContinue(JStatement target,
CBodyContext context)
|
protected void |
StatementQueueVisitor.addPendingStatement(JStatement stmt)
Subclasses should call this when visiting an expression to add a statement to the queue. |
void |
JBlock.addStatement(int pos,
JStatement statement)
Adds statement to this, at the specified position. |
void |
JMethodDeclaration.addStatement(JStatement statement)
Adds |
void |
JBlock.addStatement(JStatement statement)
Adds |
void |
JMethodDeclaration.addStatementFirst(JStatement statement)
Adds |
void |
JBlock.addStatementFirst(JStatement statement)
Adds |
protected void |
JStatement.deepCloneInto(JStatement other)
Clones all fields of this into |
void |
CodeSequence.plantBreak(JStatement top)
Ask the code handler to generate the necessary code to call every finally and monitorexit |
void |
CodeSequence.popContext(JStatement stmt)
Informs the code handlers that we exit a breakable code. |
void |
CodeSequence.pushContext(JStatement stmt)
Informs the code handlers that we begin a portion of breakable code. |
void |
JWhileStatement.setBody(JStatement body)
Sets the body of this. |
void |
JLabeledStatement.setBody(JStatement body)
Set the body of this. |
void |
JForStatement.setBody(JStatement body)
Sets the body of this. |
void |
JDoStatement.setBody(JStatement body)
Sets the body. |
void |
JIfStatement.setElseClause(JStatement elseClause)
Set else clause. |
void |
JForStatement.setIncr(JStatement incr)
Sets the increment statement of this. |
void |
JForStatement.setInit(JStatement init)
Sets the init of this. |
void |
JBlock.setStatement(int i,
JStatement statement)
|
void |
JIfStatement.setThenClause(JStatement thenClause)
Set then clause. |
Object |
ReplacingVisitor.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement |
Object |
Kopi2SIR.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
visits a compound statement |
void |
KjcVisitor.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
visits a compound statement |
void |
KjcPrettyPrinter.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement |
void |
KjcEmptyVisitor.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement |
Object |
EmptyAttributeVisitor.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement |
T |
AttributeVisitor.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
visits a compound statement |
void |
KjcPrettyPrinter.visitCompoundStatement(JStatement[] body)
prints a compound statement |
void |
KjcEmptyVisitor.visitCompoundStatement(JStatement[] body)
prints a compound statement |
Object |
StatementQueueVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
|
Object |
ReplacingVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
Object |
Kopi2SIR.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
visits a do statement |
void |
KjcVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
visits a do statement |
void |
KjcPrettyPrinter.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
void |
KjcEmptyVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
Object |
EmptyAttributeVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
T |
AttributeVisitor.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
visits a do statement |
Object |
StatementQueueVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
Object |
ReplacingVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
Object |
Kopi2SIR.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
void |
KjcVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
void |
KjcPrettyPrinter.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
void |
KjcEmptyVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
Object |
EmptyAttributeVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
T |
AttributeVisitor.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
Object |
StatementQueueVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
|
Object |
ReplacingVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
Object |
Kopi2SIR.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
visits a if statement |
void |
KjcVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
visits a if statement |
void |
KjcPrettyPrinter.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
void |
KjcEmptyVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
Object |
EmptyAttributeVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
T |
AttributeVisitor.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
visits a if statement |
Object |
ReplacingVisitor.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
prints a labeled statement |
Object |
Kopi2SIR.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
visits a labeled statement |
void |
KjcVisitor.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
visits a labeled statement |
void |
KjcPrettyPrinter.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
prints a labeled statement |
void |
KjcEmptyVisitor.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
prints a labeled statement |
Object |
EmptyAttributeVisitor.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
prints a labeled statement |
T |
AttributeVisitor.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
visits a labeled statement |
Object |
ReplacingVisitor.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
Object |
Kopi2SIR.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
visits an array length expression |
void |
KjcVisitor.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
visits an array length expression |
void |
KjcPrettyPrinter.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
void |
KjcEmptyVisitor.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
Object |
EmptyAttributeVisitor.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
visits a switch group |
T |
AttributeVisitor.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
visits an array length expression |
Object |
ReplacingVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
Object |
Kopi2SIR.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
visits a synchronized statement |
void |
KjcVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
visits a synchronized statement |
void |
KjcPrettyPrinter.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
void |
KjcEmptyVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
Object |
EmptyAttributeVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
T |
AttributeVisitor.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
visits a synchronized statement |
Object |
StatementQueueVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
// ---------------------------------------------------------------------- // STATEMENT VISITORS // ---------------------------------------------------------------------- |
Object |
ReplacingVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
Object |
Kopi2SIR.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
visits a while statement |
void |
KjcVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
visits a while statement |
void |
KjcPrettyPrinter.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
void |
KjcEmptyVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
Object |
EmptyAttributeVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
T |
AttributeVisitor.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
visits a while statement |
Method parameters in at.dms.kjc with type arguments of type JStatement | |
---|---|
void |
SLIRVisitor.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
Visits a main function contents. |
Object |
SLIRReplacingVisitor.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
Visits a main function contents. |
void |
SLIREmptyVisitor.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
Visits a main function contents. |
Object |
SLIREmptyAttributeVisitor.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
Visits a main function contents. |
T |
SLIRAttributeVisitor.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
Visits a main function contents. |
Constructors in at.dms.kjc with parameters of type JStatement | |
---|---|
JBlock(JStatement[] body)
|
|
JBlock(TokenReference where,
JStatement[] body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JClassBlock(TokenReference where,
boolean isStatic,
JStatement[] body)
Construct a node in the parsing tree |
|
JCompoundStatement(TokenReference where,
JStatement[] body)
Construct a node in the parsing tree |
|
JConstructorBlock(TokenReference where,
JConstructorCall constructorCall,
JStatement[] body)
Construct a node in the parsing tree |
|
JConstructorDeclaration(TokenReference where,
int modifiers,
String ident,
JFormalParameter[] parameters,
CClassType[] exceptions,
JConstructorCall constructorCall,
JStatement[] body,
JavadocComment javadoc,
JavaStyleComment[] comments)
Construct a node in the parsing tree This method is directly called by the parser |
|
JDoStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JForStatement(JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
|
JForStatement(TokenReference where,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JIfStatement(TokenReference where,
JExpression cond,
JStatement thenClause,
JStatement elseClause,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JLabeledStatement(TokenReference where,
String label,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JSwitchGroup(TokenReference where,
JSwitchLabel[] labels,
JStatement[] stmts)
Construct a node in the parsing tree This method is directly called by the parser |
|
JSynchronizedStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
|
JWhileStatement(TokenReference where,
JExpression cond,
JStatement body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
Constructor parameters in at.dms.kjc with type arguments of type JStatement | |
---|---|
JBlock(List<JStatement> body)
|
|
JBlock(TokenReference where,
List<JStatement> body,
JavaStyleComment[] comments)
Construct a node in the parsing tree |
Uses of JStatement in at.dms.kjc.backendSupport |
---|
Methods in at.dms.kjc.backendSupport that return JStatement | |
---|---|
protected JStatement |
CodeStoreHelper.getWorkFunctionCall()
Return the code that will call the work function once. |
protected JStatement |
ChannelAsArray.zeroOutHead()
Create statement zeroing out head |
protected JStatement |
ChannelAsArray.zeroOutTail()
Create statement zeroing out tail |
Methods in at.dms.kjc.backendSupport that return types with arguments of type JStatement | |
---|---|
List<JStatement> |
UnbufferredPopChannel.beginInitRead()
|
List<JStatement> |
DelegatingChannel.beginInitRead()
|
List<JStatement> |
ChannelAsArray.beginInitRead()
Statements for beginning of init() on read (downstream) end of buffer |
List<JStatement> |
Channel.beginInitRead()
|
List<JStatement> |
UnbufferredPushChannel.beginInitWrite()
|
List<JStatement> |
DelegatingChannel.beginInitWrite()
|
List<JStatement> |
ChannelAsArray.beginInitWrite()
Statements for beginning of init() on write (upstream) end of buffer |
List<JStatement> |
Channel.beginInitWrite()
|
List<JStatement> |
UnbufferredPopChannel.beginSteadyRead()
|
List<JStatement> |
DelegatingChannel.beginSteadyRead()
|
List<JStatement> |
ChannelAsCircularArray.beginSteadyRead()
Statements for beginning of steady state iteration on read (downstream) end of buffer: overrides superclass to have no statements here. |
List<JStatement> |
ChannelAsArray.beginSteadyRead()
Statements for beginning of steady state iteration on read (downstream) end of buffer |
List<JStatement> |
Channel.beginSteadyRead()
|
List<JStatement> |
UnbufferredPushChannel.beginSteadyWrite()
|
List<JStatement> |
DelegatingChannel.beginSteadyWrite()
|
List<JStatement> |
ChannelAsCircularArray.beginSteadyWrite()
Statements for beginning of steady state iteration on write (upstream) end of buffer overrides superclass to have no statements here. |
List<JStatement> |
ChannelAsArray.beginSteadyWrite()
Statements for beginning of steady state iteration on write (upstream) end of buffer |
List<JStatement> |
Channel.beginSteadyWrite()
|
List<JStatement> |
DelegatingChannel.dataDecls()
|
List<JStatement> |
ChannelAsArray.dataDecls()
Statements for data declaration at top of .c / .cpp file |
List<JStatement> |
Channel.dataDecls()
|
List<JStatement> |
DelegatingChannel.dataDeclsH()
|
List<JStatement> |
ChannelAsArray.dataDeclsH()
Statements for data declaration in .h file |
List<JStatement> |
Channel.dataDeclsH()
|
List<JStatement> |
UnbufferredPopChannel.endInitRead()
|
List<JStatement> |
DelegatingChannel.endInitRead()
|
List<JStatement> |
ChannelAsArray.endInitRead()
Statements for end of init() on read (downstream) end of buffer |
List<JStatement> |
Channel.endInitRead()
|
List<JStatement> |
UnbufferredPushChannel.endInitWrite()
|
List<JStatement> |
DelegatingChannel.endInitWrite()
|
List<JStatement> |
ChannelAsArray.endInitWrite()
Statements for end of init() on write (upstream) end of buffer |
List<JStatement> |
Channel.endInitWrite()
|
List<JStatement> |
UnbufferredPopChannel.endSteadyRead()
|
List<JStatement> |
DelegatingChannel.endSteadyRead()
|
List<JStatement> |
ChannelAsArray.endSteadyRead()
Statements for end of steady state iteration on read (downstream) end of buffer |
List<JStatement> |
Channel.endSteadyRead()
|
List<JStatement> |
UnbufferredPushChannel.endSteadyWrite()
|
List<JStatement> |
DelegatingChannel.endSteadyWrite()
|
List<JStatement> |
ChannelAsArray.endSteadyWrite()
Statements for end of steady state iteration on write (upstream) end of buffer |
List<JStatement> |
Channel.endSteadyWrite()
|
List<JStatement> |
UnbufferredPopChannel.postPreworkInitRead()
|
List<JStatement> |
DelegatingChannel.postPreworkInitRead()
|
List<JStatement> |
Channel.postPreworkInitRead()
|
List<JStatement> |
DelegatingChannel.readDecls()
|
List<JStatement> |
ChannelAsArray.readDecls()
Statements for other declarations needed for read in steady state but at file scope in .c / .cpp |
List<JStatement> |
Channel.readDecls()
|
List<JStatement> |
DelegatingChannel.readDeclsExtern()
|
List<JStatement> |
ChannelAsArray.readDeclsExtern()
Statements for extern declarations needed for read in steady state but at global scope in .c / .cpp |
List<JStatement> |
Channel.readDeclsExtern()
|
List<JStatement> |
UnbufferredPopChannel.topOfWorkSteadyRead()
|
List<JStatement> |
DelegatingChannel.topOfWorkSteadyRead()
|
List<JStatement> |
ChannelAsArray.topOfWorkSteadyRead()
Statements for beginning of work function. |
List<JStatement> |
Channel.topOfWorkSteadyRead()
|
List<JStatement> |
UnbufferredPushChannel.topOfWorkSteadyWrite()
|
List<JStatement> |
DelegatingChannel.topOfWorkSteadyWrite()
|
List<JStatement> |
ChannelAsArray.topOfWorkSteadyWrite()
Statements for beginning of work function. |
List<JStatement> |
Channel.topOfWorkSteadyWrite()
|
List<JStatement> |
DelegatingChannel.writeDecls()
|
List<JStatement> |
ChannelAsArray.writeDecls()
Statements for other declarations needed for write in steady state but at file scope in .c / .cpp |
List<JStatement> |
Channel.writeDecls()
|
List<JStatement> |
DelegatingChannel.writeDeclsExtern()
|
List<JStatement> |
ChannelAsArray.writeDeclsExtern()
Statements for extern declarations needed for write in steady state but at global scope in .c / .cpp |
List<JStatement> |
Channel.writeDeclsExtern()
|
Methods in at.dms.kjc.backendSupport with parameters of type JStatement | |
---|---|
void |
ComputeCodeStore.addCleanupStatement(JStatement stmt)
Add a statement to the end of the cleanup code. |
void |
ComputeCodeStore.addInitStatement(JStatement stmt)
|
void |
ComputeCodeStore.addInitStatementFirst(JStatement stmt)
|
void |
ComputeCodeStore.addSteadyLoopStatement(JStatement stmt)
|
Uses of JStatement in at.dms.kjc.cluster |
---|
Methods in at.dms.kjc.cluster with parameters of type JStatement | |
---|---|
void |
FlatIRToCluster.visitCompoundStatement(JStatement[] body)
prints a compound statement |
void |
PPAnalyze.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
|
void |
PPAnalyze.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
void |
FlatIRToCluster.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
void |
CodeEstimate.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
void |
PPAnalyze.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
|
void |
PPAnalyze.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
|
Uses of JStatement in at.dms.kjc.common |
---|
Methods in at.dms.kjc.common with parameters of type JStatement | |
---|---|
static boolean |
HasSideEffects.hasSideEffects(JStatement entry)
|
void |
ToCCommon.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement: 2-argument form |
void |
ToCCommon.visitCompoundStatement(JStatement[] body)
prints a compound statement |
void |
ToCCommon.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
void |
ToCCommon.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
Emit code for a "for" statement. |
void |
ToC.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
void |
ToCCommon.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
prints a labeled statement |
void |
ToC.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
void |
ToCCommon.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
Uses of JStatement in at.dms.kjc.lir |
---|
Subclasses of JStatement in at.dms.kjc.lir | |
---|---|
class |
LIRFileReader
This represents allocation and initialization of a child stream that is a file reader. |
class |
LIRFileWriter
This represents allocation and initialization of a child stream that is a file writer. |
class |
LIRIdentity
This represents allocation and initialization of a child stream that is an identity filter. |
class |
LIRMainFunction
This represents the contents of the main function in the low-level program. |
class |
LIRNode
This is a node in the low IR. |
class |
LIRRegisterReceiver
Call to the C library register_receiver() function. |
class |
LIRSetBodyOfFeedback
This represents a the body stream in a feedback loop. |
class |
LIRSetChild
This represents the allocation and initialization of a child stream structure. |
class |
LIRSetDecode
This registers the function in the stream that takes the internal representation of a black box and decodes it into a form that the runtime system can use. |
class |
LIRSetDelay
Tell the run-time system how many items need to be pushed on to the feedback input of a feedback loop's joiner, and what function to call to get them. |
class |
LIRSetEncode
This registers the function in the stream that takes the canonical representation from the runtime system and encodes it into a form that a black box can utilize. |
class |
LIRSetJoiner
This gives the run-time system information about the joiner for a feedback loop or split/join structure. |
class |
LIRSetLoopOfFeedback
This represents a the loop stream in a feedback loop. |
class |
LIRSetParallelStream
This represents a parallel stream in a split-join construct. |
class |
LIRSetPeek
This sets how many items are peeked by this stream. |
class |
LIRSetPop
This sets how many items are popped by this stream. |
class |
LIRSetPush
This sets how many items are pushed by this stream. |
class |
LIRSetSplitter
This gives the run-time system information about the splitter for a feedback loop or split/join structure. |
class |
LIRSetStreamType
This sets the type of a stream. |
class |
LIRSetTape
This specifies a tape connection between two streams. |
class |
LIRSetWork
This registers a stream's work function with the runtime system. |
class |
LIRWorkEntry
This appears at the entry to a work function. |
class |
LIRWorkExit
This appears at each exit from a work function. |
Methods in at.dms.kjc.lir with parameters of type JStatement | |
---|---|
void |
LIRToC.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
void |
LIRToC.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
void |
LIRToC.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
void |
LIRToC.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
Method parameters in at.dms.kjc.lir with type arguments of type JStatement | |
---|---|
void |
LIRToC.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
|
Constructor parameters in at.dms.kjc.lir with type arguments of type JStatement | |
---|---|
LIRMainFunction(String typeName,
LIRFunctionPointer init,
LinkedList<JStatement> initStatements)
Construct a node. |
Uses of JStatement in at.dms.kjc.raw |
---|
Methods in at.dms.kjc.raw that return JStatement | |
---|---|
static JStatement |
RawExecutionCode.makeForLoop(JStatement body,
JLocalVariable var,
JExpression count)
Returns a for loop that uses field to count |
Methods in at.dms.kjc.raw with parameters of type JStatement | |
---|---|
static JStatement |
RawExecutionCode.makeForLoop(JStatement body,
JLocalVariable var,
JExpression count)
Returns a for loop that uses field to count |
void |
FlatIRToC.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
Uses of JStatement in at.dms.kjc.rstream |
---|
Subclasses of JStatement in at.dms.kjc.rstream | |
---|---|
class |
JDoLoopStatement
An SIR node representing a do loop. |
class |
Jrstream_pr
This class represents a rstream_pr block in the parse tree of the application. |
Methods in at.dms.kjc.rstream that return JStatement | |
---|---|
JStatement[] |
SplitterFusionState.getWork(JBlock enclosingBlock,
boolean isInit)
Return the block containing imperative SIR code that will perform the splitting of the incoming buffer. |
JStatement[] |
JoinerFusionState.getWork(JBlock enclosingBlock,
boolean isInit)
Construct the code necessary to perform the joining of the incoming buffers as given by the round-robin weights of the joiner |
abstract JStatement[] |
FusionState.getWork(JBlock enclosingBlock,
boolean isInit)
get the block that will perform the init stage (*isInit* = true) or the steady-state (*isInit* = false), add any var decls to *enclosingBlock* |
abstract JStatement[] |
FilterFusionState.getWork(JBlock enclosingBlock,
boolean isInit)
get the SIR block representing the imperative code necessary to execute this filter in the init stage (*isInit* == true) or the steady-state stage (*isInit* == false) |
JStatement[] |
FFSPeekBuffer.getWork(JBlock enclosingBlock,
boolean isInit)
Deprecated. |
JStatement[] |
FFSNoPeekBuffer.getWork(JBlock enclosingBlock,
boolean isInit)
Return a block has the necessary SIR imperative instructions to execution this filter in the init stage (*isInit* == true) or the steady state (*isInit* == false), add all declaration to *enclosingBlock*. |
protected JStatement |
FusionState.intAssignStm(JVariableDefinition def,
int value)
Returnn a JAssignmentStatement that will assign *value* to def*. |
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*. |
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. |
JStatement[] |
TimerCode.timerEnd()
SIR code to get the end value of a proc timer. |
JStatement[] |
TimerCode.timerPrint()
SIR code to print value of a proc timer. |
JStatement[] |
TimerCode.timerStart()
SIR code to get the start value of a proc timer. |
Methods in at.dms.kjc.rstream with parameters of type JStatement | |
---|---|
static void |
GenerateCCode.addStmtArray(JBlock block,
JStatement[] stms)
given a block *block*, add Statement array *stms* to the end of the block, if stms is empty, do nothing |
static void |
GenerateCCode.addStmtArrayFirst(JBlock block,
JStatement[] stms)
given a block *block*, add Statement array *stms* to the beginning of the block, if stms is empty, do nothing |
static JExpression |
IDDoLoops.getExpression(JStatement orig)
Given a statement, return the expression that this statement is composed of, if not an expression statement return null. |
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*. |
Object |
RemoveDeadDoLoops.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
Object |
IDDoLoops.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
See comments in method. |
void |
FlatIRToRS.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
Constructors in at.dms.kjc.rstream with parameters of type JStatement | |
---|---|
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. |
|
Jrstream_pr(TokenReference where,
JStatement[] body,
JavaStyleComment[] comments)
|
Uses of JStatement in at.dms.kjc.sir |
---|
Subclasses of JStatement in at.dms.kjc.sir | |
---|---|
class |
InlineAssembly
Statement used for generating inline assembly. |
class |
SIRBeginMarker
This statement is an annotation that marks the beginning of a given function or stream so that it can be followed through fusion, etc. |
class |
SIREndMarker
This statement is an annotation that marks the end of a given function or stream so that it can be followed through fusion, etc. |
class |
SIRInitStatement
Init Statement. |
class |
SIRMarker
This class represents an annotation in the IR. |
class |
SIRMessageStatement
Message Sending Statement. |
class |
SIRPrintStatement
This represents a print statement, originally formulated with System.out.println in StreaMIT. |
class |
SIRRegReceiverStatement
Register Receiver Statement. |
class |
SIRRegSenderStatement
Register Sender Statement. |
Methods in at.dms.kjc.sir with parameters of type JStatement | |
---|---|
void |
SIRToStreamIt.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
prints a compound statement |
void |
SIRToStreamIt.visitCompoundStatement(JStatement[] body)
prints a compound statement |
void |
SIRToStreamIt.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
prints a do statement |
void |
SIRToStreamIt.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
void |
SIRToStreamIt.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
void |
SIRToStreamIt.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
prints a labeled statement |
void |
SIRToStreamIt.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
prints an array length expression |
void |
SIRToStreamIt.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
prints a synchronized statement |
void |
SIRToStreamIt.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
prints a while statement |
Method parameters in at.dms.kjc.sir with type arguments of type JStatement | |
---|---|
void |
SIRToStreamIt.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
|
Uses of JStatement in at.dms.kjc.sir.linear |
---|
Methods in at.dms.kjc.sir.linear that return JStatement | |
---|---|
static JStatement |
LinearReplacer.makeAssignmentStatement(JExpression left,
JExpression right)
Creates a statement assigning "right" to "left". |
static JStatement |
LinearReplacer.makeFieldInitialization(String name,
int initValue,
String commentString)
Initializes a field to a particular integer value. |
static JStatement |
LinearReplacer.makeIncrementStatement(JExpression expr)
Creates a post increment statement: expr++. |
Uses of JStatement in at.dms.kjc.sir.linear.frequency |
---|
Methods in at.dms.kjc.sir.linear.frequency that return JStatement | |
---|---|
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.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. |
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]. |
JStatement |
LEETFrequencyReplacer.makeTimeToFrequencyConversion(JVariableDefinition fieldToConvert,
int filterSize)
An assignment to convert a field to frequency, via an external callout. |
Methods in at.dms.kjc.sir.linear.frequency with parameters of type JStatement | |
---|---|
JStatement |
LEETFrequencyReplacer.makeConstantForLoop(JVariableDefinition loopVar,
int initVal,
int maxVal,
JStatement forBody)
Generates the a for loop of the form: |
Uses of JStatement in at.dms.kjc.sir.lowering |
---|
Fields in at.dms.kjc.sir.lowering declared as JStatement | |
---|---|
protected JStatement[] |
ThreeAddressCode.statementBeingChecked
Statement on latest call to shouldConvertStatement. |
Methods in at.dms.kjc.sir.lowering that return JStatement | |
---|---|
static JStatement |
LoopIterInfo.makeIncrAssignment(LoopIterInfo info,
int num)
Return an assignment statement (ExpressionStatement(AssignmentExpression)) to increment (+,-,*,/) the induction variable by num . |
static JStatement |
ThreeAddressCode.structureOptBlock(List<JStatement> stmts)
Return a single statement from a list of statements by creating a block if needed. |
static JStatement |
ThreeAddressCode.structureOptCompound(List<JStatement> stmts)
Return a single statement from a list of statements by creating a JCompoundStatement if needed. |
Methods in at.dms.kjc.sir.lowering that return types with arguments of type JStatement | |
---|---|
static List<JStatement> |
ThreeAddressCode.destructureOptBlock(JStatement maybeBlock)
Return list of statements from a single statement by opening up a block body. |
List<JStatement> |
ThreeAddressCode.threeAddressCodeStatement(JStatement stmt,
CType inputTapeType)
Turn a statement into three-address code. |
Methods in at.dms.kjc.sir.lowering with parameters of type JStatement | |
---|---|
static List<JStatement> |
ThreeAddressCode.destructureOptBlock(JStatement maybeBlock)
Return list of statements from a single statement by opening up a block body. |
static boolean |
FindTapeOps.findTapeOps(JStatement body)
|
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 int |
Unroller.getNumExecutions(JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
Returns the number of times a for-loop with the given characteristics will execute, or -1 if the count cannot be determined. |
protected boolean |
ThreeAddressCode.shouldConvertStatement(JStatement stmt)
Determine whether to convert a statement to 3-address code. |
List<JStatement> |
ThreeAddressCode.threeAddressCodeStatement(JStatement stmt,
CType inputTapeType)
Turn a statement into three-address code. |
Object |
IntroduceMultiPops.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
|
Object |
Propagator.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
Visits a do statement |
Object |
VarDeclRaiser.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
Visits a for statement |
Object |
Unroller.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
Overload the for-statement visit. |
Object |
RenameDestroyedVars.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
Object |
RenameAll.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
Object |
Propagator.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
Visits a for statement |
Object |
IntroduceMultiPops.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
|
Object |
DataFlow.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
Visits a for statement |
Object |
BranchAnalyzer.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
Object |
BlockFlattener.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
Object |
Propagator.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
Visits a if statement |
Object |
DataFlow.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
Visits a if statement |
Object |
BranchAnalyzer.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
Visits a if statement |
Object |
BlockFlattener.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
prints a if statement |
Object |
Propagator.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
Visits a while statement |
Object |
DataFlow.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
Visits a while statement |
Method parameters in at.dms.kjc.sir.lowering with type arguments of type JStatement | |
---|---|
static JStatement |
ThreeAddressCode.structureOptBlock(List<JStatement> stmts)
Return a single statement from a list of statements by creating a block if needed. |
static JStatement |
ThreeAddressCode.structureOptCompound(List<JStatement> stmts)
Return a single statement from a list of statements by creating a JCompoundStatement if needed. |
Uses of JStatement in at.dms.kjc.sir.lowering.fusion |
---|
Methods in at.dms.kjc.sir.lowering.fusion that return JStatement | |
---|---|
JStatement |
FindVarDecls.findAndReplace(JStatement body)
(Re-)finds all int and float variables and replaces initialization and references with numbered variables but removes declarations. |
Methods in at.dms.kjc.sir.lowering.fusion with parameters of type JStatement | |
---|---|
JStatement |
FindVarDecls.findAndReplace(JStatement body)
(Re-)finds all int and float variables and replaces initialization and references with numbered variables but removes declarations. |
Uses of JStatement in at.dms.kjc.sir.statespace |
---|
Methods in at.dms.kjc.sir.statespace that return JStatement | |
---|---|
static JStatement |
LinearReplacer.makeAssignmentStatement(JExpression left,
JExpression right)
Creates a statement assigning "right" to "left". |
static JStatement |
LinearReplacer.makeFieldInitialization(String name,
int initValue,
String commentString)
Initializes a field to a particular integer value. |
static JStatement |
LinearReplacer.makeIncrementStatement(JExpression expr)
Creates a post increment statement: expr++. |
Uses of JStatement in at.dms.kjc.slicegraph |
---|
Methods in at.dms.kjc.slicegraph that return JStatement | |
---|---|
JStatement |
FileOutputContent.closeFile()
Return a statement closing the file. |
Uses of JStatement in at.dms.kjc.spacedynamic |
---|
Methods in at.dms.kjc.spacedynamic that return JStatement | |
---|---|
static JStatement |
RawExecutionCode.makeForLoop(JStatement body,
JLocalVariable var,
JExpression count)
Returns a for loop that uses field |
Methods in at.dms.kjc.spacedynamic with parameters of type JStatement | |
---|---|
static JStatement |
RawExecutionCode.makeForLoop(JStatement body,
JLocalVariable var,
JExpression count)
Returns a for loop that uses field |
void |
FlatIRToC.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
Uses of JStatement in at.dms.kjc.spacetime |
---|
Methods in at.dms.kjc.spacetime that return JStatement | |
---|---|
static JStatement |
RawExecutionCode.boundToSwitchStmt(int constant)
|
static JStatement |
RawExecutionCode.constToSwitchStmt(int constant)
|
JStatement |
RawExecutionCode.gdnReceive(boolean integer,
JExpression recvInto)
|
protected JStatement |
Linear.getWorkFunctionCall(FilterContent filter)
|
protected JStatement |
BufferedCommunication.getWorkFunctionCall(FilterContent filter)
Return the code that will call the work work function once. |
JStatement |
RawExecutionCode.setDynMsgHeader()
|
protected JStatement |
RawExecutionCode.setupGDNStore(SchedulingPhase whichPhase)
|
static JStatement |
RawComputeCodeStore.sirDramCommand(boolean read,
int cacheLines,
JExpression sampleAddress,
boolean staticNet,
boolean shouldPreSynch,
JExpression address)
Return sir code that will call the macro for a dram command to transfer |
Methods in at.dms.kjc.spacetime with parameters of type JStatement | |
---|---|
void |
TraceIRtoC.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
prints a for statement |
Uses of JStatement in at.dms.util |
---|
Methods in at.dms.util that return JStatement | |
---|---|
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,
int count)
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)
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. |
static JStatement |
Utils.peelMarkers(JStatement stmt)
If the first and last SIRMarker's in |
static JStatement |
Utils.removeUnusedPops(JStatement stmt)
Returns a version of |
Methods in at.dms.util with parameters of type JStatement | |
---|---|
static JExpression |
Utils.getExpression(JStatement orig)
Given a statement, return the expression that this statement is composed of, if not an expression statement return null. |
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,
int count)
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)
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. |
static JStatement |
Utils.peelMarkers(JStatement stmt)
If the first and last SIRMarker's in |
static boolean |
Utils.popBeforePeek(JStatement stmt)
Returns whether or not there are any pop expressions before peek expressions in the dynamic execution of |
static JStatement |
Utils.removeUnusedPops(JStatement stmt)
Returns a version of |
void |
IRPrinter.visitCompoundStatement(JCompoundStatement self,
JStatement[] body)
visits a compound statement |
void |
IRPrinter.visitDoStatement(JDoStatement self,
JExpression cond,
JStatement body)
visits a do statement |
void |
IRPrinter.visitForStatement(JForStatement self,
JStatement init,
JExpression cond,
JStatement incr,
JStatement body)
visits a for statement |
void |
IRPrinter.visitIfStatement(JIfStatement self,
JExpression cond,
JStatement thenClause,
JStatement elseClause)
visits a if statement |
void |
IRPrinter.visitLabeledStatement(JLabeledStatement self,
String label,
JStatement stmt)
visits a labeled statement |
void |
IRPrinter.visitSwitchGroup(JSwitchGroup self,
JSwitchLabel[] labels,
JStatement[] stmts)
visits an array length expression |
void |
IRPrinter.visitSynchronizedStatement(JSynchronizedStatement self,
JExpression cond,
JStatement body)
visits a synchronized statement |
void |
IRPrinter.visitWhileStatement(JWhileStatement self,
JExpression cond,
JStatement body)
visits a while statement |
Method parameters in at.dms.util with type arguments of type JStatement | |
---|---|
void |
IRPrinter.visitMainFunction(LIRMainFunction self,
String typeName,
LIRFunctionPointer init,
List<JStatement> initStatements)
Visits a main function contents. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |