shady-gen-0.5.1: Functional GPU programming - DSEL & compiler

Stabilityexperimental
Maintainerconal@conal.net

Shady.Language.Cse

Description

Common subexpression elimination.

TODO: Improve variable names (now "x8" etc).

Synopsis

Documentation

cse :: HasType a => E a -> E aSource

Common subexpression elimination. Use with care, since it breaks referential transparency on the representation of expressions, but not on their meaning.