diff options
author | Chris Lattner <sabre@nondot.org> | 2001-07-08 04:57:15 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2001-07-08 04:57:15 +0000 |
commit | 0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9 (patch) | |
tree | dcdecdda0cd3e1168527d832f3824e0c94b3ef60 /include/llvm/iOperators.h | |
parent | f22696f209701bff12edbe41c646d1ef179c685d (diff) | |
download | external_llvm-0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9.zip external_llvm-0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9.tar.gz external_llvm-0908309e3c4b4f423e88d8d8fe8060cb10eaa1c9.tar.bz2 |
Neg instruction removed. Cast instruction implemented.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/iOperators.h')
-rw-r--r-- | include/llvm/iOperators.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/include/llvm/iOperators.h b/include/llvm/iOperators.h index 4b6109a..5d02a40 100644 --- a/include/llvm/iOperators.h +++ b/include/llvm/iOperators.h @@ -10,6 +10,20 @@ #include "llvm/InstrTypes.h" //===----------------------------------------------------------------------===// +// Class to represent Unary operators +//===----------------------------------------------------------------------===// +// +class GenericUnaryInst : public UnaryOperator { +public: + GenericUnaryInst(UnaryOps Opcode, Value *S1, const Type *ResultTy = 0, + const string &Name = "") + : UnaryOperator(S1, Opcode, ResultTy, Name) { + } + + virtual const char *getOpcodeName() const; +}; + +//===----------------------------------------------------------------------===// // Classes to represent Binary operators //===----------------------------------------------------------------------===// // |