GHC.Builtin.PrimOps
Documentation
Constructors
allThePrimOps :: [PrimOp] Source #
primOpType :: PrimOp -> Type Source #
primOpResultType :: PrimOp -> Type Source #
maxPrimOpTag :: Int Source #
primOpWrapperId :: PrimOp -> Id Source #
primOpOutOfLine :: PrimOp -> Bool Source #
primOpCodeSize :: PrimOp -> Int Source #
primOpOkForSpeculation :: PrimOp -> Bool Source #
primOpOkForSideEffects :: PrimOp -> Bool Source #
primOpIsCheap :: PrimOp -> Bool Source #
primOpDocs :: [(String, String)] Source #
primOpIsDiv :: PrimOp -> Bool Source #
True of dyadic operators that can fail only if the second arg is zero!
This function probably belongs in an automagically generated file.. but it's such a special case I thought I'd leave it here for now.
isComparisonPrimOp :: PrimOp -> Bool Source #
data PrimOpResultInfo Source #
Constructors
ReturnsPrim PrimRep | |
ReturnsAlg TyCon |