llvm.org GIT mirror llvm / 68bab98
Add replace_all_uses_with to ocaml. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@97378 91177308-0d34-0410-b5e6-96231b3b80d8 Erick Tryzelaar 9 years ago
2 changed file(s) with 7 addition(s) and 0 deletion(s). Raw diff Collapse all Expand all
236236 external value_name : llvalue -> string = "llvm_value_name"
237237 external set_value_name : string -> llvalue -> unit = "llvm_set_value_name"
238238 external dump_value : llvalue -> unit = "llvm_dump_value"
239 external replace_all_uses_with : llvalue -> llvalue -> unit
240 = "LLVMReplaceAllUsesWith"
239241
240242 (*--... Operations on constants of (mostly) any type .......................--*)
241243 external is_constant : llvalue -> bool = "llvm_is_constant"
500500 (** [dump_value v] prints the .ll representation of the value [v] to standard
501501 error. See the method [llvm::Value::dump]. *)
502502 external dump_value : llvalue -> unit = "llvm_dump_value"
503
504 (** [replace_all_uses_with old new] replaces all uses of the value [old]
505 * with the value [new]. See the method [llvm::Value::replaceAllUsesWith]. *)
506 external replace_all_uses_with : llvalue -> llvalue -> unit
507 = "LLVMReplaceAllUsesWith"
503508
504509
505510 (** {7 Operations on constants of (mostly) any type} *)