Difference between revisions of "LLVM"
From HaskellWiki
(llvm-extra, synthesizer-llvm) |
(updated to year 2020) |
||
Line 7: | Line 7: | ||
It is implemented on many platforms, amongst others the [http://www.ipodobserver.com/story/30184 iPhone]. | It is implemented on many platforms, amongst others the [http://www.ipodobserver.com/story/30184 iPhone]. | ||
− | You can use this from a Haskell program using | + | You can use this from a Haskell program using essentially two bindings: |
− | + | ||
− | * | + | A strongly typed interface that is mainly intended to accelerate your Haskell programs with low-level code: |
− | * a [http:// | + | * {{HackagePackage|id=llvm-tf}}, {{HackagePackage|id=llvm-ffi}} |
− | + | * a [http://hub.darcs.net/thielema/llvm-ffi/ darcs repository], | |
* a [http://augustss.blogspot.com/2009/01/llvm-llvm-low-level-virtual-machine-is.html blog article] with examples, | * a [http://augustss.blogspot.com/2009/01/llvm-llvm-low-level-virtual-machine-is.html blog article] with examples, | ||
* the article "[http://augustss.blogspot.com/2009/01/performance-update-ive-continued.html A performance update]" that describes, how LLVM can improve performance | * the article "[http://augustss.blogspot.com/2009/01/performance-update-ive-continued.html A performance update]" that describes, how LLVM can improve performance | ||
+ | * {{HackagePackage|id=llvm-extra}} provides high-level control structures (<hask>ifThenElse</hask>, <hask>whileLoop</hask>, <hask>Maybe</hask>), vector instructions, automatic adaption to target specific extensions | ||
+ | * {{HackagePackage|id=knead}} provides array processing similar to {{HackagePackage|id=accelerate}} | ||
+ | * Example applications: | ||
+ | - {{HackagePackage|id=synthesizer-llvm}} provides efficient signal processing using vector instructions, including a live [[Synthesizer|software synthesizer]] | ||
+ | - {{HackagePackage|id=patch-image}} constructs a big image from overlapping parts | ||
− | + | An untyped interface mainly intended to write compilers and analyse LLVM bitcode: | |
− | + | * {{HackagePackage|id=llvm-hs}} | |
− | |||
− | |||
− | * | ||
[[Category:Packages]] | [[Category:Packages]] | ||
[[Category:Performance]] | [[Category:Performance]] | ||
[[Category:Compiler tools]] | [[Category:Compiler tools]] |
Revision as of 10:11, 2 October 2020
LLVM is an abbreviation of "Low Level Virtual Machine"; LLVM is:
- A compilation strategy
- A virtual instruction set
- A compiler infrastructure
It is developed by the University of Illinois. It is implemented on many platforms, amongst others the iPhone.
You can use this from a Haskell program using essentially two bindings:
A strongly typed interface that is mainly intended to accelerate your Haskell programs with low-level code:
- llvm-tf, llvm-ffi
- a darcs repository,
- a blog article with examples,
- the article "A performance update" that describes, how LLVM can improve performance
- llvm-extra provides high-level control structures (
ifThenElse
,whileLoop
,Maybe
), vector instructions, automatic adaption to target specific extensions - knead provides array processing similar to accelerate
- Example applications:
- synthesizer-llvm provides efficient signal processing using vector instructions, including a live software synthesizer - patch-image constructs a big image from overlapping parts
An untyped interface mainly intended to write compilers and analyse LLVM bitcode: