CIRCT  20.0.0git
SMTTypes.h
Go to the documentation of this file.
1 //===- SMTTypes.h - SMT dialect types ---------------------------*- 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 #ifndef CIRCT_DIALECT_SMT_SMTTYPES_H
10 #define CIRCT_DIALECT_SMT_SMTTYPES_H
11 
12 #include "mlir/IR/BuiltinTypes.h"
13 #include "mlir/IR/Types.h"
14 
15 #define GET_TYPEDEF_CLASSES
16 #include "circt/Dialect/SMT/SMTTypes.h.inc"
17 
18 namespace circt {
19 namespace smt {
20 
21 /// Returns whether the given type is an SMT value type.
22 bool isAnySMTValueType(mlir::Type type);
23 
24 /// Returns whether the given type is an SMT value type (excluding functions).
25 bool isAnyNonFuncSMTValueType(mlir::Type type);
26 
27 } // namespace smt
28 } // namespace circt
29 
30 #endif // CIRCT_DIALECT_SMT_SMTTYPES_H
bool isAnyNonFuncSMTValueType(mlir::Type type)
Returns whether the given type is an SMT value type (excluding functions).
bool isAnySMTValueType(mlir::Type type)
Returns whether the given type is an SMT value type.
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition: DebugAnalysis.h:21