Costlib.CostUtilsmodule CostModelEnv : sig ... endtype model =
CostModelEnv.cost_model_env ->
ret:(IR.Ident.t * IR.Typ.t) ->
BO.BufferOverrunDomain.Mem.t ->
CostDomain.BasicCost.tval unit_cost_of :
of_function:string ->
IBase.Location.t ->
CostDomain.BasicCost.tUnit cost value
val cost_of_itv :
itv:BO.Itv.t ->
degree_kind:BO.Polynomials.DegreeKind.t ->
of_function:string ->
IBase.Location.t ->
CostDomain.BasicCost.tTranslate interval to cost value
val string_len_range_itv :
BO.BufferOverrunUtils.ModelEnv.model_env ->
IR.Exp.t ->
from:(IR.Exp.t * IR.IntegerWidths.t) option ->
BO.BufferOverrunDomain.Mem.t ->
BO.Itv.tGiven a string of length n and an optional starting index i (0 by default), return itv 0, n_u-i_l
module type S = sig ... endModule type for getting length of various data types
module Collection : Smodule NSCollection : S