Return true if I1 dominates I2.
Declared in <llvm/Analysis/PostDominators.h>
bool
dominates(
Instruction const* I1,
Instruction const* I2) const;
This checks if I2 comes before I1 if they belong to the same basic block.
True if I1 dominates I2.
| Name | Description |
|---|---|
| I1 | Instruction that may dominate I2. |
| I2 | Instruction to test for dominance. |