CIRCT  19.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 1537 of file Dedup.cpp.

Member Function Documentation

◆ getEmptyKey()

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

Definition at line 1538 of file Dedup.cpp.

◆ getHashValue()

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

Definition at line 1550 of file Dedup.cpp.

◆ getTombstoneKey()

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

Definition at line 1544 of file Dedup.cpp.

◆ isEqual()

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

Definition at line 1560 of file Dedup.cpp.


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