MLIR  22.0.0git
Classes | Namespaces | Macros | Functions
XeGPUOps.cpp File Reference
#include "mlir/Dialect/Arith/Utils/Utils.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/XeGPUEnums.cpp.inc>
#include <mlir/Dialect/XeGPU/IR/XeGPU.cpp.inc>

Go to the source code of this file.

Classes

struct  mlir::xegpu::FoldConvertLayoutOp
 

Namespaces

 mlir
 Include the generated interface declarations.
 
 mlir::xegpu
 

Macros

#define DEBUG_TYPE   "xegpu"
 
#define GET_OP_CLASSES
 

Functions

template<typename T >
static std::string mlir::xegpu::makeString (T array, bool breakline=false)
 
static SmallVector< int64_t > mlir::xegpu::getShapeOf (Type type)
 
static int64_t mlir::xegpu::getRankOf (Value val)
 
static bool mlir::xegpu::isReadHintOrNone (const CachePolicyAttr &attr)
 
static bool mlir::xegpu::isWriteHintOrNone (const CachePolicyAttr &attr)
 
static LogicalResult mlir::xegpu::isValidGatherScatterParams (Type maskTy, VectorType valueTy, TensorDescType tdescTy, function_ref< InFlightDiagnostic()> emitError)
 
ParseResult mlir::xegpu::parseOptionalDynamicIndexList (OpAsmParser &parser, SmallVectorImpl< OpAsmParser::UnresolvedOperand > &values, DenseI64ArrayAttr &integers, SmallVectorImpl< Type > *valueTypes=nullptr, AsmParser::Delimiter delimiter=AsmParser::Delimiter::Square)
 
void mlir::xegpu::printOptionalDynamicIndexList (OpAsmPrinter &printer, Operation *op, OperandRange values, DenseI64ArrayAttr integers)
 

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "xegpu"

Definition at line 19 of file XeGPUOps.cpp.

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 842 of file XeGPUOps.cpp.