X-Git-Url: http://plrg.eecs.uci.edu/git/?p=oota-llvm.git;a=blobdiff_plain;f=bindings%2Focaml%2Fllvm%2Fllvm.mli;h=54d070fb04316fe076c1c4fd5e37c4d8700c517b;hp=9f34defda3da9178beab53c4d8b4cd3be09555ee;hb=46b94aa80e924feed914bb64d822e12770f6a17f;hpb=cb76f395d7ab8e872ce20c7585260c42f740e794;ds=sidebyside diff --git a/bindings/ocaml/llvm/llvm.mli b/bindings/ocaml/llvm/llvm.mli index 9f34defda3d..54d070fb043 100644 --- a/bindings/ocaml/llvm/llvm.mli +++ b/bindings/ocaml/llvm/llvm.mli @@ -1699,6 +1699,11 @@ val instr_opcode : llvalue -> Opcode.t instruction [i]. *) val icmp_predicate : llvalue -> Icmp.t option +(** [inst_clone i] returns a copy of instruction [i], + The instruction has no parent, and no name. + See the method [llvm::Instruction::clone]. *) +val instr_clone : llvalue -> llvalue + (** {7 Operations on call sites} *)