MLIR  21.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 MLIR_DIALECT_SMT_IR_SMTTYPES_H
10 #define MLIR_DIALECT_SMT_IR_SMTTYPES_H
11 
12 #include "mlir/IR/BuiltinTypes.h"
13 #include "mlir/IR/Types.h"
14 
15 #define GET_TYPEDEF_CLASSES
16 #include "mlir/Dialect/SMT/IR/SMTTypes.h.inc"
17 
18 namespace mlir {
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).
26 
27 } // namespace smt
28 } // namespace mlir
29 
30 #endif // MLIR_DIALECT_SMT_IR_SMTTYPES_H
Instances of the Type class are uniqued, have an immutable identifier and an optional mutable compone...
Definition: Types.h:74
bool isAnySMTValueType(mlir::Type type)
Returns whether the given type is an SMT value type.
Definition: SMTTypes.cpp:33
bool isAnyNonFuncSMTValueType(mlir::Type type)
Returns whether the given type is an SMT value type (excluding functions).
Definition: SMTTypes.cpp:29
Include the generated interface declarations.