Safe Haskell | None |
---|---|
Language | Haskell98 |
Lvm.Core.Module
Documentation
Constructors
Module | |
Fields
|
Constructors
DeclValue | |
Fields
| |
DeclAbstract | |
Fields
| |
DeclCon | |
Fields
| |
DeclExtern | |
Fields
| |
DeclCustom | |
Fields
| |
DeclImport | |
Fields
|
Constructors
CustomInt !Int | |
CustomBytes !Bytes | |
CustomName Id | |
CustomLink Id !DeclKind | |
CustomDecl !DeclKind ![Custom] | |
CustomNothing |
Constructors
Defined | |
Fields
| |
Imported | |
Fields
|
data ExternName Source
Instances
Constructors
LinkStatic | |
LinkDynamic | |
LinkRuntime |
globalNames :: Module v -> IdSet Source
externNames :: Module v -> IdSet Source
filterPublic :: Module v -> Module v Source
customDeclKind :: String -> DeclKind Source
declKindFromDecl :: Decl a -> DeclKind Source
shallowKindFromDecl :: Decl a -> DeclKind Source
makeDeclKind :: Id -> DeclKind Source
isDeclValue :: Decl a -> Bool Source
isDeclAbstract :: Decl a -> Bool Source
isDeclExtern :: Decl a -> Bool Source
isDeclImport :: Decl a -> Bool Source
isDeclGlobal :: Decl a -> Bool Source