LLZK
3.0.0
An open-source IR for Zero Knowledge (ZK) circuits
Toggle main menu visibility
Loading...
Searching...
No Matches
LLZKValidationPasses.td
Go to the documentation of this file.
1
//===-- LLZKValidationPasses.td - Validation Passes --------*- 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
/// \file
11
/// This file defines the `-llzk-validate-member-writes` pass.
12
///
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLZK_VALIDATION_PASSES_TD
16
#define LLZK_VALIDATION_PASSES_TD
17
18
include "llzk/Pass/PassBase.td"
19
20
def MemberWriteValidatorPass : LLZKPass<"llzk-validate-member-writes",
21
"::llzk::component::StructDefOp"> {
22
let summary =
23
"Detect multiple and missing writes to the same member of a component.";
24
let description = [{
25
Detect multiple and missing writes to the same member of a component.
26
27
Note that this is overapproximate (i.e., some writes may erroneously
28
be flagged as overwrites, and some members may erroneously be marked
29
unwritten).
30
}];
31
}
32
33
#endif // LLZK_VALIDATION_PASSES_TD
include
llzk
Validators
LLZKValidationPasses.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.