Definition at line 145 of file Dedup.cpp.
◆ StructuralHasher()
◆ getHashAndModuleNames()
std::pair<std::array<uint8_t, 32>, SmallVector<StringAttr> > StructuralHasher::getHashAndModuleNames |
( |
FModuleLike |
module | ) |
|
|
inline |
◆ getId()
ValueId StructuralHasher::getId |
( |
Value |
val | ) |
|
|
inlineprivate |
Get the unique id for the specified value.
Definition at line 192 of file Dedup.cpp.
◆ record()
void StructuralHasher::record |
( |
void * |
address | ) |
|
|
inlineprivate |
◆ update() [1/15]
void StructuralHasher::update |
( |
BundleType |
type | ) |
|
|
inlineprivate |
◆ update() [2/15]
void StructuralHasher::update |
( |
const SymbolTarget & |
target | ) |
|
|
inlineprivate |
◆ update() [3/15]
void StructuralHasher::update |
( |
const void * |
pointer | ) |
|
|
inlineprivate |
◆ update() [4/15]
void StructuralHasher::update |
( |
InnerRefAttr |
attr | ) |
|
|
inlineprivate |
◆ update() [5/15]
void StructuralHasher::update |
( |
mlir::OperationName |
name | ) |
|
|
inlineprivate |
◆ update() [6/15]
void StructuralHasher::update |
( |
Operation * |
op | ) |
|
|
inlineprivate |
◆ update() [7/15]
void StructuralHasher::update |
( |
Operation * |
op, |
|
|
DictionaryAttr |
dict |
|
) |
| |
|
inlineprivate |
Hash the top level attribute dictionary of the operation.
This function has special handling for inner symbols, ports, and referenced modules.
Definition at line 246 of file Dedup.cpp.
◆ update() [8/15]
void StructuralHasher::update |
( |
Operation * |
op, |
|
|
hw::InnerSymAttr |
attr |
|
) |
| |
|
inlineprivate |
◆ update() [9/15]
void StructuralHasher::update |
( |
OpOperand & |
operand | ) |
|
|
inlineprivate |
◆ update() [10/15]
void StructuralHasher::update |
( |
OpResult |
result | ) |
|
|
inlineprivate |
◆ update() [11/15]
void StructuralHasher::update |
( |
size_t |
value | ) |
|
|
inlineprivate |
◆ update() [12/15]
void StructuralHasher::update |
( |
Type |
type | ) |
|
|
inlineprivate |
◆ update() [13/15]
void StructuralHasher::update |
( |
TypeID |
typeID | ) |
|
|
inlineprivate |
◆ update() [14/15]
void StructuralHasher::update |
( |
Value |
value, |
|
|
hw::InnerSymAttr |
attr |
|
) |
| |
|
inlineprivate |
◆ update() [15/15]
void StructuralHasher::update |
( |
ValueId |
index | ) |
|
|
inlineprivate |
◆ constants
◆ indices
DenseMap<void *, unsigned> StructuralHasher::indices |
|
private |
◆ innerSymTargets
DenseMap<StringAttr, SymbolTarget> StructuralHasher::innerSymTargets |
|
private |
◆ referredModuleNames
SmallVector<mlir::StringAttr> StructuralHasher::referredModuleNames |
|
private |
◆ sha
llvm::SHA256 StructuralHasher::sha |
|
private |
The documentation for this struct was generated from the following file:
- /home/runner/work/circt-www/circt-www/circt_src/lib/Dialect/FIRRTL/Transforms/Dedup.cpp