CreateNUW overloads

Synopses

Declared in <llvm/IR/InstrTypes.h>

Create a binary instruction with opcode Opc and the nuw flag set.

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

Create a nuw binary instruction and insert before InsertBefore.

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

Return Value

The newly created binary operator with no‐unsigned‐wrap set.

Parameters

Name

Description

Opc

The binary opcode.

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