LLZK
3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Toggle main menu visibility
Loading...
Searching...
No Matches
Ops.td
Go to the documentation of this file.
1
//===-- Ops.td ---------------------------------------------*- tablegen -*-===//
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
10
#ifndef LLZK_STRING_OPS
11
#define LLZK_STRING_OPS
12
13
include "llzk/Dialect/String/IR/Dialect.td"
14
include "llzk/Dialect/String/IR/Types.td"
15
16
include "mlir/IR/OpBase.td"
17
include "mlir/Interfaces/SideEffectInterfaces.td"
18
include "mlir/IR/SymbolInterfaces.td"
19
20
def LLZK_LitStringOp : Op<StringDialect, "new", [Pure, ConstantLike]> {
21
let summary = "literal string";
22
let arguments = (ins StrAttr:$value);
23
let results = (outs LLZK_String:$result);
24
25
let assemblyFormat = [{
26
$value attr-dict
27
}];
28
let hasFolder = 1;
29
}
30
31
#endif // LLZK_STRING_OPS
include
llzk
Dialect
String
IR
Ops.td
Generated by
1.17.0
Copyright 2025 Veridise Inc. under the Apache License v2.0. Copyright 2026 Project LLZK under the Apache License v2.0.