MLIR
16.0.0git
|
#include "PassDetail.h"
#include "mlir/Dialect/Async/IR/Async.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/GPU/Transforms/Utils.h"
#include "mlir/IR/BlockAndValueMapping.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Transforms/RegionUtils.h"
#include "llvm/ADT/TypeSwitch.h"
Go to the source code of this file.
Classes | |
struct | GpuAsyncRegionPass::ThreadTokenCallback |
struct | GpuAsyncRegionPass::DeferWaitCallback |
struct | GpuAsyncRegionPass::SingleTokenUseCallback |
Functions | |
static bool | isTerminator (Operation *op) |
static bool | hasSideEffects (Operation *op) |
async::ExecuteOp | addExecuteResults (async::ExecuteOp executeOp, ValueRange results) |
Erases executeOp and returns a clone with additional results . More... | |
async::ExecuteOp addExecuteResults | ( | async::ExecuteOp | executeOp, |
ValueRange | results | ||
) |
Erases executeOp
and returns a clone with additional results
.
Definition at line 140 of file AsyncRegionRewriter.cpp.
References mlir::BlockAndValueMapping::clear(), mlir::Operation::getNumOperands(), mlir::Value::getType(), mlir::Operation::insertOperands(), and value.
Referenced by GpuAsyncRegionPass::SingleTokenUseCallback::operator()(), and GpuAsyncRegionPass::DeferWaitCallback::~DeferWaitCallback().
|
static |
Definition at line 40 of file AsyncRegionRewriter.cpp.
Referenced by computeMemRefRankReductionMask(), GpuAsyncRegionPass::ThreadTokenCallback::operator()(), GpuAsyncRegionPass::DeferWaitCallback::operator()(), and GpuAsyncRegionPass::DeferWaitCallback::~DeferWaitCallback().
|
static |
Definition at line 37 of file AsyncRegionRewriter.cpp.
References mlir::Operation::mightHaveTrait().
Referenced by GpuAsyncRegionPass::ThreadTokenCallback::operator()(), and GpuAsyncRegionPass::DeferWaitCallback::~DeferWaitCallback().