|
unsigned | getID (void *object) |
|
unsigned | finalizeID (void *object) |
|
unsigned | getInnerSymID (StringAttr name) |
|
void | update (OpOperand &operand) |
|
void | update (const void *pointer) |
|
void | update (size_t value) |
|
void | update (TypeID typeID) |
|
void | update (BundleType type) |
|
void | update (Type type) |
|
void | update (OpResult result) |
|
void | update (Operation *op, DictionaryAttr dict) |
| Hash the top level attribute dictionary of the operation. More...
|
|
void | update (mlir::OperationName name) |
|
void | update (Block *block) |
|
void | update (Region *region) |
|
void | update (Operation *op) |
|
Definition at line 148 of file Dedup.cpp.
◆ StructuralHasher()
◆ finalizeID()
unsigned StructuralHasher::finalizeID |
( |
void * |
object | ) |
|
|
inlineprivate |
◆ getID()
unsigned StructuralHasher::getID |
( |
void * |
object | ) |
|
|
inlineprivate |
◆ getInnerSymID()
unsigned StructuralHasher::getInnerSymID |
( |
StringAttr |
name | ) |
|
|
inlineprivate |
◆ getModuleInfo()
ModuleInfo StructuralHasher::getModuleInfo |
( |
FModuleLike |
module | ) |
|
|
inline |
◆ update() [1/12]
void StructuralHasher::update |
( |
Block * |
block | ) |
|
|
inlineprivate |
◆ update() [2/12]
void StructuralHasher::update |
( |
BundleType |
type | ) |
|
|
inlineprivate |
◆ update() [3/12]
void StructuralHasher::update |
( |
const void * |
pointer | ) |
|
|
inlineprivate |
◆ update() [4/12]
void StructuralHasher::update |
( |
mlir::OperationName |
name | ) |
|
|
inlineprivate |
◆ update() [5/12]
void StructuralHasher::update |
( |
Operation * |
op | ) |
|
|
inlineprivate |
◆ update() [6/12]
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 242 of file Dedup.cpp.
◆ update() [7/12]
void StructuralHasher::update |
( |
OpOperand & |
operand | ) |
|
|
inlineprivate |
◆ update() [8/12]
void StructuralHasher::update |
( |
OpResult |
result | ) |
|
|
inlineprivate |
◆ update() [9/12]
void StructuralHasher::update |
( |
Region * |
region | ) |
|
|
inlineprivate |
◆ update() [10/12]
void StructuralHasher::update |
( |
size_t |
value | ) |
|
|
inlineprivate |
◆ update() [11/12]
void StructuralHasher::update |
( |
Type |
type | ) |
|
|
inlineprivate |
◆ update() [12/12]
void StructuralHasher::update |
( |
TypeID |
typeID | ) |
|
|
inlineprivate |
◆ constants
◆ idTable
DenseMap<void *, unsigned> StructuralHasher::idTable |
|
private |
◆ innerSymIDTable
DenseMap<StringAttr, unsigned> StructuralHasher::innerSymIDTable |
|
private |
◆ nextID
unsigned StructuralHasher::nextID = 0 |
|
private |
◆ nextInnerSymID
unsigned StructuralHasher::nextInnerSymID = 0 |
|
private |
◆ position
size_t StructuralHasher::position = 0 |
|
private |
◆ referredModuleNames
std::vector<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