2
* Copyright (c) 1997-1999 Massachusetts Institute of Technology
4
* This program is free software; you can redistribute it and/or modify
5
* it under the terms of the GNU General Public License as published by
6
* the Free Software Foundation; either version 2 of the License, or
7
* (at your option) any later version.
9
* This program is distributed in the hope that it will be useful,
10
* but WITHOUT ANY WARRANTY; without even the implied warranty of
11
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12
* GNU General Public License for more details.
14
* You should have received a copy of the GNU General Public License
15
* along with this program; if not, write to the Free Software
16
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
21
type array = Input | Output | Twiddle
23
val arrayToString : array -> string
28
| RealArrayElem of (array * int)
29
| ImagArrayElem of (array * int)
31
val make_temporary : unit -> variable
33
val is_temporary : variable -> bool
34
val is_real : variable -> bool
35
val is_imag : variable -> bool
36
val is_output : variable -> bool
37
val is_input : variable -> bool
38
val is_twiddle : variable -> bool
39
val is_locative : variable -> bool
40
val is_constant : variable -> bool
42
val same : 'a -> 'a -> bool
43
val hash : variable -> int
45
val similar : variable -> variable -> bool
46
val clobbers : variable -> variable -> bool
48
val real_imag : variable -> variable -> bool
49
val increasing_indices : variable -> variable -> bool
51
val access : array -> int -> variable * variable
52
val access_input : int -> variable * variable
53
val access_output : int -> variable * variable
54
val access_twiddle : int -> variable * variable
55
val make_named : string -> variable
57
val unparse : variable -> string