LLZK 2.1.1
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::smt {
19
21bool isAnySMTValueType(mlir::Type type);
22
24bool isAnyNonFuncSMTValueType(mlir::Type type);
25
26} // namespace llzk::smt
27
28#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.