llvm.org GIT mirror llvm / 17fa14f
[TI removal] Remove TerminatorInst references from bindings. For the Go bindings, this just removes the no longer useful "isa"-style wrapper. If there is a user that is interested, they can add a wrapper for `Instruction::isTerminator`. For the OCaml bindings, this is just a documentation update. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@344726 91177308-0d34-0410-b5e6-96231b3b80d8 Chandler Carruth 9 months ago
2 changed file(s) with 3 addition(s) and 4 deletion(s). Raw diff Collapse all Expand all
738738 func (v Value) IsASelectInst() (rv Value) { rv.C = C.LLVMIsASelectInst(v.C); return }
739739 func (v Value) IsAShuffleVectorInst() (rv Value) { rv.C = C.LLVMIsAShuffleVectorInst(v.C); return }
740740 func (v Value) IsAStoreInst() (rv Value) { rv.C = C.LLVMIsAStoreInst(v.C); return }
741 func (v Value) IsATerminatorInst() (rv Value) { rv.C = C.LLVMIsATerminatorInst(v.C); return }
742741 func (v Value) IsABranchInst() (rv Value) { rv.C = C.LLVMIsABranchInst(v.C); return }
743742 func (v Value) IsAInvokeInst() (rv Value) { rv.C = C.LLVMIsAInvokeInst(v.C); return }
744743 func (v Value) IsAReturnInst() (rv Value) { rv.C = C.LLVMIsAReturnInst(v.C); return }
18861886 val is_terminator : llvalue -> bool
18871887
18881888 (** [successor v i] returns the successor at index [i] for the value [v].
1889 See the method [llvm::TerminatorInst::getSuccessor]. *)
1889 See the method [llvm::Instruction::getSuccessor]. *)
18901890 val successor : llvalue -> int -> llbasicblock
18911891
18921892 (** [set_successor v i o] sets the successor of the value [v] at the index [i] to
18931893 the value [o].
1894 See the method [llvm::TerminatorInst::setSuccessor]. *)
1894 See the method [llvm::Instruction::setSuccessor]. *)
18951895 val set_successor : llvalue -> int -> llbasicblock -> unit
18961896
18971897 (** [num_successors v] returns the number of successors for the value [v].
1898 See the method [llvm::TerminatorInst::getNumSuccessors]. *)
1898 See the method [llvm::Instruction::getNumSuccessors]. *)
18991899 val num_successors : llvalue -> int
19001900
19011901 (** [successors v] returns the successors of [v]. *)