summaryrefslogtreecommitdiff
path: root/compiler/vectorise/Vectorise/Utils.hs
Commit message (Collapse)AuthorAgeFilesLines
* Rewrote vectorisation avoidance (based on the HS paper)Manuel M T Chakravarty2012-12-051-9/+18
| | | | | | | * Vectorisation avoidance is now the default * Types and values from unvectorised modules are permitted in scalar code * Simplified the VECTORISE pragmas (see http://hackage.haskell.org/trac/ghc/wiki/DataParallel/VectPragma for the spec) * Vectorisation information is now included in the annotated Core AST
* Special case dictionary abstraction and application during vectorisationManuel M T Chakravarty2011-11-171-3/+16
|
* Vectoriser gets all DPH library identifiers from Data.Array.Parallel.PrimManuel M T Chakravarty2011-10-251-22/+22
| | | | | | * No more use of hardcoded original names * Initialisation of the desugarer monad loads 'Data.Array.Parallel.Prim' if -fdph-* given * Initialisation of the vectoriser gets all built-in names from there
* Improve import and export of vectorisation informationManuel M T Chakravarty2011-08-191-48/+26
|
* This BIG PATCH contains most of the work for the New Coercion RepresentationSimon Peyton Jones2011-04-191-2/+1
| | | | | | | | | | | | | | See the paper "Practical aspects of evidence based compilation in System FC" * Coercion becomes a data type, distinct from Type * Coercions become value-level things, rather than type-level things, (although the value is zero bits wide, like the State token) A consequence is that a coerion abstraction increases the arity by 1 (just like a dictionary abstraction) * There is a new constructor in CoreExpr, namely Coercion, to inject coercions into terms
* Fix vectorisation of recursive typesRoman Leshchinskiy2011-01-261-2/+0
|
* vectoriser: adapt to new superclass story part I (dictionary construction)Roman Leshchinskiy2010-12-181-2/+2
|
* vectoriser: comments onlyBen Lippmeier2010-11-251-7/+44
|
* Super-monster patch implementing the new typechecker -- at lastsimonpj@microsoft.com2010-09-131-1/+1
| | | | | | | | | This major patch implements the new OutsideIn constraint solving algorithm in the typecheker, following our JFP paper "Modular type inference with local assumptions". Done with major help from Dimitrios Vytiniotis and Brent Yorgey.
* Finish breaking up vectoriser utilsbenl@ouroborus.net2010-09-091-0/+131