projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
86fd274
)
Add prototype for TargetInstrInfo::isMoveInstr()
author
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 16 Jul 2004 20:50:55 +0000
(20:50 +0000)
committer
Misha Brukman
<brukman+llvm@gmail.com>
Fri, 16 Jul 2004 20:50:55 +0000
(20:50 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14897
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PowerPC/PowerPCInstrInfo.h
patch
|
blob
|
history
diff --git
a/lib/Target/PowerPC/PowerPCInstrInfo.h
b/lib/Target/PowerPC/PowerPCInstrInfo.h
index d50e05e85fae0cf1038358c4a82b165dcf0440a8..dee7c070c35074b6b517e248d91329ad41b155f3 100644
(file)
--- a/
lib/Target/PowerPC/PowerPCInstrInfo.h
+++ b/
lib/Target/PowerPC/PowerPCInstrInfo.h
@@
-71,6
+71,14
@@
public:
/// 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;
};
}