|
klee
|
#include <Passes.h>
Inherits llvm::FunctionPass.
Classes | |
| struct | SwitchCase |
Public Types | |
| typedef std::vector< SwitchCase > | CaseVector |
| typedef std::vector< SwitchCase >::iterator | CaseItr |
Public Member Functions | |
| LowerSwitchPass () | |
| bool | runOnFunction (llvm::Function &F) override |
Static Public Attributes | |
| static char | ID = 0 |
Private Member Functions | |
| void | processSwitchInst (llvm::SwitchInst *SI) |
| void | switchConvert (CaseItr begin, CaseItr end, llvm::Value *value, llvm::BasicBlock *origBlock, llvm::BasicBlock *defaultBlock) |
LowerSwitchPass - Replace all SwitchInst instructions with chained branch instructions. Note that this cannot be a BasicBlock pass because it modifies the CFG!
| typedef std::vector<SwitchCase>::iterator klee::LowerSwitchPass::CaseItr |
| typedef std::vector<SwitchCase> klee::LowerSwitchPass::CaseVector |
|
private |
Definition at line 96 of file LowerSwitch.cpp.
References switchConvert().
Referenced by runOnFunction().


|
override |
Definition at line 40 of file LowerSwitch.cpp.
References processSwitchInst().

|
private |
Definition at line 58 of file LowerSwitch.cpp.
Referenced by processSwitchInst().
