#include "mlir/Dialect/Arith/Utils/Utils.h"
#include "mlir/Dialect/GPU/IR/GPUDialect.h"
#include "mlir/Dialect/LLVMIR/XeVMDialect.h"
#include "mlir/Dialect/Utils/IndexingUtils.h"
#include "mlir/Dialect/Utils/StaticValueUtils.h"
#include "mlir/Dialect/XeGPU/IR/XeGPU.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/TypeUtilities.h"
#include "mlir/Interfaces/ViewLikeInterface.h"
#include "llvm/Support/Debug.h"
#include <mlir/Dialect/XeGPU/IR/XeGPUAttrInterface.cpp.inc>
#include <mlir/Dialect/XeGPU/IR/XeGPUEnums.cpp.inc>
#include <mlir/Dialect/XeGPU/IR/XeGPU.cpp.inc>
Go to the source code of this file.
|
| | mlir |
| | Include the generated interface declarations.
|
| |
|
| static bool | isSharedMemory (const MemRefType &memrefTy) |
| |
| template<typename T > |
| static std::string | makeString (T array, bool breakline=false) |
| |
| static SmallVector< int64_t > | getShapeOf (Type type) |
| |
| static bool | isReadHintOrNone (const CachePolicyAttr &attr) |
| |
| static bool | isWriteHintOrNone (const CachePolicyAttr &attr) |
| |
| static LogicalResult | isValidGatherScatterParams (Type maskTy, VectorType valueTy, TensorDescType tdescTy, function_ref< InFlightDiagnostic()> emitError) |
| |
| static LogicalResult | isValidGatherScatterBufferParams (Type offsetsTy, Type maskTy, VectorType valueTy, int64_t chunkSize, function_ref< InFlightDiagnostic()> emitError) |
| |
| LogicalResult | IsValidMatrixOpParams (VectorType dataTy, MemDescType mdescTy, UnitAttr subgroup_block_io, function_ref< InFlightDiagnostic()> emitError) |
| |
| static ParseResult | parseOptionalDynamicIndexList (OpAsmParser &parser, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &values, DenseI64ArrayAttr &integers, SmallVectorImpl< Type > *valueTypes=nullptr, AsmParser::Delimiter delimiter=AsmParser::Delimiter::Square) |
| |
| static void | printOptionalDynamicIndexList (OpAsmPrinter &printer, Operation *op, OperandRange values, DenseI64ArrayAttr integers) |
| |
◆ DEBUG_TYPE
| #define DEBUG_TYPE "xegpu" |
◆ GET_OP_CLASSES
◆ getShapeOf()
◆ isReadHintOrNone()
| static bool isReadHintOrNone |
( |
const CachePolicyAttr & |
attr | ) |
|
|
static |
◆ isSharedMemory()
| static bool isSharedMemory |
( |
const MemRefType & |
memrefTy | ) |
|
|
static |
◆ isValidGatherScatterBufferParams()
◆ isValidGatherScatterParams()
◆ IsValidMatrixOpParams()
| LogicalResult IsValidMatrixOpParams |
( |
VectorType |
dataTy, |
|
|
MemDescType |
mdescTy, |
|
|
UnitAttr |
subgroup_block_io, |
|
|
function_ref< InFlightDiagnostic()> |
emitError |
|
) |
| |
◆ isWriteHintOrNone()
| static bool isWriteHintOrNone |
( |
const CachePolicyAttr & |
attr | ) |
|
|
static |
◆ makeString()
template<typename T >
| static std::string makeString |
( |
T |
array, |
|
|
bool |
breakline = false |
|
) |
| |
|
static |
◆ parseOptionalDynamicIndexList()
Definition at line 386 of file XeGPUOps.cpp.
References mlir::AsmParser::emitError(), mlir::remark::failed(), mlir::AsmParser::getBuilder(), mlir::Builder::getDenseI64ArrayAttr(), mlir::AsmParser::getNameLoc(), mlir::AsmParser::parseColonType(), mlir::AsmParser::parseCommaSeparatedList(), mlir::AsmParser::parseInteger(), mlir::AsmParser::parseOptionalLSquare(), mlir::OpAsmParser::parseOptionalOperand(), and mlir::AsmParser::parseRSquare().
◆ printOptionalDynamicIndexList()