Safe Haskell | Safe |
---|---|
Language | Haskell98 |
LLVM.AST.Operand
Description
A type to represent operands to LLVM Instruction
s
- newtype MetadataNodeID = MetadataNodeID Word
- data MetadataNode
- data Metadata
- data Operand
- type CallableOperand = Either InlineAssembly Operand
Documentation
newtype MetadataNodeID Source #
A MetadataNodeID
is a number for identifying a metadata node.
Note this is different from "named metadata", which are represented with
NamedMetadataDefinition
.
Constructors
MetadataNodeID Word |
data MetadataNode Source #
Constructors
MetadataNode [Maybe Metadata] | |
MetadataNodeReference MetadataNodeID |
Instances
An Operand
is roughly that which is an argument to an Instruction
Constructors
LocalReference Type Name | %foo |
ConstantOperand Constant |
|
MetadataOperand Metadata |
type CallableOperand = Either InlineAssembly Operand Source #
The Call
instruction is special: the callee can be inline assembly