llvm::BlendedBlockHash

An object wrapping several components of a basic block hash.

Synopsis

Declared in <llvm/CodeGen/MachineBlockHashInfo.h>

struct BlendedBlockHash;

Description

The combined (blended) hash is represented and stored as one uint64_t, while individual components are of smaller size (e.g., uint16_t or uint8_t).

Member Functions

NameDescription
BlendedBlockHash [constructor]Constructors
combine Combine the blended hash into uint64_t.
distance Compute a distance between two given blended hashes.
getOpcodeHash Return the opcode hash component of this blended hash.