LLVM 23.0.0git
MachineBlockHashInfo.cpp File Reference

Go to the source code of this file.

Classes

struct  CollectHashInfo

Functions

static constexpr uint64_t hash_16_bytes (uint64_t low, uint64_t high)
static uint64_t hashBlock (const MachineBasicBlock &MBB, bool HashOperands)
static constexpr uint16_t fold_64_to_16 (const uint64_t Value)
 Fold a 64-bit integer to a 16-bit one.

Function Documentation

◆ fold_64_to_16()

constexpr uint16_t fold_64_to_16 ( const uint64_t Value)
staticconstexpr

Fold a 64-bit integer to a 16-bit one.

Definition at line 52 of file MachineBlockHashInfo.cpp.

Referenced by llvm::MachineBlockHashInfoResult::MachineBlockHashInfoResult().

◆ hash_16_bytes()

constexpr uint64_t hash_16_bytes ( uint64_t low,
uint64_t high )
staticconstexpr

◆ hashBlock()

uint64_t hashBlock ( const MachineBasicBlock & MBB,
bool HashOperands )
static