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.


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


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


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


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