diff options
Diffstat (limited to 'src/pipelining/SPIMS.mli')
-rw-r--r-- | src/pipelining/SPIMS.mli | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/pipelining/SPIMS.mli b/src/pipelining/SPIMS.mli new file mode 100644 index 0000000..7c1d9a7 --- /dev/null +++ b/src/pipelining/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 SPBasic + +module NI : Map.S with type key = SPBasic.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 |