llvm::IRBuilderBase::CreateIndirectBr

Create an indirect branch instruction.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

IndirectBrInst*
CreateIndirectBr(
    Value* Addr,
    unsigned int NumDests = 10);

Description

Uses the specified address operand, with an optional hint for the number of destinations that will be added (for efficient allocation).

Return Value

The created indirect branch instruction.

Parameters

NameDescription
AddrIndirect branch target address.
NumDestsHint for how many indirect destinations will be added.