llvm::simplifyInstruction

See if we can compute a simplified version of this instruction.

Synopsis

Declared in <llvm/Analysis/InstructionSimplify.h>

Value*
simplifyInstruction(
    Instruction* I,
    SimplifyQuery const& Q);

Description

If not, return null.

Return Value

The simplified value, or null if the instruction could not be simplified.

Parameters

NameDescription
IInstruction to simplify.
QSimplification query providing analyses and flags.