![Léonard Gérard](/assets/img/avatar_default.png)
Fixing the actual bug : * static_exp should not be created without type after or during the typing pass.
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 true 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
|