CIRCT
23.0.0git
Loading...
Searching...
No Matches
include
circt
Dialect
LLHD
LLHDTypes.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_LLHDTYPES_H
10
#define CIRCT_DIALECT_LLHD_LLHDTYPES_H
11
12
#include "mlir/IR/Attributes.h"
13
#include "mlir/IR/Types.h"
14
15
#define GET_TYPEDEF_CLASSES
16
#include "circt/Dialect/LLHD/LLHDTypes.h.inc"
17
18
#define GET_ATTRDEF_CLASSES
19
#include "circt/Dialect/LLHD/LLHDAttributes.h.inc"
20
21
namespace
llvm
{
22
template
<>
23
struct
PointerLikeTypeTraits
<
circt
::llhd::TimeAttr>
24
:
public
PointerLikeTypeTraits
<mlir::Attribute> {
25
static
inline
circt::llhd::TimeAttr
getFromVoidPointer
(
void
*p) {
26
return
circt::llhd::TimeAttr::getFromOpaquePointer(p);
27
}
28
};
29
}
// namespace llvm
30
31
#endif
// CIRCT_DIALECT_LLHD_LLHDTYPES_H
PointerLikeTypeTraits
circt
The InstanceGraph op interface, see InstanceGraphInterface.td for more details.
Definition
DebugAnalysis.h:21
llvm
Definition
ImportVerilog.h:24
llvm::PointerLikeTypeTraits< circt::llhd::TimeAttr >::getFromVoidPointer
static circt::llhd::TimeAttr getFromVoidPointer(void *p)
Definition
LLHDTypes.h:25
Generated on Fri Feb 20 2026 00:11:18 for CIRCT by
1.9.8