llvm::JumpTableToSwitchPass

Pass that replaces jump tables of small functions with switches.

Synopsis

Declared in <llvm/Transforms/Scalar/JumpTableToSwitch.h>

class JumpTableToSwitchPass
    : public OptionalPassInfoMixin<JumpTableToSwitchPass>

Base Classes

NameDescription
OptionalPassInfoMixin<JumpTableToSwitchPass>A CRTP mix-in for passes that can be skipped.

Member Functions

NameDescription
JumpTableToSwitchPass [constructor]Construct a JumpTableToSwitch pass.
run Run the pass over the function.

Static Member Functions

NameDescription
isRequired Return false; optional passes may be skipped.