Enzyme main
Loading...
Searching...
No Matches
mlir::enzyme::MapOfSetsLattice< KeyT, ElementT > Class Template Reference

#include "MLIR/Analysis/DataFlowLattice.h"

Inheritance diagram for mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >:
Collaboration diagram for mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >:

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.
 

Detailed Description

template<typename KeyT, typename ElementT>
class mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >

Definition at line 245 of file DataFlowLattice.h.

Member Function Documentation

◆ insert()

◆ join()

template<typename KeyT , typename ElementT >
ChangeResult mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::join ( const AbstractDenseLattice & other)
inline

◆ joinPotentiallyMissing()

template<typename KeyT , typename ElementT >
ChangeResult mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::joinPotentiallyMissing ( KeyT key,
const SetLattice< ElementT > & value )
inlineprotected

◆ lookup()

template<typename KeyT , typename ElementT >
const SetLattice< ElementT > & mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::lookup ( KeyT key) const
inline

◆ markAllUnknown()

template<typename KeyT , typename ElementT >
ChangeResult mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::markAllUnknown ( )
inline

◆ serialize()

template<typename KeyT , typename ElementT >
Attribute mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::serialize ( MLIRContext * ctx) const
inline

Definition at line 249 of file DataFlowLattice.h.

Referenced by mlir::enzyme::runActivityAnnotations().

Member Data Documentation

◆ map

template<typename KeyT , typename ElementT >
DenseMap<KeyT, SetLattice<ElementT> > mlir::enzyme::MapOfSetsLattice< KeyT, ElementT >::map
protected

The documentation for this class was generated from the following file: