SCM Repository
Annotation of /trunk/src/compiler/IL/gen/high-il.spec
Parent Directory
|
Revision Log
Revision 226 - (view) (download)
1 : | jhr | 186 | # specification of operators for HighIL version of the IR. Each line (other than comments) |
2 : | # specifies an operator using four fields, which are separated by ":". The fields are | ||
3 : | # name | ||
4 : | # argument type (optional) | ||
5 : | # arity | ||
6 : | # comment (optional) | ||
7 : | # | ||
8 : | # type-indexed arithmetic operations | ||
9 : | Add : ty : 2 : | ||
10 : | Sub : ty : 2 : | ||
11 : | Mul : ty : 2 : | ||
12 : | Div : ty : 2 : | ||
13 : | Neg : ty : 1 : | ||
14 : | LT : ty : 2 : | ||
15 : | LTE : ty : 2 : | ||
16 : | EQ : ty : 2 : | ||
17 : | NEQ : ty : 2 : | ||
18 : | GT : ty : 2 : | ||
19 : | GTE : ty : 2 : | ||
20 : | Dot : ty : 2 : | ||
21 : | Cross : : 2 : | ||
22 : | # | ||
23 : | # vector operations | ||
24 : | Norm : ty : 1 : | ||
25 : | Scale : ty : 2 : scalar*tensor multiplication | ||
26 : | InvScale : ty : 2 : tensor/scalar division | ||
27 : | CL : : 1 : linear anisotropy measures | ||
28 : | PrincipleEvec : ty : 2 : principle eigenvector; ty is result vector type | ||
29 : | Subscript : ty : 2 : | ||
30 : | Max : : 2 : | ||
31 : | Min : : 2 : | ||
32 : | Sin : : 1 : | ||
33 : | Cos : : 1 : | ||
34 : | Pow : : 2 : | ||
35 : | Not : : 1 : boolean negation | ||
36 : | # | ||
37 : | # conversions | ||
38 : | IntToReal : : 1 : | ||
39 : | TruncToInt : : 1 : | ||
40 : | RoundToInt : : 1 : | ||
41 : | CeilToInt : : 1 : | ||
42 : | FloorToInt : : 1 : | ||
43 : | # | ||
44 : | # image/field operations | ||
45 : | jhr | 195 | Kernel : Kernel.kernel : 0 : |
46 : | jhr | 226 | LoadImage : ImageInfo.info : 0 : image-file loading |
47 : | jhr | 197 | Convolve : : 2 : convolution |
48 : | jhr | 186 | Inside : : 2 : |
49 : | Field : FieldDef.field_def : 0 : | ||
50 : | jhr | 195 | AddField : : 2 : field addition |
51 : | ScaleField : : 2 : field scaling | ||
52 : | NegField : : 1 : field negation | ||
53 : | DiffField : : 1 : field differentiation | ||
54 : | jhr | 186 | Probe : : 2 : |
55 : | Transform : ImageInfo.info : 1 : transform to image-space | ||
56 : | jhr | 226 | # |
57 : | # inputs | ||
58 : | Input : string : 0 : | ||
59 : | InputWithDefault : string : 1 : |
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |