Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nael8r/How-To-Write-An-LLVM-Register-Allocator
This repository contains a tutorial for a quick start in how to write a register allocator using LLVM
https://github.com/nael8r/How-To-Write-An-LLVM-Register-Allocator
c-plus-plus llvm register-allocation tutorial
Last synced: 2 months ago
JSON representation
This repository contains a tutorial for a quick start in how to write a register allocator using LLVM
- Host: GitHub
- URL: https://github.com/nael8r/How-To-Write-An-LLVM-Register-Allocator
- Owner: nael8r
- Created: 2016-02-05T23:16:06.000Z (over 8 years ago)
- Default Branch: master
- Last Pushed: 2019-02-21T20:20:25.000Z (over 5 years ago)
- Last Synced: 2024-06-12T16:29:26.407Z (4 months ago)
- Topics: c-plus-plus, llvm, register-allocation, tutorial
- Language: Python
- Homepage:
- Size: 16.6 KB
- Stars: 257
- Watchers: 15
- Forks: 26
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# How-To-Write-An-LLVM-Register-Allocator
This repository contains a tutorial for a quick start in how to write a register allocator using LLVMThis tutorial shows how to write a register allocator using the LLVM infrastructure, extending the `RegAllocBase` interface.
The tutorial have been writen using reStructuredText with the `sphinx` tool, the recommendations of the LLVM project have been followed (http://www.llvm.org/docs/SphinxQuickstartTemplate.html).
This content is based in my understanding of the LLVM infrastructure, which I have learned while I was working on my undergraduate thesis on the institute IFMG - campus Formiga - MG, Brazil; so if you have any suggestion, please let me know.
## Build
You can build with a variated number of output formats, please refer to the `sphinx` documentation (http://www.sphinx-doc.org/en/stable/contents.html) for instructions of installation and setup.
An example of building for PDF outuput:
make latexpdf