summaryrefslogtreecommitdiff
path: root/include/llvm/Target/TargetJITInfo.h
diff options
context:
space:
mode:
authorEvan Cheng <evan.cheng@apple.com>2008-11-07 09:02:17 +0000
committerEvan Cheng <evan.cheng@apple.com>2008-11-07 09:02:17 +0000
commit47c01a0099c10c031f8c544baf44b1c3a1de3fad (patch)
treeef7a9e39ef69d20451bcaf0afa1b0aee56ed9b8e /include/llvm/Target/TargetJITInfo.h
parenta27b3532e2abd8a5f9972db9d64441d6544798cb (diff)
downloadllvm-47c01a0099c10c031f8c544baf44b1c3a1de3fad.tar.gz
llvm-47c01a0099c10c031f8c544baf44b1c3a1de3fad.tar.bz2
llvm-47c01a0099c10c031f8c544baf44b1c3a1de3fad.tar.xz
Jump tables may be emitted by target.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@58835 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Target/TargetJITInfo.h')
-rw-r--r--include/llvm/Target/TargetJITInfo.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/llvm/Target/TargetJITInfo.h b/include/llvm/Target/TargetJITInfo.h
index 4b81c03466..45aae06e3f 100644
--- a/include/llvm/Target/TargetJITInfo.h
+++ b/include/llvm/Target/TargetJITInfo.h
@@ -112,6 +112,10 @@ namespace llvm {
/// pool address resolution is handled by the target.
virtual bool hasCustomConstantPool() const { return false; }
+ /// hasCustomJumpTables - Allows a target to specify that jumptables
+ /// are emitted by the target.
+ virtual bool hasCustomJumpTables() const { return false; }
+
/// allocateSeparateGVMemory - If true, globals should be placed in
/// separately allocated heap memory rather than in the same
/// code memory allocated by MachineCodeEmitter.