MLIR 22.0.0git
XeGPUUtils.cpp File Reference

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)

Function Documentation

◆ maybePickPermanentLayout() [1/2]

xegpu::DistributeLayoutAttr maybePickPermanentLayout ( xegpu::DistributeLayoutAttr layout,
const OpOperand & operand,
mlir::Operation * owner,
const std::string & name )

Definition at line 207 of file XeGPUUtils.cpp.

◆ maybePickPermanentLayout() [2/2]

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().

◆ xegpu::removeLayoutAttr< mlir::OpOperand >()

template void xegpu::removeLayoutAttr< mlir::OpOperand > ( const mlir::OpOperand & operand)

◆ xegpu::removeLayoutAttr< mlir::OpResult >()

template void xegpu::removeLayoutAttr< mlir::OpResult > ( const mlir::OpResult & result)

◆ xegpu::setDistributeLayoutAttr< mlir::OpOperand >()

template void xegpu::setDistributeLayoutAttr< mlir::OpOperand > ( const mlir::OpOperand & operand,
const mlir::xegpu::DistributeLayoutAttr layout,
bool respectPermLayout )

◆ xegpu::setDistributeLayoutAttr< mlir::OpResult >()

template void xegpu::setDistributeLayoutAttr< mlir::OpResult > ( const mlir::OpResult & result,
const mlir::xegpu::DistributeLayoutAttr layout,
bool respectPermLayout )