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 /MLRISC/releases/release-110.64/SSA/ssa-predicate.sml
ViewVC logotype

View of /MLRISC/releases/release-110.64/SSA/ssa-predicate.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2656 - (download) (annotate)
Thu May 31 22:17:39 2007 UTC (12 years, 2 months ago) by blume
File size: 518 byte(s)
Release 110.64
(*
 * How to represent a predicate so that various logical operations can
 * be performed.
 *
 * -- Allen (leunga@cs.nyu.edu)
 *)
functor SSAPredicate(T : MLTREE) : SSA_PREDICATE =
struct
   structure T = T

   datatype expr = FALSE | TRUE | IF of T.ty * T.Basis.cond * expr * expr

   fun toString   : expr -> string

   fun And        : expr * expr -> expr
   fun Or         : expr * expr -> expr
   fun Not        : expr -> expr

   fun isDisjoint : expr * expr -> bool
   fun implies    : expr * expr -> bool

end

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