CreateNUWAdd overloads

Synopses

Declared in <llvm/IR/InstrTypes.h>

Create an integer add with the nuw (no unsigned wrap) flag set.

static
BinaryOperator*
CreateNUWAdd(
    Value* V1,
    Value* V2,
    Twine const& Name = "");

Create a nuw integer add and insert at InsertBefore.

static
BinaryOperator*
CreateNUWAdd(
    Value* V1,
    Value* V2,
    Twine const& Name,
    InsertPosition InsertBefore);

Return Value

The newly created nuw add operator.

Parameters

Name

Description

V1

The first operand value.

V2

The second operand value.

Name

Optional name for the new instruction.

InsertBefore

Insertion point for the new instruction.

Created with MrDocs