ghc-7.0.4: The GHC API

Vectorise.Utils.Base

# Documentation

voidType :: VM Type Source

newLocalVVar :: FastString -> Type -> VM VVar Source

mkDataConTagLit :: DataCon -> Literal Source

mkDataConTag :: DataCon -> CoreExpr Source

dataConTagZ :: DataCon -> Int Source

mkBuiltinTyConApp :: (Builtins -> TyCon) -> [Type] -> VM Type Source

mkBuiltinTyConApps :: (Builtins -> TyCon) -> [Type] -> Type -> VM Type Source

mkWrapType :: Type -> VM Type Source

mkClosureTypes :: [Type] -> Type -> VM Type Source

mkPReprType :: Type -> VM Type Source

mkPArrayType :: Type -> VM Type Source

splitPrimTyCon :: Type -> Maybe TyCon Source

mkPArray :: Type -> CoreExpr -> CoreExpr -> VM CoreExpr Source

mkPDataType :: Type -> VM Type Source

mkBuiltinCo :: (Builtins -> TyCon) -> VM Coercion Source

mkVScrut :: VExpr -> VM (CoreExpr, CoreExpr, TyCon, [Type])Source

pdataReprTyCon :: Type -> VM (TyCon, [Type])Source

pdataReprDataCon :: Type -> VM (DataCon, [Type])Source