Class BinaryOperator

class BinaryOperator : public Instruction

Public Types

enum BinaryOp

Values:

Add
Mul

Public Functions

BinaryOperator(const BinaryOp op, const Value *lhs, const Value *rhs, const std::string &label)
BinaryOp op() const
const Value *lhs() const
const Value *rhs() const
void run(ReductionInterpreterImpl *interpreter)

Private Members

const BinaryOp op_
const Value *lhs_
const Value *rhs_