llvm::Instruction::getNumSuccessors

Return the number of successors that this instruction has. The instruction must be a terminator.

Synopsis

Declared in <llvm/IR/Instruction.h>

unsigned int
getNumSuccessors() const;