summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorTim Northover <tnorthover@apple.com>2016-11-09 22:39:54 +0000
committerTim Northover <tnorthover@apple.com>2016-11-09 22:39:54 +0000
commite6797b7d75a4d037e24e94326b2c69e99edafc90 (patch)
treebe68baa4e275c15285a4e4777a817b8728bc5ce5 /include
parent746789378b0c11fa65d7bea9b792d642e7fab6a6 (diff)
GlobalISel: translate invoke and landingpad instructions
Pretty bare-bones support for exception handling (no weird MSVC stuff, no SjLj etc), but it should get things going. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@286407 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/CodeGen/GlobalISel/IRTranslator.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/include/llvm/CodeGen/GlobalISel/IRTranslator.h b/include/llvm/CodeGen/GlobalISel/IRTranslator.h
index af7413205e2..ba85b8ec303 100644
--- a/include/llvm/CodeGen/GlobalISel/IRTranslator.h
+++ b/include/llvm/CodeGen/GlobalISel/IRTranslator.h
@@ -132,6 +132,10 @@ private:
/// \pre \p U is a call instruction.
bool translateCall(const User &U);
+ bool translateInvoke(const User &U);
+
+ bool translateLandingPad(const User &U);
+
/// Translate one of LLVM's cast instructions into MachineInstrs, with the
/// given generic Opcode.
bool translateCast(unsigned Opcode, const User &U);
@@ -287,7 +291,6 @@ private:
// translation.
bool translateSwitch(const User &U) { return false; }
bool translateIndirectBr(const User &U) { return false; }
- bool translateInvoke(const User &U) { return false; }
bool translateResume(const User &U) { return false; }
bool translateCleanupRet(const User &U) { return false; }
bool translateCatchRet(const User &U) { return false; }
@@ -304,7 +307,6 @@ private:
bool translateExtractElement(const User &U) { return false; }
bool translateInsertElement(const User &U) { return false; }
bool translateShuffleVector(const User &U) { return false; }
- bool translateLandingPad(const User &U) { return false; }
/// @}