llvm-general-pure-3.3.8.2: Pure Haskell LLVM functionality (no FFI).

Safe HaskellSafe-Inferred

LLVM.General.AST.Instruction

Description

Synopsis

Documentation

data Atomicity

An Atomicity describes constraints on the visibility of effects of an atomic instruction

data Instruction

Constructors

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 
Call 
Select 
VAArg 
ExtractElement 
InsertElement 
ShuffleVector 
ExtractValue 
InsertValue 
LandingPad 

data Named a

Instances of instructions may be given a name, allowing their results to be referenced as Operands. Sometimes instructions - e.g. a call to a function returning void - don't need names.

Constructors

Name := a 
Do a 

Instances

Eq a => Eq (Named a) 
Read a => Read (Named a) 
Show a => Show (Named a) 
PrettyShow a0 => PrettyShow (Named a0)