CIRCT
22.0.0git
Loading...
Searching...
No Matches
include
circt
Dialect
HW
HWDialect.h
Go to the documentation of this file.
1
//===- HWDialect.h - HW dialect declaration ---------------------*- 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 defines an HW MLIR dialect.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef CIRCT_DIALECT_HW_HWDIALECT_H
14
#define CIRCT_DIALECT_HW_HWDIALECT_H
15
16
#include "
circt/Support/LLVM.h
"
17
#include "mlir/IR/BuiltinAttributes.h"
18
#include "mlir/IR/Dialect.h"
19
20
// Pull in the dialect definition.
21
#include "circt/Dialect/HW/HWDialect.h.inc"
22
23
namespace
circt::hw
{
24
/// HW dialect constant materialization commonly used by other dialects as well.
25
Operation *
materializeConstant
(OpBuilder &builder, Attribute value, Type type,
26
Location loc);
27
}
// namespace circt::hw
28
29
#endif
// CIRCT_DIALECT_HW_HWDIALECT_H
LLVM.h
circt::hw
Definition
ExportAIGER.h:26
circt::hw::materializeConstant
Operation * materializeConstant(OpBuilder &builder, Attribute value, Type type, Location loc)
HW dialect constant materialization commonly used by other dialects as well.
Definition
HWDialect.cpp:91
Generated on Wed Dec 17 2025 00:08:52 for CIRCT by
1.9.8