Enzyme main
Loading...
Searching...
No Matches
mlir::enzyme::CacheInfo Struct Reference

Information about a cache, each cache init should have one corresponding push and pop. More...

#include "MLIR/Passes/RemovalUtils.h"

Collaboration diagram for mlir::enzyme::CacheInfo:

Public Member Functions

 CacheInfo ()
 
 CacheInfo (Value cache)
 
Value pushedValue ()
 
Type cachedType ()
 
CacheInfo merge (CacheInfo other, PatternRewriter &rewriter)
 

Public Attributes

enzyme::InitOp initOp
 
enzyme::PushOp pushOp
 
enzyme::PopOp popOp
 

Detailed Description

Information about a cache, each cache init should have one corresponding push and pop.

Definition at line 32 of file RemovalUtils.h.

Constructor & Destructor Documentation

◆ CacheInfo() [1/2]

mlir::enzyme::CacheInfo::CacheInfo ( )
inline

Definition at line 37 of file RemovalUtils.h.

References initOp, popOp, and pushOp.

◆ CacheInfo() [2/2]

mlir::enzyme::CacheInfo::CacheInfo ( Value cache)
inline

Definition at line 42 of file RemovalUtils.h.

References initOp, popOp, and pushOp.

Member Function Documentation

◆ cachedType()

Type mlir::enzyme::CacheInfo::cachedType ( )
inline

Definition at line 57 of file RemovalUtils.h.

References initOp.

◆ merge()

mlir::enzyme::CacheInfo mlir::enzyme::CacheInfo::merge ( CacheInfo other,
PatternRewriter & rewriter )

◆ pushedValue()

Value mlir::enzyme::CacheInfo::pushedValue ( )
inline

Member Data Documentation

◆ initOp

enzyme::InitOp mlir::enzyme::CacheInfo::initOp

◆ popOp

◆ pushOp


The documentation for this struct was generated from the following files: