LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
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 30 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 42 of file StableFunctionMap.h.

◆ StableFunction() [2/2]

llvm::StableFunction::StableFunction ( )
default

Member Data Documentation

◆ FunctionName

std::string llvm::StableFunction::FunctionName

The name of the function.

Definition at line 34 of file StableFunctionMap.h.

◆ Hash

stable_hash llvm::StableFunction::Hash

The combined stable hash of the function.

Definition at line 32 of file StableFunctionMap.h.

◆ IndexOperandHashes

IndexOperandHashVecType llvm::StableFunction::IndexOperandHashes

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

Definition at line 40 of file StableFunctionMap.h.

◆ InstCount

unsigned llvm::StableFunction::InstCount

The number of instructions.

Definition at line 38 of file StableFunctionMap.h.

◆ ModuleName

std::string llvm::StableFunction::ModuleName

The name of the module the function is in.

Definition at line 36 of file StableFunctionMap.h.


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