MLIR
24.0.0git
include
mlir
Dialect
X86
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
16
#include "
mlir/Conversion/LLVMCommon/Pattern.h
"
17
#include "
mlir/Dialect/LLVMIR/LLVMDialect.h
"
18
#include "
mlir/IR/BuiltinTypes.h
"
19
#include "
mlir/IR/PatternMatch.h
"
20
#include "
mlir/Interfaces/InferTypeOpInterface.h
"
21
#include "
mlir/Interfaces/SideEffectInterfaces.h
"
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
31
namespace
mlir
{
32
namespace
x86 {
33
namespace
amx
{
34
// Alias to allow access to AMX type through nested namespaces
35
// analogously to AMX operations.
36
using
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_
InferTypeOpInterface.h
LLVMDialect.h
PatternMatch.h
SideEffectInterfaces.h
Pattern.h
BuiltinTypes.h
mlir::x86::amx
Definition
X86Dialect.h:33
mlir::x86::amx::TileType
mlir::x86::AMXTileType TileType
Definition
X86Dialect.h:36
mlir
Include the generated interface declarations.
Definition
ABIRewriteContext.h:32
Generated on
for MLIR by
1.14.0