llvm::Instruction::setHasNoUnsignedWrap

Set or clear the nuw flag on this instruction.

Synopsis

Declared in <llvm/IR/Instruction.h>

void
setHasNoUnsignedWrap(bool b = true);

Description

The instruction must be an operator which supports this flag. See LangRef.html for the meaning of this flag.

Parameters

NameDescription
bTrue to set the flag; false to clear it.