Files
concrete/compiler/lib/Support/CMakeLists.txt
Andi Drebes 45577fb79e Rebase onto llvm-project f69328049e9e with local changes
This commit rebases the compiler onto commit f69328049e9e from
llvm-project.

Changes:

* Use of the one-shot bufferizer for improved memory management

* A new pass `OneShotBufferizeDPSWrapper` that converts functions
  returning tensors to destination-passing-style as required by the
  one-shot bufferizer

* A new pass `LinalgGenericOpWithTensorsToLoopsPass` that converts
  `linalg.generic` operations with value semantics to loop nests

* Rebase onto a fork of llvm-project at f69328049e9e with local
  modifications to enable bufferization of `linalg.generic` operations
  with value semantics

* Workaround for the absence of type propagation after type conversion
  via extra patterns in all dialect conversion passes

* Printer, parser and verifier definitions moved from inline
  declarations in ODS to the respective source files as required by
  upstream changes

* New tests for functions with a large number of inputs

* Increase the number of allowed task inputs as required by new tests

* Use upstream function `mlir_configure_python_dev_packages()` to
  locate Python development files for compatibility with various CMake
  versions

Co-authored-by: Quentin Bourgerie <quentin.bourgerie@zama.ai>
Co-authored-by: Ayoub Benaissa <ayoub.benaissa@zama.ai>
Co-authored-by: Antoniu Pop <antoniu.pop@zama.ai>
2022-06-14 14:35:25 +02:00

45 lines
874 B
CMake
Raw Blame History

This file contains invisible Unicode characters
This file contains invisible Unicode characters that are indistinguishable to humans but may be processed differently by a computer. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# not working in ADDITIONAL_HEADER_DIRS
include_directories(${CONCRETE_OPTIMIZER_DIR}/concrete-optimizer-cpp/src/cpp)
add_mlir_library(ConcretelangSupport
Pipeline.cpp
Jit.cpp
CompilerEngine.cpp
JITSupport.cpp
LambdaArgument.cpp
V0Parameters.cpp
V0Curves.cpp
V0ClientParameters.cpp
logging.cpp
Jit.cpp
LLVMEmitFile.cpp
ADDITIONAL_HEADER_DIRS
${PROJECT_SOURCE_DIR}/include/concretelang/Support
DEPENDS
mlir-headers
LINK_LIBS PUBLIC
FHELinalgDialect
FHELinalgDialectTransforms
FHETensorOpsToLinalg
FHEToTFHE
MLIRLowerableDialectsToLLVM
FHEDialectAnalysis
RTDialectAnalysis
ConcretelangTransforms
ConcretelangBConcreteTransforms
LinalgExtras
ConcreteDialectTransforms
concrete_optimizer
MLIRExecutionEngine
${LLVM_PTHREAD_LIB}
ConcretelangRuntime
ConcretelangClientLib
ConcretelangServerLib
Concrete
)