Home
last modified time | relevance | path

Searched refs:DelBB (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/lib/IR/
DDomTreeUpdater.cpp206 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() argument
218 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() argument
231 validateDeleteBB(DelBB); in callbackDeleteBB()
[all …]
DDominators.cpp414 void DeferredDominance::deleteBB(BasicBlock *DelBB) { in deleteBB() argument
415 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() argument
435 return DeletedBBs.count(DelBB) != 0; in pendingDeletedBB()
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/IR/
DDomTreeUpdater.h69 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);
DDominators.h327 void deleteBB(BasicBlock *DelBB);
330 bool pendingDeletedBB(BasicBlock *DelBB);