Return true if I0 is reached before I1 in the control flow.
Synopsis
Declared in <llvm/Transforms/Utils/CodeMoverUtils.h>
bool
isReachedBefore(
Instruction const* I0,
Instruction const* I1,
DominatorTree const* DT,
PostDominatorTree const* PDT);
Return Value
True if I0 is reached before I1 in the control flow.
Parameters
Name |
Description |
I0 |
Instruction that may be reached first. |
I1 |
Instruction that may be reached second. |
DT |
Dominator tree used to order instructions in the same block. |
PDT |
Post‐dominator tree used across different blocks. |
Created with MrDocs