You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
(* Be careful: inv_exp performs a meet on both arguments of the BOr / BXor. *)
398
+
|BOr ->
399
+
(* Be careful: inv_exp performs a meet on both arguments of the BOr / BXor. *)
400
400
ifPrecisionUtil.get_bitfield ()then
401
401
(* refinement based on the following idea: bit set to one in c and set to zero in b must be one in a and bit set to zero in c must be zero in a too (analogously for b) *)
402
-
let ((az, ao), (bz, bo)) =BitfieldDomain.Bitfield.refine_bor (ID.to_bitfield ikind a) (ID.to_bitfield ikind b) (ID.to_bitfield ikind c) in
402
+
let ((az, ao), (bz, bo)) =BitfieldDomain.Bitfield.refine_bor (ID.to_bitfield ikind a) (ID.to_bitfield ikind b) (ID.to_bitfield ikind c) in
403
403
ID.meet a (ID.of_bitfield ikind (az, ao)), ID.meet b (ID.of_bitfield ikind (bz, bo))
(* Be careful: inv_exp performs a meet on both arguments of the BOr / BXor. *)
407
407
(a, b)
@@ -416,7 +416,7 @@ struct
416
416
a, b
417
417
|BAnd ->
418
418
(* we only attempt to refine a here *)
419
-
let b_int =ID.to_int b in
419
+
let b_int =ID.to_int b in
420
420
let a =
421
421
match b_int with
422
422
|SomexwhenZ.equal x Z.one ->
@@ -426,11 +426,11 @@ struct
426
426
|None -> a)
427
427
|_ -> a
428
428
in
429
-
ifPrecisionUtil.get_bitfield ()then
429
+
ifPrecisionUtil.get_bitfield ()then
430
430
(* refinement based on the following idea: bit set to zero in c and set to one in b must be zero in a and bit set to one in c must be one in a too (analogously for b) *)
431
-
let ((az, ao), (bz, bo)) =BitfieldDomain.Bitfield.refine_band (ID.to_bitfield ikind a) (ID.to_bitfield ikind b) (ID.to_bitfield ikind c) in
431
+
let ((az, ao), (bz, bo)) =BitfieldDomain.Bitfield.refine_band (ID.to_bitfield ikind a) (ID.to_bitfield ikind b) (ID.to_bitfield ikind c) in
432
432
ID.meet a (ID.of_bitfield ikind (az, ao)), ID.meet b (ID.of_bitfield ikind (bz, bo))
0 commit comments