My Project
include
mlir
Dialect
LLVMIR
NVVMDialect.h
Go to the documentation of this file.
1
//===- NVVMDialect.h - MLIR NVVM IR dialect ---------------------*- C++ -*-===//
2
//
3
// Part of the MLIR 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 defines the NVVM IR dialect in MLIR, containing NVVM operations and
10
// NVVM specific extensions to the LLVM type system.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef MLIR_DIALECT_LLVMIR_NVVMDIALECT_H_
15
#define MLIR_DIALECT_LLVMIR_NVVMDIALECT_H_
16
17
#include "
mlir/IR/Dialect.h
"
18
#include "
mlir/IR/OpDefinition.h
"
19
namespace
mlir
{
20
namespace
NVVM {
21
23
#define GET_OP_CLASSES
24
#include "mlir/Dialect/LLVMIR/NVVMOps.h.inc"
25
26
class
NVVMDialect
:
public
Dialect
{
27
public
:
28
explicit
NVVMDialect
(
MLIRContext
*context);
29
30
static
StringRef
getDialectNamespace
() {
return
"nvvm"
; }
31
};
32
33
}
// namespace NVVM
34
}
// namespace mlir
35
36
#endif
/* MLIR_DIALECT_LLVMIR_NVVMDIALECT_H_ */
mlir
Definition:
InferTypeOpInterface.cpp:20
mlir::NVVM::NVVMDialect::getDialectNamespace
static StringRef getDialectNamespace()
Definition:
NVVMDialect.h:30
mlir::NVVM::NVVMDialect::NVVMDialect
NVVMDialect(MLIRContext *context)
Definition:
NVVMDialect.cpp:192
mlir::Dialect
Definition:
Dialect.h:39
OpDefinition.h
Dialect.h
mlir::MLIRContext
Definition:
MLIRContext.h:34
mlir::NVVM::NVVMDialect
Definition:
NVVMDialect.h:26
Generated by
1.8.13