MLIR 24.0.0git
NVVMDialect.h
Go to the documentation of this file.
1//===- NVVMDialect.h - MLIR NVVM 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 NVVM IR dialect in MLIR with all its ops, attributes
10// and enums. The NVVM dialect only contains GPU specific additions on top of
11// the general LLVM dialect.
12//
13// Prefer the narrower headers: this umbrella header only exists for
14// compatibility. Including all ops of the NVVM dialect is expensive to compile,
15// so include this header only if most of the headers below are needed anyway.
16// Otherwise include:
17// - NVVMDialectDecl.h for the dialect, NVVMAttributes.h for its attributes
18// and enums, and NVVMRequiresSMTraits.h for its traits,
19// - NVVM<Partition>Ops.h for the ops of an op partition, e.g.
20// NVVMIndexSRegOps.h for `nvvm.read.ptx.sreg.tid.x` and NVVMMmaOps.h for
21// `nvvm.mma.sync`.
22//
23//===----------------------------------------------------------------------===//
24
25#ifndef MLIR_DIALECT_LLVMIR_NVVMDIALECT_H_
26#define MLIR_DIALECT_LLVMIR_NVVMDIALECT_H_
27
34#include "llvm/IR/IntrinsicsNVPTX.h"
35
36///// Ops /////
49
50#endif /* MLIR_DIALECT_LLVMIR_NVVMDIALECT_H_ */