MLIR
20.0.0git
|
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/Async/IR/Async.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Utils/GPUUtils.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/IRMapping.h"
#include "mlir/IR/PatternMatch.h"
#include "mlir/IR/SymbolTable.h"
#include "mlir/Interfaces/SideEffectInterfaces.h"
#include "mlir/Support/LLVM.h"
#include "mlir/Transforms/RegionUtils.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h.inc"
Go to the source code of this file.
Classes | |
struct | GpuAsyncRegionPass::ThreadTokenCallback |
struct | GpuAsyncRegionPass::DeferWaitCallback |
struct | GpuAsyncRegionPass::SingleTokenUseCallback |
Namespaces | |
mlir | |
Include the generated interface declarations. | |
Macros | |
#define | GEN_PASS_DEF_GPUASYNCREGIONPASS |
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... | |
#define GEN_PASS_DEF_GPUASYNCREGIONPASS |
Definition at line 30 of file AsyncRegionRewriter.cpp.
async::ExecuteOp addExecuteResults | ( | async::ExecuteOp | executeOp, |
ValueRange | results | ||
) |
Erases executeOp
and returns a clone with additional results
.
Definition at line 149 of file AsyncRegionRewriter.cpp.
References mlir::IRMapping::clear(), mlir::Operation::getNumOperands(), mlir::Value::getType(), and mlir::Operation::insertOperands().
Referenced by GpuAsyncRegionPass::SingleTokenUseCallback::operator()(), and GpuAsyncRegionPass::DeferWaitCallback::~DeferWaitCallback().
|
static |
Definition at line 49 of file AsyncRegionRewriter.cpp.
References mlir::isMemoryEffectFree().
Referenced by GpuAsyncRegionPass::DeferWaitCallback::operator()().
|
static |
Definition at line 46 of file AsyncRegionRewriter.cpp.
References mlir::Operation::mightHaveTrait().