ghc-7.0.4: The GHC API

Vectorise.Utils.Base

# Documentation

voidType :: VM Type

newLocalVVar :: FastString -> Type -> VM VVar

mkDataConTagLit :: DataCon -> Literal

mkDataConTag :: DataCon -> CoreExpr

dataConTagZ :: DataCon -> Int

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

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

mkWrapType :: Type -> VM Type

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

mkPReprType :: Type -> VM Type

mkPArrayType :: Type -> VM Type

splitPrimTyCon :: Type -> Maybe TyCon

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

mkPDataType :: Type -> VM Type

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

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

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

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