aboutsummaryrefslogtreecommitdiffstats
path: root/src/SoftwarePipelining/SPIMS.mli
diff options
context:
space:
mode:
Diffstat (limited to 'src/SoftwarePipelining/SPIMS.mli')
-rw-r--r--src/SoftwarePipelining/SPIMS.mli22
1 files changed, 22 insertions, 0 deletions
diff --git a/src/SoftwarePipelining/SPIMS.mli b/src/SoftwarePipelining/SPIMS.mli
new file mode 100644
index 0000000..bcd9ede
--- /dev/null
+++ b/src/SoftwarePipelining/SPIMS.mli
@@ -0,0 +1,22 @@
+(***********************************************************************)
+(* *)
+(* Compcert Extensions *)
+(* *)
+(* Jean-Baptiste Tristan *)
+(* *)
+(* All rights reserved. This file is distributed under the terms *)
+(* described in file ../../LICENSE. *)
+(* *)
+(***********************************************************************)
+
+
+open Graph.Pack.Digraph
+open Basic
+
+module NI : Map.S with type key = Basic.G.V.t
+
+(* piepeliner takes a data dependency graph and returns a schedule with an initiation interval
+ fails if cannot find any schedule *)
+val pipeliner : G.t -> (G.t -> int option NI.t -> G.V.t) -> int NI.t * int
+
+val print_schedule : int NI.t -> unit