diff options
author | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2013-02-11 20:04:29 +0000 |
---|---|---|
committer | Krzysztof Parzyszek <kparzysz@codeaurora.org> | 2013-02-11 20:04:29 +0000 |
commit | ce55d91ec97b1227cb4cb94354c89452d787515e (patch) | |
tree | 4697eb4341e41ef9a033d0a79d32980b1025df3b /lib/Target/Hexagon/HexagonInstrInfo.h | |
parent | 86494d7991050b4ffbfdcf1d15e1ad5e3c28f07b (diff) | |
download | external_llvm-ce55d91ec97b1227cb4cb94354c89452d787515e.zip external_llvm-ce55d91ec97b1227cb4cb94354c89452d787515e.tar.gz external_llvm-ce55d91ec97b1227cb4cb94354c89452d787515e.tar.bz2 |
Implement HexagonInstrInfo::analyzeCompare.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@174901 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonInstrInfo.h')
-rw-r--r-- | lib/Target/Hexagon/HexagonInstrInfo.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonInstrInfo.h b/lib/Target/Hexagon/HexagonInstrInfo.h index 29e3eb1..4e36dfb 100644 --- a/lib/Target/Hexagon/HexagonInstrInfo.h +++ b/lib/Target/Hexagon/HexagonInstrInfo.h @@ -66,6 +66,10 @@ public: const SmallVectorImpl<MachineOperand> &Cond, DebugLoc DL) const; + virtual bool analyzeCompare(const MachineInstr *MI, + unsigned &SrcReg, unsigned &SrcReg2, + int &Mask, int &Value) const; + virtual void copyPhysReg(MachineBasicBlock &MBB, MachineBasicBlock::iterator I, DebugLoc DL, unsigned DestReg, unsigned SrcReg, |