|
MLIR 22.0.0git
|
#include "mlir/Dialect/GPU/Utils/GPUUtils.h"#include "mlir/Dialect/LLVMIR/LLVMDialect.h"#include "mlir/IR/Builders.h"#include "mlir/IR/Types.h"#include "mlir/Support/LLVM.h"#include "llvm/ADT/StringRef.h"#include <functional>#include "mlir/Conversion/Passes.h.inc"Go to the source code of this file.
Classes | |
| struct | mlir::GpuToLLVMConversionPassOptions |
| struct | mlir::FunctionCallBuilder |
Namespaces | |
| namespace | llvm |
| The OpAsmOpInterface, see OpAsmInterface.td for more details. | |
| namespace | mlir |
| Include the generated interface declarations. | |
| namespace | mlir::gpu |
| namespace | mlir::LLVM |
Macros | |
| #define | GEN_PASS_DECL_GPUTOLLVMCONVERSIONPASS |
Typedefs | |
| using | mlir::LoweringCallback |
| using | mlir::MemorySpaceMapping = std::function<unsigned(gpu::AddressSpace)> |
| A function that maps a MemorySpace enum to a target-specific integer value. | |
Functions | |
| std::unique_ptr<::mlir::Pass > | mlir::createGpuToLLVMConversionPass () |
| std::unique_ptr<::mlir::Pass > | mlir::createGpuToLLVMConversionPass (GpuToLLVMConversionPassOptions options) |
| void | mlir::populateGpuToLLVMConversionPatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns, bool kernelBarePtrCallConv=false, bool kernelIntersperseSizeCallConv=false) |
| Collect a set of patterns to convert from the GPU dialect to LLVM and populate converter for gpu types. | |
| void | mlir::populateGpuMemorySpaceAttributeConversions (TypeConverter &typeConverter, const MemorySpaceMapping &mapping) |
| Populates memory space attribute conversion rules for lowering gpu.address_space to integer values. | |
| #define GEN_PASS_DECL_GPUTOLLVMCONVERSIONPASS |
Definition at line 44 of file GPUCommonPass.h.