Using KnownBits LHS/RHS produce the known bits for logic op (and/xor/or).
Declared in <llvm/Analysis/ValueTracking.h>
KnownBits
analyzeKnownBitsFromAndXorOr(
Operator const* I,
KnownBits const& KnownLHS,
KnownBits const& KnownRHS,
SimplifyQuery const& SQ,
unsigned int Depth = 0);
Known bits of the logic operation result.
| Name | Description |
|---|---|
| I | And, or, or xor operator being analyzed. |
| KnownLHS | Known bits of the left-hand operand. |
| KnownRHS | Known bits of the right-hand operand. |
| SQ | Simplify query providing context for the analysis. |
| Depth | Current recursion depth for this query. |