Home My Page Projects Code Snippets Project Openings diderot
Summary Activity Tracker Tasks SCM

SCM Repository

[diderot] View of /branches/vis12-cl/src/compiler/IL/operators-sig.sml
ViewVC logotype

View of /branches/vis12-cl/src/compiler/IL/operators-sig.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 2402 - (download) (annotate)
Sat Jul 27 13:55:03 2013 UTC (6 years ago) by jhr
File size: 664 byte(s)
  Create branch for adding OpenCL to vis12 branch.  Based on r2401 of the vis12 branch.
(* operators-sig.sml
 *
 * COPYRIGHT (c) 2010 The Diderot Project (http://diderot-language.cs.uchicago.edu)
 * All rights reserved.
 *
 * Abstract interface used to parameterize the intermediate representation
 * over the allowed operators.
 *)

signature OPERATORS =
  sig

    type ty

    type rator

    val resultArity : rator -> int              (* arity of results (usually 1) *)
    val arity : rator -> int			(* operator arity *)
    val isPure : rator -> bool			(* false for operations that have effects *)
    val same : rator * rator -> bool		(* equality test *)
    val hash : rator -> word			(* hash key *)

    val toString : rator -> string

  end

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