summaryrefslogtreecommitdiff
path: root/compiler/vectorise/Vectorise/Builtins.hs
blob: 7fe5b2cecc549cbc685cfa2600ea797227597be0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
-- Types and functions declared in 'Data.Array.Parallel.Prim' and used by the vectoriser.
--
-- The @Builtins@ structure holds the name of all the things in 'Data.Array.Parallel.Prim' that
-- appear in code generated by the vectoriser.

module Vectorise.Builtins (
  -- * Restrictions
  mAX_DPH_SCALAR_ARGS,

  -- * Builtins
  Builtins(..),

  -- * Wrapped selectors
  selTy, selsTy,
  selReplicate,
  selTags,
  selElements,
  selsLength,
  sumTyCon,
  prodTyCon,
  prodDataCon,
  replicatePD_PrimVar,
  emptyPD_PrimVar,
  packByTagPD_PrimVar,
  combinePDVar,
  combinePD_PrimVar,
  scalarZip,
  closureCtrFun,

  -- * Initialisation
  initBuiltins, initBuiltinVars,
) where

import Vectorise.Builtins.Base
import Vectorise.Builtins.Initialise