|
LLVM
10.0.0
|
Specialization of the integer state for a decreasing value, hence 0 is the best state and ~0u the worst. More...
#include "llvm/Transforms/IPO/Attributor.h"
Public Types | |
| using | base_t = base_ty |
Public Types inherited from llvm::IntegerStateBase< base_ty, 0, ~base_ty(0)> | |
| using | base_t = base_ty |
Public Member Functions | |
| DecIntegerState & | takeAssumedMaximum (base_t Value) |
Take maximum of assumed and Value. More... | |
| DecIntegerState & | takeKnownMinimum (base_t Value) |
Take minimum of known and Value. More... | |
Public Member Functions inherited from llvm::IntegerStateBase< base_ty, 0, ~base_ty(0)> | |
| bool | isValidState () const override |
| See AbstractState::isValidState() NOTE: For now we simply pretend that the worst possible state is invalid. More... | |
| bool | isAtFixpoint () const override |
| See AbstractState::isAtFixpoint() More... | |
| ChangeStatus | indicateOptimisticFixpoint () override |
| See AbstractState::indicateOptimisticFixpoint(...) More... | |
| ChangeStatus | indicatePessimisticFixpoint () override |
| See AbstractState::indicatePessimisticFixpoint(...) More... | |
| base_t | getKnown () const |
| Return the known state encoding. More... | |
| base_t | getAssumed () const |
| Return the assumed state encoding. More... | |
| bool | operator== (const IntegerStateBase< base_t, BestState, WorstState > &R) const |
| Equality for IntegerStateBase. More... | |
| bool | operator!= (const IntegerStateBase< base_t, BestState, WorstState > &R) const |
| Inequality for IntegerStateBase. More... | |
| void | operator^= (const IntegerStateBase< base_t, BestState, WorstState > &R) |
"Clamp" this state with R. More... | |
| void | operator|= (const IntegerStateBase< base_t, BestState, WorstState > &R) |
| void | operator&= (const IntegerStateBase< base_t, BestState, WorstState > &R) |
Public Member Functions inherited from llvm::AbstractState | |
| virtual | ~AbstractState () |
Additional Inherited Members | |
Static Public Member Functions inherited from llvm::IntegerStateBase< base_ty, 0, ~base_ty(0)> | |
| static constexpr base_t | getBestState () |
| Return the best possible representable state. More... | |
| static constexpr base_t | getWorstState () |
| Return the worst possible representable state. More... | |
Protected Attributes inherited from llvm::IntegerStateBase< base_ty, 0, ~base_ty(0)> | |
| base_t | Known |
| The known state encoding in an integer of type base_t. More... | |
| base_t | Assumed |
| The assumed state encoding in an integer of type base_t. More... | |
Specialization of the integer state for a decreasing value, hence 0 is the best state and ~0u the worst.
Definition at line 1436 of file Attributor.h.
| using llvm::DecIntegerState< base_ty >::base_t = base_ty |
Definition at line 1437 of file Attributor.h.
|
inline |
Take maximum of assumed and Value.
Definition at line 1440 of file Attributor.h.
References llvm::max().
|
inline |
Take minimum of known and Value.
Definition at line 1447 of file Attributor.h.
References llvm::max().
1.8.13