Safe Haskell | None |
---|---|
Language | Haskell98 |
- data CmmExpr
- cmmExprType :: DynFlags -> CmmExpr -> CmmType
- cmmExprWidth :: DynFlags -> CmmExpr -> Width
- maybeInvertCmmExpr :: CmmExpr -> Maybe CmmExpr
- data CmmReg
- cmmRegType :: DynFlags -> CmmReg -> CmmType
- data CmmLit
- cmmLitType :: DynFlags -> CmmLit -> CmmType
- data LocalReg = LocalReg !Unique CmmType
- localRegType :: LocalReg -> CmmType
- data GlobalReg
- isArgReg :: GlobalReg -> Bool
- globalRegType :: DynFlags -> GlobalReg -> CmmType
- spReg :: CmmReg
- hpReg :: CmmReg
- spLimReg :: CmmReg
- nodeReg :: CmmReg
- node :: GlobalReg
- baseReg :: CmmReg
- data VGcPtr
- vgcFlag :: CmmType -> VGcPtr
- class Ord r => DefinerOfRegs r a where
- foldRegsDefd :: DynFlags -> (b -> r -> b) -> b -> a -> b
- class Ord r => UserOfRegs r a where
- foldRegsUsed :: DynFlags -> (b -> r -> b) -> b -> a -> b
- filterRegsUsed :: UserOfRegs r e => DynFlags -> (r -> Bool) -> e -> RegSet r
- foldLocalRegsDefd :: DefinerOfRegs LocalReg a => DynFlags -> (b -> LocalReg -> b) -> b -> a -> b
- foldLocalRegsUsed :: UserOfRegs LocalReg a => DynFlags -> (b -> LocalReg -> b) -> b -> a -> b
- type RegSet r = Set r
- type LocalRegSet = RegSet LocalReg
- type GlobalRegSet = RegSet GlobalReg
- emptyRegSet :: Ord r => RegSet r
- elemRegSet :: Ord r => r -> RegSet r -> Bool
- extendRegSet :: Ord r => RegSet r -> r -> RegSet r
- deleteFromRegSet :: Ord r => RegSet r -> r -> RegSet r
- mkRegSet :: Ord r => [r] -> RegSet r
- plusRegSet :: Ord r => RegSet r -> RegSet r -> RegSet r
- minusRegSet :: Ord r => RegSet r -> RegSet r -> RegSet r
- timesRegSet :: Ord r => RegSet r -> RegSet r -> RegSet r
- sizeRegSet :: Ord r => RegSet r -> Int
- nullRegSet :: Ord r => RegSet r -> Bool
- regSetToList :: Ord r => RegSet r -> [r]
- regUsedIn :: CmmReg -> CmmExpr -> Bool
- data Area
- module CmmMachOp
- module CmmType
Documentation
cmmExprType :: DynFlags -> CmmExpr -> CmmType Source
cmmExprWidth :: DynFlags -> CmmExpr -> Width Source
cmmRegType :: DynFlags -> CmmReg -> CmmType Source
cmmLitType :: DynFlags -> CmmLit -> CmmType Source
localRegType :: LocalReg -> CmmType Source
globalRegType :: DynFlags -> GlobalReg -> CmmType Source
class Ord r => DefinerOfRegs r a where Source
foldRegsDefd :: DynFlags -> (b -> r -> b) -> b -> a -> b Source
Ord r => DefinerOfRegs r r | |
DefinerOfRegs GlobalReg CmmReg | |
DefinerOfRegs LocalReg CmmReg | |
DefinerOfRegs r a => DefinerOfRegs r (Maybe a) | |
DefinerOfRegs r a => DefinerOfRegs r [a] | |
DefinerOfRegs GlobalReg (CmmNode e x) | |
DefinerOfRegs LocalReg (CmmNode e x) |
class Ord r => UserOfRegs r a where Source
foldRegsUsed :: DynFlags -> (b -> r -> b) -> b -> a -> b Source
UserOfRegs r CmmReg => UserOfRegs r CmmExpr | |
Ord r => UserOfRegs r r | |
UserOfRegs r CmmExpr => UserOfRegs r ForeignTarget | |
UserOfRegs GlobalReg CmmReg | |
UserOfRegs LocalReg CmmReg | |
UserOfRegs r a => UserOfRegs r [a] | |
UserOfRegs r a => UserOfRegs r (Maybe a) | |
Ord r => UserOfRegs r (RegSet r) | |
UserOfRegs GlobalReg (CmmNode e x) | |
UserOfRegs LocalReg (CmmNode e x) |
filterRegsUsed :: UserOfRegs r e => DynFlags -> (r -> Bool) -> e -> RegSet r Source
foldLocalRegsDefd :: DefinerOfRegs LocalReg a => DynFlags -> (b -> LocalReg -> b) -> b -> a -> b Source
foldLocalRegsUsed :: UserOfRegs LocalReg a => DynFlags -> (b -> LocalReg -> b) -> b -> a -> b Source
type LocalRegSet = RegSet LocalReg Source
type GlobalRegSet = RegSet GlobalReg Source
emptyRegSet :: Ord r => RegSet r Source
elemRegSet :: Ord r => r -> RegSet r -> Bool Source
extendRegSet :: Ord r => RegSet r -> r -> RegSet r Source
deleteFromRegSet :: Ord r => RegSet r -> r -> RegSet r Source
sizeRegSet :: Ord r => RegSet r -> Int Source
nullRegSet :: Ord r => RegSet r -> Bool Source
regSetToList :: Ord r => RegSet r -> [r] Source
A stack area is either the stack slot where a variable is spilled or the stack space where function arguments and results are passed.
module CmmMachOp
module CmmType