unroll-ghc-plugin: Compiler plugin for loop unrolling

[ bsd3, compiler-plugin, library ] [ Propose Tags ]

This plugin gives an example of defining a compiler plugin for GHC. It unrolls/peels loops loops that are properly annoted. See the included tests for examples.

[Skip to Readme]


Maintainer's Corner

Package maintainers

For package maintainers and hackage trustees


  • No Candidates
Versions [RSS] 0.1, 0.1.1
Dependencies base (<5), ghc (>=7.4) [details]
License BSD-3-Clause
Copyright Copyright (c) the GHC authors
Author Max Bolingbroke
Maintainer Austin Seipp <mad.one@gmail.com>
Category Compiler Plugin
Home page http://thoughtpolice.github.com/unroll-ghc-plugin
Bug tracker http://github.com/thoughtpolice/unroll-ghc-plugin/issues
Source repo head: git clone https://github.com/thoughtpolice/unroll-ghc-plugin.git
Uploaded by AustinSeipp at 2012-08-08T01:45:06Z
Reverse Dependencies 1 direct, 0 indirect [details]
Downloads 1812 total (7 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 unroll-ghc-plugin-0.1.1

[back to package description]

GHC plugin for loop unrolling

This plugin gives an example of defining a compiler plugin for GHC. You mark functions with annotations which the compiler the unrolls or peels to some threshold.

travis-ci.org results: Build Status



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

$ cabal install unroll-ghc-plugin

Join in

File bugs in the GitHub issue tracker.

Master git repository:

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

There's also a BitBucket mirror:

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


See AUTHORS.txt.


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