|
Enzyme main
|
#include "MLIR/Analysis/DataFlowLattice.h"


Public Member Functions | |
| Attribute | serialize (MLIRContext *ctx) const |
| ChangeResult | join (const AbstractDenseLattice &other) |
| ChangeResult | insert (const SetLattice< KeyT > &keysToUpdate, const SetLattice< ElementT > &values) |
| Map all keys to all values. | |
| ChangeResult | markAllUnknown () |
| const SetLattice< ElementT > & | lookup (KeyT key) const |
Protected Member Functions | |
| ChangeResult | joinPotentiallyMissing (KeyT key, const SetLattice< ElementT > &value) |
Protected Attributes | |
| DenseMap< KeyT, SetLattice< ElementT > > | map |
| Maps a key to a set of values. | |
Definition at line 245 of file DataFlowLattice.h.
|
inline |
Map all keys to all values.
Definition at line 286 of file DataFlowLattice.h.
References mlir::enzyme::SetLattice< ValueT >::foreachElement(), mlir::enzyme::SetLattice< ValueT >::isUndefined(), mlir::enzyme::SetLattice< ValueT >::isUnknown(), mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::joinPotentiallyMissing(), and mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::markAllUnknown().
Referenced by mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::join(), mlir::enzyme::DenseActivityAnnotationAnalysis::setToEntryState(), and mlir::enzyme::DenseActivityAnnotationAnalysis::visitOperation().
|
inline |
Definition at line 253 of file DataFlowLattice.h.
References mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::insert(), and mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::map.
Referenced by mlir::enzyme::runActivityAnnotations().
|
inlineprotected |
Definition at line 317 of file DataFlowLattice.h.
References mlir::enzyme::SetLattice< ValueT >::isUndefined(), and mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::map.
Referenced by mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::insert().
|
inline |
Definition at line 309 of file DataFlowLattice.h.
References mlir::enzyme::SetLattice< ValueT >::getUndefined(), and mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::map.
|
inline |
Definition at line 302 of file DataFlowLattice.h.
References mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::map.
Referenced by mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::insert().
|
inline |
Definition at line 249 of file DataFlowLattice.h.
Referenced by mlir::enzyme::runActivityAnnotations().
|
protected |
Maps a key to a set of values.
When a key is not present in this map, it is considered to map to an uninitialized set.
Definition at line 334 of file DataFlowLattice.h.
Referenced by mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::join(), mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::joinPotentiallyMissing(), mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::lookup(), and mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::markAllUnknown().