Remove support for unary operators.
[oota-llvm.git] / include / llvm / iOperators.h
1 //===-- llvm/iBinary.h - Binary Operator node definitions --------*- C++ -*--=//
2 //
3 // This file contains the declarations of all of the Binary Operator classes.
4 //
5 //===----------------------------------------------------------------------===//
6
7 #ifndef LLVM_IBINARY_H
8 #define LLVM_IBINARY_H
9
10 #include "llvm/InstrTypes.h"
11
12 //===----------------------------------------------------------------------===//
13 //                 Classes to represent Binary operators
14 //===----------------------------------------------------------------------===//
15 //
16 // All of these classes are subclasses of the BinaryOperator class...
17 //
18
19 class GenericBinaryInst : public BinaryOperator {
20 public:
21   GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2, 
22                     const std::string &Name = "")
23     : BinaryOperator(Opcode, S1, S2, Name) {
24   }
25 };
26
27 class SetCondInst : public BinaryOperator {
28   BinaryOps OpType;
29 public:
30   SetCondInst(BinaryOps opType, Value *S1, Value *S2, 
31               const std::string &Name = "");
32 };
33
34 #endif