Lines Matching refs:SwitchInst
73 typedef DenseMap<const SwitchInst*, SmallPtrSet<const Value *, 8> >
113 void setUnswitched(const SwitchInst *SI, const Value *V);
116 bool isUnswitched(const SwitchInst *SI, const Value *V);
295 void LUAnalysisCache::setUnswitched(const SwitchInst *SI, const Value *V) {
300 bool LUAnalysisCache::isUnswitched(const SwitchInst *SI, const Value *V) {
327 const SwitchInst *OldInst = I->first;
329 const SwitchInst *NewInst = cast_or_null<SwitchInst>(NewI);
453 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(TI)) {
466 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end();
587 } else if (SwitchInst *SI = dyn_cast<SwitchInst>(HeaderTerm)) {
597 for (SwitchInst::CaseIt i = SI->case_begin(), e = SI->case_end();
1130 SwitchInst *SI = dyn_cast<SwitchInst>(U);
1133 SwitchInst::CaseIt DeadCase = SI->findCaseValue(cast<ConstantInt>(Val));