MLIR  17.0.0git
Namespaces | Macros | Typedefs | Functions
GPUCommonPass.h File Reference
#include "mlir/Dialect/GPU/Transforms/Utils.h"
#include "mlir/Support/LLVM.h"
#include "llvm/ADT/StringRef.h"
#include <functional>
#include <vector>
#include "mlir/Conversion/Passes.h.inc"
+ 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.

Namespaces

 llvm
 Include the generated interface declarations.
 
 mlir
 This header declares functions that assit transformations in the MemRef dialect.
 
 mlir::gpu
 
 mlir::LLVM
 

Macros

#define GEN_PASS_DECL_GPUTOLLVMCONVERSIONPASS
 

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

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...
 

Macro Definition Documentation

◆ GEN_PASS_DECL_GPUTOLLVMCONVERSIONPASS

#define GEN_PASS_DECL_GPUTOLLVMCONVERSIONPASS

Definition at line 41 of file GPUCommonPass.h.