| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
CodeGen.LLVMIR
Documentation
Constructors
| Function | |
Fields
| |
data BasicBlock Source #
Constructors
| BasicBlock | |
Fields
| |
Instances
| Show BasicBlock Source # | |
Defined in CodeGen.LLVMIR Methods showsPrec :: Int -> BasicBlock -> ShowS # show :: BasicBlock -> String # showList :: [BasicBlock] -> ShowS # | |
Instances
| Generic Var Source # | |
| Show Var Source # | |
| type Rep Var Source # | |
Defined in CodeGen.LLVMIR type Rep Var = D1 ('MetaData "Var" "CodeGen.LLVMIR" "decaf-0.1.0.0-GF5ZfPyXbr16gB58O7mLnT" 'False) (C1 ('MetaCons "Var" 'PrefixI 'True) (S1 ('MetaSel ('Just "id") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 VID) :*: (S1 ('MetaSel ('Just "tpe") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Type) :*: S1 ('MetaSel ('Just "loc") 'NoSourceUnpackedness 'SourceStrict 'DecidedStrict) (Rec0 Range)))) | |
valueWithType :: Format r (Value -> r) Source #
Instances
data Instruction Source #
Constructors
| Terminator !TermInst | |
| Binary !BinaryInst | |
| BitBinary !BitwiseBinaryInst | |
| MemAccess !MemAccInst | |
| ICmp !Var !CondCodes !Type !Value !Value | |
| Assignment !Var !Value | |
| Phi !Var !Type ![(Var, Label)] | |
| Call !Var !Type !Name ![Value] |
Instances
| Show Instruction Source # | |
Defined in CodeGen.LLVMIR Methods showsPrec :: Int -> Instruction -> ShowS # show :: Instruction -> String # showList :: [Instruction] -> ShowS # | |
data BinaryInst Source #
Constructors
| Add !Var !Type !Value !Value | |
| Sub !Var !Type !Value !Value | |
| Mul !Var !Type !Value !Value | |
| SDiv !Var !Type !Value !Value |
Instances
| Show BinaryInst Source # | |
Defined in CodeGen.LLVMIR Methods showsPrec :: Int -> BinaryInst -> ShowS # show :: BinaryInst -> String # showList :: [BinaryInst] -> ShowS # | |
data BitwiseBinaryInst Source #
Instances
| Show BitwiseBinaryInst Source # | |
Defined in CodeGen.LLVMIR Methods showsPrec :: Int -> BitwiseBinaryInst -> ShowS # show :: BitwiseBinaryInst -> String # showList :: [BitwiseBinaryInst] -> ShowS # | |
data MemAccInst Source #
Constructors
| Alloca !Var !Type !Int64 | |
| Load !Var !Type !Value | |
| Store !Type !Value !Value | |
| StoreVec !Type ![(Type, Value)] !Value |
Instances
| Show MemAccInst Source # | |
Defined in CodeGen.LLVMIR Methods showsPrec :: Int -> MemAccInst -> ShowS # show :: MemAccInst -> String # showList :: [MemAccInst] -> ShowS # | |