| Safe Haskell | Safe-Inferred |
|---|
LLVM.General.AST.Instruction
Description
LLVM instructions http://llvm.org/docs/LangRef.html#instruction-reference
- type InstructionMetadata = [(String, MetadataNode)]
- data Terminator
- = Ret { }
- | CondBr { }
- | Br { }
- | Switch {
- operand0' :: Operand
- defaultDest :: Name
- dests :: [(Constant, Name)]
- metadata' :: InstructionMetadata
- | IndirectBr { }
- | Invoke { }
- | Resume { }
- | Unreachable { }
- data MemoryOrdering
- = Unordered
- | Monotonic
- | Acquire
- | Release
- | AcquireRelease
- | SequentiallyConsistent
- data Atomicity = Atomicity {}
- data LandingPadClause
- data Instruction
- = Add { }
- | FAdd { }
- | Sub { }
- | FSub { }
- | Mul { }
- | FMul { }
- | UDiv { }
- | SDiv { }
- | FDiv { }
- | URem { }
- | SRem { }
- | FRem { }
- | Shl { }
- | LShr { }
- | AShr { }
- | And { }
- | Or { }
- | Xor { }
- | Alloca { }
- | Load { }
- | Store { }
- | GetElementPtr { }
- | Fence { }
- | CmpXchg { }
- | AtomicRMW { }
- | Trunc { }
- | ZExt { }
- | SExt { }
- | FPToUI { }
- | FPToSI { }
- | UIToFP { }
- | SIToFP { }
- | FPTrunc { }
- | FPExt { }
- | PtrToInt { }
- | IntToPtr { }
- | BitCast { }
- | ICmp { }
- | FCmp { }
- | Phi {
- type' :: Type
- incomingValues :: [(Operand, Name)]
- metadata :: InstructionMetadata
- | Call { }
- | Select { }
- | VAArg { }
- | ExtractElement { }
- | InsertElement { }
- | ShuffleVector { }
- | ExtractValue { }
- | InsertValue { }
- | LandingPad { }
- data Named a
Documentation
type InstructionMetadata = [(String, MetadataNode)]
http://llvm.org/docs/LangRef.html#metadata-nodes-and-metadata-strings Metadata can be attached to an instruction
data Terminator
Constructors
| Ret | |
Fields | |
| CondBr | |
| Br | |
Fields
| |
| Switch | |
Fields
| |
| IndirectBr | |
Fields
| |
| Invoke | |
Fields | |
| Resume | |
Fields | |
| Unreachable | |
Fields | |
Instances
data MemoryOrdering
http://llvm.org/docs/LangRef.html#atomic-memory-ordering-constraints http://llvm.org/docs/Atomics.html
Constructors
| Unordered | |
| Monotonic | |
| Acquire | |
| Release | |
| AcquireRelease | |
| SequentiallyConsistent |
data Atomicity
An Atomicity describes constraints on the visibility of effects of an atomic instruction
Constructors
| Atomicity | |
data LandingPadClause
For the redoubtably complex LandingPad instruction
data Instruction
non-terminator instructions: http://llvm.org/docs/LangRef.html#binaryops http://llvm.org/docs/LangRef.html#bitwiseops http://llvm.org/docs/LangRef.html#memoryops http://llvm.org/docs/LangRef.html#otherops
Constructors
| Add | |
| FAdd | |
| Sub | |
| FSub | |
| Mul | |
| FMul | |
| UDiv | |
| SDiv | |
| FDiv | |
| URem | |
| SRem | |
| FRem | |
| Shl | |
| LShr | |
| AShr | |
| And | |
| Or | |
| Xor | |
| Alloca | |
Fields | |
| Load | |
| Store | |
| GetElementPtr | |
| Fence | |
Fields | |
| CmpXchg | |
| AtomicRMW | |
Fields
| |
| Trunc | |
| ZExt | |
| SExt | |
| FPToUI | |
| FPToSI | |
| UIToFP | |
| SIToFP | |
| FPTrunc | |
| FPExt | |
| PtrToInt | |
| IntToPtr | |
| BitCast | |
| ICmp | |
Fields | |
| FCmp | |
Fields | |
| Phi | |
Fields
| |
| Call | |
Fields | |
| Select | |
Fields | |
| VAArg | |
| ExtractElement | |
| InsertElement | |
| ShuffleVector | |
| ExtractValue | |
| InsertValue | |
| LandingPad | |
Fields
| |
Instances