Decline to fold a no‐wrap binary operator; always returns nullptr.

Synopsis

Declared in <llvm/IR/NoFolder.h>

virtual
Value*
FoldNoWrapBinOp(
    Instruction::BinaryOps Opc,
    Value* LHS,
    Value* RHS,
    bool HasNUW,
    bool HasNSW) const override;

Return Value

Always nullptr.

Parameters

Name

Description

Opc

The binary opcode to fold.

LHS

Left‐hand operand.

RHS

Right‐hand operand.

HasNUW

Whether the operation has the nuw flag.

HasNSW

Whether the operation has the nsw flag.

Created with MrDocs