aboutsummaryrefslogtreecommitdiffstats
path: root/include/llvm/CodeGen/MachineJumpTableInfo.h
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-01-26 04:05:28 +0000
committerChris Lattner <sabre@nondot.org>2010-01-26 04:05:28 +0000
commit85fe07866a3b240d9facef3b2f2ea81a0a8db018 (patch)
tree28dedd932f111891807cddc62af9e4d49268346d /include/llvm/CodeGen/MachineJumpTableInfo.h
parentc690aab230170badb38179d837a51b329a1a5d58 (diff)
downloadexternal_llvm-85fe07866a3b240d9facef3b2f2ea81a0a8db018.tar.gz
external_llvm-85fe07866a3b240d9facef3b2f2ea81a0a8db018.tar.bz2
external_llvm-85fe07866a3b240d9facef3b2f2ea81a0a8db018.zip
Add support for target-specific 32-bit custom-lowered
jump table entries. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@94505 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/CodeGen/MachineJumpTableInfo.h')
-rw-r--r--include/llvm/CodeGen/MachineJumpTableInfo.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/llvm/CodeGen/MachineJumpTableInfo.h b/include/llvm/CodeGen/MachineJumpTableInfo.h
index d37a5b25fa..7d47714fd2 100644
--- a/include/llvm/CodeGen/MachineJumpTableInfo.h
+++ b/include/llvm/CodeGen/MachineJumpTableInfo.h
@@ -60,7 +60,11 @@ public:
/// If the .set directive is supported, this is emitted as:
/// .set L4_5_set_123, LBB123 - LJTI1_2
/// .word L4_5_set_123
- EK_LabelDifference32
+ EK_LabelDifference32,
+
+ /// EK_Custom32 - Each entry is a 32-bit value that is custom lowered by the
+ /// TargetLowering::LowerCustomJumpTableEntry hook.
+ EK_Custom32
};
private:
JTEntryKind EntryKind;