| Safe Haskell | Safe |
|---|---|
| Language | Haskell98 |
LLVM.General.AST.Operand
Description
A type to represent operands to LLVM Instructions
- newtype MetadataNodeID = MetadataNodeID Word
- data MetadataNode
- 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 Operand] | |
| MetadataNodeReference MetadataNodeID |
An Operand is roughly that which is an argument to an Instruction
Constructors
| LocalReference Type Name | %foo |
| ConstantOperand Constant |
|
| MetadataStringOperand String | |
| MetadataNodeOperand MetadataNode |
type CallableOperand = Either InlineAssembly Operand Source
The Call instruction is special: the callee can be inline assembly