Remove extranous #include
[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 //                   Class to represent Unary operators
14 //===----------------------------------------------------------------------===//
15 //
16 class GenericUnaryInst : public UnaryOperator {
17 public:
18   GenericUnaryInst(UnaryOps Opcode, Value *S1, const std::string &Name = "")
19     : UnaryOperator(S1, Opcode, Name) {
20   }
21
22   virtual const char *getOpcodeName() const;
23 };
24
25 //===----------------------------------------------------------------------===//
26 //                 Classes to represent Binary operators
27 //===----------------------------------------------------------------------===//
28 //
29 // All of these classes are subclasses of the BinaryOperator class...
30 //
31
32 class GenericBinaryInst : public BinaryOperator {
33 public:
34   GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2, 
35                     const std::string &Name = "")
36     : BinaryOperator(Opcode, S1, S2, Name) {
37   }
38
39   virtual const char *getOpcodeName() const;
40 };
41
42 class SetCondInst : public BinaryOperator {
43   BinaryOps OpType;
44 public:
45   SetCondInst(BinaryOps opType, Value *S1, Value *S2, 
46               const std::string &Name = "");
47
48   virtual const char *getOpcodeName() const;
49 };
50
51 #endif