llvm::MachineIRBuilder::buildJumpTable

Build and insert Res = G_JUMP_TABLE JTI

Synopsis

Declared in <llvm/CodeGen/GlobalISel/MachineIRBuilder.h>

MachineInstrBuilder
buildJumpTable(
    LLT const PtrTy,
    unsigned int JTI);

Description

G_JUMP_TABLE sets Res to the address of the jump table specified by the jump table index JTI.

Return Value

a MachineInstrBuilder for the newly created instruction.

Parameters

NameDescription
PtrTyPointer type of the jump-table address result.
JTIJump table index.