Files
concrete/compilers/concrete-compiler/compiler/include/concretelang/Support/LLVMEmitFile.h
Benoit Chevallier-Mames e37a840e7e docs(compiler): adding API doc
2024-03-13 17:10:00 +01:00

26 lines
724 B
C++

// Part of the Concrete Compiler Project, under the BSD3 License with Zama
// Exceptions. See
// https://github.com/zama-ai/concrete/blob/main/LICENSE.txt
// for license information.
#ifndef CONCRETELANG_SUPPORT_LLVMEMITFILE
#define CONCRETELANG_SUPPORT_LLVMEMITFILE
#include <llvm/ADT/StringRef.h>
namespace mlir {
namespace concretelang {
llvm::Error emitObject(llvm::Module &module, std::string objectPath);
llvm::Error callCmd(std::string cmd);
llvm::Error emitLibrary(std::vector<std::string> objectsPath,
std::string libraryPath, std::string linker,
std::optional<std::vector<std::string>> extraArgs = {});
} // namespace concretelang
} // namespace mlir
#endif