MachineOperand hash_value overload.

Synopsis

Declared in <llvm/CodeGen/MachineOperand.h>

hash_code
hash_value(MachineOperand const& MO);

Description

Note that this includes the same information in the hash that isIdenticalTo uses for comparison. It is thus suited for use in hash tables which use that function for equality comparisons only. This must stay exactly in sync with isIdenticalTo above.

Return Value

A hash code for MO suitable for use with isIdenticalTo.

Parameters

Name

Description

MO

Operand to hash.

Created with MrDocs