chore: licensing

This commit is contained in:
youben11
2021-12-27 11:59:33 +01:00
committed by Ayoub Benaissa
parent 48197d55ac
commit 971cb56182
111 changed files with 372 additions and 0 deletions

42
LICENSE.txt Normal file
View File

@@ -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 PARTYS 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.

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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

View File

@@ -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_

View File

@@ -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 <cstddef>

View File

@@ -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"

View File

@@ -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_

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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.
*/

View File

@@ -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

View File

@@ -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 <map>

View File

@@ -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

View File

@@ -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_

View File

@@ -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

View File

@@ -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

View File

@@ -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

View File

@@ -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_

View File

@@ -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_

View File

@@ -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

View File

@@ -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

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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_

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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

View File

@@ -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.

View File

@@ -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

View File

@@ -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 *

View File

@@ -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 *

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 <iostream>
#include "mlir/Pass/Pass.h"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 <iostream>
#include "mlir/Pass/Pass.h"

View File

@@ -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"

View File

@@ -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 <iostream>
#include "mlir/Pass/Pass.h"

View File

@@ -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/BuiltinOps.h>
#include <zamalang/Dialect/HLFHE/Analysis/MANP.h>
#include <zamalang/Dialect/HLFHE/IR/HLFHEDialect.h>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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/Arithmetic/IR/Arithmetic.h>
#include <mlir/Dialect/MemRef/IR/MemRef.h>
#include <mlir/Dialect/SCF/SCF.h>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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"

View File

@@ -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 <iostream>
#include <zamalang/Dialect/RT/Analysis/Autopar.h>

View File

@@ -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 <iostream>
#include <mlir/IR/BuiltinOps.h>

View File

@@ -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 <iostream>
#include <mlir/IR/BuiltinOps.h>

View File

@@ -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 <iostream>
#include <mlir/IR/BuiltinOps.h>

View File

@@ -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"

View File

@@ -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"

View File

@@ -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

View File

@@ -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/STLExtras.h>
#include <llvm/Support/Error.h>

View File

@@ -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 <stdio.h>
#include <llvm/Support/Error.h>

View File

@@ -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/Error.h>
namespace mlir {

Some files were not shown because too many files have changed in this diff Show More