llvm::FunctionHashInfo

Holds a function's structural hash and maps for ignored-operand analysis.

Synopsis

Declared in <llvm/IR/StructuralHash.h>

struct FunctionHashInfo;

Member Functions

NameDescription
FunctionHashInfo [constructor]Construct from a function hash and optional instruction/operand maps.

Data Members

NameDescription
FunctionHash A hash value representing the structural content of the function
IndexInstruction A mapping from instruction indices to instruction pointers
IndexOperandHashMap Maps instruction/operand index pairs to ignored-operand hashes.

Non-Member Functions

NameDescription
StructuralHashWithDifferencesComputes a structural hash of a function while selectively ignoring operands.