llvm::AddOperator

Concrete operator for the Add instruction opcode.

Synopsis

Declared in <llvm/IR/Operator.h>

class AddOperator
    : public ConcreteOperator<OverflowingBinaryOperator, Instruction::Add>

Base Classes

NameDescription
ConcreteOperator<OverflowingBinaryOperator, Instruction::Add>A helper template for defining operators for individual opcodes.

Static Member Functions

NameDescription
classof Methods for support type inquiry through isa, cast, and dyn_cast.

Non-Member Functions

NameDescription
computeOverflowForSignedAddThis version also leverages the sign bit of Add if known.