Lines Matching defs:CommonDest
4475 BasicBlock *CommonDest = PBI->getSuccessor(PBIOp);
4478 for (BasicBlock::iterator II = CommonDest->begin(); isa<PHINode>(II);
4515 // Make sure we get to CommonDest on True&True directions.
4531 PBI->setSuccessor(0, CommonDest);
4552 // The weight to CommonDest should be PredCommon * SuccTotal +
4568 // We know that the CommonDest already had an edge from PBI to
4572 for (PHINode &PN : CommonDest->phis()) {
5904 /// at the common destination basic block, *CommonDest, for one of the case
5909 BasicBlock **CommonDest,
5949 // If we did not have a CommonDest before, use the current one.
5950 if (!*CommonDest)
5951 *CommonDest = CaseDest;
5953 if (CaseDest != *CommonDest)
5957 for (PHINode &PHI : (*CommonDest)->phis()) {
5998 BasicBlock *&CommonDest,
6009 if (!getCaseResults(SI, CaseVal, I.getCaseSuccessor(), &CommonDest, Results,
6038 getCaseResults(SI, nullptr, SI->getDefaultDest(), &CommonDest, DefaultResults,
6172 BasicBlock *CommonDest = nullptr;
6176 if (!initializeUniqueCases(SI, PHI, CommonDest, UniqueResults, DefaultResult,
6675 BasicBlock *CommonDest = nullptr;
6694 if (!getCaseResults(SI, CaseVal, CI->getCaseSuccessor(), &CommonDest,
6719 getCaseResults(SI, nullptr, SI->getDefaultDest(), &CommonDest,
6778 Module &Mod = *CommonDest->getParent()->getParent();
6780 Mod.getContext(), "switch.lookup", CommonDest->getParent(), CommonDest);
6854 CommonDest->getParent(), CommonDest);
6922 Builder.CreateBr(CommonDest);
6924 Updates.push_back({DominatorTree::Insert, LookupBB, CommonDest});