|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectptolemy.copernicus.java.GiottoPortInliner
public class GiottoPortInliner
A class that inlines methods on ports for Giotto models. Ports of Giotto models are represented by an array of locations, one location for each channel. This corresponds to a buffer of length 1.
Red (cxh) |
Red (cxh) |
Constructor Summary | |
---|---|
GiottoPortInliner(soot.SootClass modelClass,
CompositeActor model,
java.util.Map options)
Construct a new transformer |
Method Summary | |
---|---|
void |
createBuffers()
Create communication places for the ports. |
soot.SootField |
getBufferField(IOPort port,
Type type)
|
soot.SootField |
getInsideBufferField(IOPort port,
Type type)
|
void |
initialize()
Initialize the inliner. |
void |
inlineBroadcast(soot.jimple.JimpleBody body,
soot.jimple.Stmt stmt,
soot.jimple.InvokeExpr expr,
TypedIOPort port)
Replace the broadcast invocation in the given box at the given unit in the given body with a circular array reference. |
void |
inlineGet(soot.jimple.JimpleBody body,
soot.jimple.Stmt stmt,
soot.ValueBox box,
soot.jimple.InvokeExpr expr,
TypedIOPort port)
Replace the get invocation in the given box at the given unit in the given body with an array reference. |
void |
inlineGetInside(soot.jimple.JimpleBody body,
soot.jimple.Stmt stmt,
soot.ValueBox box,
soot.jimple.InvokeExpr expr,
TypedIOPort port)
Replace the getInside invocation in the given box at the given unit in the given body with a circular array reference. |
void |
inlineSend(soot.jimple.JimpleBody body,
soot.jimple.Stmt stmt,
soot.jimple.InvokeExpr expr,
TypedIOPort port)
Replace the send command at the given unit in the given body with a circular array reference. |
void |
inlineSendInside(soot.jimple.JimpleBody body,
soot.jimple.Stmt stmt,
soot.jimple.InvokeExpr expr,
TypedIOPort port)
Replace the send command at the given unit in the given body with a circular array reference. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public GiottoPortInliner(soot.SootClass modelClass, CompositeActor model, java.util.Map options)
Method Detail |
---|
public soot.SootField getBufferField(IOPort port, Type type)
public soot.SootField getInsideBufferField(IOPort port, Type type)
public void initialize()
initialize
in interface PortInliner
public void createBuffers()
public void inlineBroadcast(soot.jimple.JimpleBody body, soot.jimple.Stmt stmt, soot.jimple.InvokeExpr expr, TypedIOPort port)
inlineBroadcast
in interface PortInliner
public void inlineGet(soot.jimple.JimpleBody body, soot.jimple.Stmt stmt, soot.ValueBox box, soot.jimple.InvokeExpr expr, TypedIOPort port)
inlineGet
in interface PortInliner
public void inlineGetInside(soot.jimple.JimpleBody body, soot.jimple.Stmt stmt, soot.ValueBox box, soot.jimple.InvokeExpr expr, TypedIOPort port)
inlineGetInside
in interface PortInliner
public void inlineSend(soot.jimple.JimpleBody body, soot.jimple.Stmt stmt, soot.jimple.InvokeExpr expr, TypedIOPort port)
inlineSend
in interface PortInliner
public void inlineSendInside(soot.jimple.JimpleBody body, soot.jimple.Stmt stmt, soot.jimple.InvokeExpr expr, TypedIOPort port)
inlineSendInside
in interface PortInliner
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES All Classes | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |