MLIR  20.0.0git
Classes | Namespaces | Macros | Functions
AsyncRegionRewriter.cpp File Reference
#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/Transforms/Utils.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...
 

Macro Definition Documentation

◆ GEN_PASS_DEF_GPUASYNCREGIONPASS

#define GEN_PASS_DEF_GPUASYNCREGIONPASS

Definition at line 30 of file AsyncRegionRewriter.cpp.

Function Documentation

◆ addExecuteResults()

async::ExecuteOp addExecuteResults ( async::ExecuteOp  executeOp,
ValueRange  results 
)

◆ hasSideEffects()

static bool hasSideEffects ( Operation op)
static

◆ isTerminator()

static bool isTerminator ( Operation op)
static

Definition at line 46 of file AsyncRegionRewriter.cpp.

References mlir::Operation::mightHaveTrait().