MLIR
17.0.0git
|
#include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h"
#include "mlir/Conversion/GPUToROCDL/GPUToROCDLPass.h"
#include "mlir/Conversion/AMDGPUToROCDL/AMDGPUToROCDL.h"
#include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
#include "mlir/Conversion/LLVMCommon/ConversionTarget.h"
#include "mlir/Conversion/LLVMCommon/LoweringOptions.h"
#include "mlir/Conversion/LLVMCommon/Pattern.h"
#include "mlir/Conversion/LLVMCommon/TypeConverter.h"
#include "mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h"
#include "mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h"
#include "mlir/Dialect/ControlFlow/IR/ControlFlow.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/Func/IR/FuncOps.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/Dialect/LLVMIR/ROCDLDialect.h"
#include "mlir/Dialect/Math/IR/Math.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/IR/BuiltinAttributes.h"
#include "mlir/Pass/Pass.h"
#include "mlir/Transforms/DialectConversion.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "llvm/Support/FormatVariadic.h"
#include "../GPUCommon/GPUOpsLowering.h"
#include "../GPUCommon/IndexIntrinsicsOpLowering.h"
#include "../GPUCommon/OpToFuncCallLowering.h"
#include "mlir/Conversion/Passes.h.inc"
#include "GPUToROCDL.cpp.inc"
Go to the source code of this file.
Namespaces | |
mlir | |
This header declares functions that assit transformations in the MemRef dialect. | |
Macros | |
#define | GEN_PASS_DEF_CONVERTGPUOPSTOROCDLOPS |
Functions | |
static bool | canBeCalledWithBarePointers (gpu::GPUFuncOp func) |
Returns true if the given gpu.func can be safely called using the bare pointer calling convention. More... | |
template<typename OpTy > | |
static void | populateOpPatterns (LLVMTypeConverter &converter, RewritePatternSet &patterns, StringRef f32Func, StringRef f64Func) |
#define GEN_PASS_DEF_CONVERTGPUOPSTOROCDLOPS |
Definition at line 46 of file LowerGpuOpsToROCDLOps.cpp.
|
static |
Returns true if the given gpu.func
can be safely called using the bare pointer calling convention.
Definition at line 54 of file LowerGpuOpsToROCDLOps.cpp.
References mlir::LLVMTypeConverter::canConvertToBarePtr().
|
static |
Definition at line 204 of file LowerGpuOpsToROCDLOps.cpp.
References mlir::RewritePatternSet::add().