reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

lib/CodeGen/BranchFolding.cpp
 1448       TII->analyzeBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, true);
 1451     MadeChange |= PrevBB.CorrectExtraCFGEdges(PriorTBB, PriorFBB,
 1458       DebugLoc dl = getBranchDebugLoc(PrevBB);
 1459       TII->removeBranch(PrevBB);
 1462         TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
 1476         PrevBB.succ_size() == 1 &&
 1478       LLVM_DEBUG(dbgs() << "\nMerging into block: " << PrevBB
 1481       if (PrevBB.begin() != PrevBB.end()) {
 1481       if (PrevBB.begin() != PrevBB.end()) {
 1482         MachineBasicBlock::iterator PrevBBIter = PrevBB.end();
 1487         while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end()
 1496       PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end());
 1496       PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end());
 1497       PrevBB.removeSuccessor(PrevBB.succ_begin());
 1497       PrevBB.removeSuccessor(PrevBB.succ_begin());
 1498       assert(PrevBB.succ_empty());
 1499       PrevBB.transferSuccessors(MBB);
 1507       TII->removeBranch(PrevBB);
 1516       DebugLoc dl = getBranchDebugLoc(PrevBB);
 1517       TII->removeBranch(PrevBB);
 1518       TII->insertBranch(PrevBB, PriorTBB, nullptr, PriorCond, dl);
 1530         DebugLoc dl = getBranchDebugLoc(PrevBB);
 1531         TII->removeBranch(PrevBB);
 1532         TII->insertBranch(PrevBB, PriorFBB, nullptr, NewPriorCond, dl);
 1568           DebugLoc dl = getBranchDebugLoc(PrevBB);
 1569           TII->removeBranch(PrevBB);
 1570           TII->insertBranch(PrevBB, MBB, nullptr, NewPriorCond, dl);
 1669         bool PredHasNoFallThrough = !PrevBB.canFallThrough();
 1671             !PrevBB.isSuccessor(MBB)) {
 1674           if (!PredHasNoFallThrough && PrevBB.isSuccessor(MBB) &&
 1684             DebugLoc pdl = getBranchDebugLoc(PrevBB);
 1685             TII->removeBranch(PrevBB);
 1686             TII->insertBranch(PrevBB, PriorTBB, PriorFBB, PriorCond, pdl);
 1740   if (!PrevBB.canFallThrough()) {
 1815           !TII->analyzeBranch(PrevBB, PrevTBB, PrevFBB, PrevCond, true) &&
 1816           PrevBB.isSuccessor(&*FallThrough)) {