MLIR 24.0.0git
LLVMDialect.h
Go to the documentation of this file.
1//===- LLVMDialect.h - MLIR LLVM IR dialect ---------------------*- 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 LLVM IR dialect in MLIR with all its ops, attributes
10// and types.
11//
12// Prefer the narrower headers: this umbrella header only exists for
13// compatibility. Including all ops of the LLVM dialect is expensive to compile,
14// so include this header only if most of the headers below are needed anyway.
15// Otherwise include:
16// - LLVMDialectDecl.h for the dialect, its attributes and its types,
17// - LLVMInterfaces.h for its interfaces,
18// - LLVM<Partition>Ops.h for the ops of an op partition, e.g. LLVMArithOps.h
19// for `llvm.add` and LLVMMemoryOps.h for `llvm.load`.
20//
21//===----------------------------------------------------------------------===//
22
23#ifndef MLIR_DIALECT_LLVMIR_LLVMDIALECT_H_
24#define MLIR_DIALECT_LLVMIR_LLVMDIALECT_H_
25
29#include "mlir/IR/BuiltinOps.h"
32#include "mlir/IR/TypeSupport.h"
33#include "mlir/IR/Types.h"
34
55
56#endif // MLIR_DIALECT_LLVMIR_LLVMDIALECT_H_