cse-ghc-plugin: Compiler plugin for common subexpression elimination

[ bsd3, compiler-plugin, library ] [ Propose Tags ] [ Report a vulnerability ]

This library is a conversion of GHC's internal Common Subexpression Elimination pass for Core to a compiler plugin. See the included test for an example of how to enable it.


[Skip to Readme]

Modules

[Index]

Downloads

Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees

Candidates

  • No Candidates
Versions [RSS] 0.1.1
Dependencies base (<5), ghc (>=7.4) [details]
Tested with ghc ==7.4.1
License BSD-3-Clause
Copyright Copyright (c) the GHC authors
Author The GHC authors
Maintainer Austin Seipp <mad.one@gmail.com>
Category Compiler Plugin
Home page http://thoughtpolice.github.com/cse-ghc-plugin
Bug tracker http://github.com/thoughtpolice/cse-ghc-plugin/issues
Source repo head: git clone https://github.com/thoughtpolice/cse-ghc-plugin.git
Uploaded by AustinSeipp at 2012-08-08T01:33:58Z
Distributions
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1339 total (1 in the last 30 days)
Rating (no votes yet) [estimated by Bayesian average]
Your Rating
  • λ
  • λ
  • λ
Status Docs uploaded by user
Build status unknown [no reports yet]

Readme for cse-ghc-plugin-0.1.1

[back to package description]

GHC plugin for Common Subexpression Elimination (CSE)

This plugin gives an example of defining a compiler plugin for GHC. The implementation of this optimization is ripped directly from GHC itself.

travis-ci.org results: Build Status

Homepage.

Installation

Install the latest version of the plugin from Hackage (requires GHC 7.4.1):

$ cabal install cse-ghc-plugin

Join in

File bugs in the GitHub issue tracker.

Master git repository:

  • git clone https://github.com/thoughtpolice/cse-ghc-plugin.git

There's also a BitBucket mirror:

  • git clone https://bitbucket.org/thoughtpolice/cse-ghc-plugin.git

Authors

See AUTHORS.txt.

License

BSD3. See LICENSE.txt for terms of copyright and redistribution.