SCM Repository
View of /sml/trunk/src/MLRISC/mltree/mltree-gen.sig
Parent Directory
|
Revision Log
Revision 555 -
(download)
(as text)
(annotate)
Fri Mar 3 16:10:30 2000 UTC (21 years, 1 month ago) by george
File size: 996 byte(s)
Fri Mar 3 16:10:30 2000 UTC (21 years, 1 month ago) by george
File size: 996 byte(s)
lal-20000303-new mltree -- take II
(* * This module provides various generic MLTREE transformations. * Basically, we want to support various non built-in datatype widths. * This module handles the translation. * * -- Allen *) signature MLTREEGEN = sig structure T : MLTREE exception SizeUnknown (* * Return the size of an expression *) val size : T.rexp -> T.ty val fsize : T.fexp -> T.ty val condOf : T.ccexp -> T.Basis.cond val fcondOf : T.ccexp -> T.Basis.fcond (* * Perform simplification *) val compileRexp : T.rexp -> T.rexp val compileFexp : T.fexp -> T.fexp val compileStm : T.stm -> T.stm list (* * Simulate conditional expression. *) val compileCond : {exp : T.ty * T.ccexp * T.rexp * T.rexp, an : Annotations.annotations, rd : int } -> T.stm list val compileFcond : {exp : T.fty * T.ccexp * T.fexp * T.fexp, an : Annotations.annotations, fd : int } -> T.stm list end
root@smlnj-gforge.cs.uchicago.edu | ViewVC Help |
Powered by ViewVC 1.0.0 |