MLIR  16.0.0git
Namespaces | Macros | Functions | Variables
GPUToLLVMConversion.cpp File Reference
#include "mlir/Conversion/GPUCommon/GPUCommonPass.h"
#include "mlir/Conversion/ArithToLLVM/ArithToLLVM.h"
#include "mlir/Conversion/AsyncToLLVM/AsyncToLLVM.h"
#include "mlir/Conversion/ControlFlowToLLVM/ControlFlowToLLVM.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVM.h"
#include "mlir/Conversion/FuncToLLVM/ConvertFuncToLLVMPass.h"
#include "mlir/Conversion/LLVMCommon/ConversionTarget.h"
#include "mlir/Conversion/LLVMCommon/Pattern.h"
#include "mlir/Conversion/MemRefToLLVM/MemRefToLLVM.h"
#include "mlir/Conversion/VectorToLLVM/ConvertVectorToLLVM.h"
#include "mlir/Dialect/Async/IR/Async.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/GPU/Transforms/Passes.h"
#include "mlir/Dialect/LLVMIR/LLVMDialect.h"
#include "mlir/IR/Attributes.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/BuiltinOps.h"
#include "mlir/IR/BuiltinTypes.h"
#include "llvm/ADT/STLExtras.h"
#include "llvm/Support/Error.h"
#include "llvm/Support/FormatVariadic.h"
#include "mlir/Conversion/Passes.h.inc"
+ Include dependency graph for GPUToLLVMConversion.cpp:

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 

Macros

#define GEN_PASS_DEF_GPUTOLLVMCONVERSIONPASS
 

Functions

static LogicalResult areAllLLVMTypes (Operation *op, ValueRange operands, ConversionPatternRewriter &rewriter)
 
static LogicalResult isAsyncWithOneDependency (ConversionPatternRewriter &rewriter, gpu::AsyncOpInterface op)
 
static bool isGpuAsyncTokenType (Value value)
 
static bool isDefinedByCallTo (Value value, StringRef functionName)
 

Variables

static constexpr const char * kGpuBinaryStorageSuffix = "_gpubin_cst"
 

Macro Definition Documentation

◆ GEN_PASS_DEF_GPUTOLLVMCONVERSIONPASS

#define GEN_PASS_DEF_GPUTOLLVMCONVERSIONPASS

Definition at line 41 of file GPUToLLVMConversion.cpp.

Function Documentation

◆ areAllLLVMTypes()

static LogicalResult areAllLLVMTypes ( Operation op,
ValueRange  operands,
ConversionPatternRewriter rewriter 
)
static

◆ isAsyncWithOneDependency()

static LogicalResult isAsyncWithOneDependency ( ConversionPatternRewriter rewriter,
gpu::AsyncOpInterface  op 
)
static

◆ isDefinedByCallTo()

static bool isDefinedByCallTo ( Value  value,
StringRef  functionName 
)
static

◆ isGpuAsyncTokenType()

static bool isGpuAsyncTokenType ( Value  value)
static

Variable Documentation

◆ kGpuBinaryStorageSuffix

constexpr const char* kGpuBinaryStorageSuffix = "_gpubin_cst"
static

Definition at line 47 of file GPUToLLVMConversion.cpp.

Referenced by isDefinedByCallTo().