aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/Hexagon/HexagonInstrInfo.h
diff options
context:
space:
mode:
authorSirish Pande <spande@codeaurora.org>2012-02-15 18:52:27 +0000
committerSirish Pande <spande@codeaurora.org>2012-02-15 18:52:27 +0000
commitab7955b9ce3197215406bc9fc97b22074127d035 (patch)
tree3d687b6a7fb5ce78376085798a800ac7cbb95c35 /lib/Target/Hexagon/HexagonInstrInfo.h
parent2a4bc1e703335e496e3a78f97d1b1d544aac746d (diff)
downloadexternal_llvm-ab7955b9ce3197215406bc9fc97b22074127d035.zip
external_llvm-ab7955b9ce3197215406bc9fc97b22074127d035.tar.gz
external_llvm-ab7955b9ce3197215406bc9fc97b22074127d035.tar.bz2
Optimize redundant sign extends and negation of predicates.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@150606 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Hexagon/HexagonInstrInfo.h')
-rw-r--r--lib/Target/Hexagon/HexagonInstrInfo.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Hexagon/HexagonInstrInfo.h b/lib/Target/Hexagon/HexagonInstrInfo.h
index 8be1ef3..1e3ba01 100644
--- a/lib/Target/Hexagon/HexagonInstrInfo.h
+++ b/lib/Target/Hexagon/HexagonInstrInfo.h
@@ -163,6 +163,7 @@ public:
bool isConditionalALU32 (const MachineInstr* MI) const;
bool isConditionalLoad (const MachineInstr* MI) const;
bool isDeallocRet(const MachineInstr *MI) const;
+ unsigned getInvertedPredicatedOpcode(const int Opc) const;
private:
int getMatchingCondBranchOpcode(int Opc, bool sense) const;