LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
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
17
18namespace llzk {
19namespace smt {
20
22bool isAnySMTValueType(mlir::Type type);
23
25bool isAnyNonFuncSMTValueType(mlir::Type type);
26
27} // namespace smt
28} // namespace llzk
29
30#endif // MLIR_DIALECT_SMT_IR_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.