Skip to content

Latest commit

 

History

History
118 lines (70 loc) · 5.18 KB

concrete.compiler.md

File metadata and controls

118 lines (70 loc) · 5.18 KB

module concrete.compiler

Compiler submodule.

Global Variables

  • wrapper: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • compilation_options: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • compilation_context: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • key_set_cache: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • client_parameters: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • parameter
  • compilation_feedback: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • evaluation_keys: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • key_set: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • value
  • public_result: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • public_arguments: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • utils: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • lambda_argument: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • library_compilation_result: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • library_lambda: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • client_support: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • library_support: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • value_decrypter
  • value_exporter
  • simulated_value_decrypter
  • simulated_value_exporter
  • server_circuit: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.
  • server_program: # Part of the Concrete Compiler Project, under the BSD3 License with Zama Exceptions.

function init_dfr

init_dfr()

Initialize dataflow parallelization.

It is not always required to initialize the dataflow runtime as it can be implicitely done during compilation. However, it is required in case no compilation has previously been done and the runtime is needed


function round_trip

round_trip(mlir_str: str) → str

Parse the MLIR input, then return it back.

Useful to check the validity of an MLIR representation

Args:

  • mlir_str (str): textual representation of an MLIR code

Raises:

  • TypeError: if mlir_str is not of type str

Returns:

  • str: textual representation of the MLIR code after parsing