LLVM 20.0.0git
|
#include "llvm/Transforms/Scalar/JumpTableToSwitch.h"
Public Member Functions | |
PreservedAnalyses | run (Function &F, FunctionAnalysisManager &AM) |
Run the pass over the function. | |
Public Member Functions inherited from llvm::PassInfoMixin< JumpTableToSwitchPass > | |
void | printPipeline (raw_ostream &OS, function_ref< StringRef(StringRef)> MapClassName2PassName) |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::PassInfoMixin< JumpTableToSwitchPass > | |
static StringRef | name () |
Gets the name of the pass we are mixed into. | |
Definition at line 18 of file JumpTableToSwitch.h.
PreservedAnalyses JumpTableToSwitchPass::run | ( | Function & | F, |
FunctionAnalysisManager & | AM | ||
) |
Run the pass over the function.
Definition at line 145 of file JumpTableToSwitch.cpp.
References llvm::PreservedAnalyses::all(), assert(), expandToSwitch(), F, GEP, llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getCachedResult(), llvm::AnalysisManager< IRUnitT, ExtraArgTs >::getResult(), I, llvm::make_early_inc_range(), parseJumpTable(), and llvm::PreservedAnalyses::preserve().