MLIR  16.0.0git
Classes | Namespaces | Typedefs | Functions
GPUCommonPass.h File Reference
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include <functional>
#include <vector>
+ Include dependency graph for GPUCommonPass.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  mlir::OperationPass< OpT >
 Pass to transform an operation of a specific type. More...
 

Namespaces

 llvm
 The OpAsmOpInterface, see OpAsmInterface.td for more details.
 
 mlir
 Include the generated interface declarations.
 
 mlir::gpu
 
 mlir::LLVM
 

Typedefs

using mlir::OwnedBlob = std::unique_ptr< std::vector< char > >
 
using mlir::BlobGenerator = std::function< OwnedBlob(const std::string &, Location, StringRef)>
 
using mlir::LoweringCallback = std::function< std::unique_ptr< llvm::Module >(Operation *, llvm::LLVMContext &, StringRef)>
 

Functions

std::unique_ptr< OperationPass< ModuleOp > > mlir::createGpuToLLVMConversionPass (bool kernelBarePtrCallConv=false)
 Creates a pass to convert a GPU operations into a sequence of GPU runtime calls. More...
 
void mlir::populateGpuToLLVMConversionPatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns, StringRef gpuBinaryAnnotation={}, bool kernelBarePtrCallConv=false)
 Collect a set of patterns to convert from the GPU dialect to LLVM and populate converter for gpu types. More...