LLZK 0.1.0
Veridise's ZK Language IR
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
12
13// TableGen'd implementation files
14#define GET_OP_CLASSES
16
17using namespace mlir;
18using namespace llvm;
19
20namespace llzk::include {
21
22//===------------------------------------------------------------------===//
23// IncludeOp (see IncludeHelper.cpp for other functions)
24//===------------------------------------------------------------------===//
25
26IncludeOp IncludeOp::create(Location loc, StringRef name, StringRef path) {
27 return delegate_to_build<IncludeOp>(loc, name, path);
28}
29
30IncludeOp IncludeOp::create(Location loc, StringAttr name, StringAttr path) {
31 return delegate_to_build<IncludeOp>(loc, name, path);
32}
33
34} // namespace llzk::include
static IncludeOp create(::mlir::Location, ::llvm::StringRef name, ::llvm::StringRef path)
OpClass delegate_to_build(mlir::Location location, Args &&...args)