Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data LocalValue Source #
data EncodeState Source #
Instances
MonadState EncodeState EncodeAST Source # | |
Defined in LLVM.Internal.EncodeAST get :: EncodeAST EncodeState # put :: EncodeState -> EncodeAST () # state :: (EncodeState -> (a, EncodeState)) -> EncodeAST a # |
EncodeAST | |
|
Instances
defineType :: Name -> Maybe ShortByteString -> Ptr Type -> EncodeAST () Source #
defineLocal :: DescendentOf Value v => Name -> Ptr v -> EncodeAST () Source #
defineGlobal :: DescendentOf GlobalValue v => Name -> Ptr v -> EncodeAST () Source #
defineMDNode :: MetadataNodeID -> Ptr MDNode -> EncodeAST () Source #
defineAttributeGroup :: GroupID -> FunctionAttributeSet -> EncodeAST () Source #
defineCOMDAT :: ShortByteString -> Ptr COMDAT -> EncodeAST () Source #
referOrThrow :: (Show n, Ord n) => (EncodeState -> Map n v) -> String -> n -> EncodeAST v Source #
referGlobal :: Name -> EncodeAST (Ptr GlobalValue) Source #
referMDNode :: MetadataNodeID -> EncodeAST (Ptr MDNode) Source #
referCOMDAT :: ShortByteString -> EncodeAST (Ptr COMDAT) Source #
defineBasicBlock :: Name -> Name -> Ptr BasicBlock -> EncodeAST () Source #
getBlockForAddress :: Name -> Name -> EncodeAST (Ptr BasicBlock) Source #