MLIR  20.0.0git
Namespaces | Macros | Functions
LowerGpuOpsToNVVMOps.cpp File Reference
#include "mlir/Conversion/GPUToNVVM/GPUToNVVMPass.h"
#include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h"
#include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
#include "mlir/Conversion/GPUCommon/GPUCommonPass.h"
#include "mlir/Conversion/LLVMCommon/ConversionTarget.h"
#include "mlir/Conversion/LLVMCommon/LoweringOptions.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/Func/IR/FuncOps.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/LLVMIR/NVVMDialect.h"
#include "mlir/Dialect/Math/IR/Math.h"
#include "mlir/Dialect/MemRef/IR/MemRef.h"
#include "mlir/Dialect/NVGPU/IR/NVGPUDialect.h"
#include "mlir/Transforms/DialectConversion.h"
#include "mlir/Transforms/GreedyPatternRewriteDriver.h"
#include "../GPUCommon/GPUOpsLowering.h"
#include "../GPUCommon/IndexIntrinsicsOpLowering.h"
#include "../GPUCommon/OpToFuncCallLowering.h"
#include <optional>
#include "mlir/Conversion/Passes.h.inc"
#include "GPUToNVVM.cpp.inc"

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Macros

#define GEN_PASS_DEF_CONVERTGPUOPSTONVVMOPS
 

Functions

template<typename OpTy >
static void populateOpPatterns (const LLVMTypeConverter &converter, RewritePatternSet &patterns, StringRef f32Func, StringRef f64Func, StringRef f32ApproxFunc="", StringRef f16Func="")
 

Macro Definition Documentation

◆ GEN_PASS_DEF_CONVERTGPUOPSTONVVMOPS

#define GEN_PASS_DEF_CONVERTGPUOPSTONVVMOPS

Definition at line 42 of file LowerGpuOpsToNVVMOps.cpp.

Function Documentation

◆ populateOpPatterns()

template<typename OpTy >
static void populateOpPatterns ( const LLVMTypeConverter converter,
RewritePatternSet patterns,
StringRef  f32Func,
StringRef  f64Func,
StringRef  f32ApproxFunc = "",
StringRef  f16Func = "" 
)
static

Definition at line 336 of file LowerGpuOpsToNVVMOps.cpp.

References mlir::RewritePatternSet::add().