Go to the source code of this file.
|
| mlir |
| Include the generated interface declarations.
|
|
◆ DEBUG_TYPE
#define DEBUG_TYPE "async-runtime-ref-counting" |
◆ GEN_PASS_DEF_ASYNCRUNTIMEPOLICYBASEDREFCOUNTING
#define GEN_PASS_DEF_ASYNCRUNTIMEPOLICYBASEDREFCOUNTING |
◆ GEN_PASS_DEF_ASYNCRUNTIMEREFCOUNTING
#define GEN_PASS_DEF_ASYNCRUNTIMEREFCOUNTING |
◆ dropRefIfNoUses()
Definition at line 41 of file AsyncRuntimeRefCounting.cpp.
References mlir::OpBuilder::create(), mlir::failure(), mlir::Value::getContext(), mlir::Value::getDefiningOp(), mlir::Builder::getI64IntegerAttr(), mlir::Value::getLoc(), mlir::Value::getParentBlock(), mlir::Value::getUses(), mlir::OpBuilder::setInsertionPointAfter(), mlir::OpBuilder::setInsertionPointToStart(), and mlir::success().
◆ walkReferenceCountedValues()
Definition at line 60 of file AsyncRuntimeRefCounting.cpp.
References mlir::WalkResult::advance(), mlir::Operation::emitError(), mlir::failed(), mlir::failure(), mlir::Block::getArguments(), mlir::Operation::getNumResults(), mlir::Operation::getResult(), mlir::Operation::getResultTypes(), mlir::WalkResult::interrupt(), mlir::async::isRefCounted(), mlir::success(), mlir::Operation::walk(), and mlir::WalkResult::wasInterrupted().