MLIR 22.0.0git
DotProductOps.cpp File Reference
#include "mlir/Dialect/SPIRV/IR/SPIRVOps.h"
#include "SPIRVOpUtils.h"
#include "SPIRVParsingUtils.h"
#include "llvm/Support/FormatVariadic.h"

Go to the source code of this file.

Namespaces

namespace  mlir
 Include the generated interface declarations.
namespace  mlir::spirv

Macros

#define SPIRV_IMPL_INTEGER_DOT_PRODUCT_OP(OpName)

Functions

static std::optional< spirv::Version > mlir::spirv::getDotProductMinVersion ()
static std::optional< spirv::Version > mlir::spirv::getDotProductMaxVersion ()
template<typename IntegerDotProductOpTy>
static LogicalResult mlir::spirv::verifyIntegerDotProduct (Operation *op)
static SmallVector< ArrayRef< spirv::Extension >, 1 > mlir::spirv::getIntegerDotProductExtensions ()
template<typename IntegerDotProductOpTy>
static SmallVector< ArrayRef< spirv::Capability >, 1 > mlir::spirv::getIntegerDotProductCapabilities (Operation *op)

Macro Definition Documentation

◆ SPIRV_IMPL_INTEGER_DOT_PRODUCT_OP

#define SPIRV_IMPL_INTEGER_DOT_PRODUCT_OP ( OpName)
Value:
LogicalResult OpName::verify() { \
return verifyIntegerDotProduct<OpName>(*this); \
} \
SmallVector<ArrayRef<spirv::Extension>, 1> OpName::getExtensions() { \
return getIntegerDotProductExtensions(); \
} \
SmallVector<ArrayRef<spirv::Capability>, 1> OpName::getCapabilities() { \
return getIntegerDotProductCapabilities<OpName>(*this); \
} \
std::optional<spirv::Version> OpName::getMinVersion() { \
} \
std::optional<spirv::Version> OpName::getMaxVersion() { \
}
static std::optional< spirv::Version > getDotProductMaxVersion()
static std::optional< spirv::Version > getDotProductMinVersion()

Definition at line 158 of file DotProductOps.cpp.