LLVM 22.0.0git
llvm::StableFunctionMap::StableFunctionEntry Struct Reference

An efficient form of StableFunction for fast look-up. More...

#include "llvm/CGData/StableFunctionMap.h"

Public Member Functions

 StableFunctionEntry (stable_hash Hash, unsigned FunctionNameId, unsigned ModuleNameId, unsigned InstCount, std::unique_ptr< IndexOperandHashMapType > IndexOperandHashMap)

Public Attributes

stable_hash Hash
 The combined stable hash of the function.
unsigned FunctionNameId
 Id of the function name.
unsigned ModuleNameId
 Id of the module name.
unsigned InstCount
 The number of instructions.
std::unique_ptr< IndexOperandHashMapTypeIndexOperandHashMap
 A map from an IndexPair to a stable_hash which was skipped.

Detailed Description

An efficient form of StableFunction for fast look-up.

Definition at line 57 of file StableFunctionMap.h.

Constructor & Destructor Documentation

◆ StableFunctionEntry()

llvm::StableFunctionMap::StableFunctionEntry::StableFunctionEntry ( stable_hash Hash,
unsigned FunctionNameId,
unsigned ModuleNameId,
unsigned InstCount,
std::unique_ptr< IndexOperandHashMapType > IndexOperandHashMap )
inline

Member Data Documentation

◆ FunctionNameId

unsigned llvm::StableFunctionMap::StableFunctionEntry::FunctionNameId

Id of the function name.

Definition at line 61 of file StableFunctionMap.h.

Referenced by StableFunctionEntry().

◆ Hash

stable_hash llvm::StableFunctionMap::StableFunctionEntry::Hash

The combined stable hash of the function.

Definition at line 59 of file StableFunctionMap.h.

Referenced by StableFunctionEntry().

◆ IndexOperandHashMap

std::unique_ptr<IndexOperandHashMapType> llvm::StableFunctionMap::StableFunctionEntry::IndexOperandHashMap

◆ InstCount

unsigned llvm::StableFunctionMap::StableFunctionEntry::InstCount

The number of instructions.

Definition at line 65 of file StableFunctionMap.h.

Referenced by llvm::GlobalMergeFunc::merge(), and StableFunctionEntry().

◆ ModuleNameId

unsigned llvm::StableFunctionMap::StableFunctionEntry::ModuleNameId

Id of the module name.

Definition at line 63 of file StableFunctionMap.h.

Referenced by StableFunctionEntry().


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