Specialization of the integer state for a bit‐wise encoding.
Synopsis
Declared in <llvm/Transforms/IPO/Attributor.h>
template<
typename base_ty = uint32_t,
base_ty BestState = ~ base_ty(0),
base_ty WorstState = 0>
struct BitIntegerState
: IntegerStateBase<base_ty, BestState, WorstState>
Base Classes
Name |
Description |
Simple state with integers encoding. |
Type Aliases
Name |
Description |
Underlying integer storage type. |
|
Superclass type alias. |
Member Functions
Name |
Description |
|
Constructors |
Add the bits in |
|
Return the assumed state encoding. |
|
Return the known state encoding |
|
|
See AbstractState::indicateOptimisticFixpoint(...) |
|
See AbstractState::indicatePessimisticFixpoint(...) |
Keep only "assumed bits" also set in |
|
Return true if the bits set in |
|
|
See AbstractState::isAtFixpoint() |
Return true if the bits set in |
|
|
See AbstractState::isValidState() NOTE: For now we simply pretend that the worst possible state is invalid. |
Join assumed and known information with |
|
"Clamp" this state with |
|
Clamp this state with |
|
Join assumed and known information with |
|
Remove the bits in |
|
Remove the bits in |
|
Return true if this equals |
|
Return true if this differs from |
Static Member Functions
Name |
Description |
|
|
|
Protected Member Functions
Name |
Description |
|
Handle a new assumed value |
|
Handle a new known value |
|
Handle a new assumed value |
|
Handle a value |
Protected Data Members
Return Value
The computed result.
Created with MrDocs