From 82d69d247c7de8387b92936086abdc3d441c8628 Mon Sep 17 00:00:00 2001 From: Yann Herklotz Date: Thu, 18 Nov 2021 22:10:55 +0000 Subject: Rename pipelining --- src/pipelining/SPIMS.mli | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 src/pipelining/SPIMS.mli (limited to 'src/pipelining/SPIMS.mli') 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 -- cgit