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 // Class to represent Unary operators
14 //===----------------------------------------------------------------------===//
16 class GenericUnaryInst : public UnaryOperator {
18 GenericUnaryInst(UnaryOps Opcode, Value *S1, const std::string &Name = "")
19 : UnaryOperator(S1, Opcode, Name) {
23 //===----------------------------------------------------------------------===//
24 // Classes to represent Binary operators
25 //===----------------------------------------------------------------------===//
27 // All of these classes are subclasses of the BinaryOperator class...
30 class GenericBinaryInst : public BinaryOperator {
32 GenericBinaryInst(BinaryOps Opcode, Value *S1, Value *S2,
33 const std::string &Name = "")
34 : BinaryOperator(Opcode, S1, S2, Name) {
38 class SetCondInst : public BinaryOperator {
41 SetCondInst(BinaryOps opType, Value *S1, Value *S2,
42 const std::string &Name = "");