• Home
  • Raw
  • Download

Lines Matching refs:PredBB

487         BasicBlock *PredBB = PN->getIncomingBlock(i);  in ComputeValueKnownInPredecessors()  local
489 Value *RHS = Cmp->getOperand(1)->DoPHITranslation(BB, PredBB); in ComputeValueKnownInPredecessors()
498 cast<Constant>(RHS), PredBB, BB); in ComputeValueKnownInPredecessors()
505 Result.push_back(std::make_pair(KC, PredBB)); in ComputeValueKnownInPredecessors()
884 BasicBlock *PredBB = *PI; in SimplifyPartiallyRedundantLoad() local
887 if (!PredsScanned.insert(PredBB)) in SimplifyPartiallyRedundantLoad()
891 BBIt = PredBB->end(); in SimplifyPartiallyRedundantLoad()
893 Value *PredAvailable = FindAvailableLoadedValue(LoadedPtr, PredBB, BBIt, 6, in SimplifyPartiallyRedundantLoad()
896 OneUnavailablePred = PredBB; in SimplifyPartiallyRedundantLoad()
905 AvailablePreds.push_back(std::make_pair(PredBB, PredAvailable)); in SimplifyPartiallyRedundantLoad()
1184 BasicBlock *PredBB = PN->getIncomingBlock(i); in ProcessBranchOnPHI() local
1185 if (BranchInst *PredBr = dyn_cast<BranchInst>(PredBB->getTerminator())) in ProcessBranchOnPHI()
1187 PredBBs[0] = PredBB; in ProcessBranchOnPHI()
1357 BasicBlock *PredBB; in ThreadEdge() local
1359 PredBB = PredBBs[0]; in ThreadEdge()
1363 PredBB = SplitBlockPredecessors(BB, PredBBs, ".thr_comm", this); in ThreadEdge()
1367 DEBUG(dbgs() << " Threading edge from '" << PredBB->getName() << "' to '" in ThreadEdge()
1372 LVI->threadEdge(PredBB, BB, SuccBB); in ThreadEdge()
1382 NewBB->moveAfter(PredBB); in ThreadEdge()
1386 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in ThreadEdge()
1457 TerminatorInst *PredTerm = PredBB->getTerminator(); in ThreadEdge()
1460 BB->removePredecessor(PredBB, true); in ThreadEdge()
1501 BasicBlock *PredBB; in DuplicateCondBranchOnPHIIntoPred() local
1503 PredBB = PredBBs[0]; in DuplicateCondBranchOnPHIIntoPred()
1507 PredBB = SplitBlockPredecessors(BB, PredBBs, ".thr_comm", this); in DuplicateCondBranchOnPHIIntoPred()
1513 << PredBB->getName() << "' to eliminate branch on phi. Cost: " in DuplicateCondBranchOnPHIIntoPred()
1518 BranchInst *OldPredBranch = dyn_cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()
1521 PredBB = SplitEdge(PredBB, BB, this); in DuplicateCondBranchOnPHIIntoPred()
1522 OldPredBranch = cast<BranchInst>(PredBB->getTerminator()); in DuplicateCondBranchOnPHIIntoPred()
1531 ValueMapping[PN] = PN->getIncomingValueForBlock(PredBB); in DuplicateCondBranchOnPHIIntoPred()
1555 PredBB->getInstList().insert(OldPredBranch, New); in DuplicateCondBranchOnPHIIntoPred()
1563 AddPHINodeEntriesForMappedBlock(BBBranch->getSuccessor(0), BB, PredBB, in DuplicateCondBranchOnPHIIntoPred()
1565 AddPHINodeEntriesForMappedBlock(BBBranch->getSuccessor(1), BB, PredBB, in DuplicateCondBranchOnPHIIntoPred()
1600 SSAUpdate.AddAvailableValue(PredBB, ValueMapping[I]); in DuplicateCondBranchOnPHIIntoPred()
1609 BB->removePredecessor(PredBB, true); in DuplicateCondBranchOnPHIIntoPred()