llvm-tutor
expr-ir
llvm-tutor | expr-ir | |
---|---|---|
1 | 1 | |
2,716 | 2 | |
- | - | |
6.4 | 0.0 | |
8 days ago | about 3 years ago | |
C++ | C++ | |
MIT License | - |
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
llvm-tutor
-
What's your salary?
If you want a quick example of something you can do for educational purposes (but would be totally worthless for reality) I'd say go to llvm and implement your own instcombine pass. Follow this tutorial to learn the basics.
expr-ir
-
Looking for guidance on understanding/using LLVM C API
https://github.com/farzonl/expr-ir I did a tutorial sometime ago the blog post is unfortunately gone now and doesn’t look to be preserved by archive.org, but the code should be easy enough to follow.
What are some alternatives?
remill - Library for lifting machine code to LLVM bitcode
mewa - Compiler-compiler for writing compiler frontends with Lua
clang-tutor - A collection of out-of-tree Clang plugins for teaching and learning
cone - Cone Programming Language
alive2 - Automatic verification of LLVM optimizations
hellscape - GIMPLE obfuscator for C, C++, Go, ... all supported GCC targets and front-ends that use GIMPLE.
mcsema - Framework for lifting x86, amd64, aarch64, sparc32, and sparc64 program binaries to LLVM bitcode
booleval - Header-only C++17 library for evaluating logical expressions.
mcc - MicroC example compiler for Stephen Edward's PLT class, but in Haskell
c3c - Compiler for the C3 language
buildit - Online demo without installing at - https://buildit.so/tryit