module Make:
include Datatype.S_no_copy
val degenerate : V.t -> t
val pretty_with_type_generic_printer : Cil_types.typ option ->
(Format.formatter -> V.t -> unit) -> string -> Format.formatter -> t -> unit
val pretty_with_type : Cil_types.typ option -> Format.formatter -> t -> unit
val empty : t
val is_empty : t -> bool
val find : (Abstract_interp.Int.t -> Abstract_interp.Int.t -> V.t) ->
Offsetmap_bitwise.itv -> t -> V.t
val add : Offsetmap_bitwise.itv -> V.t -> t -> t
val add_approximate : Offsetmap_bitwise.itv -> V.t -> t -> t
val collapse : t -> V.t
val find_iset : (Abstract_interp.Int.t -> Abstract_interp.Int.t -> V.t) ->
V.t -> Lattice_Interval_Set.Int_Intervals.t -> t -> V.t
val add_iset : exact:bool -> Lattice_Interval_Set.Int_Intervals.t -> V.t -> t -> t
val join : t -> t -> t
val joindefault : t -> t
val is_included : t -> t -> bool
val map_and_merge : (V.t -> V.t) -> t -> t -> t
val map : (bool * V.t -> bool * V.t) -> t -> t
val map2 : ((bool * V.t) option -> (bool * V.t) option -> bool * V.t) -> t -> t -> t
val fold : (Lattice_Interval_Set.Int_Intervals.t -> bool * V.t -> 'a -> 'a) ->
t -> 'a -> 'a
val fold_fuse_same : (Lattice_Interval_Set.Int_Intervals.t -> bool * V.t -> 'a -> 'a) ->
t -> 'a -> 'a
Same behavior as fold
, except if two disjoint intervals r1
and r2
are mapped to the same value and boolean. In this case, fold
will call
its argument f
on r1
, then on r2
. fold_fuse_same
will call it
directly on r1 U r2
, where U is the join on sets of intervals.
val copy_paste : f:((bool * V.t -> bool * V.t) *
(Abstract_interp.Int.t -> Abstract_interp.Int.t -> V.t))
option ->
t ->
Abstract_interp.Int.t ->
Abstract_interp.Int.t -> Abstract_interp.Int.t -> t -> t
val copy_merge : t ->
Abstract_interp.Int.t ->
Abstract_interp.Int.t -> Abstract_interp.Int.t -> t -> t
val copy : f:((bool * V.t -> bool * V.t) *
(Abstract_interp.Int.t -> Abstract_interp.Int.t -> V.t))
option ->
t -> Abstract_interp.Int.t -> Abstract_interp.Int.t -> t