An opaque object representing a hash code.
Synopsis
Declared in <llvm/ADT/Hashing.h>
class hash_code;
Description
This object represents the result of hashing some entity. It is intended to be used to implement hashtables or other hashing‐based data structures. While it wraps and exposes a numeric value, this value should not be trusted to be stable or predictable across processes or executions.
In order to obtain the hash_code for an object 'x':
using llvm::hash_value;
llvm::hash_code code = hash_value(x);
Member Functions
Name |
Description |
|
Constructors |
Convert the hash code to its numerical value for use. |
Friends
Name |
Description |
Allow a hash_code to be directly run through hash_value. |
|
Compare two hash codes for inequality. |
|
Compare two hash codes for equality. |
Non-Member Functions
Name |
Description |
Combine values into a single hash_code. |
|
Compute a hash_code for the elements of |
|
Compute a hash_code for a sequence of values. |
|
Compute a hash_code for a pair of objects. |
|
Compute a hash_code for a standard string. |
|
Compute a hash_code for a pointer's address. |
|
Compute a hash_code for any integer value. |
|
MachineOperand hash_value overload. |
|
Overload to compute a hash_code for an APInt value. |
|
Compute a hash_code for version tuple |
|
Combine hashes of the formal and actual for use in hash‐based containers. |
|
Hashing function for PartialMapping. It is required for the hashing of ValueMapping. |
|
Compute a hash code for fixed‐point value |
|
See friend declarations above. |
|
Computes a hash code for |
|
Compute a hash_code for a tuple. |
|
Compute a hash_code for an optional value. |
|
Compute a hash code for fixed‐point semantics |
|
Compute a hash code for specialization signature |
|
Compute a hash_code for an ArrayRef. |
|
Provide a default implementation of |
|
Compute a hash_code for a StringRef. |
|
Compute a hash code for register |
|
Return a hash_code for the given metadata vector. |
|
Return a hash_code for the given metadata matrix. |
|
Return a hash_code for the given matrix. |
|
Return a hash_value for the given vector. |
|
Hash a CASID from its raw hash bytes for use in DenseMap and similar. |
|
Compute a hash value for symbol‐string pointer |
|
Return a hash code for the allowed‐register vector |
Created with MrDocs