Lines Matching defs:CommonDest
2350 BasicBlock *CommonDest = PBI->getSuccessor(PBIOp);
2353 for (BasicBlock::iterator II = CommonDest->begin();
2386 // Make sure we get to CommonDest on True&True directions.
2401 PBI->setSuccessor(0, CommonDest);
2415 // The weight to CommonDest should be PredCommon * SuccTotal +
2435 // We know that the CommonDest already had an edge from PBI to
2440 for (BasicBlock::iterator II = CommonDest->begin();
3350 /// at the common destination basic block, *CommonDest, for one of the case
3357 BasicBlock **CommonDest,
3385 // If we did not have a CommonDest before, use the current one.
3386 if (!*CommonDest)
3387 *CommonDest = CaseDest;
3389 if (CaseDest != *CommonDest)
3393 BasicBlock::iterator I = (*CommonDest)->begin();
3683 BasicBlock *CommonDest = 0;
3700 if (!GetCaseResults(SI, CaseVal, CI.getCaseSuccessor(), &CommonDest,
3714 if (!GetCaseResults(SI, 0, SI->getDefaultDest(), &CommonDest,
3730 Module &Mod = *CommonDest->getParent()->getParent();
3733 CommonDest->getParent(),
3734 CommonDest);
3759 *PHI->use_begin() == CommonDest->getFirstNonPHIOrDbg()) {
3769 Builder.CreateBr(CommonDest);