Lines Matching defs:CommonDest
4730 BasicBlock *CommonDest = PBI->getSuccessor(PBIOp);
4733 for (BasicBlock::iterator II = CommonDest->begin(); isa<PHINode>(II);
4770 // Make sure we get to CommonDest on True&True directions.
4786 PBI->setSuccessor(0, CommonDest);
4807 // The weight to CommonDest should be PredCommon * SuccTotal +
4823 // We know that the CommonDest already had an edge from PBI to
4827 for (PHINode &PN : CommonDest->phis()) {
6158 /// at the common destination basic block, *CommonDest, for one of the case
6163 BasicBlock **CommonDest,
6203 // If we did not have a CommonDest before, use the current one.
6204 if (!*CommonDest)
6205 *CommonDest = CaseDest;
6207 if (CaseDest != *CommonDest)
6211 for (PHINode &PHI : (*CommonDest)->phis()) {
6252 BasicBlock *&CommonDest,
6263 if (!getCaseResults(SI, CaseVal, I.getCaseSuccessor(), &CommonDest, Results,
6292 getCaseResults(SI, nullptr, SI->getDefaultDest(), &CommonDest, DefaultResults,
6426 BasicBlock *CommonDest = nullptr;
6430 if (!initializeUniqueCases(SI, PHI, CommonDest, UniqueResults, DefaultResult,
6943 BasicBlock *CommonDest = nullptr;
6962 if (!getCaseResults(SI, CaseVal, CI->getCaseSuccessor(), &CommonDest,
6987 getCaseResults(SI, nullptr, SI->getDefaultDest(), &CommonDest,
7046 Module &Mod = *CommonDest->getParent()->getParent();
7048 Mod.getContext(), "switch.lookup", CommonDest->getParent(), CommonDest);
7122 CommonDest->getParent(), CommonDest);
7192 Builder.CreateBr(CommonDest);
7194 Updates.push_back({DominatorTree::Insert, LookupBB, CommonDest});