[llvm-commits] [PATCH] Expose scalar transforms to the c and ocaml bindings.

Erick Tryzelaar idadesub at users.sourceforge.net
Mon Mar 10 23:42:21 PDT 2008


This tweaks my last patch to incorporate the changes from the
latest Pass and PassManager patch. It's also added some
extra documentation. I've also renamed ScalarBindings.cpp
to Scalar.cpp to be similar to Core.cpp.
---
 bindings/ocaml/Makefile                            |    2 +-
 bindings/ocaml/transforms/Makefile                 |   13 +++++
 bindings/ocaml/transforms/scalar/Makefile          |   20 ++++++++
 .../ocaml/transforms/scalar/llvm_scalar_opts.ml    |   18 ++++++++
 .../ocaml/transforms/scalar/llvm_scalar_opts.mli   |   32 +++++++++++++
 include/llvm-c/Transforms/Scalar.h                 |   47 ++++++++++++++++++++
 lib/Transforms/Scalar/Scalar.cpp                   |   36 +++++++++++++++
 7 files changed, 167 insertions(+), 1 deletions(-)
 create mode 100644 bindings/ocaml/transforms/Makefile
 create mode 100644 bindings/ocaml/transforms/scalar/Makefile
 create mode 100644 bindings/ocaml/transforms/scalar/llvm_scalar_opts.ml
 create mode 100644 bindings/ocaml/transforms/scalar/llvm_scalar_opts.mli
 create mode 100644 include/llvm-c/Transforms/Scalar.h
 create mode 100644 lib/Transforms/Scalar/Scalar.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: c0a8df3b8bb463f3c2fa431dc7358e0f7ac2b481.diff
Type: text/x-patch
Size: 8476 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20080310/f2168831/attachment.bin>


More information about the llvm-commits mailing list