LLVMGetBasicBlockTerminator

Obtain the terminator instruction for a basic block.

If the basic block does not have a terminator (it is not well-formed if it doesn't), then NULL is returned.

The returned LLVMValueRef corresponds to a llvm::TerminatorInst.

@see llvm::BasicBlock::getTerminator()

extern (C) nothrow
LLVMValueRef
LLVMGetBasicBlockTerminator
(
LLVMBasicBlockRef BB
)

Meta