[llvm-commits] [PATCH] Add the rest of the C and Ocaml bindings to for the tutorial

Erick Tryzelaar idadesub at users.sourceforge.net
Tue Mar 18 13:39:40 PDT 2008


This is the last of the wrapped method calls in order to get the
kaleidoscope tutorials to work. In short, this patch adds some new passes,
and allows for the builder to be set at the start of a block.
---
 bindings/ocaml/llvm/llvm.ml                        |    3 +++
 bindings/ocaml/llvm/llvm.mli                       |   10 ++++++++++
 bindings/ocaml/llvm/llvm_ocaml.c                   |   13 +++++++++++++
 .../ocaml/transforms/scalar/llvm_scalar_opts.ml    |    5 +++++
 .../ocaml/transforms/scalar/llvm_scalar_opts.mli   |    9 +++++++++
 .../ocaml/transforms/scalar/scalar_opts_ocaml.c    |   12 ++++++++++++
 include/llvm-c/Core.h                              |    2 ++
 include/llvm-c/Transforms/Scalar.h                 |    6 ++++++
 lib/Transforms/Scalar/Scalar.cpp                   |    8 ++++++++
 lib/VMCore/Core.cpp                                |    5 +++++
 10 files changed, 73 insertions(+), 0 deletions(-)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 2351b99440e5e28c1772d8d6334a97d9e2648689.diff
Type: text/x-patch
Size: 9528 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080318/05a9cb92/attachment.bin>


More information about the llvm-commits mailing list