Module Rmtmps

module Rmtmps: sig .. end

type rootsFilter = Cil_types.global -> bool 
val isExportedRoot : rootsFilter
val isCompleteProgramRoot : rootsFilter
val removeUnusedTemps : ?isRoot:rootsFilter -> Cil_types.file -> unit
val remove_unused_labels : ?is_removable:(Cil_types.label -> bool) -> Cil_types.fundec -> unit

removes unused labels for which is_removable is true. is_removable defaults to the negation of boolean flag of Label i.e. only labels generated by CIL may be removed.

val keepUnused : bool Stdlib.ref
val rmUnusedInlines : bool Stdlib.ref
val rmUnusedStatic : bool Stdlib.ref