summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2002-08-15 16:14:49 +0000
committerChris Lattner <sabre@nondot.org>2002-08-15 16:14:49 +0000
commitc5b74477c0f2d108e91dd803d29142ed0113ea04 (patch)
treec361aa5ccd8e44b5112ccf6c01d82196b447bf3b /include
parent8decbcbbfe0587826d2adae04f83fea2e2575832 (diff)
downloadexternal_llvm-c5b74477c0f2d108e91dd803d29142ed0113ea04.zip
external_llvm-c5b74477c0f2d108e91dd803d29142ed0113ea04.tar.gz
external_llvm-c5b74477c0f2d108e91dd803d29142ed0113ea04.tar.bz2
Remove the last traces of the NOT instruction
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@3346 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include')
-rw-r--r--include/llvm/Instruction.def23
-rw-r--r--include/llvm/Instruction.h7
2 files changed, 0 insertions, 30 deletions
diff --git a/include/llvm/Instruction.def b/include/llvm/Instruction.def
index c84a465..afc12ed 100644
--- a/include/llvm/Instruction.def
+++ b/include/llvm/Instruction.def
@@ -25,20 +25,6 @@
#define LAST_TERM_INST(num)
#endif
-#ifndef FIRST_UNARY_INST
-#define FIRST_UNARY_INST(num)
-#endif
-#ifndef HANDLE_UNARY_INST
-#ifndef HANDLE_INST
-#define HANDLE_UNARY_INST(num, opcode, Class)
-#else
-#define HANDLE_UNARY_INST(num, opcode, Class) HANDLE_INST(num, opcode, Class)
-#endif
-#endif
-#ifndef LAST_UNARY_INST
-#define LAST_UNARY_INST(num)
-#endif
-
#ifndef FIRST_BINARY_INST
#define FIRST_BINARY_INST(num)
#endif
@@ -93,11 +79,6 @@ HANDLE_TERM_INST ( 3, Switch, SwitchInst)
HANDLE_TERM_INST ( 4, Invoke, InvokeInst)
LAST_TERM_INST ( 4)
-// The single unary instruction... a binary inverse.
- FIRST_UNARY_INST ( 5)
-HANDLE_UNARY_INST ( 5, Not , GenericBinaryInst) // THIS IS WRONG. *REMOVEME*
- LAST_UNARY_INST ( 5)
-
// Standard binary operators...
FIRST_BINARY_INST( 6)
HANDLE_BINARY_INST( 6, Add , GenericBinaryInst)
@@ -147,10 +128,6 @@ HANDLE_OTHER_INST(32, UserOp2, Instruction)
#undef HANDLE_TERM_INST
#undef LAST_TERM_INST
-#undef FIRST_UNARY_INST
-#undef HANDLE_UNARY_INST
-#undef LAST_UNARY_INST
-
#undef FIRST_BINARY_INST
#undef HANDLE_BINARY_INST
#undef LAST_BINARY_INST
diff --git a/include/llvm/Instruction.h b/include/llvm/Instruction.h
index 41be312..d2804ab 100644
--- a/include/llvm/Instruction.h
+++ b/include/llvm/Instruction.h
@@ -90,13 +90,6 @@ public:
#include "llvm/Instruction.def"
};
- enum UnaryOps {
-#define FIRST_UNARY_INST(N) FirstUnaryOp = N,
-#define HANDLE_UNARY_INST(N, OPC, CLASS) OPC = N,
-#define LAST_UNARY_INST(N) NumUnaryOps = N+1,
-#include "llvm/Instruction.def"
- };
-
enum BinaryOps {
#define FIRST_BINARY_INST(N) FirstBinaryOp = N,
#define HANDLE_BINARY_INST(N, OPC, CLASS) OPC = N,