LLVM 22.0.0git
llvm::StableFunction Struct Reference

A stable function is a function with a stable hash while tracking the locations of ignored operands and their hashes. More...

#include "llvm/CGData/StableFunctionMap.h"

Public Member Functions

 StableFunction (stable_hash Hash, const std::string FunctionName, const std::string ModuleName, unsigned InstCount, IndexOperandHashVecType &&IndexOperandHashes)
 StableFunction ()=default

Public Attributes

stable_hash Hash
 The combined stable hash of the function.
std::string FunctionName
 The name of the function.
std::string ModuleName
 The name of the module the function is in.
unsigned InstCount
 The number of instructions.
IndexOperandHashVecType IndexOperandHashes
 A vector of pairs of IndexPair and operand hash which was skipped.

Detailed Description

A stable function is a function with a stable hash while tracking the locations of ignored operands and their hashes.

Definition at line 34 of file StableFunctionMap.h.

Constructor & Destructor Documentation

◆ StableFunction() [1/2]

llvm::StableFunction::StableFunction ( stable_hash Hash,
const std::string FunctionName,
const std::string ModuleName,
unsigned InstCount,
IndexOperandHashVecType && IndexOperandHashes )
inline

Definition at line 46 of file StableFunctionMap.h.

References FunctionName, Hash, IndexOperandHashes, InstCount, ModuleName, and llvm::move().

◆ StableFunction() [2/2]

llvm::StableFunction::StableFunction ( )
default

Member Data Documentation

◆ FunctionName

std::string llvm::StableFunction::FunctionName

The name of the function.

Definition at line 38 of file StableFunctionMap.h.

Referenced by StableFunction().

◆ Hash

stable_hash llvm::StableFunction::Hash

The combined stable hash of the function.

Definition at line 36 of file StableFunctionMap.h.

Referenced by StableFunction().

◆ IndexOperandHashes

IndexOperandHashVecType llvm::StableFunction::IndexOperandHashes

A vector of pairs of IndexPair and operand hash which was skipped.

Definition at line 44 of file StableFunctionMap.h.

Referenced by StableFunction().

◆ InstCount

unsigned llvm::StableFunction::InstCount

The number of instructions.

Definition at line 42 of file StableFunctionMap.h.

Referenced by StableFunction().

◆ ModuleName

std::string llvm::StableFunction::ModuleName

The name of the module the function is in.

Definition at line 40 of file StableFunctionMap.h.

Referenced by StableFunction().


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