LLZK 2.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Loading...
Searching...
No Matches
Attrs.cpp
Go to the documentation of this file.
1//===-- Attrs.cpp - Felt Attr method implementations ------------*- C++ -*-===//
2//
3// Part of the LLZK Project, under the Apache License v2.0.
4// See LICENSE.txt for license information.
5// Copyright 2026 Project LLZK
6// SPDX-License-Identifier: Apache-2.0
7//
8//===----------------------------------------------------------------------===//
9
11
12using namespace mlir;
13
14namespace llzk::felt {
15
16StringAttr FeltConstAttr::getFieldName() const {
17 auto ft = getType();
18 return ft ? ft.getFieldName() : StringAttr();
19}
20
21} // namespace llzk::felt