Lines Matching defs:BB
78 BasicBlock *BB = I;
79 DeadBlocks.push_back(BB);
80 while (PHINode *PN = dyn_cast<PHINode>(BB->begin())) {
82 BB->getInstList().pop_front();
84 for (succ_iterator SI = succ_begin(BB), E = succ_end(BB); SI != E; ++SI)
85 (*SI)->removePredecessor(BB);
86 BB->dropAllReferences();
141 MachineBasicBlock *BB = I;
144 if (!Reachable.count(BB)) {
145 DeadBlocks.push_back(BB);
148 if (MLI) MLI->removeBlock(BB);
149 if (MDT && MDT->getNode(BB)) MDT->eraseNode(BB);
151 while (BB->succ_begin() != BB->succ_end()) {
152 MachineBasicBlock* succ = *BB->succ_begin();
158 start->getOperand(i).getMBB() == BB) {
166 BB->removeSuccessor(BB->succ_begin());
177 MachineBasicBlock *BB = I;
179 SmallPtrSet<MachineBasicBlock*, 8> preds(BB->pred_begin(),
180 BB->pred_end());
181 MachineBasicBlock::iterator phi = BB->begin();
182 while (phi != BB->end() && phi->isPHI()) {