MLIR 24.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
19
20/// Include the generated interface declarations.
21#include "mlir/Dialect/X86/X86Interfaces.h.inc"
22
23#include "mlir/Dialect/X86/X86Dialect.h.inc"
24
25#define GET_TYPEDEF_CLASSES
26#include "mlir/Dialect/X86/X86Types.h.inc"
27
28namespace mlir {
29namespace x86 {
30namespace amx {
31// Alias to allow access to AMX type through nested namespaces
32// analogously to AMX operations.
33using TileType = mlir::x86::AMXTileType;
34} // namespace amx
35} // namespace x86
36} // namespace mlir
37
38#define GET_OP_CLASSES
39#include "mlir/Dialect/X86/X86.h.inc"
40
41#endif // MLIR_DIALECT_X86_X86DIALECT_H_
mlir::x86::AMXTileType TileType
Definition X86Dialect.h:33
Include the generated interface declarations.