ghc-lib-0.20210601: The GHC API, decoupled from GHC versions
Safe HaskellNone
LanguageHaskell2010

GHC.Cmm.Opt

Documentation

constantFoldNode :: Platform -> CmmNode e x -> CmmNode e x Source #

constantFoldExpr :: Platform -> CmmExpr -> CmmExpr Source #

cmmMachOpFold :: Platform -> MachOp -> [CmmExpr] -> CmmExpr Source #

cmmMachOpFoldM :: Platform -> MachOp -> [CmmExpr] -> Maybe CmmExpr Source #