Safe Haskell | Safe-Inferred |
---|
A type to represent operands to LLVM Instruction
s
- newtype MetadataNodeID = MetadataNodeID Word
- data MetadataNode
- data Operand
- type CallableOperand = Either InlineAssembly Operand
Documentation
newtype MetadataNodeID
A MetadataNodeID
is a number for identifying a metadata node.
Note this is different from named metadata, which are represented with
NamedMetadataDefinition
.
data MetadataNode
data Operand
An Operand
is roughly that which is an argument to an Instruction
LocalReference Name | %foo |
ConstantOperand Constant |
|
MetadataStringOperand String | |
MetadataNodeOperand MetadataNode |
type CallableOperand = Either InlineAssembly Operand
The Call
instruction is special: the callee can be inline assembly