MLIR 23.0.0git
X86Dialect.h
Go to the documentation of this file.
1//===- X86Dialect.h - MLIR Dialect for X86 ----------------------*- C++ -*-===//
2//
3// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4// See https://llvm.org/LICENSE.txt for license information.
5// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6//
7//===----------------------------------------------------------------------===//
8//
9// This file declares the Target dialect for X86 in MLIR.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef MLIR_DIALECT_X86_X86DIALECT_H_
14#define MLIR_DIALECT_X86_X86DIALECT_H_
15
20#include "mlir/IR/Dialect.h"
26
27/// Include the generated interface declarations.
28#include "mlir/Dialect/X86/X86Interfaces.h.inc"
29
30#include "mlir/Dialect/X86/X86Dialect.h.inc"
31
32#define GET_TYPEDEF_CLASSES
33#include "mlir/Dialect/X86/X86Types.h.inc"
34
35namespace mlir {
36namespace x86 {
37namespace amx {
38// Alias to allow access to AMX type through nested namespaces
39// analogously to AMX operations.
40using TileType = mlir::x86::AMXTileType;
41} // namespace amx
42} // namespace x86
43} // namespace mlir
44
45#define GET_OP_CLASSES
46#include "mlir/Dialect/X86/X86.h.inc"
47
48#endif // MLIR_DIALECT_X86_X86DIALECT_H_
mlir::x86::AMXTileType TileType
Definition X86Dialect.h:40
Include the generated interface declarations.