Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Glasgow Haskell Compiler
GHC
Commits
ee6bba6f
Commit
ee6bba6f
authored
Feb 04, 2009
by
Ben.Lippmeier@anu.edu.au
Browse files
NCG: Move RegLiveness -> RegAlloc.Liveness
parent
a12e8456
Changes
14
Hide whitespace changes
Inline
Side-by-side
compiler/ghc.cabal.in
View file @
ee6bba6f
...
...
@@ -469,8 +469,8 @@ Library
NCGMonad
PositionIndependentCode
PprMach
RegLiveness
RegAllocInfo
RegAlloc.Liveness
RegAlloc.Graph.Main
RegAlloc.Graph.Stats
RegAlloc.Graph.ArchBase
...
...
compiler/nativeGen/AsmCodeGen.lhs
View file @
ee6bba6f
...
...
@@ -26,7 +26,7 @@ import PprMach
import RegAllocInfo
import NCGMonad
import PositionIndependentCode
import RegLiveness
import Reg
Alloc.
Liveness
import qualified RegAlloc.Linear.Main as Linear
...
...
compiler/nativeGen/RegAlloc/Graph/Coalesce.hs
View file @
ee6bba6f
...
...
@@ -10,7 +10,7 @@ where
import
Cmm
import
Regs
import
RegLiveness
import
Reg
Alloc.
Liveness
import
RegAllocInfo
import
Bag
...
...
compiler/nativeGen/RegAlloc/Graph/Main.hs
View file @
ee6bba6f
...
...
@@ -12,7 +12,7 @@ module RegAlloc.Graph.Main (
where
import
qualified
GraphColor
as
Color
import
RegLiveness
import
Reg
Alloc.
Liveness
import
RegAlloc.Graph.Spill
import
RegAlloc.Graph.SpillClean
import
RegAlloc.Graph.SpillCost
...
...
compiler/nativeGen/RegAlloc/Graph/Spill.hs
View file @
ee6bba6f
...
...
@@ -9,7 +9,7 @@ module RegAlloc.Graph.Spill (
where
import
RegLiveness
import
Reg
Alloc.
Liveness
import
RegAllocInfo
import
Regs
import
Instrs
...
...
compiler/nativeGen/RegAlloc/Graph/SpillClean.hs
View file @
ee6bba6f
...
...
@@ -30,7 +30,7 @@ module RegAlloc.Graph.SpillClean (
where
import
BlockId
import
RegLiveness
import
Reg
Alloc.
Liveness
import
RegAllocInfo
import
Regs
import
Instrs
...
...
compiler/nativeGen/RegAlloc/Graph/SpillCost.hs
View file @
ee6bba6f
...
...
@@ -17,7 +17,7 @@ module RegAlloc.Graph.SpillCost (
where
import
GraphBase
import
RegLiveness
import
Reg
Alloc.
Liveness
import
RegAllocInfo
import
Instrs
import
Regs
...
...
@@ -83,7 +83,7 @@ slurpSpillCostInfo cmm
=
countLIs
rsLiveEntry
instrs
|
otherwise
=
error
"Reg
Liveness
.slurpSpillCostInfo: bad block"
=
error
"Reg
Alloc.SpillCost
.slurpSpillCostInfo: bad block"
countLIs
_
[]
=
return
()
...
...
compiler/nativeGen/RegAlloc/Graph/Stats.hs
View file @
ee6bba6f
...
...
@@ -21,7 +21,7 @@ where
#
include
"nativeGen/NCG.h"
import
qualified
GraphColor
as
Color
import
RegLiveness
import
Reg
Alloc.
Liveness
import
RegAllocInfo
import
RegAlloc.Graph.Spill
import
RegAlloc.Graph.SpillCost
...
...
compiler/nativeGen/RegAlloc/Linear/Base.hs
View file @
ee6bba6f
...
...
@@ -20,8 +20,7 @@ where
import
RegAlloc.Linear.FreeRegs
import
RegAlloc.Linear.StackMap
import
RegLiveness
import
RegAlloc.Liveness
import
Regs
import
Outputable
...
...
compiler/nativeGen/RegAlloc/Linear/JoinToTargets.hs
View file @
ee6bba6f
...
...
@@ -18,12 +18,12 @@ where
import
RegAlloc.Linear.State
import
RegAlloc.Linear.Base
import
RegAlloc.Linear.FreeRegs
import
RegAlloc.Liveness
import
BlockId
import
Instrs
import
Regs
import
RegAllocInfo
import
RegLiveness
import
Cmm
hiding
(
RegSet
)
import
Digraph
...
...
compiler/nativeGen/RegAlloc/Linear/Main.hs
View file @
ee6bba6f
...
...
@@ -96,12 +96,12 @@ import RegAlloc.Linear.StackMap
import
RegAlloc.Linear.FreeRegs
import
RegAlloc.Linear.Stats
import
RegAlloc.Linear.JoinToTargets
import
RegAlloc.Liveness
import
BlockId
import
Regs
import
Instrs
import
RegAllocInfo
import
RegLiveness
import
Cmm
hiding
(
RegSet
)
import
Digraph
...
...
compiler/nativeGen/RegAlloc/Linear/State.hs
View file @
ee6bba6f
...
...
@@ -33,12 +33,12 @@ import RegAlloc.Linear.Stats
import
RegAlloc.Linear.StackMap
import
RegAlloc.Linear.Base
import
RegAlloc.Linear.FreeRegs
import
RegAlloc.Liveness
import
Instrs
import
Regs
import
RegAllocInfo
import
RegLiveness
import
Unique
import
UniqSupply
...
...
compiler/nativeGen/RegAlloc/Linear/Stats.hs
View file @
ee6bba6f
...
...
@@ -7,7 +7,8 @@ module RegAlloc.Linear.Stats (
where
import
RegAlloc.Linear.Base
import
RegLiveness
import
RegAlloc.Liveness
import
RegAllocInfo
import
Instrs
import
Cmm
(
GenBasicBlock
(
..
))
...
...
compiler/nativeGen/RegLiveness.hs
→
compiler/nativeGen/Reg
Alloc/
Liveness.hs
View file @
ee6bba6f
...
...
@@ -7,7 +7,7 @@
-----------------------------------------------------------------------------
{-# OPTIONS -Wall -fno-warn-name-shadowing #-}
module
RegLiveness
(
module
Reg
Alloc.
Liveness
(
RegSet
,
RegMap
,
emptyRegMap
,
BlockMap
,
emptyBlockMap
,
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment