|
Enzyme main
|
This needs to keep track of three things: More...
#include "MLIR/Analysis/DataFlowActivityAnalysis.h"

Public Member Functions | |
| bool | operator== (const MemoryActivityState &other) |
| bool | operator!= (const MemoryActivityState &other) |
| ChangeResult | reset () |
| ChangeResult | merge (const MemoryActivityState &other) |
Public Attributes | |
| bool | activeIn = false |
| Whether active data has stored into this memory location. | |
| bool | activeOut = false |
| Whether active data was loaded out of this memory location. | |
This needs to keep track of three things:
Active: (forward) active in && (backward) active out && (??) !const in ActiveOrConstant: active in && active out && const in Constant: everything else
Definition at line 201 of file DataFlowActivityAnalysis.h.
| ChangeResult enzyme::MemoryActivityState::merge | ( | const MemoryActivityState & | other | ) |
Definition at line 276 of file DataFlowActivityAnalysis.cpp.
References activeIn, and activeOut.
Referenced by mlir::enzyme::MemoryActivity::merge().
|
inline |
Definition at line 211 of file DataFlowActivityAnalysis.h.
|
inline |
Definition at line 207 of file DataFlowActivityAnalysis.h.
| ChangeResult enzyme::MemoryActivityState::reset | ( | ) |
Definition at line 267 of file DataFlowActivityAnalysis.cpp.
| bool mlir::enzyme::MemoryActivityState::activeIn = false |
Whether active data has stored into this memory location.
Definition at line 203 of file DataFlowActivityAnalysis.h.
Referenced by merge(), and operator==().
| bool mlir::enzyme::MemoryActivityState::activeOut = false |
Whether active data was loaded out of this memory location.
Definition at line 205 of file DataFlowActivityAnalysis.h.
Referenced by merge(), and operator==().