sig
module Top_Param :
sig
module O :
sig
type elt = Base.t
type t
val empty : t
val is_empty : t -> bool
val mem : elt -> t -> bool
val add : elt -> t -> t
val singleton : elt -> t
val remove : elt -> t -> t
val union : t -> t -> t
val inter : t -> t -> t
val diff : t -> t -> t
val equal : t -> t -> bool
val subset : t -> t -> bool
val iter : (elt -> unit) -> t -> unit
val fold : (elt -> 'a -> 'a) -> t -> 'a -> 'a
val exists : (elt -> bool) -> t -> bool
val filter : (elt -> bool) -> t -> t
val cardinal : t -> int
end
type tt = private Set of O.t | Top
exception Error_Top
exception Error_Bottom
type t = tt
type widen_hint = O.t
val equal : t -> t -> bool
val join : t -> t -> t
val link : t -> t -> t
val meet : t -> t -> t
val narrow : t -> t -> t
val bottom : t
val top : t
val is_included : t -> t -> bool
val is_included_exn : t -> t -> unit
val intersects : t -> t -> bool
val pretty : Format.formatter -> t -> unit
val widen : widen_hint -> t -> t -> t
val cardinal_zero_or_one : t -> bool
val cardinal_less_than : t -> int -> int
val tag : t -> int
module Datatype :
sig
type t = t
val rehash : t -> t
val descr : Unmarshal.t
val copy : t -> t
val name : string
val register_comparable :
?compare:(t -> t -> int) ->
?equal:(t -> t -> bool) ->
?hash:(t -> int) -> ?physical_hash:(t -> int) -> unit -> unit
val is_comparable_set : unit -> bool
val hash : t -> int
val physical_hash : t -> int
val equal : t -> t -> bool
val compare : t -> t -> int
val contain_project : (Project.project -> t -> bool) option ref
end
val hash : t -> int
val inject_singleton : O.elt -> t
val inject : O.t -> t
val empty : t
val apply2 : (O.elt -> O.elt -> O.elt) -> t -> t -> t
val apply1 : (O.elt -> O.elt) -> t -> t
val fold : (O.elt -> 'a -> 'a) -> t -> 'a -> 'a
val iter : (O.elt -> unit) -> t -> unit
val project : t -> O.t
val mem : O.elt -> t -> bool
end
type map_t
type t =
Top of Locations.Zone.Top_Param.t * Origin.t
| Map of Locations.Zone.map_t
val top : Locations.Zone.t
val bottom : Locations.Zone.t
val id : string
val tag : Locations.Zone.t -> int
val inject : Base.t -> Abstract_value.Int_Intervals.t -> Locations.Zone.t
val join : Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
val link : Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
val narrow : Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
val meet : Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
val diff : t -> t -> t
val diff_if_one : Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
exception Error_Bottom
exception Error_Top
val map_i :
(Base.t -> Abstract_value.Int_Intervals.t -> Locations.Zone.t) ->
Locations.Zone.t -> Locations.Zone.t
val find_exclusive :
Base.t -> Locations.Zone.t -> Abstract_value.Int_Intervals.t
val find_lonely_key :
Locations.Zone.t -> Base.t * Abstract_value.Int_Intervals.t
val find_or_bottom :
Base.t -> Locations.Zone.map_t -> Abstract_value.Int_Intervals.t
exception Not_all_keys
val get_keys_exclusive :
Abstract_value.Int_Intervals.t -> Locations.Zone.t -> Base.t list
val pretty : Format.formatter -> Locations.Zone.t -> unit
val intersects : Locations.Zone.t -> Locations.Zone.t -> bool
val valid_intersects : Locations.Zone.t -> Locations.Zone.t -> bool
type widen_hint
val widen :
Locations.Zone.widen_hint ->
Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
val equal : Locations.Zone.t -> Locations.Zone.t -> bool
val is_included : Locations.Zone.t -> Locations.Zone.t -> bool
val is_included_exn : Locations.Zone.t -> Locations.Zone.t -> unit
val cardinal_zero_or_one : Locations.Zone.t -> bool
val cardinal_less_than : Locations.Zone.t -> int -> int
val diff : Locations.Zone.t -> Locations.Zone.t -> Locations.Zone.t
val filter_base : (Base.t -> bool) -> Locations.Zone.t -> Locations.Zone.t
val fold_bases : (Base.t -> 'a -> 'a) -> Locations.Zone.t -> 'a -> 'a
val get_bases : Locations.Zone.t -> Locations.Zone.Top_Param.t
val fold_i :
(Base.t -> Abstract_value.Int_Intervals.t -> 'a -> 'a) ->
Locations.Zone.t -> 'a -> 'a
val fold_topset_ok :
(Base.t -> Abstract_value.Int_Intervals.t -> 'a -> 'a) ->
Locations.Zone.t -> 'a -> 'a
val fold_enum_by_base :
(Locations.Zone.t -> 'a -> 'a) -> Locations.Zone.t -> 'a -> 'a
val out_some_or_bottom : Locations.Zone.t option -> Locations.Zone.t
val cached_fold :
cache:string * int ->
f:(Base.t -> Abstract_value.Int_Intervals.t -> 'a) ->
projection:(Base.t -> Abstract_value.Int_Intervals.t) ->
joiner:('a -> 'a -> 'a) -> empty:'a -> Locations.Zone.t -> 'a
module Datatype :
sig
type t = t
val rehash : t -> t
val descr : Unmarshal.t
val copy : t -> t
val name : string
val register_comparable :
?compare:(t -> t -> int) ->
?equal:(t -> t -> bool) ->
?hash:(t -> int) -> ?physical_hash:(t -> int) -> unit -> unit
val is_comparable_set : unit -> bool
val hash : t -> int
val physical_hash : t -> int
val equal : t -> t -> bool
val compare : t -> t -> int
val contain_project : (Project.project -> t -> bool) option ref
end
val default :
Base.t ->
Abstract_interp.Int.t -> Abstract_interp.Int.t -> Locations.Zone.t
val defaultall : Base.t -> Locations.Zone.t
end