ptolemy.copernicus.java
Interface PortInliner

All Known Implementing Classes:
GiottoPortInliner, HSPortInliner, SDFPortInliner

public interface PortInliner

Since:
Ptolemy II 2.0
Version:
$Id: PortInliner.java,v 1.21 2005/07/08 19:57:07 cxh Exp $
Author:
Stephen Neuendorffer
Accepted Rating:
Red (cxh)
Proposed Rating:
Red (cxh)

Method Summary
 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 a circular 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.
 

Method Detail

initialize

void initialize()
Initialize the inliner. This method will be called by the InlinePortTransformer prior to any of the other methods being called. It gives the Port inliner the opportunity to create storage buffers that should only be created once.


inlineBroadcast

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.


inlineGet

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 a circular array reference.


inlineGetInside

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.


inlineSend

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.


inlineSendInside

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.