Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
class HooplNode nv => NodeAlloc nv nr | nv -> nr, nr -> nv where Source
isCall :: nv O O -> Bool Source
isBranch :: nv O C -> Bool Source
retargetBranch :: nv O C -> Label -> Label -> nv O C Source
mkLabelOp :: Label -> nv C O Source
mkJumpOp :: Label -> nv O C Source
getReferences :: nv e x -> [VarInfo] Source
setRegisters :: [(Int, PhysReg)] -> nv e x -> Env (nr e x) Source
mkMoveOps :: PhysReg -> PhysReg -> Env [nr O O] Source
mkSwapOps :: PhysReg -> PhysReg -> Env [nr O O] Source
mkSaveOps :: PhysReg -> Maybe VarId -> Env [nr O O] Source
mkRestoreOps :: Maybe VarId -> PhysReg -> Env [nr O O] Source
op1ToString :: nv e x -> String Source