CIRCT
22.0.0git
Loading...
Searching...
No Matches
include
circt
Dialect
AIG
AIGOps.h
Go to the documentation of this file.
1
//===- AIGOps.h - AIG Op Definitions ----------------------------*- C++ -*-===//
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
#ifndef CIRCT_DIALECT_AIG_AIGOPS_H
10
#define CIRCT_DIALECT_AIG_AIGOPS_H
11
12
#include "
circt/Support/LLVM.h
"
13
#include "mlir/IR/Attributes.h"
14
#include "mlir/IR/Builders.h"
15
#include "mlir/IR/BuiltinOps.h"
16
#include "mlir/IR/BuiltinTypes.h"
17
#include "mlir/IR/Dialect.h"
18
#include "mlir/IR/OpDefinition.h"
19
#include "mlir/IR/OpImplementation.h"
20
#include "mlir/IR/Operation.h"
21
#include "mlir/Interfaces/ControlFlowInterfaces.h"
22
#include "mlir/Interfaces/FunctionInterfaces.h"
23
#include "mlir/Interfaces/InferTypeOpInterface.h"
24
#include "mlir/Interfaces/SideEffectInterfaces.h"
25
#include "mlir/Rewrite/PatternApplicator.h"
26
27
#include "
circt/Dialect/AIG/AIGDialect.h
"
28
29
#define GET_OP_CLASSES
30
#include "circt/Dialect/AIG/AIG.h.inc"
31
32
namespace
circt
{
33
namespace
aig
{
34
struct
AndInverterVariadicOpConversion
35
:
mlir::OpRewritePattern
<circt::aig::AndInverterOp> {
36
using
OpRewritePattern
<circt::aig::AndInverterOp>::OpRewritePattern;
37
mlir::LogicalResult
38
matchAndRewrite
(circt::aig::AndInverterOp op,
39
mlir::PatternRewriter &rewriter)
const override
;
40
};
41
}
// namespace aig
42
}
// namespace circt
43
44
#endif
// CIRCT_DIALECT_AIG_AIGOPS_H
AIGDialect.h
LLVM.h
aig
Definition
aig.py:1
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
circt::aig::AndInverterVariadicOpConversion
Definition
AIGOps.h:35
circt::aig::AndInverterVariadicOpConversion::matchAndRewrite
mlir::LogicalResult matchAndRewrite(circt::aig::AndInverterOp op, mlir::PatternRewriter &rewriter) const override
Definition
AIGOps.cpp:153
mlir::OpRewritePattern
Definition
LLVM.h:180
Generated on Thu Sep 11 2025 00:09:46 for CIRCT by
1.9.8