Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/MLRISC/library/regset.sig
ViewVC logotype

View of /sml/trunk/src/MLRISC/library/regset.sig

Parent Directory Parent Directory | Revision Log Revision Log


Revision 411 - (download) (as text) (annotate)
Fri Sep 3 00:25:03 1999 UTC (19 years, 10 months ago) by monnier
Original Path: sml/branches/SMLNJ/src/MLRISC/library/regset.sig
File size: 1049 byte(s)
version 110.19
(*
 * Register set datatype
 *
 * -- Allen
 *)

signature REGISTER_SET =
sig

   type regset 
   type reg = int

   val empty          : regset
   val fromList       : reg list -> regset
   val sort           : reg list -> reg list
   val fromSortedList : reg list -> regset
   val insert         : regset * reg -> regset 
   val remove         : regset * reg -> regset 
   val insertChanged  : regset * reg -> regset * bool
   val removeChanged  : regset * reg -> regset * bool
   val ==             : regset * regset -> bool
   val app            : (reg -> unit) -> regset -> unit
   val contains       : regset * reg -> bool
   val exists         : regset * reg list -> bool
   val isEmpty        : regset -> bool
   val toList         : regset -> reg list
   val toString       : regset -> string
   val union          : regset list -> regset
   val intersects     : regset list -> regset
   val +              : regset * regset -> regset
   val -              : regset * regset -> regset
   val *              : regset * regset -> regset

end


root@smlnj-gforge.cs.uchicago.edu
ViewVC Help
Powered by ViewVC 1.0.0