MLIR  20.0.0git
Namespaces | Functions
Utils.h File Reference
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/Vector/IR/VectorOps.h"
#include "mlir/Support/LLVM.h"
#include <string>

Go to the source code of this file.

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::gpu
 

Functions

vector::CombiningKind mlir::gpu::convertReductionKind (gpu::AllReduceOperation mode)
 Returns the matching vector combining kind. More...
 
gpu::GPUFuncOp mlir::outlineKernelFunc (gpu::LaunchOp launchOp, StringRef kernelFnName, SmallVectorImpl< Value > &operands)
 Get a gpu.func created from outlining the region of a gpu.launch op with the given kernelFnName. More...
 
LogicalResult mlir::sinkOperationsIntoLaunchOp (gpu::LaunchOp launchOp, llvm::function_ref< bool(Operation *)> isSinkingBeneficiary)
 Sink operations into the launchOp to reduce the number of values that are used within the region of the operation, but defined outside of the region. More...