llvm::computeKnownBitsFromContext

Merge bits known from context-dependent facts into Known.

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

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

Parameters

NameDescription
VValue whose context-dependent known bits are merged.
KnownKnown bits to update with context facts.
QSimplify query providing context for the analysis.
DepthCurrent recursion depth for this query.