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