Given operands for an Or, fold the result or return null.

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifyOrInst(
    Value* LHS,
    Value* RHS,
    SimplifyQuery const& Q);

Return Value

The folded value, or null if no simplification was found.

Parameters

Name

Description

LHS

Left‐hand side operand.

RHS

Right‐hand side operand.

Q

Simplification query providing analyses and flags.

Created with MrDocs