reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
64 if (SI->getNumCases() == 0) { 65 SI->eraseFromParent(); 71 if (SI->getDefaultDest() == To) { 72 auto FirstC = SI->case_begin(); 73 SI->setDefaultDest(FirstC->getCaseSuccessor()); 74 SI->removeCase(FirstC); 78 for (auto CIt = SI->case_begin(); CIt != SI->case_end(); ++CIt) 78 for (auto CIt = SI->case_begin(); CIt != SI->case_end(); ++CIt) 80 SI->removeCase(CIt);