Pass that rewrites switch instructions as a sequence of branches.
Synopsis
Declared in <llvm/Transforms/Utils/LowerSwitch.h>
struct LowerSwitchPass
: RequiredPassInfoMixin<LowerSwitchPass>
Description
This allows targets to get away with not implementing the switch instruction until it is convenient.
Base Classes
Name |
Description |
A CRTP mix‐in for passes that should not be skipped. |
Member Functions
Name |
Description |
Run the lower‐switch pass over the function. |
Static Member Functions
Name |
Description |
Return true; required passes cannot be skipped. |
Created with MrDocs