llvm::ConstantExpr::getNSWAdd

Return a NSW addition of C1 and C2.

Synopsis

Declared in <llvm/IR/Constants.h>

static
Constant*
getNSWAdd(
    Constant* C1,
    Constant* C2);

Return Value

A NSW addition of C1 and C2.

Parameters

NameDescription
C1The first addend.
C2The second addend.