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

View of /sml/trunk/src/MLRISC/SSA/ssa-predicate.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 695 - (download) (annotate)
Mon Aug 7 23:57:38 2000 UTC (19 years ago) by leunga
File size: 518 byte(s)

   Stuff related to scheduling, SSA, x86, C-- and Moby.
   Tag: leunga-20000807-a-whole-bunch-of-stuff
(*
 * 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