llvm::computeKnownBits

Compute known bits for V using the simplify query Q.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

KnownBits
computeKnownBits(
    Value const* V,
    SimplifyQuery const& Q,
    unsigned int Depth = 0);

Return Value

Known-zero and known-one bits for V.

Parameters

NameDescription
VValue to analyze.
QSimplify query providing context for the analysis.
DepthCurrent recursion depth for this query.