418b961293
*Locations should be pretty damn good now. *Mlsc is up to date, still need a scoping pass (to be posted soon)
31 lines
1.2 KiB
OCaml
31 lines
1.2 KiB
OCaml
(**************************************************************************)
|
|
(* *)
|
|
(* Heptagon *)
|
|
(* *)
|
|
(* Author : Marc Pouzet *)
|
|
(* Organization : Demons, LRI, University of Paris-Sud, Orsay *)
|
|
(* *)
|
|
(**************************************************************************)
|
|
open Misc
|
|
open Location
|
|
open Compiler_utils
|
|
|
|
let pp p = if !verbose then Mls_printer.print stdout p
|
|
|
|
let compile pp p =
|
|
(* Clocking *)
|
|
let p = do_pass Clocking.program "Clocking" p pp false in
|
|
|
|
(* Check that the dataflow code is well initialized *)
|
|
(*let p = do_silent_pass Init.program "Initialization check" p !init in *)
|
|
|
|
(* Iterator fusion *)
|
|
let p = do_pass Itfusion.program "Iterator fusion" p pp true in
|
|
|
|
(* Normalization to maximize opportunities *)
|
|
let p = do_pass Normalize.program "Normalization" p pp true in
|
|
|
|
(* Scheduling *)
|
|
let p = do_pass Schedule.program "Scheduling" p pp true in
|
|
|
|
p
|