ghc-7.6.3: The GHC API

Safe HaskellNone

Vectorise.Builtins.Base

Contents

Description

Builtin types and functions used by the vectoriser. These are all defined in Prim.

Synopsis

Hard config

Builtins

data Builtins Source

Holds the names of the types and functions from Prim that are used by the vectoriser.

Constructors

Builtins 

Fields

pdataTyCon :: TyCon

PData

pdatasTyCon :: TyCon

PDatas

prClass :: Class

PR

prTyCon :: TyCon

PR

preprTyCon :: TyCon

PRepr

paClass :: Class

PA

paTyCon :: TyCon

PA

paDataCon :: DataCon

PA

paPRSel :: Var

PA

replicatePDVar :: Var

replicatePD

replicatePD_PrimVars :: NameEnv Var

replicatePD_Int# etc.

emptyPDVar :: Var

emptyPD

emptyPD_PrimVars :: NameEnv Var

emptyPD_Int# etc.

packByTagPDVar :: Var

packByTagPD

packByTagPD_PrimVars :: NameEnv Var

packByTagPD_Int# etc.

combinePDVars :: Array Int Var

combinePD

combinePD_PrimVarss :: Array Int (NameEnv Var)

combine2PD_Int# etc.

scalarClass :: Class

Scalar

scalarZips :: Array Int Var

map, zipWith, zipWith3

voidTyCon :: TyCon

Void

voidVar :: Var

void

fromVoidVar :: Var

fromVoid

sumTyCons :: Array Int TyCon

Sum2 .. Sum3

wrapTyCon :: TyCon

Wrap

pvoidVar :: Var

pvoid

pvoidsVar :: Var

pvoids

closureTyCon :: TyCon

:->

closureVar :: Var

closure

liftedClosureVar :: Var

liftedClosure

applyVar :: Var

$:

liftedApplyVar :: Var

liftedApply

closureCtrFuns :: Array Int Var

closure1 .. closure3

selTys :: Array Int Type

Sel2

selsTys :: Array Int Type

Sels2

selsLengths :: Array Int CoreExpr

lengthSels2

selReplicates :: Array Int CoreExpr

replicate2

selTagss :: Array Int CoreExpr

tagsSel2

selElementss :: Array (Int, Int) CoreExpr

elementsSel2_0 .. elementsSel_2_1

liftingContext :: Var

lc

Projections