MLIR  20.0.0git
Macros | Functions
AMXDialect.cpp File Reference
#include "mlir/Dialect/AMX/AMXDialect.h"
#include "mlir/Dialect/LLVMIR/LLVMTypes.h"
#include "mlir/IR/Builders.h"
#include "mlir/IR/DialectImplementation.h"
#include "mlir/IR/OpImplementation.h"
#include "mlir/IR/TypeUtilities.h"
#include "llvm/ADT/TypeSwitch.h"
#include "mlir/Dialect/AMX/AMXDialect.cpp.inc"
#include "mlir/Dialect/AMX/AMXTypes.cpp.inc"
#include "mlir/Dialect/AMX/AMX.cpp.inc"

Go to the source code of this file.

Macros

#define GET_TYPEDEF_LIST
 
#define GET_OP_LIST
 
#define GET_OP_CLASSES
 
#define GET_TYPEDEF_CLASSES
 

Functions

static LogicalResult verifyTileSize (Operation *op, amx::TileType tp)
 Verify that AMX supports the implied tile shape. More...
 
static LogicalResult verifyMultShape (Operation *op, amx::TileType atp, amx::TileType btp, amx::TileType ctp, unsigned scale)
 Verify that AMX supports the multiplication. More...
 

Macro Definition Documentation

◆ GET_OP_CLASSES

#define GET_OP_CLASSES

Definition at line 141 of file AMXDialect.cpp.

◆ GET_OP_LIST

#define GET_OP_LIST

◆ GET_TYPEDEF_CLASSES

#define GET_TYPEDEF_CLASSES

Definition at line 144 of file AMXDialect.cpp.

◆ GET_TYPEDEF_LIST

#define GET_TYPEDEF_LIST

Function Documentation

◆ verifyMultShape()

static LogicalResult verifyMultShape ( Operation op,
amx::TileType  atp,
amx::TileType  btp,
amx::TileType  ctp,
unsigned  scale 
)
static

Verify that AMX supports the multiplication.

Definition at line 51 of file AMXDialect.cpp.

References mlir::Operation::emitOpError().

◆ verifyTileSize()

static LogicalResult verifyTileSize ( Operation op,
amx::TileType  tp 
)
static

Verify that AMX supports the implied tile shape.

Definition at line 39 of file AMXDialect.cpp.

References mlir::Operation::emitOpError().