forked from OSchip/llvm-project
parent
f8e3036522
commit
1541dd4841
|
@ -63,11 +63,11 @@ public:
|
||||||
bool matchCombineCopy(MachineInstr &MI);
|
bool matchCombineCopy(MachineInstr &MI);
|
||||||
void applyCombineCopy(MachineInstr &MI);
|
void applyCombineCopy(MachineInstr &MI);
|
||||||
|
|
||||||
/// \brief Returns true if \p DefMI precedes \p UseMI or they are the same
|
/// Returns true if \p DefMI precedes \p UseMI or they are the same
|
||||||
/// instruction. Both must be in the same basic block.
|
/// instruction. Both must be in the same basic block.
|
||||||
bool isPredecessor(MachineInstr &DefMI, MachineInstr &UseMI);
|
bool isPredecessor(MachineInstr &DefMI, MachineInstr &UseMI);
|
||||||
|
|
||||||
/// \brief Returns true if \p DefMI dominates \p UseMI. By definition an
|
/// Returns true if \p DefMI dominates \p UseMI. By definition an
|
||||||
/// instruction dominates itself.
|
/// instruction dominates itself.
|
||||||
///
|
///
|
||||||
/// If we haven't been provided with a MachineDominatorTree during
|
/// If we haven't been provided with a MachineDominatorTree during
|
||||||
|
|
Loading…
Reference in New Issue