This is a collection of pages that contains information I have picked up as I started hacking on llvm. Please let me know if there is information here that is unclear or just plain wrong. Also, if you are an experienced llvm hacker and have gotten here, please let me know if there are things I am suggesting that are contrary to llvm standards.
In all these pages, LLVMBASE
points to the directory that llvm is
checked out to. I use bash
as my shell.
- Initial install and setup
- Adding architecture specific annotations/intrinsics
- Adding an annotation that gets to the backend
- How to create a Type* from an llvm type description
Other stuff you might need.
Things for which I am still looking for answers: