Add prototype for TargetInstrInfo::isMoveInstr()
llvm-svn: 14897
diff --git a/llvm/lib/Target/PowerPC/PowerPCInstrInfo.h b/llvm/lib/Target/PowerPC/PowerPCInstrInfo.h
index d50e05e..dee7c07 100644
--- a/llvm/lib/Target/PowerPC/PowerPCInstrInfo.h
+++ b/llvm/lib/Target/PowerPC/PowerPCInstrInfo.h
@@ -71,6 +71,14 @@
/// always be able to get register info as well (through this method).
///
virtual const MRegisterInfo &getRegisterInfo() const { return RI; }
+
+ //
+ // Return true if the instruction is a register to register move and
+ // leave the source and dest operands in the passed parameters.
+ //
+ virtual bool isMoveInstr(const MachineInstr& MI,
+ unsigned& sourceReg,
+ unsigned& destReg) const;
};
}