llvm::simplifyFreezeInst

Given an operand for a Freeze, see if we can fold the result.

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifyFreezeInst(
    Value* Op,
    SimplifyQuery const& Q);

Description

If not, this returns null.

Return Value

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

Parameters

NameDescription
OpOperand of the freeze.
QSimplification query providing analyses and flags.