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 xegpu::DistributeLayoutAttr xegpu::getTemporaryLayout< mlir::OpResult > (const OpResult &result)
template xegpu::DistributeLayoutAttr xegpu::getTemporaryLayout< mlir::OpOperand > (const OpOperand &operand)
template void xegpu::setTemporaryLayout< mlir::OpResult > (const mlir::OpResult &result, const mlir::xegpu::DistributeLayoutAttr layout)
template void xegpu::setTemporaryLayout< mlir::OpOperand > (const mlir::OpOperand &operand, const mlir::xegpu::DistributeLayoutAttr layout)
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 212 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 196 of file XeGPUUtils.cpp.

References result.

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

template xegpu::DistributeLayoutAttr xegpu::getTemporaryLayout< mlir::OpOperand > ( const OpOperand & operand)

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

template xegpu::DistributeLayoutAttr xegpu::getTemporaryLayout< mlir::OpResult > ( const OpResult & result)

◆ 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::setTemporaryLayout< mlir::OpOperand >()

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

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

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