Home My Page Projects Code Snippets Project Openings SML/NJ
Summary Activity Forums Tracker Lists Tasks Docs Surveys News SCM Files

SCM Repository

[smlnj] View of /sml/trunk/src/MLRISC/visualization/allDisplays.sml
ViewVC logotype

View of /sml/trunk/src/MLRISC/visualization/allDisplays.sml

Parent Directory Parent Directory | Revision Log Revision Log


Revision 601 - (download) (annotate)
Thu Apr 6 04:38:14 2000 UTC (19 years, 4 months ago) by leunga
File size: 838 byte(s)

    New peephole code, improvements to x86 instruction selection, and
    fixes for SSA and the machine description tool.

    CVS tag=leunga-20000406-peephole-x86-SSA
(*
 * This module ties together all the visualization backends.
 *
 * -- Allen
 *)

structure AllDisplays : GRAPH_DISPLAY =
struct

   val viewer = MLRiscControl.getString "viewer"

   fun visualize print =
       (case !viewer of
          "daVinci" => daVinci.visualize print
        | "vcg"     => VCG.visualize print
        | "dot"     => Dot.visualize print
        | _         => daVinci.visualize print
       )

   fun program() =
       (case !viewer of
          "daVinci" => daVinci.program()
        | "vcg"     => VCG.program()
        | "dot"     => Dot.program()
        | _         => daVinci.program()
       )

   fun suffix() =
       (case !viewer of
          "daVinci" => daVinci.suffix()
        | "vcg"     => VCG.suffix()
        | "dot"     => Dot.suffix()
        | _         => daVinci.suffix()
       )

end

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