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

SCM Repository

[diderot] Diff of /branches/vis15/src/compiler/high-ir/high-ir.sml
ViewVC logotype

Diff of /branches/vis15/src/compiler/high-ir/high-ir.sml

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 4348, Tue Aug 2 15:48:33 2016 UTC revision 4349, Tue Aug 2 18:14:48 2016 UTC
# Line 74  Line 74 
74        | Concat of ty        | Concat of ty
75        | Range        | Range
76        | Length of ty        | Length of ty
77        | SphereQuery of ty * ty        | SphereQuery of int * ty
78        | IntToReal        | IntToReal
79        | TruncToInt        | TruncToInt
80        | RoundToInt        | RoundToInt
# Line 234  Line 234 
234        | same (Concat(a0), Concat(b0)) = samety(a0, b0)        | same (Concat(a0), Concat(b0)) = samety(a0, b0)
235        | same (Range, Range) = true        | same (Range, Range) = true
236        | same (Length(a0), Length(b0)) = samety(a0, b0)        | same (Length(a0), Length(b0)) = samety(a0, b0)
237        | same (SphereQuery(a0,a1), SphereQuery(b0,b1)) = samety(a0, b0) andalso samety(a1, b1)        | same (SphereQuery(a0,a1), SphereQuery(b0,b1)) = sameint(a0, b0) andalso samety(a1, b1)
238        | same (IntToReal, IntToReal) = true        | same (IntToReal, IntToReal) = true
239        | same (TruncToInt, TruncToInt) = true        | same (TruncToInt, TruncToInt) = true
240        | same (RoundToInt, RoundToInt) = true        | same (RoundToInt, RoundToInt) = true
# Line 286  Line 286 
286        | hash (Concat(a0)) = 0w127 + hashty a0        | hash (Concat(a0)) = 0w127 + hashty a0
287        | hash Range = 0w131        | hash Range = 0w131
288        | hash (Length(a0)) = 0w137 + hashty a0        | hash (Length(a0)) = 0w137 + hashty a0
289        | hash (SphereQuery(a0,a1)) = 0w139 + hashty a0 + hashty a1        | hash (SphereQuery(a0,a1)) = 0w139 + hashint a0 + hashty a1
290        | hash IntToReal = 0w149        | hash IntToReal = 0w149
291        | hash TruncToInt = 0w151        | hash TruncToInt = 0w151
292        | hash RoundToInt = 0w157        | hash RoundToInt = 0w157
# Line 337  Line 337 
337        | toString (Concat(a0)) = concat["Concat<", tyToString a0, ">"]        | toString (Concat(a0)) = concat["Concat<", tyToString a0, ">"]
338        | toString Range = "Range"        | toString Range = "Range"
339        | toString (Length(a0)) = concat["Length<", tyToString a0, ">"]        | toString (Length(a0)) = concat["Length<", tyToString a0, ">"]
340        | toString (SphereQuery(a0,a1)) = concat["SphereQuery<", tyToString a0, ",", tyToString a1, ">"]        | toString (SphereQuery(a0,a1)) = concat["SphereQuery<", intToString a0, ",", tyToString a1, ">"]
341        | toString IntToReal = "IntToReal"        | toString IntToReal = "IntToReal"
342        | toString TruncToInt = "TruncToInt"        | toString TruncToInt = "TruncToInt"
343        | toString RoundToInt = "RoundToInt"        | toString RoundToInt = "RoundToInt"

Legend:
Removed from v.4348  
changed lines
  Added in v.4349

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