MLIR 22.0.0git
GPUOpsLowering.h File Reference

Go to the source code of this file.

Classes

struct  mlir::GPUDynamicSharedMemoryOpLowering
 Lowering for gpu.dynamic.shared.memory to LLVM dialect. More...
struct  mlir::GPUFuncOpLoweringOptions
struct  mlir::GPUFuncOpLowering
struct  mlir::GPUPrintfOpToHIPLowering
 The lowering of gpu.printf to a call to HIP hostcalls. More...
struct  mlir::GPUPrintfOpToLLVMCallLowering
 The lowering of gpu.printf to a call to an external printf() function. More...
struct  mlir::GPUPrintfOpToVPrintfLowering
 Lowering of gpu.printf to a vprintf standard library. More...
struct  mlir::GPUReturnOpLowering
struct  mlir::ScalarizeVectorOpLowering< SourceOp >
 Unrolls SourceOp to array/vector elements. More...

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::impl
 Attribute collections provide a dictionary-like interface.

Functions

LLVM::LLVMFuncOp mlir::getOrDefineFunction (Operation *moduleOp, Location loc, OpBuilder &b, StringRef name, LLVM::LLVMFunctionType type)
 Note that these functions don't take a SymbolTable because GPU module lowerings can have name collisions as an intermediate state.
LLVM::GlobalOp mlir::getOrCreateStringConstant (OpBuilder &b, Location loc, Operation *moduleOp, Type llvmI8, StringRef namePrefix, StringRef str, uint64_t alignment=0, unsigned addrSpace=0)
 Create a global that contains the given string.
LogicalResult mlir::impl::scalarizeVectorOp (Operation *op, ValueRange operands, ConversionPatternRewriter &rewriter, const LLVMTypeConverter &converter)
 Unrolls op to array/vector elements.