LLVM M.D.Source codeContentsIndex
MD.Syntax.Enum
MaintainerPaul Govereau <govereau@cs.harvard.edu>
Description
This module defines a number of enumerations that are used in our abstract syntax. We define these here because these data types will have some additional data and functions defined using basic meta-programming techniques.
Documentation
data Opr Source
Constructors
Bop BinOp
Cmp CmpOp
FCmp FCmpOp
show/hide Instances
Eq Opr
Ord Opr
Show Opr
data BinOp Source
Constructors
Add
FAdd
Sub
FSub
Mul
FMul
UDiv
SDiv
FDiv
URem
SRem
FRem
Shl
LShr
AShr
And
Or
Xor
show/hide Instances
Eq BinOp
Ord BinOp
Show BinOp
data CmpOp Source
Constructors
EQ
NE
UGT
UGE
ULT
ULE
SGT
SGE
SLT
SLE
show/hide Instances
Eq CmpOp
Ord CmpOp
Show CmpOp
data FCmpOp Source
Constructors
TRUE
FALSE
Oeq
Ogt
Oge
Olt
Ole
One
ORD
Ueq
Ugt
Uge
Ult
Ule
Une
Uno
show/hide Instances
Eq FCmpOp
Ord FCmpOp
Show FCmpOp
data ConvOp Source
Constructors
Trunc
ZExt
SExt
FPTrunc
FPExt
FPtoUI
FPtoSI
UItoFP
SItoFP
PtrtoInt
InttoPtr
Bitcast
show/hide Instances
Eq ConvOp
Ord ConvOp
Show ConvOp
data Linkage Source
Constructors
Private
Linkage_private
Internal
Available_externally
Linkonce
Weak
Common
Appending
Extern_weak
Linkonce_odr
Weak_odr
Dllimport
Dllexport
show/hide Instances
data Visibility Source
Constructors
Default
Hidden
Protected
show/hide Instances
data CConv Source
Constructors
CCC
FastCC
ColdCC
show/hide Instances
Eq CConv
Ord CConv
Show CConv
data Attr Source
Constructors
ZeroExt
SignExt
InReg
ByVal
SRet
NoAlias
NoCapture
Nest
show/hide Instances
Eq Attr
Ord Attr
Show Attr
attr_map :: [(Attr, String)]Source
cconv_map :: [(CConv, String)]Source
visibility_map :: [(Visibility, String)]Source
linkage_map :: [(Linkage, String)]Source
binop_map :: [(BinOp, String)]Source
fcmpop_map :: [(FCmpOp, String)]Source
cmpop_map :: [(CmpOp, String)]Source
convop_map :: [(ConvOp, String)]Source
Produced by Haddock version 2.6.0