Lines Matching refs:LowerSwitch
53 class LowerSwitch : public FunctionPass { class
56 LowerSwitch() : FunctionPass(ID) { in LowerSwitch() function in __anona881aacb0111::LowerSwitch
95 bool operator () (const LowerSwitch::CaseRange& C1, in operator ()()
96 const LowerSwitch::CaseRange& C2) { in operator ()()
105 char LowerSwitch::ID = 0;
106 INITIALIZE_PASS(LowerSwitch, "lowerswitch",
110 char &llvm::LowerSwitchID = LowerSwitch::ID;
113 return new LowerSwitch(); in createLowerSwitchPass()
116 bool LowerSwitch::runOnFunction(Function &F) { in runOnFunction()
143 const LowerSwitch::CaseVector &C)
146 const LowerSwitch::CaseVector &C) { in operator <<()
149 for (LowerSwitch::CaseVector::const_iterator B = C.begin(), in operator <<()
206 LowerSwitch::switchConvert(CaseItr Begin, CaseItr End, ConstantInt *LowerBound, in switchConvert()
301 BasicBlock* LowerSwitch::newLeafBlock(CaseRange& Leaf, Value* Val, in newLeafBlock()
361 unsigned LowerSwitch::Clusterify(CaseVector& Cases, SwitchInst *SI) { in Clusterify()
404 void LowerSwitch::processSwitchInst(SwitchInst *SI, in processSwitchInst()