Safe Haskell | None |
---|---|
Language | Haskell98 |
Documentation
data LocalValue Source #
data EncodeState Source #
EncodeAST | |
|
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 #