Home
last modified time | relevance | path

Searched refs:DeadCases (Results 1 – 1 of 1) sorted by relevance

/external/llvm/lib/Transforms/Utils/
DSimplifyCFG.cpp699 SmallPtrSet<Constant*, 16> DeadCases; in SimplifyEqualityComparisonWithOnlyPredecessor() local
701 DeadCases.insert(PredCases[i].Value); in SimplifyEqualityComparisonWithOnlyPredecessor()
718 if (DeadCases.count(i.getCaseValue())) { in SimplifyEqualityComparisonWithOnlyPredecessor()
3670 SmallVector<ConstantInt*, 8> DeadCases; in EliminateDeadSwitchCases() local
3674 DeadCases.push_back(I.getCaseValue()); in EliminateDeadSwitchCases()
3689 if (HasDefault && DeadCases.empty() && in EliminateDeadSwitchCases()
3711 for (unsigned I = 0, E = DeadCases.size(); I != E; ++I) { in EliminateDeadSwitchCases()
3712 SwitchInst::CaseIt Case = SI->findCaseValue(DeadCases[I]); in EliminateDeadSwitchCases()
3731 return !DeadCases.empty(); in EliminateDeadSwitchCases()