NCG: Move the graph allocator into its own dir
[ghc-hetmet.git] / compiler / nativeGen / RegAlloc / Graph / Main.hs
similarity index 98%
rename from compiler/nativeGen/RegAllocColor.hs
rename to compiler/nativeGen/RegAlloc/Graph/Main.hs
index 5c85691..b794549 100644 (file)
@@ -4,7 +4,7 @@
 -- TODO: The colors in graphviz graphs for x86_64 and ppc could be nicer.
 --
 
-module RegAllocColor ( 
+module RegAlloc.Graph.Main ( 
        regAlloc,
        regDotColor
 ) 
@@ -13,11 +13,10 @@ where
 
 import qualified GraphColor    as Color
 import RegLiveness
-import RegSpill
-import RegSpillClean
-import RegSpillCost
-import RegAllocStats
--- import RegCoalesce
+import RegAlloc.Graph.Spill
+import RegAlloc.Graph.SpillClean
+import RegAlloc.Graph.SpillCost
+import RegAlloc.Graph.Stats
 import MachRegs
 import MachInstrs
 import PprMach