1//===-- LLZKValidationPasses.td - Validation Passes --------*- tablegen -*-===//
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
8//===----------------------------------------------------------------------===//
11/// This file defines the `-llzk-validate-member-writes` pass.
13//===----------------------------------------------------------------------===//
15#ifndef LLZK_VALIDATION_PASSES_TD
16#define LLZK_VALIDATION_PASSES_TD
18include "llzk/Pass/PassBase.td"
20def MemberWriteValidatorPass : LLZKPass<"llzk-validate-member-writes",
21 "::llzk::component::StructDefOp"> {
23 "Detect multiple and missing writes to the same member of a component.";
24 let constructor = "llzk::createMemberWriteValidatorPass()";
27#endif // LLZK_VALIDATION_PASSES_TD