All Projects → Drup → llvmgraph

Drup / llvmgraph

Licence: MIT License
Ocamlgraph overlay for llvm

Programming Languages

ocaml
1615 projects
shell
77523 projects
Makefile
30231 projects
c
50402 projects - #5 most used programming language

Projects that are alternatives of or similar to llvmgraph

jitmap
LLVM-jitted bitmaps
Stars: ✭ 25 (+25%)
Mutual labels:  llvm
hmg
💝 My personal Gentoo/Linux configuration backup files
Stars: ✭ 16 (-20%)
Mutual labels:  llvm
arch-packages
Arch Linux performance important packages
Stars: ✭ 27 (+35%)
Mutual labels:  llvm
lsif-clang
Language Server Indexing Format (LSIF) generator for C, C++ and Objective C
Stars: ✭ 28 (+40%)
Mutual labels:  llvm
ugo-compiler-book
📚 µGo语言实现(从头开发一个迷你Go语言编译器)[Go版本+Rust版本]
Stars: ✭ 996 (+4880%)
Mutual labels:  llvm
ts-llvm
TypeScript to LLVM compiler (abandoned)
Stars: ✭ 266 (+1230%)
Mutual labels:  llvm
chimera
🐍 A CLI tool for generating Boost.Python/pybind11 bindings from C/C++
Stars: ✭ 12 (-40%)
Mutual labels:  llvm
halo
😇 Wholly Adaptive LLVM Optimizer
Stars: ✭ 22 (+10%)
Mutual labels:  llvm
malgo
A statically typed functional programming language.
Stars: ✭ 37 (+85%)
Mutual labels:  llvm
lleaves
Compiler for LightGBM gradient-boosted trees, based on LLVM. Speeds up prediction by ≥10x.
Stars: ✭ 132 (+560%)
Mutual labels:  llvm
dmjit
.dmJIT is a Rust-based JIT compiler using modified auxtools, dmasm and Inkwell LLVM wrapper for boosting Byond DM performance without any hassle! (formerly known as dm-jitaux)
Stars: ✭ 18 (-10%)
Mutual labels:  llvm
wasm-toolchain
WebAssembly toolchain
Stars: ✭ 34 (+70%)
Mutual labels:  llvm
llvm-hs-typed
Type Safe LLVM IR ( Experimental )
Stars: ✭ 47 (+135%)
Mutual labels:  llvm
stack-guard
A toy implementation of 'Stack Guard' on top of the LLVM compiler toolchain
Stars: ✭ 21 (+5%)
Mutual labels:  llvm
llvm-statepoint-utils
Runtime support for LLVM's GC Statepoints
Stars: ✭ 35 (+75%)
Mutual labels:  llvm
clam
Static Analyzer for LLVM bitcode based on Abstract Interpretation
Stars: ✭ 180 (+800%)
Mutual labels:  llvm
IR2Vec
Implementation of IR2Vec, published in ACM TACO
Stars: ✭ 28 (+40%)
Mutual labels:  llvm
ionlang
🌌 Ion language compiler library, powered by LLVM
Stars: ✭ 13 (-35%)
Mutual labels:  llvm
cere
CERE: Codelet Extractor and REplayer
Stars: ✭ 27 (+35%)
Mutual labels:  llvm
nolimix86
LLVM-based x86 emulator with support for unlimited virtual registers, used before the register allocation pass
Stars: ✭ 19 (-5%)
Mutual labels:  llvm

llvmgraph Build Status

Ocamlgraph overlay for llvm

The overlay allows you to read and walk (but not write) the control flow graph of an llvm function using the same interface as an ocamlgraph. In particular, read-only ocamlgraph's algorithm can be applied.

It is also possible to use the Map functor and another graph structure to translate an llvm control flow graph to another graph.

All Ocamlgraph functors that work on read-only graph have been pre-applied, to ease usage of the library.

See the interface for more details.

Dependencies

Examples and How-to

The test folder may be consulted to find some interesting uses of this library. In particular, the colordot example is annotated with detailed explanations.

Here is the result on example.c: colordot.dot

Other examples are very welcome.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].