CIRCT 23.0.0git
Loading...
Searching...
No Matches
MooreOps.h
Go to the documentation of this file.
1//===- MooreOps.h - Declare Moore dialect operations ------------*- 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// This file declares the operation classes for the Moore dialect.
10//
11//===----------------------------------------------------------------------===//
12
13#ifndef CIRCT_DIALECT_MOORE_MOOREOPS_H
14#define CIRCT_DIALECT_MOORE_MOOREOPS_H
15
20#include "mlir/Dialect/Func/IR/FuncOps.h"
21#include "mlir/IR/RegionKindInterface.h"
22#include "mlir/Interfaces/CallInterfaces.h"
23#include "mlir/Interfaces/ControlFlowInterfaces.h"
24#include "mlir/Interfaces/FunctionInterfaces.h"
25#include "mlir/Interfaces/InferTypeOpInterface.h"
26#include "mlir/Interfaces/MemorySlotInterfaces.h"
27
28#define GET_OP_CLASSES
29#include "circt/Dialect/Moore/MooreEnums.h.inc"
30
31namespace circt {
32namespace moore {
33/// Information about one DPI-imported function argument.
34struct DPIArgInfo {
35 mlir::StringAttr name;
36 mlir::Type type;
37 DPIArgDirection dir;
38};
39} // namespace moore
40} // namespace circt
41
42// Clang format shouldn't reorder these headers.
43#include "circt/Dialect/Moore/Moore.h.inc"
44
45#endif // CIRCT_DIALECT_MOORE_MOOREOPS_H
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Information about one DPI-imported function argument.
Definition MooreOps.h:34
DPIArgDirection dir
Definition MooreOps.h:37
mlir::StringAttr name
Definition MooreOps.h:35