1 //===-- llvm/iBinary.h - Binary Operator node definitions --------*- C++ -*--=//
3 // This file contains the declarations of all of the Binary Operator classes.
5 //===----------------------------------------------------------------------===//
10 #include "llvm/InstrTypes.h"
12 //===----------------------------------------------------------------------===//
13 // Classes to represent Binary operators
14 //===----------------------------------------------------------------------===//
16 // All of these classes are subclasses of the BinaryOperator class...
19 class GenericBinaryInst : public BinaryOperator {
21 GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2,
22 const string &Name = "")
23 : BinaryOperator(Opcode, S1, S2, Name) {
26 virtual const char *getOpcodeName() const;
29 class SetCondInst : public BinaryOperator {
32 SetCondInst(BinaryOps opType, Value *S1, Value *S2,
33 const string &Name = "");
35 virtual const char *getOpcodeName() const;