13 #ifndef MLIR_DIALECT_GPU_TRANSFORMS_UTILS_H_
14 #define MLIR_DIALECT_GPU_TRANSFORMS_UTILS_H_
43 SmallVectorImpl<Value> &operands);
49 gpu::LaunchOp launchOp,
vector::CombiningKind convertReductionKind(gpu::AllReduceOperation mode)
Returns the matching vector combining kind.
Include the generated interface declarations.
LogicalResult 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 t...
gpu::GPUFuncOp 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.