MLIR  20.0.0git
EmitCTraits.h
Go to the documentation of this file.
1 //===- EmitCTraits.h - EmitC trait definitions ------------------*- 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 C++ classes for some of the traits used in the EmitC
10 // dialect.
11 //
12 //===----------------------------------------------------------------------===//
13 
14 #ifndef MLIR_DIALECT_EMITC_IR_EMITCTRAITS_H
15 #define MLIR_DIALECT_EMITC_IR_EMITCTRAITS_H
16 
17 #include "mlir/IR/OpDefinition.h"
18 
19 namespace mlir {
20 namespace OpTrait {
21 namespace emitc {
22 
23 template <typename ConcreteType>
24 class CExpression : public TraitBase<ConcreteType, CExpression> {};
25 
26 } // namespace emitc
27 } // namespace OpTrait
28 } // namespace mlir
29 
30 #endif // MLIR_DIALECT_EMITC_IR_EMITCTRAITS_H
Helper class for implementing traits.
Definition: OpDefinition.h:373
Include the generated interface declarations.