Efficient SSA form updater for machine IR using iterated dominance frontiers.
Declared in <llvm/CodeGen/MachineIDFSSAUpdater.h>
class MachineIDFSSAUpdater;
Places PHI nodes via the IDF algorithm after all definitions and uses have been registered, offering better performance than the incremental MachineSSAUpdater approach for batch updates.
| Name | Description |
|---|---|
MachineIDFSSAUpdater [constructor] | Constructors |
addAvailableValue | Indicate that a rewritten value is available in the specified block with the specified value. |
addUseBlock | Record a basic block that uses the value. |
calculate | Calculate and insert necessary PHI nodes for SSA form. Must be called after registering all definitions and uses. |
getValueInMiddleOfBlock | See SSAUpdater::GetValueInMiddleOfBlock description. |