Live Variables

This commit is contained in:
elvis
2024-12-21 02:16:04 +01:00
parent 1f0d48263a
commit f1b4c3a17d
8 changed files with 209 additions and 60 deletions

View File

@ -0,0 +1,18 @@
open Analysis
module Variable : sig
type t
val pp : out_channel -> t -> unit
end
module RISCCfg = CfgRISC.RISCCfg
module DVCfg : Dataflow.C with type elt = CfgRISC.RISCSimpleStatements.t
and type internal = Variable.t
val compute_live_variables : RISCCfg.t -> DVCfg.t
val optimize_cfg : DVCfg.t -> DVCfg.t
val compute_cfg : DVCfg.t -> RISCCfg.t