|
LLVM
10.0.0
|
State for an integer range. More...
#include "llvm/Transforms/IPO/Attributor.h"
Static Public Member Functions | |
| static ConstantRange | getWorstState (uint32_t BitWidth) |
| Return the worst possible representable state. More... | |
| static ConstantRange | getBestState (uint32_t BitWidth) |
| Return the best possible representable state. More... | |
Public Attributes | |
| uint32_t | BitWidth |
| Bitwidth of the associated value. More... | |
| ConstantRange | Assumed |
| State representing assumed range, initially set to empty. More... | |
| ConstantRange | Known |
| State representing known range, initially set to [-inf, inf]. More... | |
State for an integer range.
Definition at line 1508 of file Attributor.h.
|
inline |
Definition at line 1519 of file Attributor.h.
|
inline |
Return the assumed state encoding.
Definition at line 1560 of file Attributor.h.
Referenced by llvm::operator<<(), operator==(), and unionAssumed().
|
inlinestatic |
Return the best possible representable state.
Definition at line 1529 of file Attributor.h.
|
inline |
Return associated values' bit width.
Definition at line 1534 of file Attributor.h.
Referenced by llvm::operator<<().
|
inline |
Return the known state encoding.
Definition at line 1557 of file Attributor.h.
Referenced by intersectKnown(), llvm::operator<<(), operator==(), and unionKnown().
|
inlinestatic |
Return the worst possible representable state.
Definition at line 1524 of file Attributor.h.
|
inlineoverridevirtual |
See AbstractState::indicateOptimisticFixpoint(...)
Implements llvm::AbstractState.
Definition at line 1545 of file Attributor.h.
References llvm::CHANGED.
|
inlineoverridevirtual |
See AbstractState::indicatePessimisticFixpoint(...)
Implements llvm::AbstractState.
Definition at line 1551 of file Attributor.h.
References llvm::CHANGED.
|
inline |
Intersect known range with the passed state.
Definition at line 1584 of file Attributor.h.
References llvm::ConstantRange::intersectWith().
|
inline |
See IntegerRangeState::intersectKnown(..).
Definition at line 1590 of file Attributor.h.
References getKnown().
|
inlineoverridevirtual |
See AbstractState::isAtFixpoint()
Implements llvm::AbstractState.
Definition at line 1542 of file Attributor.h.
|
inlineoverridevirtual |
See AbstractState::isValidState()
Implements llvm::AbstractState.
Definition at line 1537 of file Attributor.h.
References llvm::ConstantRange::isFullSet().
Referenced by AAValueConstantRangeFloating::calculateBinaryOperator(), and AAValueConstantRangeFloating::calculateCmpInst().
|
inline |
Definition at line 1609 of file Attributor.h.
|
inline |
Equality for IntegerRangeState.
Definition at line 1595 of file Attributor.h.
References getAssumed(), and getKnown().
|
inline |
"Clamp" this state with R.
The result is subtype dependent but it is intended that only information assumed in both states will be assumed in this one afterwards.
Definition at line 1602 of file Attributor.h.
|
inline |
Unite assumed range with the passed state.
Definition at line 1563 of file Attributor.h.
References llvm::ConstantRange::intersectWith(), and llvm::ConstantRange::unionWith().
Referenced by AAValueConstantRangeFloating::calculateBinaryOperator(), AAValueConstantRangeFloating::calculateCmpInst(), and AAValueConstantRangeFloating::updateImpl().
|
inline |
See IntegerRangeState::unionAssumed(..).
Definition at line 1569 of file Attributor.h.
References getAssumed().
|
inline |
Unite known range with the passed state.
Definition at line 1574 of file Attributor.h.
References llvm::ConstantRange::unionWith().
|
inline |
See IntegerRangeState::unionKnown(..).
Definition at line 1581 of file Attributor.h.
References getKnown(), and unionKnown().
Referenced by unionKnown().
| ConstantRange llvm::IntegerRangeState::Assumed |
State representing assumed range, initially set to empty.
Definition at line 1514 of file Attributor.h.
| uint32_t llvm::IntegerRangeState::BitWidth |
Bitwidth of the associated value.
Definition at line 1511 of file Attributor.h.
| ConstantRange llvm::IntegerRangeState::Known |
State representing known range, initially set to [-inf, inf].
Definition at line 1517 of file Attributor.h.
1.8.13