llvm::analyzeKnownBitsFromAndXorOr

Using KnownBits LHS/RHS produce the known bits for logic op (and/xor/or).

Synopsis

Declared in <llvm/Analysis/ValueTracking.h>

KnownBits
analyzeKnownBitsFromAndXorOr(
    Operator const* I,
    KnownBits const& KnownLHS,
    KnownBits const& KnownRHS,
    SimplifyQuery const& SQ,
    unsigned int Depth = 0);

Parameters

NameDescription
IThis is a utility class that provides an abstraction for the common functionality between Instructions and ConstantExprs.