Compute known bits for the demanded elements of V using Q.
Declared in <llvm/Analysis/ValueTracking.h>
KnownBits
computeKnownBits(
Value const* V,
APInt const& DemandedElts,
SimplifyQuery const& Q,
unsigned int Depth = 0);
Known-zero and known-one bits for the demanded elements of V.
| Name | Description |
|---|---|
| V | Value to analyze. |
| DemandedElts | Demanded vector elements for the query. |
| Q | Simplify query providing context for the analysis. |
| Depth | Current recursion depth for this query. |