ghc-6.12.3: The GHC API
Source code
Contents
Index
VectUtils
Documentation
collectAnnTypeBinders
::
AnnExpr
Var
ann -> ([
Var
],
AnnExpr
Var
ann)
Source
collectAnnTypeArgs
::
AnnExpr
b ann -> (
AnnExpr
b ann, [
Type
])
Source
isAnnTypeArg
::
AnnExpr
b ann ->
Bool
Source
collectAnnValBinders
::
AnnExpr
Var
ann -> ([
Var
],
AnnExpr
Var
ann)
Source
dataConTagZ
::
DataCon
->
Int
Source
mkDataConTag
::
DataCon
->
CoreExpr
Source
mkDataConTagLit
::
DataCon
->
Literal
Source
newLocalVVar
::
FastString
->
Type
->
VM
VVar
Source
mkBuiltinCo
:: (
Builtins
->
TyCon
) ->
VM
Coercion
Source
voidType
::
VM
Type
Source
mkPADictType
::
Type
->
VM
Type
Source
mkPArrayType
::
Type
->
VM
Type
Source
mkPDataType
::
Type
->
VM
Type
Source
mkPReprType
::
Type
->
VM
Type
Source
mkPArray
::
Type
->
CoreExpr
->
CoreExpr
->
VM
CoreExpr
Source
pdataReprTyCon
::
Type
->
VM
(
TyCon
, [
Type
])
Source
pdataReprDataCon
::
Type
->
VM
(
DataCon
, [
Type
])
Source
mkVScrut
::
VExpr
->
VM
(
CoreExpr
,
CoreExpr
,
TyCon
, [
Type
])
Source
prDFunOfTyCon
::
TyCon
->
VM
CoreExpr
Source
paDictArgType
::
TyVar
->
VM
(
Maybe
Type
)
Source
paDictOfType
::
Type
->
VM
CoreExpr
Source
paDFunType
::
TyCon
->
VM
Type
Source
paMethod
:: (
Builtins
->
Var
) ->
String
->
Type
->
VM
CoreExpr
Source
mkPR
::
Type
->
VM
CoreExpr
Source
replicatePD
::
CoreExpr
->
CoreExpr
->
VM
CoreExpr
Source
emptyPD
::
Type
->
VM
CoreExpr
Source
packPD
::
Type
->
CoreExpr
->
CoreExpr
->
CoreExpr
->
VM
CoreExpr
Source
combinePD
::
Type
->
CoreExpr
->
CoreExpr
-> [
CoreExpr
] ->
VM
CoreExpr
Source
liftPD
::
CoreExpr
->
VM
CoreExpr
Source
zipScalars
:: [
Type
] ->
Type
->
VM
CoreExpr
Source
scalarClosure
:: [
Type
] ->
Type
->
CoreExpr
->
CoreExpr
->
VM
CoreExpr
Source
polyAbstract
:: [
TyVar
] -> ((
CoreExpr
->
CoreExpr
) ->
VM
a) ->
VM
a
Source
polyApply
::
CoreExpr
-> [
Type
] ->
VM
CoreExpr
Source
polyVApply
::
VExpr
-> [
Type
] ->
VM
VExpr
Source
hoistBinding
::
Var
->
CoreExpr
->
VM
()
Source
hoistExpr
::
FastString
->
CoreExpr
->
VM
Var
Source
hoistPolyVExpr
:: [
TyVar
] ->
VM
VExpr
->
VM
VExpr
Source
takeHoisted
::
VM
[(
Var
,
CoreExpr
)]
Source
buildClosure
:: [
TyVar
] -> [
VVar
] ->
Type
->
Type
->
VM
VExpr
->
VM
VExpr
Source
buildClosures
:: [
TyVar
] -> [
VVar
] -> [
Type
] ->
Type
->
VM
VExpr
->
VM
VExpr
Source
mkClosureApp
::
Type
->
Type
->
VExpr
->
VExpr
->
VM
VExpr
Source
Produced by
Haddock
version 2.6.1