mirror of
https://github.com/zama-ai/concrete.git
synced 2026-02-10 04:35:03 -05:00
18 lines
755 B
C
18 lines
755 B
C
// Part of the Concrete Compiler Project, under the BSD3 License with Zama
|
|
// Exceptions. See
|
|
// https://github.com/zama-ai/concrete-compiler-internal/blob/main/LICENSE.txt
|
|
// for license information.
|
|
|
|
#include "mlir/IR/PatternMatch.h"
|
|
|
|
mlir::LogicalResult insertForwardDeclaration(mlir::Operation *op,
|
|
mlir::OpBuilder &rewriter,
|
|
llvm::StringRef funcName,
|
|
mlir::FunctionType funcType);
|
|
|
|
/// \brief Returns the value of the context argument from the enclosing func
|
|
///
|
|
/// \param op initial operation to start the search from
|
|
/// \return mlir::Value the context value
|
|
mlir::Value getContextArgument(mlir::Operation *op);
|