Searched refs:DeadCase (Results 1 – 5 of 5) sorted by relevance
935 unsigned DeadCase = SI->findCaseValue(cast<ConstantInt>(Val)); in RewriteLoopBodyWithConditionConstant() local936 if (DeadCase == 0) continue; // Default case is live for multiple values. in RewriteLoopBodyWithConditionConstant()943 BasicBlock *SISucc = SI->getSuccessor(DeadCase); in RewriteLoopBodyWithConditionConstant()960 BasicBlock *NewSISucc = SI->getSuccessor(DeadCase); in RewriteLoopBodyWithConditionConstant()
1263 SwitchInst::CaseIt DeadCase = SI->findCaseValue(cast<ConstantInt>(Val)); in RewriteLoopBodyWithConditionConstant() local1265 if (DeadCase == SI->case_default()) continue; in RewriteLoopBodyWithConditionConstant()1272 BasicBlock *SISucc = DeadCase.getCaseSuccessor(); in RewriteLoopBodyWithConditionConstant()1292 BasicBlock *NewSISucc = DeadCase.getCaseSuccessor(); in RewriteLoopBodyWithConditionConstant()
1463 SwitchInst::CaseHandle DeadCase = in RewriteLoopBodyWithConditionConstant() local1466 if (DeadCase == *SI->case_default()) in RewriteLoopBodyWithConditionConstant()1474 BasicBlock *SISucc = DeadCase.getCaseSuccessor(); in RewriteLoopBodyWithConditionConstant()1492 BasicBlock *NewSISucc = DeadCase.getCaseSuccessor(); in RewriteLoopBodyWithConditionConstant()
4439 for (ConstantInt *DeadCase : DeadCases) { in eliminateDeadSwitchCases()4440 SwitchInst::CaseIt CaseI = SI->findCaseValue(DeadCase); in eliminateDeadSwitchCases()
4047 for (ConstantInt *DeadCase : DeadCases) { in EliminateDeadSwitchCases()4048 SwitchInst::CaseIt Case = SI->findCaseValue(DeadCase); in EliminateDeadSwitchCases()