|
MLIR 22.0.0git
|
#include "mlir/Dialect/Async/Passes.h"#include "mlir/Analysis/Liveness.h"#include "mlir/Dialect/Async/IR/Async.h"#include "mlir/Dialect/ControlFlow/IR/ControlFlowOps.h"#include "mlir/Dialect/Func/IR/FuncOps.h"#include "llvm/ADT/SmallSet.h"#include "mlir/Dialect/Async/Passes.h.inc"Go to the source code of this file.
Classes | |
| class | mlir::impl::AsyncRuntimePolicyBasedRefCountingPassBase< DerivedT > |
| class | mlir::impl::AsyncRuntimeRefCountingPassBase< DerivedT > |
Namespaces | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::impl |
| Attribute collections provide a dictionary-like interface. | |
Macros | |
| #define | GEN_PASS_DEF_ASYNCRUNTIMEREFCOUNTINGPASS |
| #define | GEN_PASS_DEF_ASYNCRUNTIMEPOLICYBASEDREFCOUNTINGPASS |
| #define | DEBUG_TYPE "async-runtime-ref-counting" |
Functions | |
| std::unique_ptr<::mlir::Pass > | mlir::impl::createAsyncRuntimePolicyBasedRefCountingPass () |
| std::unique_ptr<::mlir::Pass > | mlir::createAsyncRuntimePolicyBasedRefCountingPass () |
| std::unique_ptr<::mlir::Pass > | mlir::impl::createAsyncRuntimeRefCountingPass () |
| std::unique_ptr<::mlir::Pass > | mlir::createAsyncRuntimeRefCountingPass () |
| static LogicalResult | dropRefIfNoUses (Value value, unsigned count=1) |
| static LogicalResult | walkReferenceCountedValues (Operation *op, llvm::function_ref< LogicalResult(Value)> addRefCounting) |
| #define DEBUG_TYPE "async-runtime-ref-counting" |
Definition at line 28 of file AsyncRuntimeRefCounting.cpp.
| #define GEN_PASS_DEF_ASYNCRUNTIMEPOLICYBASEDREFCOUNTINGPASS |
Definition at line 24 of file AsyncRuntimeRefCounting.cpp.
| #define GEN_PASS_DEF_ASYNCRUNTIMEREFCOUNTINGPASS |
Definition at line 23 of file AsyncRuntimeRefCounting.cpp.
Definition at line 38 of file AsyncRuntimeRefCounting.cpp.
References b, mlir::Value::getContext(), mlir::Value::getDefiningOp(), mlir::Value::getLoc(), mlir::Value::getParentBlock(), mlir::Value::getUses(), and success().
|
static |
Definition at line 57 of file AsyncRuntimeRefCounting.cpp.
References mlir::WalkResult::advance(), mlir::Operation::emitError(), mlir::Block::getArguments(), mlir::Operation::getNumResults(), mlir::Operation::getResult(), mlir::Operation::getResultTypes(), mlir::WalkResult::interrupt(), mlir::async::isRefCounted(), success(), mlir::Operation::walk(), and mlir::WalkResult::wasInterrupted().