From 971cb5618229f6f2d5d3a72d2bd3ff132deb48ad Mon Sep 17 00:00:00 2001 From: youben11 Date: Mon, 27 Dec 2021 11:59:33 +0100 Subject: [PATCH] chore: licensing --- LICENSE.txt | 42 +++++++++++++++++++ compiler/include/zamalang-c/Dialect/HLFHE.h | 3 ++ .../include/zamalang-c/Dialect/HLFHELinalg.h | 3 ++ .../zamalang-c/Support/CompilerEngine.h | 3 ++ .../Conversion/HLFHETensorOpsToLinalg/Pass.h | 3 ++ .../zamalang/Conversion/HLFHEToMidLFHE/Pass.h | 3 ++ .../Conversion/HLFHEToMidLFHE/Patterns.h | 3 ++ .../Conversion/LowLFHEToConcreteCAPI/Pass.h | 3 ++ .../Conversion/LowLFHEUnparametrize/Pass.h | 3 ++ .../MLIRLowerableDialectsToLLVM/Pass.h | 3 ++ .../MidLFHEGlobalParametrization/Pass.h | 3 ++ .../Conversion/MidLFHEToLowLFHE/Pass.h | 3 ++ .../Conversion/MidLFHEToLowLFHE/Patterns.h | 3 ++ compiler/include/zamalang/Conversion/Passes.h | 3 ++ .../Utils/GenericOpTypeConversionPattern.h | 3 ++ .../Conversion/Utils/GlobalFHEContext.h | 3 ++ .../Utils/RegionOpTypeConverterPattern.h | 3 ++ .../Conversion/Utils/TensorOpTypeConversion.h | 3 ++ .../zamalang/Dialect/HLFHE/Analysis/MANP.h | 3 ++ .../zamalang/Dialect/HLFHE/IR/HLFHEDialect.h | 3 ++ .../zamalang/Dialect/HLFHE/IR/HLFHEOps.h | 3 ++ .../zamalang/Dialect/HLFHE/IR/HLFHETypes.h | 3 ++ .../HLFHELinalg/IR/HLFHELinalgDialect.h | 3 ++ .../Dialect/HLFHELinalg/IR/HLFHELinalgOps.h | 3 ++ .../Dialect/HLFHELinalg/IR/HLFHELinalgTypes.h | 3 ++ .../Dialect/HLFHELinalg/Transforms/Tiling.h | 3 ++ .../Dialect/LowLFHE/IR/LowLFHEDialect.h | 3 ++ .../zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h | 3 ++ .../Dialect/LowLFHE/IR/LowLFHETypes.h | 3 ++ .../Dialect/MidLFHE/IR/MidLFHEDialect.h | 3 ++ .../zamalang/Dialect/MidLFHE/IR/MidLFHEOps.h | 3 ++ .../Dialect/MidLFHE/IR/MidLFHETypes.h | 3 ++ .../zamalang/Dialect/RT/Analysis/Autopar.h | 3 ++ .../zamalang/Dialect/RT/IR/RTDialect.h | 3 ++ .../include/zamalang/Dialect/RT/IR/RTOps.h | 3 ++ .../include/zamalang/Dialect/RT/IR/RTTypes.h | 3 ++ .../include/zamalang/Runtime/DFRuntime.hpp | 3 ++ compiler/include/zamalang/Runtime/context.h | 3 ++ .../zamalang/Runtime/dfr_debug_interface.h | 3 ++ .../distributed_generic_task_server.hpp | 3 ++ .../include/zamalang/Runtime/key_manager.hpp | 3 ++ .../include/zamalang/Runtime/runtime_api.h | 3 ++ compiler/include/zamalang/Runtime/wrappers.h | 3 ++ .../zamalang/Support/ClientParameters.h | 3 ++ .../include/zamalang/Support/CompilerEngine.h | 3 ++ compiler/include/zamalang/Support/Constants.h | 3 ++ compiler/include/zamalang/Support/Error.h | 3 ++ compiler/include/zamalang/Support/Jit.h | 3 ++ .../zamalang/Support/JitCompilerEngine.h | 3 ++ compiler/include/zamalang/Support/KeySet.h | 3 ++ .../include/zamalang/Support/KeySetCache.h | 3 ++ .../include/zamalang/Support/LLVMEmitFile.h | 3 ++ .../include/zamalang/Support/LambdaArgument.h | 3 ++ compiler/include/zamalang/Support/Pipeline.h | 3 ++ compiler/include/zamalang/Support/V0Curves.h | 3 ++ .../include/zamalang/Support/V0Parameters.h | 3 ++ compiler/include/zamalang/Support/logging.h | 3 ++ compiler/include/zamalang/Support/math.h | 3 ++ .../lib/Bindings/Python/CompilerAPIModule.cpp | 3 ++ .../lib/Bindings/Python/CompilerAPIModule.h | 3 ++ compiler/lib/Bindings/Python/DialectModules.h | 3 ++ compiler/lib/Bindings/Python/HLFHEModule.cpp | 3 ++ .../lib/Bindings/Python/ZamalangModule.cpp | 3 ++ .../lib/Bindings/Python/zamalang/__init__.py | 3 ++ .../lib/Bindings/Python/zamalang/compiler.py | 3 ++ .../Python/zamalang/dialects/__init__.py | 3 ++ .../Python/zamalang/dialects/_ods_common.py | 3 ++ .../Python/zamalang/dialects/hlfhe.py | 3 ++ .../Python/zamalang/dialects/hlfhelinalg.py | 3 ++ .../lib/Bindings/Python/zamalang/version.py | 3 ++ compiler/lib/CAPI/Dialect/HLFHE/HLFHE.cpp | 3 ++ .../CAPI/Dialect/HLFHELinalg/HLFHELinalg.cpp | 3 ++ compiler/lib/CAPI/Support/CompilerEngine.cpp | 3 ++ .../TensorOpsToLinalg.cpp | 3 ++ .../HLFHEToMidLFHE/HLFHEToMidLFHE.cpp | 3 ++ .../LowLFHEToConcreteCAPI.cpp | 3 ++ .../LowLFHEUnparametrize.cpp | 3 ++ .../MLIRLowerableDialectsToLLVM.cpp | 3 ++ .../MidLFHEGlobalParametrization.cpp | 3 ++ .../MidLFHEToLowLFHE/MidLFHEToLowLFHE.cpp | 3 ++ compiler/lib/Dialect/HLFHE/Analysis/MANP.cpp | 3 ++ .../lib/Dialect/HLFHE/IR/HLFHEDialect.cpp | 3 ++ compiler/lib/Dialect/HLFHE/IR/HLFHEOps.cpp | 3 ++ .../HLFHELinalg/IR/HLFHELinalgDialect.cpp | 3 ++ .../Dialect/HLFHELinalg/IR/HLFHELinalgOps.cpp | 3 ++ .../Dialect/HLFHELinalg/Transforms/Tiling.cpp | 3 ++ .../lib/Dialect/LowLFHE/IR/LowLFHEDialect.cpp | 3 ++ .../lib/Dialect/LowLFHE/IR/LowLFHEOps.cpp | 3 ++ .../lib/Dialect/MidLFHE/IR/MidLFHEDialect.cpp | 3 ++ .../lib/Dialect/MidLFHE/IR/MidLFHEOps.cpp | 3 ++ .../RT/Analysis/BufferizeDataflowTaskOps.cpp | 3 ++ .../RT/Analysis/BuildDataflowTaskGraph.cpp | 3 ++ .../RT/Analysis/LowerDataflowTasksToRT.cpp | 3 ++ ...owerRTToLLVMDFRCallsConversionPatterns.cpp | 3 ++ compiler/lib/Dialect/RT/IR/RTDialect.cpp | 3 ++ compiler/lib/Dialect/RT/IR/RTOps.cpp | 3 ++ compiler/lib/Runtime/DFRuntime.cpp | 3 ++ compiler/lib/Support/ClientParameters.cpp | 3 ++ compiler/lib/Support/CompilerEngine.cpp | 3 ++ compiler/lib/Support/Error.cpp | 3 ++ compiler/lib/Support/Jit.cpp | 3 ++ compiler/lib/Support/JitCompilerEngine.cpp | 3 ++ compiler/lib/Support/KeySet.cpp | 3 ++ compiler/lib/Support/KeySetCache.cpp | 3 ++ compiler/lib/Support/LLVMEmitFile.cpp | 3 ++ compiler/lib/Support/LambdaArgument.cpp | 3 ++ compiler/lib/Support/Pipeline.cpp | 3 ++ compiler/lib/Support/V0Curves.cpp | 3 ++ compiler/lib/Support/V0Parameters.cpp | 3 ++ compiler/lib/Support/logging.cpp | 3 ++ compiler/src/main.cpp | 3 ++ 111 files changed, 372 insertions(+) create mode 100644 LICENSE.txt diff --git a/LICENSE.txt b/LICENSE.txt new file mode 100644 index 000000000..dcc91f668 --- /dev/null +++ b/LICENSE.txt @@ -0,0 +1,42 @@ +BSD 3-Clause Clear License + +Copyright © 2021 ZAMA. +All rights reserved. + +Redistribution and use in source and binary forms, with or without modification, +are permitted provided that the following conditions are met: + +1. Redistributions of source code must retain the above copyright notice, this +list of conditions and the following disclaimer. + +2. Redistributions in binary form must reproduce the above copyright notice, this +list of conditions and the following disclaimer in the documentation and/or other +materials provided with the distribution. + +3. Neither the name of ZAMA nor the names of its contributors may be used to endorse +or promote products derived from this software without specific prior written permission. + +NO EXPRESS OR IMPLIED LICENSES TO ANY PARTY’S PATENT RIGHTS ARE GRANTED BY THIS LICENSE*. +THIS SOFTWARE IS PROVIDED BY THE ZAMA AND CONTRIBUTORS “AS IS” AND ANY EXPRESS OR +IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL +ZAMA OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, +OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND +ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING +NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF +ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. + +*EXEMPTION: ZAMA grants to the user a non-exclusive, free and non-commercial license on all +patents filed in its name relating to the open-source code (the “Patents”) for the sole +purpose of development, research, prototyping and experimentation. It is agreed that ZAMA +will support the user and the community to use, develop and improve Patents and the open-source +code. As a counterpart, the user undertakes to collaborate and share information with ZAMA +regarding any use, developments or improvements, whether protectable or not, of the exploited +Patents and open-source code. In this context it is agreed that the user will declare to ZAMA, +in writing and within a reasonable time, his/her wish to file any intellectual property right, +including in particular any patent or copyright application, relating to the open-source code +and/or the Patents. All declarations shall occur before the application is filed. Further to +this declaration, ZAMA will continue to support the user in the development, research, +prototyping and experimentation and may grant him the right to file the intellectual property +right. diff --git a/compiler/include/zamalang-c/Dialect/HLFHE.h b/compiler/include/zamalang-c/Dialect/HLFHE.h index f0761a5ab..064fb2672 100644 --- a/compiler/include/zamalang-c/Dialect/HLFHE.h +++ b/compiler/include/zamalang-c/Dialect/HLFHE.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_C_DIALECT_HLFHE_H #define ZAMALANG_C_DIALECT_HLFHE_H diff --git a/compiler/include/zamalang-c/Dialect/HLFHELinalg.h b/compiler/include/zamalang-c/Dialect/HLFHELinalg.h index 7adebe0f1..2c6836d5b 100644 --- a/compiler/include/zamalang-c/Dialect/HLFHELinalg.h +++ b/compiler/include/zamalang-c/Dialect/HLFHELinalg.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_C_DIALECT_HLFHELINALG_H #define ZAMALANG_C_DIALECT_HLFHELINALG_H diff --git a/compiler/include/zamalang-c/Support/CompilerEngine.h b/compiler/include/zamalang-c/Support/CompilerEngine.h index e49fec44a..ef2fa3026 100644 --- a/compiler/include/zamalang-c/Support/CompilerEngine.h +++ b/compiler/include/zamalang-c/Support/CompilerEngine.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_C_SUPPORT_COMPILER_ENGINE_H #define ZAMALANG_C_SUPPORT_COMPILER_ENGINE_H diff --git a/compiler/include/zamalang/Conversion/HLFHETensorOpsToLinalg/Pass.h b/compiler/include/zamalang/Conversion/HLFHETensorOpsToLinalg/Pass.h index a6818d825..495506296 100644 --- a/compiler/include/zamalang/Conversion/HLFHETensorOpsToLinalg/Pass.h +++ b/compiler/include/zamalang/Conversion/HLFHETensorOpsToLinalg/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_HLFHETENSOROPSTOLINALG_PASS_H_ #define ZAMALANG_CONVERSION_HLFHETENSOROPSTOLINALG_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Pass.h b/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Pass.h index 61f070a69..afb229d7e 100644 --- a/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Pass.h +++ b/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_HLFHETOMIDLFHE_PASS_H_ #define ZAMALANG_CONVERSION_HLFHETOMIDLFHE_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Patterns.h b/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Patterns.h index 7a04460df..5c375dbd7 100644 --- a/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Patterns.h +++ b/compiler/include/zamalang/Conversion/HLFHEToMidLFHE/Patterns.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_HLFHETOMIDLFHE_PATTERNS_H_ #define ZAMALANG_CONVERSION_HLFHETOMIDLFHE_PATTERNS_H_ diff --git a/compiler/include/zamalang/Conversion/LowLFHEToConcreteCAPI/Pass.h b/compiler/include/zamalang/Conversion/LowLFHEToConcreteCAPI/Pass.h index 9cef14099..61a2cf56a 100644 --- a/compiler/include/zamalang/Conversion/LowLFHEToConcreteCAPI/Pass.h +++ b/compiler/include/zamalang/Conversion/LowLFHEToConcreteCAPI/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_LOWLFHETOCONCRETECAPI_PASS_H_ #define ZAMALANG_CONVERSION_LOWLFHETOCONCRETECAPI_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/LowLFHEUnparametrize/Pass.h b/compiler/include/zamalang/Conversion/LowLFHEUnparametrize/Pass.h index 632036689..5d64f5a08 100644 --- a/compiler/include/zamalang/Conversion/LowLFHEUnparametrize/Pass.h +++ b/compiler/include/zamalang/Conversion/LowLFHEUnparametrize/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_LOWLFHEUNPARAMETRIZE_PASS_H_ #define ZAMALANG_CONVERSION_LOWLFHEUNPARAMETRIZE_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/MLIRLowerableDialectsToLLVM/Pass.h b/compiler/include/zamalang/Conversion/MLIRLowerableDialectsToLLVM/Pass.h index 54a607fde..b7aa5f882 100644 --- a/compiler/include/zamalang/Conversion/MLIRLowerableDialectsToLLVM/Pass.h +++ b/compiler/include/zamalang/Conversion/MLIRLowerableDialectsToLLVM/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_MLIRLOWERABLEDIALECTSTOLLVM_PASS_H_ #define ZAMALANG_CONVERSION_MLIRLOWERABLEDIALECTSTOLLVM_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/MidLFHEGlobalParametrization/Pass.h b/compiler/include/zamalang/Conversion/MidLFHEGlobalParametrization/Pass.h index d2435751c..1fde777a7 100644 --- a/compiler/include/zamalang/Conversion/MidLFHEGlobalParametrization/Pass.h +++ b/compiler/include/zamalang/Conversion/MidLFHEGlobalParametrization/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_MIDLFHEGLOBALPARAMETRIZATION_PASS_H_ #define ZAMALANG_CONVERSION_MIDLFHEGLOBALPARAMETRIZATION_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Pass.h b/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Pass.h index b73d8c572..b2064c808 100644 --- a/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Pass.h +++ b/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Pass.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_MIDLFHETOLOWLFHE_PASS_H_ #define ZAMALANG_CONVERSION_MIDLFHETOLOWLFHE_PASS_H_ diff --git a/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Patterns.h b/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Patterns.h index 69686eb45..81db9297c 100644 --- a/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Patterns.h +++ b/compiler/include/zamalang/Conversion/MidLFHEToLowLFHE/Patterns.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_MIDLFHETOLOWLFHE_PATTERNS_H_ #define ZAMALANG_CONVERSION_MIDLFHETOLOWLFHE_PATTERNS_H_ diff --git a/compiler/include/zamalang/Conversion/Passes.h b/compiler/include/zamalang/Conversion/Passes.h index 644f59a2e..df731ed1a 100644 --- a/compiler/include/zamalang/Conversion/Passes.h +++ b/compiler/include/zamalang/Conversion/Passes.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_TRANSFORMS_PASSES_H #define ZAMALANG_TRANSFORMS_PASSES_H diff --git a/compiler/include/zamalang/Conversion/Utils/GenericOpTypeConversionPattern.h b/compiler/include/zamalang/Conversion/Utils/GenericOpTypeConversionPattern.h index ec939c9fb..a6e10a4d3 100644 --- a/compiler/include/zamalang/Conversion/Utils/GenericOpTypeConversionPattern.h +++ b/compiler/include/zamalang/Conversion/Utils/GenericOpTypeConversionPattern.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_GENERICOPTYPECONVERSIONPATTERN_H_ #define ZAMALANG_CONVERSION_GENERICOPTYPECONVERSIONPATTERN_H_ diff --git a/compiler/include/zamalang/Conversion/Utils/GlobalFHEContext.h b/compiler/include/zamalang/Conversion/Utils/GlobalFHEContext.h index 59648f3c0..8a780bb65 100644 --- a/compiler/include/zamalang/Conversion/Utils/GlobalFHEContext.h +++ b/compiler/include/zamalang/Conversion/Utils/GlobalFHEContext.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_GLOBALFHECONTEXT_H_ #define ZAMALANG_CONVERSION_GLOBALFHECONTEXT_H_ #include diff --git a/compiler/include/zamalang/Conversion/Utils/RegionOpTypeConverterPattern.h b/compiler/include/zamalang/Conversion/Utils/RegionOpTypeConverterPattern.h index 58dc149ee..4c17dbd58 100644 --- a/compiler/include/zamalang/Conversion/Utils/RegionOpTypeConverterPattern.h +++ b/compiler/include/zamalang/Conversion/Utils/RegionOpTypeConverterPattern.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/Dialect/Linalg/IR/LinalgOps.h" #include "mlir/IR/PatternMatch.h" diff --git a/compiler/include/zamalang/Conversion/Utils/TensorOpTypeConversion.h b/compiler/include/zamalang/Conversion/Utils/TensorOpTypeConversion.h index e65f8c2eb..d2dc02771 100644 --- a/compiler/include/zamalang/Conversion/Utils/TensorOpTypeConversion.h +++ b/compiler/include/zamalang/Conversion/Utils/TensorOpTypeConversion.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_CONVERSION_TENSOROPTYPECONVERSIONPATTERN_H_ #define ZAMALANG_CONVERSION_TENSOROPTYPECONVERSIONPATTERN_H_ diff --git a/compiler/include/zamalang/Dialect/HLFHE/Analysis/MANP.h b/compiler/include/zamalang/Dialect/HLFHE/Analysis/MANP.h index c18334aac..8cefb8924 100644 --- a/compiler/include/zamalang/Dialect/HLFHE/Analysis/MANP.h +++ b/compiler/include/zamalang/Dialect/HLFHE/Analysis/MANP.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHE_ANALYSIS_MANP_H #define ZAMALANG_DIALECT_HLFHE_ANALYSIS_MANP_H diff --git a/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEDialect.h b/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEDialect.h index 78b801ae1..9c1ba6770 100644 --- a/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEDialect.h +++ b/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEDialect.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHE_IR_HLFHEDIALECT_H #define ZAMALANG_DIALECT_HLFHE_IR_HLFHEDIALECT_H diff --git a/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEOps.h b/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEOps.h index ef72b0f6a..5c1a02fee 100644 --- a/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEOps.h +++ b/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHEOps.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHE_IR_HLFHEOPS_H #define ZAMALANG_DIALECT_HLFHE_IR_HLFHEOPS_H diff --git a/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHETypes.h b/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHETypes.h index a63ef20ac..d5e3caf6b 100644 --- a/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHETypes.h +++ b/compiler/include/zamalang/Dialect/HLFHE/IR/HLFHETypes.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHE_IR_HLFHETYPES_H #define ZAMALANG_DIALECT_HLFHE_IR_HLFHETYPES_H diff --git a/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.h b/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.h index 7f913b3a9..9efe554af 100644 --- a/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.h +++ b/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHELinalg_IR_HLFHELinalgDIALECT_H #define ZAMALANG_DIALECT_HLFHELinalg_IR_HLFHELinalgDIALECT_H diff --git a/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgOps.h b/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgOps.h index 77071b760..824f98c80 100644 --- a/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgOps.h +++ b/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgOps.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHELinalg_IR_HLFHELinalgOPS_H #define ZAMALANG_DIALECT_HLFHELinalg_IR_HLFHELinalgOPS_H diff --git a/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgTypes.h b/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgTypes.h index e26a43b85..2a74f5816 100644 --- a/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgTypes.h +++ b/compiler/include/zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgTypes.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_HLFHELinalg_IR_HLFHELinalgTYPES_H #define ZAMALANG_DIALECT_HLFHELinalg_IR_HLFHELinalgTYPES_H diff --git a/compiler/include/zamalang/Dialect/HLFHELinalg/Transforms/Tiling.h b/compiler/include/zamalang/Dialect/HLFHELinalg/Transforms/Tiling.h index a109da047..fdf9b3f6c 100644 --- a/compiler/include/zamalang/Dialect/HLFHELinalg/Transforms/Tiling.h +++ b/compiler/include/zamalang/Dialect/HLFHELinalg/Transforms/Tiling.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_HLFHELINALG_TILING_PASS_H #define ZAMALANG_HLFHELINALG_TILING_PASS_H diff --git a/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEDialect.h b/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEDialect.h index 8e06786a9..15585988e 100644 --- a/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEDialect.h +++ b/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEDialect.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_LowLFHE_IR_LowLFHEDIALECT_H #define ZAMALANG_DIALECT_LowLFHE_IR_LowLFHEDIALECT_H diff --git a/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h b/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h index 02e987522..dc0996d21 100644 --- a/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h +++ b/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_LowLFHE_LowLFHE_OPS_H #define ZAMALANG_DIALECT_LowLFHE_LowLFHE_OPS_H diff --git a/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHETypes.h b/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHETypes.h index e268368bb..c34b0fe37 100644 --- a/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHETypes.h +++ b/compiler/include/zamalang/Dialect/LowLFHE/IR/LowLFHETypes.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_LowLFHE_IR_LowLFHETYPES_H #define ZAMALANG_DIALECT_LowLFHE_IR_LowLFHETYPES_H diff --git a/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEDialect.h b/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEDialect.h index ea1385a65..e52c8f6d4 100644 --- a/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEDialect.h +++ b/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEDialect.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_MIDLFHE_IR_MIDLFHEDIALECT_H #define ZAMALANG_DIALECT_MIDLFHE_IR_MIDLFHEDIALECT_H diff --git a/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEOps.h b/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEOps.h index 346f9aa0b..edeafbfdc 100644 --- a/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEOps.h +++ b/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHEOps.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_MIDLFHE_IR_MIDLFHEOPS_H #define ZAMALANG_DIALECT_MIDLFHE_IR_MIDLFHEOPS_H diff --git a/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHETypes.h b/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHETypes.h index 8dff854ca..e6b1df3ac 100644 --- a/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHETypes.h +++ b/compiler/include/zamalang/Dialect/MidLFHE/IR/MidLFHETypes.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_MIDLFHE_IR_MIDLFHETYPES_H #define ZAMALANG_DIALECT_MIDLFHE_IR_MIDLFHETYPES_H diff --git a/compiler/include/zamalang/Dialect/RT/Analysis/Autopar.h b/compiler/include/zamalang/Dialect/RT/Analysis/Autopar.h index a7609a7c2..568154e36 100644 --- a/compiler/include/zamalang/Dialect/RT/Analysis/Autopar.h +++ b/compiler/include/zamalang/Dialect/RT/Analysis/Autopar.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_RT_ANALYSIS_AUTOPAR_H #define ZAMALANG_DIALECT_RT_ANALYSIS_AUTOPAR_H diff --git a/compiler/include/zamalang/Dialect/RT/IR/RTDialect.h b/compiler/include/zamalang/Dialect/RT/IR/RTDialect.h index c908a6306..1fc4089cd 100644 --- a/compiler/include/zamalang/Dialect/RT/IR/RTDialect.h +++ b/compiler/include/zamalang/Dialect/RT/IR/RTDialect.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_RT_IR_RTDIALECT_H #define ZAMALANG_DIALECT_RT_IR_RTDIALECT_H diff --git a/compiler/include/zamalang/Dialect/RT/IR/RTOps.h b/compiler/include/zamalang/Dialect/RT/IR/RTOps.h index 9dd2def01..31fb17b24 100644 --- a/compiler/include/zamalang/Dialect/RT/IR/RTOps.h +++ b/compiler/include/zamalang/Dialect/RT/IR/RTOps.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_RT_IR_RTOPS_H #define ZAMALANG_DIALECT_RT_IR_RTOPS_H diff --git a/compiler/include/zamalang/Dialect/RT/IR/RTTypes.h b/compiler/include/zamalang/Dialect/RT/IR/RTTypes.h index 55fd15833..8f7dee83f 100644 --- a/compiler/include/zamalang/Dialect/RT/IR/RTTypes.h +++ b/compiler/include/zamalang/Dialect/RT/IR/RTTypes.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DIALECT_RT_IR_RTTYPES_H #define ZAMALANG_DIALECT_RT_IR_RTTYPES_H diff --git a/compiler/include/zamalang/Runtime/DFRuntime.hpp b/compiler/include/zamalang/Runtime/DFRuntime.hpp index a6866bf25..afa1b6a09 100644 --- a/compiler/include/zamalang/Runtime/DFRuntime.hpp +++ b/compiler/include/zamalang/Runtime/DFRuntime.hpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DFR_DFRUNTIME_HPP #define ZAMALANG_DFR_DFRUNTIME_HPP diff --git a/compiler/include/zamalang/Runtime/context.h b/compiler/include/zamalang/Runtime/context.h index 06b80a367..b412526df 100644 --- a/compiler/include/zamalang/Runtime/context.h +++ b/compiler/include/zamalang/Runtime/context.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_RUNTIME_CONTEXT_H #define ZAMALANG_RUNTIME_CONTEXT_H diff --git a/compiler/include/zamalang/Runtime/dfr_debug_interface.h b/compiler/include/zamalang/Runtime/dfr_debug_interface.h index 48ca0dcc4..25a1eac0a 100644 --- a/compiler/include/zamalang/Runtime/dfr_debug_interface.h +++ b/compiler/include/zamalang/Runtime/dfr_debug_interface.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DRF_DEBUG_INTERFACE_H #define ZAMALANG_DRF_DEBUG_INTERFACE_H diff --git a/compiler/include/zamalang/Runtime/distributed_generic_task_server.hpp b/compiler/include/zamalang/Runtime/distributed_generic_task_server.hpp index c217b5e82..d4e9e367e 100644 --- a/compiler/include/zamalang/Runtime/distributed_generic_task_server.hpp +++ b/compiler/include/zamalang/Runtime/distributed_generic_task_server.hpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DFR_DISTRIBUTED_GENERIC_TASK_SERVER_HPP #define ZAMALANG_DFR_DISTRIBUTED_GENERIC_TASK_SERVER_HPP diff --git a/compiler/include/zamalang/Runtime/key_manager.hpp b/compiler/include/zamalang/Runtime/key_manager.hpp index a1e855a57..afecdff61 100644 --- a/compiler/include/zamalang/Runtime/key_manager.hpp +++ b/compiler/include/zamalang/Runtime/key_manager.hpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_DFR_KEY_MANAGER_HPP #define ZAMALANG_DFR_KEY_MANAGER_HPP diff --git a/compiler/include/zamalang/Runtime/runtime_api.h b/compiler/include/zamalang/Runtime/runtime_api.h index 6c43d413d..814b87c4b 100644 --- a/compiler/include/zamalang/Runtime/runtime_api.h +++ b/compiler/include/zamalang/Runtime/runtime_api.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + /** Define the API exposed to the compiler for code generation. */ diff --git a/compiler/include/zamalang/Runtime/wrappers.h b/compiler/include/zamalang/Runtime/wrappers.h index bee926a46..d53709304 100644 --- a/compiler/include/zamalang/Runtime/wrappers.h +++ b/compiler/include/zamalang/Runtime/wrappers.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_RUNTIME_WRAPPERS_H #define ZAMALANG_RUNTIME_WRAPPERS_H diff --git a/compiler/include/zamalang/Support/ClientParameters.h b/compiler/include/zamalang/Support/ClientParameters.h index a90a645e4..d50d39b15 100644 --- a/compiler/include/zamalang/Support/ClientParameters.h +++ b/compiler/include/zamalang/Support/ClientParameters.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_CLIENTPARAMETERS_H_ #define ZAMALANG_SUPPORT_CLIENTPARAMETERS_H_ #include diff --git a/compiler/include/zamalang/Support/CompilerEngine.h b/compiler/include/zamalang/Support/CompilerEngine.h index a4a566e5f..8b3d9858d 100644 --- a/compiler/include/zamalang/Support/CompilerEngine.h +++ b/compiler/include/zamalang/Support/CompilerEngine.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_COMPILER_ENGINE_H #define ZAMALANG_SUPPORT_COMPILER_ENGINE_H diff --git a/compiler/include/zamalang/Support/Constants.h b/compiler/include/zamalang/Support/Constants.h index 554e78598..dc05f3b1a 100644 --- a/compiler/include/zamalang/Support/Constants.h +++ b/compiler/include/zamalang/Support/Constants.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_CONSTANTS_H_ #define ZAMALANG_SUPPORT_CONSTANTS_H_ diff --git a/compiler/include/zamalang/Support/Error.h b/compiler/include/zamalang/Support/Error.h index 633b0e716..3669f4d7e 100644 --- a/compiler/include/zamalang/Support/Error.h +++ b/compiler/include/zamalang/Support/Error.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_STRING_ERROR_H #define ZAMALANG_SUPPORT_STRING_ERROR_H diff --git a/compiler/include/zamalang/Support/Jit.h b/compiler/include/zamalang/Support/Jit.h index e94542160..267d9f942 100644 --- a/compiler/include/zamalang/Support/Jit.h +++ b/compiler/include/zamalang/Support/Jit.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef COMPILER_JIT_H #define COMPILER_JIT_H diff --git a/compiler/include/zamalang/Support/JitCompilerEngine.h b/compiler/include/zamalang/Support/JitCompilerEngine.h index f132f2678..bdab8a0fb 100644 --- a/compiler/include/zamalang/Support/JitCompilerEngine.h +++ b/compiler/include/zamalang/Support/JitCompilerEngine.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_JIT_COMPILER_ENGINE_H #define ZAMALANG_SUPPORT_JIT_COMPILER_ENGINE_H diff --git a/compiler/include/zamalang/Support/KeySet.h b/compiler/include/zamalang/Support/KeySet.h index 824c48eba..c0d473e32 100644 --- a/compiler/include/zamalang/Support/KeySet.h +++ b/compiler/include/zamalang/Support/KeySet.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_KEYSET_H_ #define ZAMALANG_SUPPORT_KEYSET_H_ diff --git a/compiler/include/zamalang/Support/KeySetCache.h b/compiler/include/zamalang/Support/KeySetCache.h index 64eaea52e..3030610a9 100644 --- a/compiler/include/zamalang/Support/KeySetCache.h +++ b/compiler/include/zamalang/Support/KeySetCache.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_KEYSETCACHE_H_ #define ZAMALANG_SUPPORT_KEYSETCACHE_H_ diff --git a/compiler/include/zamalang/Support/LLVMEmitFile.h b/compiler/include/zamalang/Support/LLVMEmitFile.h index 8fabadcab..301efd2c2 100644 --- a/compiler/include/zamalang/Support/LLVMEmitFile.h +++ b/compiler/include/zamalang/Support/LLVMEmitFile.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_LLVMEMITFILE #define ZAMALANG_SUPPORT_LLVMEMITFILE diff --git a/compiler/include/zamalang/Support/LambdaArgument.h b/compiler/include/zamalang/Support/LambdaArgument.h index 18495f2c6..ee28ae1c1 100644 --- a/compiler/include/zamalang/Support/LambdaArgument.h +++ b/compiler/include/zamalang/Support/LambdaArgument.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_LAMBDA_ARGUMENT_H #define ZAMALANG_SUPPORT_LAMBDA_ARGUMENT_H diff --git a/compiler/include/zamalang/Support/Pipeline.h b/compiler/include/zamalang/Support/Pipeline.h index e99c2222d..aec3447e3 100644 --- a/compiler/include/zamalang/Support/Pipeline.h +++ b/compiler/include/zamalang/Support/Pipeline.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_PIPELINE_H_ #define ZAMALANG_SUPPORT_PIPELINE_H_ diff --git a/compiler/include/zamalang/Support/V0Curves.h b/compiler/include/zamalang/Support/V0Curves.h index 2d46351f9..8fee5dac6 100644 --- a/compiler/include/zamalang/Support/V0Curves.h +++ b/compiler/include/zamalang/Support/V0Curves.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_V0CURVES_H_ #define ZAMALANG_SUPPORT_V0CURVES_H_ diff --git a/compiler/include/zamalang/Support/V0Parameters.h b/compiler/include/zamalang/Support/V0Parameters.h index ab5ed23a0..fc413fcfd 100644 --- a/compiler/include/zamalang/Support/V0Parameters.h +++ b/compiler/include/zamalang/Support/V0Parameters.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_V0Parameter_H_ #define ZAMALANG_SUPPORT_V0Parameter_H_ diff --git a/compiler/include/zamalang/Support/logging.h b/compiler/include/zamalang/Support/logging.h index 6779cd0e1..46e0cbaca 100644 --- a/compiler/include/zamalang/Support/logging.h +++ b/compiler/include/zamalang/Support/logging.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_LOGGING_H_ #define ZAMALANG_SUPPORT_LOGGING_H_ diff --git a/compiler/include/zamalang/Support/math.h b/compiler/include/zamalang/Support/math.h index 4d4de1e89..8130e38ce 100644 --- a/compiler/include/zamalang/Support/math.h +++ b/compiler/include/zamalang/Support/math.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_SUPPORT_MATH_H_ #define ZAMALANG_SUPPORT_MATH_H_ diff --git a/compiler/lib/Bindings/Python/CompilerAPIModule.cpp b/compiler/lib/Bindings/Python/CompilerAPIModule.cpp index 3a06ed907..c8891d194 100644 --- a/compiler/lib/Bindings/Python/CompilerAPIModule.cpp +++ b/compiler/lib/Bindings/Python/CompilerAPIModule.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "CompilerAPIModule.h" #include "zamalang-c/Support/CompilerEngine.h" #include "zamalang/Dialect/HLFHE/IR/HLFHEOpsDialect.h.inc" diff --git a/compiler/lib/Bindings/Python/CompilerAPIModule.h b/compiler/lib/Bindings/Python/CompilerAPIModule.h index c295ce951..ba3e15541 100644 --- a/compiler/lib/Bindings/Python/CompilerAPIModule.h +++ b/compiler/lib/Bindings/Python/CompilerAPIModule.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_PYTHON_COMPILER_API_MODULE_H #define ZAMALANG_PYTHON_COMPILER_API_MODULE_H diff --git a/compiler/lib/Bindings/Python/DialectModules.h b/compiler/lib/Bindings/Python/DialectModules.h index f5ff7511e..60227489b 100644 --- a/compiler/lib/Bindings/Python/DialectModules.h +++ b/compiler/lib/Bindings/Python/DialectModules.h @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #ifndef ZAMALANG_PYTHON_DIALECTMODULES_H #define ZAMALANG_PYTHON_DIALECTMODULES_H diff --git a/compiler/lib/Bindings/Python/HLFHEModule.cpp b/compiler/lib/Bindings/Python/HLFHEModule.cpp index 0b65b3849..ad74d2719 100644 --- a/compiler/lib/Bindings/Python/HLFHEModule.cpp +++ b/compiler/lib/Bindings/Python/HLFHEModule.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "DialectModules.h" #include "zamalang-c/Dialect/HLFHE.h" diff --git a/compiler/lib/Bindings/Python/ZamalangModule.cpp b/compiler/lib/Bindings/Python/ZamalangModule.cpp index 27645122b..51f711f67 100644 --- a/compiler/lib/Bindings/Python/ZamalangModule.cpp +++ b/compiler/lib/Bindings/Python/ZamalangModule.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "CompilerAPIModule.h" #include "DialectModules.h" diff --git a/compiler/lib/Bindings/Python/zamalang/__init__.py b/compiler/lib/Bindings/Python/zamalang/__init__.py index 341df70c8..66aa49487 100644 --- a/compiler/lib/Bindings/Python/zamalang/__init__.py +++ b/compiler/lib/Bindings/Python/zamalang/__init__.py @@ -1,3 +1,6 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + """Zamalang python module""" from mlir._mlir_libs._zamalang import * from .compiler import CompilerEngine, library diff --git a/compiler/lib/Bindings/Python/zamalang/compiler.py b/compiler/lib/Bindings/Python/zamalang/compiler.py index 3de549301..0823cdbdb 100644 --- a/compiler/lib/Bindings/Python/zamalang/compiler.py +++ b/compiler/lib/Bindings/Python/zamalang/compiler.py @@ -1,3 +1,6 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + """Compiler submodule""" from collections.abc import Iterable import os diff --git a/compiler/lib/Bindings/Python/zamalang/dialects/__init__.py b/compiler/lib/Bindings/Python/zamalang/dialects/__init__.py index e69de29bb..e003e8d5a 100644 --- a/compiler/lib/Bindings/Python/zamalang/dialects/__init__.py +++ b/compiler/lib/Bindings/Python/zamalang/dialects/__init__.py @@ -0,0 +1,3 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + diff --git a/compiler/lib/Bindings/Python/zamalang/dialects/_ods_common.py b/compiler/lib/Bindings/Python/zamalang/dialects/_ods_common.py index da79c9e14..a10881e05 100644 --- a/compiler/lib/Bindings/Python/zamalang/dialects/_ods_common.py +++ b/compiler/lib/Bindings/Python/zamalang/dialects/_ods_common.py @@ -1,2 +1,5 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + # We need this helpers from the mlir bindings, they are used in the generated files from mlir.dialects._ods_common import _cext, segmented_accessor, equally_sized_accessor, extend_opview_class, get_default_loc_context, get_op_result_or_value, get_op_results_or_values diff --git a/compiler/lib/Bindings/Python/zamalang/dialects/hlfhe.py b/compiler/lib/Bindings/Python/zamalang/dialects/hlfhe.py index b87ed8953..0bd940439 100644 --- a/compiler/lib/Bindings/Python/zamalang/dialects/hlfhe.py +++ b/compiler/lib/Bindings/Python/zamalang/dialects/hlfhe.py @@ -1,3 +1,6 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + """HLFHE dialect module""" from ._HLFHE_ops_gen import * from mlir._mlir_libs._zamalang._hlfhe import * diff --git a/compiler/lib/Bindings/Python/zamalang/dialects/hlfhelinalg.py b/compiler/lib/Bindings/Python/zamalang/dialects/hlfhelinalg.py index e3d9d8574..9891ee9af 100644 --- a/compiler/lib/Bindings/Python/zamalang/dialects/hlfhelinalg.py +++ b/compiler/lib/Bindings/Python/zamalang/dialects/hlfhelinalg.py @@ -1,2 +1,5 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + """HLFHELinalg dialect module""" from ._HLFHELinalg_ops_gen import * diff --git a/compiler/lib/Bindings/Python/zamalang/version.py b/compiler/lib/Bindings/Python/zamalang/version.py index b175e4c8c..bfc7b96ab 100644 --- a/compiler/lib/Bindings/Python/zamalang/version.py +++ b/compiler/lib/Bindings/Python/zamalang/version.py @@ -1 +1,4 @@ +# Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +# See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + __version__ = "0.1.0-rc1" diff --git a/compiler/lib/CAPI/Dialect/HLFHE/HLFHE.cpp b/compiler/lib/CAPI/Dialect/HLFHE/HLFHE.cpp index 8f7a87239..aa665c975 100644 --- a/compiler/lib/CAPI/Dialect/HLFHE/HLFHE.cpp +++ b/compiler/lib/CAPI/Dialect/HLFHE/HLFHE.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang-c/Dialect/HLFHE.h" #include "mlir/CAPI/IR.h" #include "mlir/CAPI/Registration.h" diff --git a/compiler/lib/CAPI/Dialect/HLFHELinalg/HLFHELinalg.cpp b/compiler/lib/CAPI/Dialect/HLFHELinalg/HLFHELinalg.cpp index 6951f7933..7e85e6d1c 100644 --- a/compiler/lib/CAPI/Dialect/HLFHELinalg/HLFHELinalg.cpp +++ b/compiler/lib/CAPI/Dialect/HLFHELinalg/HLFHELinalg.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang-c/Dialect/HLFHELinalg.h" #include "mlir/CAPI/IR.h" #include "mlir/CAPI/Registration.h" diff --git a/compiler/lib/CAPI/Support/CompilerEngine.cpp b/compiler/lib/CAPI/Support/CompilerEngine.cpp index 515476103..4e8f93a57 100644 --- a/compiler/lib/CAPI/Support/CompilerEngine.cpp +++ b/compiler/lib/CAPI/Support/CompilerEngine.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "llvm/ADT/SmallString.h" #include "zamalang-c/Support/CompilerEngine.h" diff --git a/compiler/lib/Conversion/HLFHETensorOpsToLinalg/TensorOpsToLinalg.cpp b/compiler/lib/Conversion/HLFHETensorOpsToLinalg/TensorOpsToLinalg.cpp index 9a10911d5..4db9c93d1 100644 --- a/compiler/lib/Conversion/HLFHETensorOpsToLinalg/TensorOpsToLinalg.cpp +++ b/compiler/lib/Conversion/HLFHETensorOpsToLinalg/TensorOpsToLinalg.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/Dialect/Linalg/IR/LinalgOps.h" #include "mlir/Dialect/MemRef/IR/MemRef.h" #include "mlir/Dialect/StandardOps/IR/Ops.h" diff --git a/compiler/lib/Conversion/HLFHEToMidLFHE/HLFHEToMidLFHE.cpp b/compiler/lib/Conversion/HLFHEToMidLFHE/HLFHEToMidLFHE.cpp index c217c0c63..9b38404e1 100644 --- a/compiler/lib/Conversion/HLFHEToMidLFHE/HLFHEToMidLFHE.cpp +++ b/compiler/lib/Conversion/HLFHEToMidLFHE/HLFHEToMidLFHE.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include "mlir/Pass/Pass.h" diff --git a/compiler/lib/Conversion/LowLFHEToConcreteCAPI/LowLFHEToConcreteCAPI.cpp b/compiler/lib/Conversion/LowLFHEToConcreteCAPI/LowLFHEToConcreteCAPI.cpp index eea3a0551..35bca8008 100644 --- a/compiler/lib/Conversion/LowLFHEToConcreteCAPI/LowLFHEToConcreteCAPI.cpp +++ b/compiler/lib/Conversion/LowLFHEToConcreteCAPI/LowLFHEToConcreteCAPI.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir//IR/BuiltinTypes.h" #include "mlir/Dialect/MemRef/IR/MemRef.h" #include "mlir/Dialect/StandardOps/IR/Ops.h" diff --git a/compiler/lib/Conversion/LowLFHEUnparametrize/LowLFHEUnparametrize.cpp b/compiler/lib/Conversion/LowLFHEUnparametrize/LowLFHEUnparametrize.cpp index 219a7b415..d62d81320 100644 --- a/compiler/lib/Conversion/LowLFHEUnparametrize/LowLFHEUnparametrize.cpp +++ b/compiler/lib/Conversion/LowLFHEUnparametrize/LowLFHEUnparametrize.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/Pass/Pass.h" #include "mlir/Transforms/DialectConversion.h" diff --git a/compiler/lib/Conversion/MLIRLowerableDialectsToLLVM/MLIRLowerableDialectsToLLVM.cpp b/compiler/lib/Conversion/MLIRLowerableDialectsToLLVM/MLIRLowerableDialectsToLLVM.cpp index 80097644d..a34d10ca1 100644 --- a/compiler/lib/Conversion/MLIRLowerableDialectsToLLVM/MLIRLowerableDialectsToLLVM.cpp +++ b/compiler/lib/Conversion/MLIRLowerableDialectsToLLVM/MLIRLowerableDialectsToLLVM.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include "mlir/Pass/Pass.h" diff --git a/compiler/lib/Conversion/MidLFHEGlobalParametrization/MidLFHEGlobalParametrization.cpp b/compiler/lib/Conversion/MidLFHEGlobalParametrization/MidLFHEGlobalParametrization.cpp index bbe6e0439..127d8f4c9 100644 --- a/compiler/lib/Conversion/MidLFHEGlobalParametrization/MidLFHEGlobalParametrization.cpp +++ b/compiler/lib/Conversion/MidLFHEGlobalParametrization/MidLFHEGlobalParametrization.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/Pass/Pass.h" #include "mlir/Transforms/DialectConversion.h" diff --git a/compiler/lib/Conversion/MidLFHEToLowLFHE/MidLFHEToLowLFHE.cpp b/compiler/lib/Conversion/MidLFHEToLowLFHE/MidLFHEToLowLFHE.cpp index 12a56f090..112f0baaa 100644 --- a/compiler/lib/Conversion/MidLFHEToLowLFHE/MidLFHEToLowLFHE.cpp +++ b/compiler/lib/Conversion/MidLFHEToLowLFHE/MidLFHEToLowLFHE.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include "mlir/Pass/Pass.h" diff --git a/compiler/lib/Dialect/HLFHE/Analysis/MANP.cpp b/compiler/lib/Dialect/HLFHE/Analysis/MANP.cpp index 55aeddb5b..07906c77f 100644 --- a/compiler/lib/Dialect/HLFHE/Analysis/MANP.cpp +++ b/compiler/lib/Dialect/HLFHE/Analysis/MANP.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include #include diff --git a/compiler/lib/Dialect/HLFHE/IR/HLFHEDialect.cpp b/compiler/lib/Dialect/HLFHE/IR/HLFHEDialect.cpp index e908d1480..57647e779 100644 --- a/compiler/lib/Dialect/HLFHE/IR/HLFHEDialect.cpp +++ b/compiler/lib/Dialect/HLFHE/IR/HLFHEDialect.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Dialect/HLFHE/IR/HLFHEDialect.h" #include "zamalang/Dialect/HLFHE/IR/HLFHEOps.h" #include "zamalang/Dialect/HLFHE/IR/HLFHETypes.h" diff --git a/compiler/lib/Dialect/HLFHE/IR/HLFHEOps.cpp b/compiler/lib/Dialect/HLFHE/IR/HLFHEOps.cpp index 8bb67ae93..4c75421e3 100644 --- a/compiler/lib/Dialect/HLFHE/IR/HLFHEOps.cpp +++ b/compiler/lib/Dialect/HLFHE/IR/HLFHEOps.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/IR/Region.h" #include "mlir/IR/TypeUtilities.h" diff --git a/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.cpp b/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.cpp index 04cc09861..f26d5d82f 100644 --- a/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.cpp +++ b/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgDialect.h" #include "zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgOps.h" #include "zamalang/Dialect/HLFHELinalg/IR/HLFHELinalgTypes.h" diff --git a/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgOps.cpp b/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgOps.cpp index d7974ee31..5466cea11 100644 --- a/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgOps.cpp +++ b/compiler/lib/Dialect/HLFHELinalg/IR/HLFHELinalgOps.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/IR/TypeUtilities.h" #include "zamalang/Dialect/HLFHE/IR/HLFHEOps.h" diff --git a/compiler/lib/Dialect/HLFHELinalg/Transforms/Tiling.cpp b/compiler/lib/Dialect/HLFHELinalg/Transforms/Tiling.cpp index c92bdbd19..104d3186e 100644 --- a/compiler/lib/Dialect/HLFHELinalg/Transforms/Tiling.cpp +++ b/compiler/lib/Dialect/HLFHELinalg/Transforms/Tiling.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include #include diff --git a/compiler/lib/Dialect/LowLFHE/IR/LowLFHEDialect.cpp b/compiler/lib/Dialect/LowLFHE/IR/LowLFHEDialect.cpp index e57103060..b73b174ed 100644 --- a/compiler/lib/Dialect/LowLFHE/IR/LowLFHEDialect.cpp +++ b/compiler/lib/Dialect/LowLFHE/IR/LowLFHEDialect.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Dialect/LowLFHE/IR/LowLFHEDialect.h" #include "zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h" #include "zamalang/Dialect/LowLFHE/IR/LowLFHETypes.h" diff --git a/compiler/lib/Dialect/LowLFHE/IR/LowLFHEOps.cpp b/compiler/lib/Dialect/LowLFHE/IR/LowLFHEOps.cpp index ec4bf1f4b..18e8079b9 100644 --- a/compiler/lib/Dialect/LowLFHE/IR/LowLFHEOps.cpp +++ b/compiler/lib/Dialect/LowLFHE/IR/LowLFHEOps.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Dialect/LowLFHE/IR/LowLFHEOps.h" #include "zamalang/Dialect/LowLFHE/IR/LowLFHETypes.h" diff --git a/compiler/lib/Dialect/MidLFHE/IR/MidLFHEDialect.cpp b/compiler/lib/Dialect/MidLFHE/IR/MidLFHEDialect.cpp index 45c9c8735..5b237621a 100644 --- a/compiler/lib/Dialect/MidLFHE/IR/MidLFHEDialect.cpp +++ b/compiler/lib/Dialect/MidLFHE/IR/MidLFHEDialect.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Dialect/MidLFHE/IR/MidLFHEDialect.h" #include "zamalang/Dialect/MidLFHE/IR/MidLFHEOps.h" #include "zamalang/Dialect/MidLFHE/IR/MidLFHETypes.h" diff --git a/compiler/lib/Dialect/MidLFHE/IR/MidLFHEOps.cpp b/compiler/lib/Dialect/MidLFHE/IR/MidLFHEOps.cpp index 745b4b9e6..215daab16 100644 --- a/compiler/lib/Dialect/MidLFHE/IR/MidLFHEOps.cpp +++ b/compiler/lib/Dialect/MidLFHE/IR/MidLFHEOps.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/IR/Region.h" #include "zamalang/Dialect/HLFHE/IR/HLFHEOps.h" diff --git a/compiler/lib/Dialect/RT/Analysis/BufferizeDataflowTaskOps.cpp b/compiler/lib/Dialect/RT/Analysis/BufferizeDataflowTaskOps.cpp index 24ec02049..496038d4c 100644 --- a/compiler/lib/Dialect/RT/Analysis/BufferizeDataflowTaskOps.cpp +++ b/compiler/lib/Dialect/RT/Analysis/BufferizeDataflowTaskOps.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Dialect/RT/Analysis/BuildDataflowTaskGraph.cpp b/compiler/lib/Dialect/RT/Analysis/BuildDataflowTaskGraph.cpp index bfb23e6b5..cfbb7c9b3 100644 --- a/compiler/lib/Dialect/RT/Analysis/BuildDataflowTaskGraph.cpp +++ b/compiler/lib/Dialect/RT/Analysis/BuildDataflowTaskGraph.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Dialect/RT/Analysis/LowerDataflowTasksToRT.cpp b/compiler/lib/Dialect/RT/Analysis/LowerDataflowTasksToRT.cpp index 5d81e0dad..e95c320b2 100644 --- a/compiler/lib/Dialect/RT/Analysis/LowerDataflowTasksToRT.cpp +++ b/compiler/lib/Dialect/RT/Analysis/LowerDataflowTasksToRT.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Dialect/RT/Analysis/LowerRTToLLVMDFRCallsConversionPatterns.cpp b/compiler/lib/Dialect/RT/Analysis/LowerRTToLLVMDFRCallsConversionPatterns.cpp index 559f34565..75539e5a4 100644 --- a/compiler/lib/Dialect/RT/Analysis/LowerRTToLLVMDFRCallsConversionPatterns.cpp +++ b/compiler/lib/Dialect/RT/Analysis/LowerRTToLLVMDFRCallsConversionPatterns.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Dialect/RT/IR/RTDialect.cpp b/compiler/lib/Dialect/RT/IR/RTDialect.cpp index f14e79afa..73a7631ca 100644 --- a/compiler/lib/Dialect/RT/IR/RTDialect.cpp +++ b/compiler/lib/Dialect/RT/IR/RTDialect.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/Dialect/LLVMIR/LLVMDialect.h" #include "mlir/Dialect/MemRef/IR/MemRef.h" #include "mlir/Dialect/StandardOps/IR/Ops.h" diff --git a/compiler/lib/Dialect/RT/IR/RTOps.cpp b/compiler/lib/Dialect/RT/IR/RTOps.cpp index cec851945..ff4c789bb 100644 --- a/compiler/lib/Dialect/RT/IR/RTOps.cpp +++ b/compiler/lib/Dialect/RT/IR/RTOps.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "mlir/IR/Attributes.h" #include "mlir/IR/Builders.h" #include "mlir/IR/BuiltinOps.h" diff --git a/compiler/lib/Runtime/DFRuntime.cpp b/compiler/lib/Runtime/DFRuntime.cpp index 64f75ad8a..2128ed608 100644 --- a/compiler/lib/Runtime/DFRuntime.cpp +++ b/compiler/lib/Runtime/DFRuntime.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + /** This file implements the dataflow runtime. It encapsulates all of the underlying communication, parallelism, etc. and only exposes a diff --git a/compiler/lib/Support/ClientParameters.cpp b/compiler/lib/Support/ClientParameters.cpp index 10c29b984..0daa2ea90 100644 --- a/compiler/lib/Support/ClientParameters.cpp +++ b/compiler/lib/Support/ClientParameters.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Support/CompilerEngine.cpp b/compiler/lib/Support/CompilerEngine.cpp index 322a826b6..283ceda80 100644 --- a/compiler/lib/Support/CompilerEngine.cpp +++ b/compiler/lib/Support/CompilerEngine.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Support/Error.cpp b/compiler/lib/Support/Error.cpp index 32cfa6399..c7e4f3eae 100644 --- a/compiler/lib/Support/Error.cpp +++ b/compiler/lib/Support/Error.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include namespace mlir { diff --git a/compiler/lib/Support/Jit.cpp b/compiler/lib/Support/Jit.cpp index 14f205adb..5ee8cb916 100644 --- a/compiler/lib/Support/Jit.cpp +++ b/compiler/lib/Support/Jit.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "llvm/Support/Error.h" #include #include diff --git a/compiler/lib/Support/JitCompilerEngine.cpp b/compiler/lib/Support/JitCompilerEngine.cpp index 8482be74e..484a30db3 100644 --- a/compiler/lib/Support/JitCompilerEngine.cpp +++ b/compiler/lib/Support/JitCompilerEngine.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "llvm/Support/Error.h" #include #include diff --git a/compiler/lib/Support/KeySet.cpp b/compiler/lib/Support/KeySet.cpp index 3790eef3d..d622742dc 100644 --- a/compiler/lib/Support/KeySet.cpp +++ b/compiler/lib/Support/KeySet.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Support/KeySet.h" #include "zamalang/Support/Error.h" diff --git a/compiler/lib/Support/KeySetCache.cpp b/compiler/lib/Support/KeySetCache.cpp index a0db28942..92018462b 100644 --- a/compiler/lib/Support/KeySetCache.cpp +++ b/compiler/lib/Support/KeySetCache.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include "zamalang/Support/KeySetCache.h" #include "zamalang/Support/Error.h" #include "llvm/ADT/ScopeExit.h" diff --git a/compiler/lib/Support/LLVMEmitFile.cpp b/compiler/lib/Support/LLVMEmitFile.cpp index 851762352..82a20d5b2 100644 --- a/compiler/lib/Support/LLVMEmitFile.cpp +++ b/compiler/lib/Support/LLVMEmitFile.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include #include diff --git a/compiler/lib/Support/LambdaArgument.cpp b/compiler/lib/Support/LambdaArgument.cpp index a693c0177..ef1fc697f 100644 --- a/compiler/lib/Support/LambdaArgument.cpp +++ b/compiler/lib/Support/LambdaArgument.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include namespace mlir { diff --git a/compiler/lib/Support/Pipeline.cpp b/compiler/lib/Support/Pipeline.cpp index 3bca8909c..8a8f84d72 100644 --- a/compiler/lib/Support/Pipeline.cpp +++ b/compiler/lib/Support/Pipeline.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include diff --git a/compiler/lib/Support/V0Curves.cpp b/compiler/lib/Support/V0Curves.cpp index 37263fecf..6decaf382 100644 --- a/compiler/lib/Support/V0Curves.cpp +++ b/compiler/lib/Support/V0Curves.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include "zamalang/Support/V0Curves.h" diff --git a/compiler/lib/Support/V0Parameters.cpp b/compiler/lib/Support/V0Parameters.cpp index 24ae1f28c..fedc991c7 100644 --- a/compiler/lib/Support/V0Parameters.cpp +++ b/compiler/lib/Support/V0Parameters.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + /// DO NOT MANUALLY EDIT THIS FILE. /// This file was generated thanks the "parameters optimizer". /// We should include this in our build system, but for moment it is just a cc diff --git a/compiler/lib/Support/logging.cpp b/compiler/lib/Support/logging.cpp index 7a6b27651..79bbec4f6 100644 --- a/compiler/lib/Support/logging.cpp +++ b/compiler/lib/Support/logging.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include namespace mlir { diff --git a/compiler/src/main.cpp b/compiler/src/main.cpp index 3e6344278..c8a224814 100644 --- a/compiler/src/main.cpp +++ b/compiler/src/main.cpp @@ -1,3 +1,6 @@ +// Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions. +// See https://github.com/zama-ai/homomorphizer/blob/master/LICENSE.txt for license information. + #include #include