ghc-8.4.0.20180204: The GHC API

Safe HaskellNone
LanguageHaskell2010

Llvm.MetaData

Synopsis

Documentation

newtype MetaId Source #

A reference to an un-named metadata node.

Constructors

MetaId Int 
Instances
Enum MetaId # 
Instance details
Eq MetaId # 
Instance details

Methods

(==) :: MetaId -> MetaId -> Bool #

(/=) :: MetaId -> MetaId -> Bool #

Ord MetaId # 
Instance details
Outputable MetaId # 
Instance details

data MetaExpr Source #

LLVM metadata expressions

Instances
Eq MetaExpr # 
Instance details
Outputable MetaExpr # 
Instance details

data MetaAnnot Source #

Associates some metadata with a specific label for attaching to an instruction.

Instances
Eq MetaAnnot # 
Instance details

data MetaDecl Source #

Metadata declarations. Metadata can only be declared in global scope.

Constructors

MetaNamed !LMString [MetaId]

Named metadata. Only used for communicating module information to LLVM. ('!name = !{ [!n] }' form).

MetaUnnamed !MetaId !MetaExpr

Metadata node declaration. ('!0 = metadata !{ expression }' form).