LLVM 20.0.0git
|
#include "llvm/Transforms/IPO/Attributor.h"
Classes | |
struct | DenormalState |
Public Member Functions | |
DenormalFPMathState ()=default | |
DenormalState | getKnown () const |
DenormalState | getAssumed () const |
bool | isValidState () const override |
Return if this abstract state is in a valid state. | |
bool | isModeFixed () const |
Return true if there are no dynamic components to the denormal mode worth specializing. | |
bool | isAtFixpoint () const override |
Return if this abstract state is fixed, thus does not need to be updated if information changes as it cannot change itself. | |
ChangeStatus | indicateFixpoint () |
ChangeStatus | indicateOptimisticFixpoint () override |
Indicate that the abstract state should converge to the optimistic state. | |
ChangeStatus | indicatePessimisticFixpoint () override |
Indicate that the abstract state should converge to the pessimistic state. | |
DenormalFPMathState | operator^= (const DenormalFPMathState &Caller) |
Public Member Functions inherited from llvm::AbstractState | |
virtual | ~AbstractState ()=default |
virtual bool | isValidState () const =0 |
Return if this abstract state is in a valid state. | |
virtual bool | isAtFixpoint () const =0 |
Return if this abstract state is fixed, thus does not need to be updated if information changes as it cannot change itself. | |
virtual ChangeStatus | indicateOptimisticFixpoint ()=0 |
Indicate that the abstract state should converge to the optimistic state. | |
virtual ChangeStatus | indicatePessimisticFixpoint ()=0 |
Indicate that the abstract state should converge to the pessimistic state. | |
Public Attributes | |
DenormalState | Known |
bool | IsAtFixedpoint = false |
Explicitly track whether we've hit a fixed point. | |
Definition at line 5135 of file Attributor.h.
|
default |
|
inline |
Definition at line 5186 of file Attributor.h.
References Known.
|
inline |
Definition at line 5182 of file Attributor.h.
References Known.
|
inline |
Definition at line 5201 of file Attributor.h.
References llvm::CHANGED, IsAtFixedpoint, and llvm::UNCHANGED.
Referenced by indicateOptimisticFixpoint(), and indicatePessimisticFixpoint().
|
inlineoverridevirtual |
Indicate that the abstract state should converge to the optimistic state.
This will usually make the optimistically assumed state the known to be true state.
Implements llvm::AbstractState.
Definition at line 5207 of file Attributor.h.
References indicateFixpoint().
|
inlineoverridevirtual |
Indicate that the abstract state should converge to the pessimistic state.
This will usually revert the optimistically assumed state to the known to be true state.
Implements llvm::AbstractState.
Definition at line 5211 of file Attributor.h.
References indicateFixpoint().
|
inlineoverridevirtual |
Return if this abstract state is fixed, thus does not need to be updated if information changes as it cannot change itself.
Implements llvm::AbstractState.
Definition at line 5199 of file Attributor.h.
References IsAtFixedpoint.
|
inline |
Return true if there are no dynamic components to the denormal mode worth specializing.
Definition at line 5192 of file Attributor.h.
References llvm::DenormalMode::Dynamic, llvm::DenormalMode::Input, Known, llvm::DenormalFPMathState::DenormalState::Mode, llvm::DenormalFPMathState::DenormalState::ModeF32, and llvm::DenormalMode::Output.
|
inlineoverridevirtual |
Return if this abstract state is in a valid state.
If false, no information provided should be used.
Implements llvm::AbstractState.
Definition at line 5188 of file Attributor.h.
References llvm::DenormalFPMathState::DenormalState::isValid(), and Known.
|
inline |
Definition at line 5215 of file Attributor.h.
References Known, and llvm::DenormalFPMathState::DenormalState::unionWith().
bool llvm::DenormalFPMathState::IsAtFixedpoint = false |
Explicitly track whether we've hit a fixed point.
Definition at line 5178 of file Attributor.h.
Referenced by indicateFixpoint(), and isAtFixpoint().
DenormalState llvm::DenormalFPMathState::Known |
Definition at line 5175 of file Attributor.h.
Referenced by getAssumed(), getKnown(), isModeFixed(), isValidState(), and operator^=().