Pointer wrapper that lazily caches KnownBits for the pointed‐to value.
Synopsis
Declared in <llvm/Analysis/WithCache.h>
template<typename Arg>
class WithCache;
Description
Stores a pointer to any type along with the KnownBits information for it that is computed lazily (if required).
Member Functions
Name |
Description |
|
Constructors |
Return known bits for the value, computing them lazily if needed. |
|
Return the wrapped pointer. |
|
Return true if KnownBits have already been computed or provided. |
|
Dereference the wrapped pointer. |
|
Access members of the pointed‐to value. |
|
Convert to the wrapped pointer type. |
Non-Member Functions
Name |
Description |
Combine constant ranges from computeConstantRange() and computeKnownBits(). |
|
Compute whether a signed add of |
|
Compute whether an unsigned add of |
|
Return how strongly LHS and RHS are known to have no common set bits. |
|
Return true if LHS and RHS have no common bits set. |
Created with MrDocs