llvm::IRBuilderBase::CreateNSWAdd

Create an nsw add instruction.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

Value*
CreateNSWAdd(
    Value* LHS,
    Value* RHS,
    Twine const& Name = "");

Return Value

The created nsw add instruction.

Parameters

NameDescription
LHSLeft-hand side operand.
RHSRight-hand side operand.
NameName of the new instruction or value.