mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 20:55:02 -05:00
this is a first commit to support operations on U64 by decomposing them into smaller chunks (32 chunks of 2 bits). This commit introduce the lowering pass that will be later populated to support other operations.
24 lines
631 B
C++
24 lines
631 B
C++
// Part of the Concrete Compiler Project, under the BSD3 License with Zama
|
|
// Exceptions. See
|
|
// https://github.com/zama-ai/concrete-compiler-internal/blob/main/LICENSE.txt
|
|
// for license information.
|
|
|
|
#ifndef CONCRETELANG_FHE_BOOLEAN_PASS_H
|
|
#define CONCRETELANG_FHE_BOOLEAN_PASS_H
|
|
|
|
#include <concretelang/Dialect/FHE/IR/FHEDialect.h>
|
|
#include <mlir/Pass/Pass.h>
|
|
|
|
#define GEN_PASS_CLASSES
|
|
#include <concretelang/Dialect/FHE/Transforms/Boolean/Boolean.h.inc>
|
|
|
|
namespace mlir {
|
|
namespace concretelang {
|
|
|
|
std::unique_ptr<mlir::OperationPass<>> createFHEBooleanTransformPass();
|
|
|
|
} // namespace concretelang
|
|
} // namespace mlir
|
|
|
|
#endif
|