projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
[OCaml] Expose Llvm.get_operand_use.
[oota-llvm.git]
/
bindings
/
ocaml
/
llvm
/
llvm.mli
diff --git
a/bindings/ocaml/llvm/llvm.mli
b/bindings/ocaml/llvm/llvm.mli
index adb87ef1170a92ec21ced43b5a6acb920b8d435c..9f34defda3da9178beab53c4d8b4cd3be09555ee 100644
(file)
--- a/
bindings/ocaml/llvm/llvm.mli
+++ b/
bindings/ocaml/llvm/llvm.mli
@@
-720,6
+720,11
@@
val fold_right_uses : (lluse -> 'a -> 'a) -> llvalue -> 'a -> 'a
method [llvm::User::getOperand]. *)
val operand : llvalue -> int -> llvalue
method [llvm::User::getOperand]. *)
val operand : llvalue -> int -> llvalue
+(** [operand_use v i] returns the use of the operand at index [i] for the value [v]. See the
+ method [llvm::User::getOperandUse]. *)
+val operand_use : llvalue -> int -> lluse
+
+
(** [set_operand v i o] sets the operand of the value [v] at the index [i] to
the value [o].
See the method [llvm::User::setOperand]. *)
(** [set_operand v i o] sets the operand of the value [v] at the index [i] to
the value [o].
See the method [llvm::User::setOperand]. *)