LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Ops.cpp
Go to the documentation of this file.
1//===-- Ops.cpp - Include op implementations --------------------*- C++ -*-===//
2//
3// Part of the LLZK Project, under the Apache License v2.0.
4// See LICENSE.txt for license information.
5// Copyright 2025 Veridise Inc.
6// SPDX-License-Identifier: Apache-2.0
7//
8//===----------------------------------------------------------------------===//
9
11
13
14// TableGen'd implementation files
15#define GET_OP_CLASSES
17
18using namespace mlir;
19using namespace llvm;
20
21namespace llzk::include {
22
23//===------------------------------------------------------------------===//
24// IncludeOp (see IncludeHelper.cpp for other functions)
25//===------------------------------------------------------------------===//
26
27IncludeOp IncludeOp::create(Location loc, StringRef name, StringRef path) {
28 return delegate_to_build<IncludeOp>(loc, name, path);
29}
30
31IncludeOp IncludeOp::create(Location loc, StringAttr name, StringAttr path) {
32 return delegate_to_build<IncludeOp>(loc, name, path);
33}
34
35} // namespace llzk::include
static IncludeOp create(::mlir::Location, ::llvm::StringRef name, ::llvm::StringRef path)
OpClass delegate_to_build(mlir::Location location, Args &&...args)