Enzyme main
Loading...
Searching...
No Matches
ActivityAnnotations.cpp File Reference
#include "ActivityAnnotations.h"
#include "DataFlowAliasAnalysis.h"
#include "DataFlowLattice.h"
#include "Dialect/Dialect.h"
#include "Dialect/Ops.h"
#include "Interfaces/AutoDiffOpInterface.h"
#include "mlir/Analysis/DataFlow/DenseAnalysis.h"
#include "mlir/Analysis/DataFlow/SparseAnalysis.h"
#include "mlir/Analysis/DataFlow/Utils.h"
#include "mlir/Analysis/DataFlowFramework.h"
#include "mlir/Interfaces/FunctionInterfaces.h"
#include "llvm/ADT/TypeSwitch.h"
#include "llvm/Support/raw_ostream.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
Include dependency graph for ActivityAnnotations.cpp:

Go to the source code of this file.

Functions

static bool isPossiblyActive (Type type)
 
void deserializeReturnOrigins (ArrayAttr returnOrigins, SmallVectorImpl< enzyme::ValueOriginSet > &out)
 
template<typename KeyT , typename ElementT >
void printMapOfSetsLattice (const DenseMap< KeyT, enzyme::SetLattice< ElementT > > map, raw_ostream &os)
 
std::optional< Value > getStored (Operation *op)
 
std::optional< Value > getCopySource (Operation *op)
 
static void deserializePointsTo (ArrayAttr summaryAttr, DenseMap< DistinctAttr, enzyme::ValueOriginSet > &summaryMap)
 

Function Documentation

◆ deserializePointsTo()

◆ deserializeReturnOrigins()

◆ getCopySource()

◆ getStored()

std::optional< Value > getStored ( Operation * op)

Definition at line 204 of file DataFlowActivityAnalysis.cpp.

◆ isPossiblyActive()

◆ printMapOfSetsLattice()

template<typename KeyT , typename ElementT >
void printMapOfSetsLattice ( const DenseMap< KeyT, enzyme::SetLattice< ElementT > > map,
raw_ostream & os )