diff options
author | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2010-02-28 09:46:16 +0000 |
---|---|---|
committer | Erick Tryzelaar <idadesub@users.sourceforge.net> | 2010-02-28 09:46:16 +0000 |
commit | 68bab9833db8d524398f7feee1ce4bda9df320ab (patch) | |
tree | bde64407b1be5dd6cdeb03490a9614dedbda2e53 /bindings/ocaml/llvm/llvm.mli | |
parent | 8e130b1d0d53346e05d0a1161a52c6d62de163c4 (diff) | |
download | llvm-68bab9833db8d524398f7feee1ce4bda9df320ab.tar.gz llvm-68bab9833db8d524398f7feee1ce4bda9df320ab.tar.bz2 llvm-68bab9833db8d524398f7feee1ce4bda9df320ab.tar.xz |
Add replace_all_uses_with to ocaml.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97378 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'bindings/ocaml/llvm/llvm.mli')
-rw-r--r-- | bindings/ocaml/llvm/llvm.mli | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/bindings/ocaml/llvm/llvm.mli b/bindings/ocaml/llvm/llvm.mli index 48c6ccd648..06ffed52cf 100644 --- a/bindings/ocaml/llvm/llvm.mli +++ b/bindings/ocaml/llvm/llvm.mli @@ -502,6 +502,11 @@ external set_value_name : string -> llvalue -> unit = "llvm_set_value_name" error. See the method [llvm::Value::dump]. *) external dump_value : llvalue -> unit = "llvm_dump_value" +(** [replace_all_uses_with old new] replaces all uses of the value [old] + * with the value [new]. See the method [llvm::Value::replaceAllUsesWith]. *) +external replace_all_uses_with : llvalue -> llvalue -> unit + = "LLVMReplaceAllUsesWith" + (** {7 Operations on constants of (mostly) any type} *) |