LLZK 0.1.0
Veridise's ZK Language IR
Loading...
Searching...
No Matches
TransformationPasses.td
Go to the documentation of this file.
1//===-- TransformationPasses.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_ARRAY_TRANSFORMATION_PASSES_TD
11#define LLZK_ARRAY_TRANSFORMATION_PASSES_TD
12
13include "llzk/Pass/PassBase.td"
14
15def ArrayToScalarPass : LLZKPass<"llzk-array-to-scalar"> {
16 let summary = "Replace arrays with scalar values";
17 let description = [{
18 Replace known-shape arrays with the proper number of scalar values
19 }];
20 let constructor = "llzk::array::createArrayToScalarPass()";
21}
22
23#endif // LLZK_ARRAY_TRANSFORMATION_PASSES_TD