CIRCT 24.0.0git
Loading...
Searching...
No Matches
llvm::DenseMapInfo< circt::FieldRef > Struct Reference

Allow using FieldRef with DenseMaps. More...

#include <FieldRef.h>

Inheritance diagram for llvm::DenseMapInfo< circt::FieldRef >:
Collaboration diagram for llvm::DenseMapInfo< circt::FieldRef >:

Static Public Member Functions

static unsigned getHashValue (const circt::FieldRef &val)
static bool isEqual (const circt::FieldRef &lhs, const circt::FieldRef &rhs)

Detailed Description

Allow using FieldRef with DenseMaps.

This hash is based on the Value identity and field ID.

Definition at line 104 of file FieldRef.h.

Member Function Documentation

◆ getHashValue()

unsigned llvm::DenseMapInfo< circt::FieldRef >::getHashValue ( const circt::FieldRef & val)
inlinestatic

Definition at line 105 of file FieldRef.h.

References circt::hw::hash_value().

◆ isEqual()

bool llvm::DenseMapInfo< circt::FieldRef >::isEqual ( const circt::FieldRef & lhs,
const circt::FieldRef & rhs )
inlinestatic

Definition at line 108 of file FieldRef.h.


The documentation for this struct was generated from the following file: