Module IR__Ident
Identifiers: program variables and logical variables
module Set : IStdlib.IStd.Caml.Set.S with type Set.elt = tSet for identifiers.
module Hash : IStdlib.IStd.Caml.Hashtbl.S with type Hash.key = tHash table with ident as key.
module Map : IStdlib.IStd.Caml.Map.S with type Map.key = tMap with ident as key.
module HashQueue : IStdlib.IStd.Hash_queue.S with type HashQueue.key = tmodule NameGenerator : sig ... endval kprimed : kindval knormal : kindval kfootprint : kindval name_spec : nameName used for spec variables
val name_return : IR.Mangled.tName used for the return variable
val name_return_param : IR.Mangled.tName used for the return param variable
val string_to_name : string -> nameConvert a string to a name.
val name_to_string : name -> stringConvert a name to a string.
val create_none : unit -> tCreate a "null" identifier for situations where the IR requires an id that will never be read
val create_footprint : name -> int -> tGenerate a footprint identifier with the given name and stamp.
val update_name_generator : t list -> unitUpdate the name generator so that the given id's are not generated again
val create_path : string -> tGenerate a normal identifier whose name encodes a path given as a string.
val is_primed : t -> boolCheck whether an identifier is primed or not.
val is_normal : t -> boolCheck whether an identifier is normal or not.
val is_footprint : t -> boolCheck whether an identifier is footprint or not.
val is_path : t -> boolCheck whether an identifier represents a path or not.
val is_none : t -> boolCheck whether an identifier is the special "none" identifier
val get_stamp : t -> intGet the stamp of the identifier
Pretty Printing
val pp_name : Stdlib.Format.formatter -> name -> unitPretty print a name.
val pp : Stdlib.Format.formatter -> t -> unitPretty print an identifier.
val to_string : t -> stringConvert an identifier to a string.
val hashqueue_of_sequence : ?init:unit HashQueue.t -> t IStdlib.IStd.Sequence.t -> unit HashQueue.tval set_of_sequence : ?init:Set.t -> t IStdlib.IStd.Sequence.t -> Set.tval counts_of_sequence : t IStdlib.IStd.Sequence.t -> t -> int