CIRCT  20.0.0git
OMTypes.h
Go to the documentation of this file.
1 //===- OMTypes.h - Object Model type declarations -------------------------===//
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 contains the Object Model type declarations.
10 //
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef CIRCT_DIALECT_OM_OMTYPES_H
14 #define CIRCT_DIALECT_OM_OMTYPES_H
15 
16 #include "mlir/IR/BuiltinAttributes.h"
17 #include "mlir/IR/Types.h"
18 
19 namespace circt::om {
20 // Return true if the type is a pair whose first element is either string or
21 // integer.
22 bool isMapKeyValuePairType(mlir::Type);
23 
24 } // namespace circt::om
25 
26 #define GET_TYPEDEF_CLASSES
27 #include "circt/Dialect/OM/OMTypes.h.inc"
28 
29 #endif // CIRCT_DIALECT_OM_OMTYPES_H
bool isMapKeyValuePairType(mlir::Type)
Definition: OMTypes.cpp:43