LLVM 20.0.0git
Public Member Functions | Public Attributes | List of all members
llvm::FunctionHashInfo Struct Reference

#include "llvm/IR/StructuralHash.h"

Public Member Functions

 FunctionHashInfo (stable_hash FuntionHash, std::unique_ptr< IndexInstrMap > IndexInstruction, std::unique_ptr< IndexOperandHashMapType > IndexOperandHashMap)
 

Public Attributes

stable_hash FunctionHash
 A hash value representing the structural content of the function.
 
std::unique_ptr< IndexInstrMapIndexInstruction
 A mapping from instruction indices to instruction pointers.
 
std::unique_ptr< IndexOperandHashMapTypeIndexOperandHashMap
 A mapping from pairs of instruction indices and operand indices to the hashes of the operands.
 

Detailed Description

Definition at line 56 of file StructuralHash.h.

Constructor & Destructor Documentation

◆ FunctionHashInfo()

llvm::FunctionHashInfo::FunctionHashInfo ( stable_hash  FuntionHash,
std::unique_ptr< IndexInstrMap IndexInstruction,
std::unique_ptr< IndexOperandHashMapType IndexOperandHashMap 
)
inline

Definition at line 66 of file StructuralHash.h.

Member Data Documentation

◆ FunctionHash

stable_hash llvm::FunctionHashInfo::FunctionHash

A hash value representing the structural content of the function.

Definition at line 58 of file StructuralHash.h.

◆ IndexInstruction

std::unique_ptr<IndexInstrMap> llvm::FunctionHashInfo::IndexInstruction

A mapping from instruction indices to instruction pointers.

Definition at line 60 of file StructuralHash.h.

◆ IndexOperandHashMap

std::unique_ptr<IndexOperandHashMapType> llvm::FunctionHashInfo::IndexOperandHashMap

A mapping from pairs of instruction indices and operand indices to the hashes of the operands.

This can be used to analyze or reconstruct the differences in ignored operands

Definition at line 64 of file StructuralHash.h.


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