25template class GenericDomTreeUpdater<
26 MachineDomTreeUpdater, MachineDominatorTree, MachinePostDominatorTree>;
29GenericDomTreeUpdater<MachineDomTreeUpdater, MachineDominatorTree,
30 MachinePostDominatorTree>::recalculate(MachineFunction
33bool MachineDomTreeUpdater::forceFlushDeletedBB() {
39 BB->eraseFromParent();
51 validateDeleteBB(DelBB);
52 if (
Strategy == UpdateStrategy::Lazy) {
62 assert(DelBB &&
"Invalid push_back of nullptr DelBB.");
This file defines a set of templates that efficiently compute a dominator tree over a generic graph.
assert(ImpDefSCC.getReg()==AMDGPU::SCC &&ImpDefSCC.isDef())
This file defines the SmallSet class.
SmallPtrSet< BasicBlockT *, 8 > DeletedBBs
void eraseDelBBNode(BasicBlockT *DelBB)
Erase Basic Block node before it is unlinked from Function in the DomTree and PostDomTree.
const UpdateStrategy Strategy
void eraseFromParent()
This method unlinks 'this' from the containing function and deletes it.
void deleteBB(MachineBasicBlock *DelBB)
Delete DelBB.
std::pair< iterator, bool > insert(PtrType Ptr)
Inserts Ptr if and only if there is no element in the container equal to Ptr.
This is an optimization pass for GlobalISel generic memory operations.