CIRCT  20.0.0git
Static Public Member Functions | List of all members
llvm::DenseMapInfo< ModuleInfo > Struct Reference

A DenseMapInfo implementation for ModuleInfo that is a pair of llvm::SHA256 hashes, which are represented as std::array<uint8_t, 32>, and an array of string attributes. More...

Static Public Member Functions

static ModuleInfo getEmptyKey ()
 
static ModuleInfo getTombstoneKey ()
 
static unsigned getHashValue (const ModuleInfo &val)
 
static bool isEqual (const ModuleInfo &lhs, const ModuleInfo &rhs)
 

Detailed Description

A DenseMapInfo implementation for ModuleInfo that is a pair of llvm::SHA256 hashes, which are represented as std::array<uint8_t, 32>, and an array of string attributes.

This allows us to create a DenseMap with ModuleInfo as keys.

Definition at line 1604 of file Dedup.cpp.

Member Function Documentation

◆ getEmptyKey()

static ModuleInfo llvm::DenseMapInfo< ModuleInfo >::getEmptyKey ( )
inlinestatic

Definition at line 1605 of file Dedup.cpp.

◆ getHashValue()

static unsigned llvm::DenseMapInfo< ModuleInfo >::getHashValue ( const ModuleInfo val)
inlinestatic

Definition at line 1617 of file Dedup.cpp.

References esi::utils::hash_combine().

◆ getTombstoneKey()

static ModuleInfo llvm::DenseMapInfo< ModuleInfo >::getTombstoneKey ( )
inlinestatic

Definition at line 1611 of file Dedup.cpp.

◆ isEqual()

static bool llvm::DenseMapInfo< ModuleInfo >::isEqual ( const ModuleInfo lhs,
const ModuleInfo rhs 
)
inlinestatic

Definition at line 1629 of file Dedup.cpp.


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