aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMBaseInstrInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-27 18:25:24 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-27 18:25:24 +0000
commit2c03f6d1089da3175a70901a832840fc56687fe9 (patch)
treef659a406ade0a65fe44f6b047fe703a6f52eebfd /lib/Target/ARM/ARMBaseInstrInfo.h
parentd61302a90452f1fe954eee036b1d79c5b082fa60 (diff)
downloadexternal_llvm-2c03f6d1089da3175a70901a832840fc56687fe9.zip
external_llvm-2c03f6d1089da3175a70901a832840fc56687fe9.tar.gz
external_llvm-2c03f6d1089da3175a70901a832840fc56687fe9.tar.bz2
Clean up.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77221 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMBaseInstrInfo.h')
-rw-r--r--lib/Target/ARM/ARMBaseInstrInfo.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMBaseInstrInfo.h b/lib/Target/ARM/ARMBaseInstrInfo.h
index 375410d..e91d1eb 100644
--- a/lib/Target/ARM/ARMBaseInstrInfo.h
+++ b/lib/Target/ARM/ARMBaseInstrInfo.h
@@ -301,6 +301,11 @@ private:
return Opc == ARM::Bcc || Opc == ARM::tBcc || Opc == ARM::t2Bcc;
}
+ bool isJumpTableBranchOpcode(int Opc) const {
+ return Opc == ARM::BR_JTr || Opc == ARM::BR_JTm || Opc == ARM::BR_JTadd ||
+ Opc == ARM::tBR_JTr || Opc == ARM::t2BR_JT;
+ }
+
int getMatchingCondBranchOpcode(int Opc) const;
};
}