Returns a hash of the function F.

Synopsis

Declared in <llvm/IR/StructuralHash.h>

stable_hash
StructuralHash(
    Function const& F,
    bool DetailedHash = false);

Return Value

A stable hash of the function.

Parameters

Name

Description

F

The function to hash.

DetailedHash

Whether or not to encode additional information in the hash. The additional information added into the hash when this flag is set to true includes instruction and operand type information.

Created with MrDocs