llvm::IRBuilderBase::CreateNSWSub

Create an nsw sub instruction.

Synopsis

Declared in <llvm/IR/IRBuilder.h>

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

Return Value

The created nsw sub instruction.

Parameters

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