CIRCT
22.0.0git
Loading...
Searching...
No Matches
include
circt
Dialect
Synth
SynthOps.h
Go to the documentation of this file.
1
//===----------------------------------------------------------------------===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file defines the operations of the Synth dialect.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef CIRCT_DIALECT_SYNTH_SYNTHOPS_H
14
#define CIRCT_DIALECT_SYNTH_SYNTHOPS_H
15
16
#include "
circt/Dialect/Synth/SynthDialect.h
"
17
#include "
circt/Support/LLVM.h
"
18
#include "mlir/IR/Attributes.h"
19
#include "mlir/IR/Builders.h"
20
#include "mlir/IR/BuiltinOps.h"
21
#include "mlir/IR/BuiltinTypes.h"
22
#include "mlir/IR/Dialect.h"
23
#include "mlir/IR/Operation.h"
24
#include "mlir/Interfaces/InferTypeOpInterface.h"
25
#include "mlir/Interfaces/SideEffectInterfaces.h"
26
#include "mlir/Rewrite/PatternApplicator.h"
27
28
#define GET_OP_CLASSES
29
#include "circt/Dialect/Synth/Synth.h.inc"
30
31
namespace
circt
{
32
namespace
synth
{
33
struct
AndInverterVariadicOpConversion
34
:
mlir::OpRewritePattern
<aig::AndInverterOp> {
35
using
OpRewritePattern
<aig::AndInverterOp>::OpRewritePattern;
36
mlir::LogicalResult
37
matchAndRewrite
(aig::AndInverterOp op,
38
mlir::PatternRewriter &rewriter)
const override
;
39
};
40
41
}
// namespace synth
42
}
// namespace circt
43
44
#endif
// CIRCT_DIALECT_SYNTH_SYNTHOPS_H
LLVM.h
SynthDialect.h
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
synth
Definition
synth.py:1
circt::synth::AndInverterVariadicOpConversion
Definition
SynthOps.h:34
circt::synth::AndInverterVariadicOpConversion::matchAndRewrite
mlir::LogicalResult matchAndRewrite(aig::AndInverterOp op, mlir::PatternRewriter &rewriter) const override
Definition
SynthOps.cpp:277
mlir::OpRewritePattern
Definition
LLVM.h:180
Generated on Tue Sep 16 2025 00:09:03 for CIRCT by
1.9.8