Hoogle Search
Within LTS Haskell 24.3 (ghc-9.10.2)
Note that Stackage only displays results for the latest LTS and Nightly snapshot. Learn more.
-
ghc GHC.Builtin.Types No documentation available.
maybeCharLikeCon :: DataCon -> Boolghc GHC.Builtin.Utils No documentation available.
maybeIntLikeCon :: DataCon -> Boolghc GHC.Builtin.Utils No documentation available.
maybeLocalBlockLabel :: CLabel -> Maybe BlockIdghc GHC.Cmm.CLabel If a label is a local block label then return just its BlockId, otherwise Nothing.
maybeInvertCmmExpr :: CmmExpr -> Maybe CmmExprghc GHC.Cmm.Expr No documentation available.
maybeIntComparison :: MachOp -> Maybe Widthghc GHC.Cmm.MachOp Returns Just w if the operation is an integer comparison with width w, or Nothing otherwise.
maybeInvertComparison :: MachOp -> Maybe MachOpghc GHC.Cmm.MachOp No documentation available.
maybeFlipCond :: Cond -> Maybe Condghc GHC.CmmToAsm.X86.Cond maybeFlipCond c returns Just c' if it is possible to flip the arguments to the conditional c, and the new condition should be c'.
maybeInvertCond :: Cond -> Maybe Condghc GHC.CmmToAsm.X86.Cond If we apply maybeInvertCond to the condition of a jump we turn jumps taken into jumps not taken and vice versa. Careful! If the used comparison and the conditional jump don't match the above behaviour will NOT hold. When used for FP comparisons this does not consider unordered numbers. Also inverting twice might return a synonym for the original condition.
maybeUnfoldingTemplate :: Unfolding -> Maybe CoreExprghc GHC.Core Retrieves the template of an unfolding if possible maybeUnfoldingTemplate is used mainly when specialising, and we do want to specialise DFuns, so it's important to return a template for DFunUnfoldings