[llvm-commits] [PATCH] Expose Pass and PassManager classes to c and ocaml bindings.
Erick Tryzelaar
idadesub at users.sourceforge.net
Mon Mar 10 01:18:02 PDT 2008
This is groundwork to exposing the llvm transformations to the
bindings. It only partially implements the pass api.
---
bindings/ocaml/llvm/llvm.ml | 42 ++++++++++++++++
bindings/ocaml/llvm/llvm.mli | 48 +++++++++++++++++++
bindings/ocaml/llvm/llvm_ocaml.c | 77 ++++++++++++++++++++++++++++++
include/llvm-c/Pass.h | 56 ++++++++++++++++++++++
include/llvm-c/PassManager.h | 91 ++++++++++++++++++++++++++++++++++++
lib/VMCore/PassBindings.cpp | 25 ++++++++++
lib/VMCore/PassManagerBindings.cpp | 61 ++++++++++++++++++++++++
7 files changed, 400 insertions(+), 0 deletions(-)
create mode 100644 include/llvm-c/Pass.h
create mode 100644 include/llvm-c/PassManager.h
create mode 100644 lib/VMCore/PassBindings.cpp
create mode 100644 lib/VMCore/PassManagerBindings.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 184c74520497a7c1ca73747b92d3b7d917afa917.diff
Type: text/x-patch
Size: 16523 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080310/092087c5/attachment.bin>
More information about the llvm-commits
mailing list