Inform the dominator tree about a CFG edge deletion and update the tree.
Synopsis
Declared in <llvm/Support/GenericDomTree.h>
void
deleteEdge(
MachineBasicBlock* From,
MachineBasicBlock* To);
Description
This function has to be called just after making the update on the actual CFG. An internal functions checks if the edge doesn't exist in the CFG in DEBUG mode. There cannot be any other updates that the dominator tree doesn't know about.
Note that for postdominators it automatically takes care of deleting a reverse edge internally (so there's no need to swap the parameters).
Parameters
Name |
Description |
From |
Source block of the deleted edge. |
To |
Destination block of the deleted edge. |
Created with MrDocs