]> matita.cs.unibo.it Git - pkg-cerco/acc.git/blob - clightCasts.mli
098059bfa7691875bb41254a28be6ce849fee1a9
[pkg-cerco/acc.git] / clightCasts.mli
1
2 (** [simplify p] removes unnecessary casts in the Clight program [p].
3
4     Example: [(char) ((int)x + (int)y)] where [x] and [y] are of type [char]
5     will be transformed into [x + y]. Primitive operations are thus supposed to
6     be polymorphic, but working only on homogene types. *)
7
8 val simplify : Clight.program -> Clight.program