MLIR  15.0.0git
Macros | Functions
AsyncRuntimeRefCounting.cpp File Reference
#include "PassDetail.h"
#include "mlir/Analysis/Liveness.h"
#include "mlir/Dialect/Async/IR/Async.h"
#include "mlir/Dialect/Async/Passes.h"
#include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/IR/ImplicitLocOpBuilder.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "llvm/ADT/SmallSet.h"
+ Include dependency graph for AsyncRuntimeRefCounting.cpp:

Go to the source code of this file.

Macros

#define DEBUG_TYPE   "async-runtime-ref-counting"
 

Functions

static LogicalResult dropRefIfNoUses (Value value, unsigned count=1)
 
static LogicalResult walkReferenceCountedValues (Operation *op, llvm::function_ref< LogicalResult(Value)> addRefCounting)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "async-runtime-ref-counting"

Definition at line 28 of file AsyncRuntimeRefCounting.cpp.

Function Documentation

◆ dropRefIfNoUses()

static LogicalResult dropRefIfNoUses ( Value  value,
unsigned  count = 1 
)
static

◆ walkReferenceCountedValues()

static LogicalResult walkReferenceCountedValues ( Operation op,
llvm::function_ref< LogicalResult(Value)>  addRefCounting 
)
static