|
MLIR 22.0.0git
|
#include "mlir/Dialect/XeGPU/Utils/XeGPUUtils.h"#include "mlir/Dialect/GPU/IR/GPUDialect.h"#include "mlir/Dialect/Index/IR/IndexOps.h"#include "mlir/Dialect/LLVMIR/XeVMDialect.h"#include "mlir/Dialect/SCF/Transforms/Patterns.h"#include "mlir/Dialect/Utils/IndexingUtils.h"#include "mlir/Dialect/XeGPU/IR/XeGPU.h"#include "mlir/IR/Builders.h"#include "mlir/IR/Operation.h"#include "mlir/IR/ValueRange.h"#include "mlir/Interfaces/LoopLikeInterface.h"#include "mlir/Transforms/DialectConversion.h"#include "llvm/Support/FormatVariadic.h"#include <cstdint>#include <numeric>Go to the source code of this file.
Functions | |
| xegpu::DistributeLayoutAttr | maybePickPermanentLayout (xegpu::DistributeLayoutAttr layout, const OpResult &result, mlir::Operation *owner, const std::string &name) |
| xegpu::DistributeLayoutAttr | maybePickPermanentLayout (xegpu::DistributeLayoutAttr layout, const OpOperand &operand, mlir::Operation *owner, const std::string &name) |
| template void | xegpu::setDistributeLayoutAttr< mlir::OpResult > (const mlir::OpResult &result, const mlir::xegpu::DistributeLayoutAttr layout, bool respectPermLayout) |
| template void | xegpu::setDistributeLayoutAttr< mlir::OpOperand > (const mlir::OpOperand &operand, const mlir::xegpu::DistributeLayoutAttr layout, bool respectPermLayout) |
| template void | xegpu::removeLayoutAttr< mlir::OpResult > (const mlir::OpResult &result) |
| template void | xegpu::removeLayoutAttr< mlir::OpOperand > (const mlir::OpOperand &operand) |
| xegpu::DistributeLayoutAttr maybePickPermanentLayout | ( | xegpu::DistributeLayoutAttr | layout, |
| const OpOperand & | operand, | ||
| mlir::Operation * | owner, | ||
| const std::string & | name ) |
Definition at line 207 of file XeGPUUtils.cpp.
| xegpu::DistributeLayoutAttr maybePickPermanentLayout | ( | xegpu::DistributeLayoutAttr | layout, |
| const OpResult & | result, | ||
| mlir::Operation * | owner, | ||
| const std::string & | name ) |
Definition at line 191 of file XeGPUUtils.cpp.
References result.
Referenced by mlir::xegpu::setDistributeLayoutAttr().
| template void xegpu::removeLayoutAttr< mlir::OpOperand > | ( | const mlir::OpOperand & | operand | ) |
References mlir::xegpu::removeLayoutAttr().
| template void xegpu::removeLayoutAttr< mlir::OpResult > | ( | const mlir::OpResult & | result | ) |
References mlir::xegpu::removeLayoutAttr(), and result.
| template void xegpu::setDistributeLayoutAttr< mlir::OpOperand > | ( | const mlir::OpOperand & | operand, |
| const mlir::xegpu::DistributeLayoutAttr | layout, | ||
| bool | respectPermLayout ) |
References mlir::xegpu::setDistributeLayoutAttr().
| template void xegpu::setDistributeLayoutAttr< mlir::OpResult > | ( | const mlir::OpResult & | result, |
| const mlir::xegpu::DistributeLayoutAttr | layout, | ||
| bool | respectPermLayout ) |
References result, and mlir::xegpu::setDistributeLayoutAttr().