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/IR/RegionKindInterface.h"
21#include "mlir/Interfaces/CallInterfaces.h"
22#include "mlir/Interfaces/ControlFlowInterfaces.h"
23#include "mlir/Interfaces/FunctionInterfaces.h"
24#include "mlir/Interfaces/InferTypeOpInterface.h"
25#include "mlir/Interfaces/MemorySlotInterfaces.h"
26
27#define GET_OP_CLASSES
28#include "circt/Dialect/Moore/MooreEnums.h.inc"
29
30namespace circt {
31namespace moore {
32/// Information about one DPI-imported function argument.
33struct DPIArgInfo {
34 mlir::StringAttr name;
35 mlir::Type type;
36 DPIArgDirection dir;
37};
38} // namespace moore
39} // namespace circt
40
41// Clang format shouldn't reorder these headers.
42#include "circt/Dialect/Moore/Moore.h.inc"
43
44#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:33
DPIArgDirection dir
Definition MooreOps.h:36
mlir::StringAttr name
Definition MooreOps.h:34