LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 53 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

Definition at line 65 of file StableFunctionMap.h.

Member Data Documentation

◆ FunctionNameId

unsigned llvm::StableFunctionMap::StableFunctionEntry::FunctionNameId

Id of the function name.

Definition at line 57 of file StableFunctionMap.h.

◆ Hash

stable_hash llvm::StableFunctionMap::StableFunctionEntry::Hash

The combined stable hash of the function.

Definition at line 55 of file StableFunctionMap.h.

◆ IndexOperandHashMap

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

A map from an IndexPair to a stable_hash which was skipped.

Definition at line 63 of file StableFunctionMap.h.

Referenced by checkConstLocationCompatible(), getStableIndexOperandHashes(), and llvm::GlobalMergeFunc::merge().

◆ InstCount

unsigned llvm::StableFunctionMap::StableFunctionEntry::InstCount

The number of instructions.

Definition at line 61 of file StableFunctionMap.h.

Referenced by llvm::GlobalMergeFunc::merge().

◆ ModuleNameId

unsigned llvm::StableFunctionMap::StableFunctionEntry::ModuleNameId

Id of the module name.

Definition at line 59 of file StableFunctionMap.h.


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