CIRCT 23.0.0git
Loading...
Searching...
No Matches
LLHDOps.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#ifndef CIRCT_DIALECT_LLHD_LLHDOPS_H
10#define CIRCT_DIALECT_LLHD_LLHDOPS_H
11
14#include "circt/Dialect/LLHD/LLHDEnums.h.inc"
16#include "circt/Support/LLVM.h"
18#include "mlir/IR/BuiltinTypes.h"
19#include "mlir/Interfaces/CallInterfaces.h"
20#include "mlir/Interfaces/ControlFlowInterfaces.h"
21#include "mlir/Interfaces/FunctionInterfaces.h"
22#include "mlir/Interfaces/InferTypeOpInterface.h"
23#include "mlir/Interfaces/MemorySlotInterfaces.h"
24#include "mlir/Interfaces/SideEffectInterfaces.h"
25
26namespace mlir {
27class DialectRegistry;
28} // namespace mlir
29
30namespace circt {
31namespace llhd {
32
33unsigned getLLHDTypeWidth(Type type);
34Type getLLHDElementType(Type type);
35
36void registerDestructableIntegerExternalModel(mlir::DialectRegistry &registry);
37
38} // namespace llhd
39} // namespace circt
40
41/// Retrieve the class declarations generated by TableGen
42#define GET_OP_CLASSES
43#include "circt/Dialect/LLHD/LLHD.h.inc"
44
45#endif // CIRCT_DIALECT_LLHD_LLHDOPS_H
unsigned getLLHDTypeWidth(Type type)
Definition LLHDOps.cpp:30
Type getLLHDElementType(Type type)
Definition LLHDOps.cpp:40
void registerDestructableIntegerExternalModel(mlir::DialectRegistry &registry)
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.