Searched refs:DelBB (Results 1 – 4 of 4) sorted by relevance
206 bool DomTreeUpdater::isBBPendingDeletion(llvm::BasicBlock *DelBB) const { in isBBPendingDeletion()209 return DeletedBBs.count(DelBB) != 0; in isBBPendingDeletion()217 void DomTreeUpdater::deleteBB(BasicBlock *DelBB) { in deleteBB() argument218 validateDeleteBB(DelBB); in deleteBB()220 DeletedBBs.insert(DelBB); in deleteBB()224 DelBB->removeFromParent(); in deleteBB()225 eraseDelBBNode(DelBB); in deleteBB()226 delete DelBB; in deleteBB()230 BasicBlock *DelBB, std::function<void(BasicBlock *)> Callback) { in callbackDeleteBB() argument231 validateDeleteBB(DelBB); in callbackDeleteBB()[all …]
414 void DeferredDominance::deleteBB(BasicBlock *DelBB) { in deleteBB() argument415 assert(DelBB && "Invalid push_back of nullptr DelBB."); in deleteBB()416 assert(pred_empty(DelBB) && "DelBB has one or more predecessors."); in deleteBB()418 while (!DelBB->empty()) { in deleteBB()419 Instruction &I = DelBB->back(); in deleteBB()423 DelBB->getInstList().pop_back(); in deleteBB()427 new UnreachableInst(DelBB->getContext(), DelBB); in deleteBB()428 DeletedBBs.insert(DelBB); in deleteBB()432 bool DeferredDominance::pendingDeletedBB(BasicBlock *DelBB) { in pendingDeletedBB() argument435 return DeletedBBs.count(DelBB) != 0; in pendingDeletedBB()
69 bool isBBPendingDeletion(BasicBlock *DelBB) const;149 void deleteBB(BasicBlock *DelBB);159 void callbackDeleteBB(BasicBlock *DelBB,193 : CallbackVH(V), DelBB(V), Callback_(Callback) {} in CallBackOnDeletion()196 BasicBlock *DelBB = nullptr;200 Callback_(DelBB); in deleted()221 void validateDeleteBB(BasicBlock *DelBB);247 void eraseDelBBNode(BasicBlock *DelBB);
327 void deleteBB(BasicBlock *DelBB);330 bool pendingDeletedBB(BasicBlock *DelBB);