ghc-9.12.0.20241114: The GHC API
Safe HaskellNone
LanguageGHC2021

GHC.Llvm.MetaData

Contents

Synopsis

Documentation

newtype MetaId Source #

A reference to an un-named metadata node.

Constructors

MetaId Int 

Instances

Instances details
Outputable MetaId Source # 
Instance details

Defined in GHC.Llvm.MetaData

Methods

ppr :: MetaId -> SDoc Source #

Enum MetaId Source # 
Instance details

Defined in GHC.Llvm.MetaData

Eq MetaId Source # 
Instance details

Defined in GHC.Llvm.MetaData

Methods

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

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

Ord MetaId Source # 
Instance details

Defined in GHC.Llvm.MetaData

ppMetaId :: IsLine doc => MetaId -> doc Source #

data MetaExpr Source #

LLVM metadata expressions

Instances

Instances details
Eq MetaExpr Source # 
Instance details

Defined in GHC.Llvm.MetaData

data MetaAnnot Source #

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

Instances

Instances details
Eq MetaAnnot Source # 
Instance details

Defined in GHC.Llvm.MetaData

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 !{ <metadata expression> }' form).

Module flags