MLIR  16.0.0git
Classes | Namespaces | Macros | Functions
Passes.h File Reference
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Dialect/GPU/Transforms/"
+ Include dependency graph for Passes.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.


class  mlir::gpu::SerializeToBlobPass
 Base pass class to serialize kernel functions through LLVM into user-specified IR and add the resulting blob as module attribute. More...


 The OpAsmOpInterface, see for more details.
 Include the generated interface declarations.


 Generate the code for registering passes. More...


std::unique_ptr< Passmlir::createGpuLauchSinkIndexComputationsPass ()
 Pass that moves ops which are likely an index computation into gpu.launch body. More...
std::unique_ptr< OperationPass< ModuleOp > > mlir::createGpuKernelOutliningPass (StringRef dataLayoutStr=StringRef())
 Replaces gpu.launch with gpu.launch_func by moving the region into a separate kernel function. More...
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createGpuAsyncRegionPass ()
 Rewrites a function region so that GPU ops execute asynchronously. More...
std::unique_ptr< OperationPass< func::FuncOp > > mlir::createGpuMapParallelLoopsPass ()
 Maps the parallel loops found in the given function to workgroups. More...
void mlir::populateGpuAllReducePatterns (RewritePatternSet &patterns)
 Collect a set of patterns to rewrite all-reduce ops within the GPU dialect. More...
void mlir::populateGpuRewritePatterns (RewritePatternSet &patterns)
 Collect all patterns to rewrite ops within the GPU dialect. More...
std::string mlir::gpu::getDefaultGpuBinaryAnnotation ()
 Returns the default annotation name for GPU binary blobs. More...
void mlir::registerGpuSerializeToCubinPass ()
 Register pass to serialize GPU kernel functions to a CUBIN binary annotation. More...
void mlir::registerGpuSerializeToHsacoPass ()
 Register pass to serialize GPU kernel functions to a HSAco binary annotation. More...
std::unique_ptr< Pass > mlir::createGpuSerializeToHsacoPass (StringRef triple, StringRef arch, StringRef features, int optLevel)
 Create an instance of the GPU kernel function to HSAco binary serialization pass. More...

Macro Definition Documentation



Generate the code for registering passes.

Definition at line 128 of file Passes.h.