llvm::stableHashValue

stableHashValue overloads

Synopses

Declared in <llvm/CodeGen/MachineStableHash.h>

Compute a stable hash of machine basic block MBB.

stable_hash
stableHashValue(MachineBasicBlock const& MBB);
» more...

Compute a stable hash of machine function MF.

stable_hash
stableHashValue(MachineFunction const& MF);
» more...

Compute a stable hash of machine operand MO.

stable_hash
stableHashValue(MachineOperand const& MO);
» more...

Compute a stable hash of machine instruction MI.

stable_hash
stableHashValue(
    MachineInstr const& MI,
    bool HashVRegs = false,
    bool HashConstantPoolIndices = false,
    bool HashMemOperands = false);
» more...

Return Value

  • A stable hash of the machine basic block.
  • A stable hash of the machine function.
  • A stable hash of the machine operand.
  • A stable hash of the machine instruction, or 0 if none could be computed.

Parameters

NameDescription
MBBThe machine basic block to hash.
MFThe machine function to hash.
MOThe machine operand to hash.
MIThe machine instruction to hash.
HashVRegsWhether to include virtual register definitions.
HashConstantPoolIndicesWhether to include constant pool indices.
HashMemOperandsWhether to include memory operands.