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/block-placement/block-placement.sml
ViewVC logotype

View of /sml/trunk/src/MLRISC/block-placement/block-placement.sml

Parent Directory Parent Directory | Revision Log Revision Log

Revision 1134 - (download) (annotate)
Tue Mar 12 03:59:21 2002 UTC (17 years, 5 months ago) by george
File size: 614 byte(s)
  pick between default and weighted block placement
functor BlockPlacement 
   (structure CFG : CONTROL_FLOW_GRAPH
    structure Props : INSN_PROPERTIES)


  structure CFG = CFG

  structure DefaultPlacement = DefaultBlockPlacement(CFG)

  structure WeightedPlacement = 
	  (structure CFG = CFG 
	   structure InsnProps = Props)

  val placementFlag = MLRiscControl.mkFlag
			   "whether MLRISC does weigted block placement")

  fun blockPlacement cfg = 
      if !placementFlag then WeightedPlacement.blockPlacement cfg
      else DefaultPlacement.blockPlacement cfg

ViewVC Help
Powered by ViewVC 1.0.0