aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMISelLowering.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2009-07-29 02:18:14 +0000
committerEvan Cheng <evan.cheng@apple.com>2009-07-29 02:18:14 +0000
commit5657c01949dca6c012ac60d242d1a8d2ffdf5603 (patch)
treeecb9f93864eac57af9d445e4e0cb683472c5ab7f /lib/Target/ARM/ARMISelLowering.h
parent794bfed25dd6a4282af204c8b4bfa76d7d4221d8 (diff)
downloadexternal_llvm-5657c01949dca6c012ac60d242d1a8d2ffdf5603.zip
external_llvm-5657c01949dca6c012ac60d242d1a8d2ffdf5603.tar.gz
external_llvm-5657c01949dca6c012ac60d242d1a8d2ffdf5603.tar.bz2
Optimize Thumb2 jumptable to use tbb / tbh when all the offsets fit in byte / halfword.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@77422 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMISelLowering.h')
-rw-r--r--lib/Target/ARM/ARMISelLowering.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/ARM/ARMISelLowering.h b/lib/Target/ARM/ARMISelLowering.h
index 42a19d4..d0806fb 100644
--- a/lib/Target/ARM/ARMISelLowering.h
+++ b/lib/Target/ARM/ARMISelLowering.h
@@ -40,6 +40,7 @@ namespace llvm {
tCALL, // Thumb function call.
BRCOND, // Conditional branch.
BR_JT, // Jumptable branch.
+ BR2_JT, // Jumptable branch (2 level - jumptable entry is a jump).
RET_FLAG, // Return with a flag operand.
PIC_ADD, // Add with a PC operand and a PIC label.