1 package edu.berkeley.fleet.ir;
2 import edu.berkeley.fleet.loops.*;
5 import edu.berkeley.fleet.two.*;
6 import edu.berkeley.fleet.api.*;
7 import edu.berkeley.fleet.api.Instruction.*;
8 import edu.berkeley.fleet.api.Instruction.Set;
9 import edu.berkeley.fleet.api.Instruction.Set.*;
10 import static edu.berkeley.fleet.util.BitManipulations.*;
13 * A CodeBag represents the instructions of a Context along with
14 * (compile-time) knowledge of where it resides
16 public class CodeBag {
20 SF works works @diff ok for non size ships
21 Dispatch Method Crossings @inbox? docks? tail call? limit consumed
22 ------------------------------------------------------------------------------------------
24 Inline 0 Y N N Small None
26 Inline literals 1 N Y Y Tiny None
29 Send CBD to 2+ N Y Y None None (mem ship)
32 Send token to 3+ Y Y Y None One Output Dock
33 assistant outbox first
35 Release from FIFO 2 Y Y Y Med 1x FIFO, but can be shared