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 - String operation 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
10
#include "
llzk/Dialect/String/IR/Ops.h
"
11
12
#include <mlir/IR/Builders.h>
13
14
// TableGen'd implementation files
15
#define GET_OP_CLASSES
16
#include "
llzk/Dialect/String/IR/Ops.cpp.inc
"
17
18
namespace
llzk::string
{
19
20
using namespace
mlir
;
21
22
//===------------------------------------------------------------------===//
23
// LitStringOp
24
//===------------------------------------------------------------------===//
25
26
OpFoldResult
LitStringOp::fold
(
LitStringOp::FoldAdaptor
) {
return
getValueAttr
(); }
27
28
}
// namespace llzk::string
Ops.cpp.inc
Ops.h
llzk::string::LitStringOp::FoldAdaptor
GenericAdaptor<::llvm::ArrayRef<::mlir::Attribute > > FoldAdaptor
Definition
Ops.h.inc:120
llzk::string::LitStringOp::fold
::mlir::OpFoldResult fold(FoldAdaptor adaptor)
Definition
Ops.cpp:26
llzk::string::LitStringOp::getValueAttr
::mlir::StringAttr getValueAttr()
Definition
Ops.cpp.inc:207
llzk::string
Definition
Ops.cpp:18
mlir
Definition
Types.h.inc:13
lib
Dialect
String
IR
Ops.cpp
Generated by
1.13.2
Copyright 2025 Veridise Inc. under the Apache License v2.0.