The llvm-extra package
The Low-Level Virtual-Machine is a compiler back-end with optimizer. You may also call it a high-level portable assembler. This package provides various utility functions for the Haskell interface to LLVM, for example:
arithmetic operations with better type inference than the llvm interface in LLVM.Extra.Arithmetic,
a type class for loading and storing sets of values with one command (macro) in LLVM.Extra.Representation,
support instance declarations of LLVM classes in LLVM.Extra.Class,
handling of termination by a custom monad on top of CodeGenFunction in LLVM.Extra.MaybeContinuation
various kinds of loops (while) and condition structures (if-then-else) in LLVM.Extra.Control
automatic adaption to target specific extensions, currently used for access of vector operations that are specific to an SSE level on x86 processors in LLVM.Extra.Extension (On x86 architectures we depend on the cpuid package that is needed for automatic detection of available features.)
advanced vector operations such as sum of all vector elements, cumulative sum, floor, non-negative fraction, absolute value in LLVM.Extra.Vector
type classes for handling scalar and vector operations in a uniform way in LLVM.Extra.ScalarOrVector
a Makefile and a description of how to run LLVM code from within GHCi.
Properties
| Versions | 0.1, 0.2, 0.2.0.1, 0.2.0.2, 0.3, 0.3.0.1, 0.4.1 |
|---|---|
| Dependencies | base (≥3 & <5), containers (≥0.1 & <0.4), llvm-ht (0.7.0.*), transformers (≥0.1.1 & <0.3), type-level (≥0.2.3 & <0.3), utility-ht (≥0.0.1 & <0.1) |
| License | BSD3 |
| Author | Henning Thielemann <haskell@henning-thielemann.de> |
| Maintainer | Henning Thielemann <haskell@henning-thielemann.de> |
| Stability | Experimental |
| Category | Compilers/Interpreters, Code Generation |
| Home page | http://code.haskell.org/~thielema/llvm-extra/ |
| Executables | tone-llvm |
| Upload date | Tue Sep 21 15:21:04 UTC 2010 |
| Uploaded by | HenningThielemann |
| Built on | ghc-6.12 |
| Build failure | ghc-7.0 (log) |
Modules
Downloads
- llvm-extra-0.1.tar.gz (Cabal source package)
- package description (included in the package)