hash_value overloads
Synopses
Declared in <llvm/ADT/APFloat.h>
Compute a hash_code for a StringRef.
[[nodiscard]]
hash_code
hash_value(StringRef S);
Compute a hash code for fixed‐point value Val.
hash_code
hash_value(APFixedPoint const& Val);
See friend declarations above.
hash_code
hash_value(APFloat const& Arg);
Overload to compute a hash_code for an APInt value.
hash_code
hash_value(APInt const& Arg);
Combine hashes of the formal and actual for use in hash‐based containers.
hash_code
hash_value(ArgInfo const& A);
Computes a hash code for x.
hash_code
hash_value(DynamicAPInt const& x);
Compute a hash code for fixed‐point semantics Val.
hash_code
hash_value(FixedPointSemantics const& Val);
Compute a hash code for register Reg.
hash_code
hash_value(MCRegister const& Reg);
MachineOperand hash_value overload.
hash_code
hash_value(MachineOperand const& MO);
Hashing function for PartialMapping. It is required for the hashing of ValueMapping.
hash_code
hash_value(RegisterBankInfo::PartialMapping const& PartMapping);
Compute a hash code for specialization signature S.
hash_code
hash_value(SpecSig const& S);
Compute a hash_code for version tuple VT.
hash_code
hash_value(VersionTuple const& VT);
Allow a hash_code to be directly run through hash_value.
constexpr
size_t
hash_value(hash_code const& code);
Compute a hash_code for any integer value.
template<typename T>
hash_code
hash_value(T value)
requires is_integral_or_enum<T>::value;
Compute a hash_code for an ArrayRef.
template<typename T>
hash_code
hash_value(ArrayRef<T> S);
Provide a default implementation of hash_value when addHash(const T &) is supported.
template<typename T>
hash_code
hash_value(T const& Value)
requires is_detected<hashbuilder_detail::HashCodeHashBuilder::HasAddHashT, T>::value;
Compute a hash_code for a standard string.
template<typename T>
hash_code
hash_value(std::basic_string<T> const& arg);
Compute a hash_code for an optional value.
template<typename T>
hash_code
hash_value(std::optional<T> const& arg);
Compute a hash_code for a tuple.
template<typename... Ts>
hash_code
hash_value(std::tuple<Ts...> const& arg);
Compute a hash_code for a pointer's address.
template<typename T>
hash_code
hash_value(T const* ptr);
Compute a hash_code for a pair of objects.
template<
typename T,
typename U>
hash_code
hash_value(std::pair<T, U> const& arg);
Return Value
-
Hash code for the contents of
S. -
Hash code for
Val. -
hash code for
Arg -
Hash code for
Arg. -
Combined hash of the formal and actual members.
-
Hash code for
x. -
A hash code for
Reg. -
A hash code for
MOsuitable for use with isIdenticalTo. -
A hash code for
PartMapping. -
A hash code derived from
S. -
Hash code for the version components.
-
The numerical value wrapped by
code. -
A hash_code for
value. -
Hash code for the ArrayRef.
-
A
hash_codeforValue. -
A hash_code for the characters of
arg. -
A hash_code for the engaged state and value of
arg. -
A hash_code combining all elements of
arg. -
A hash_code for the address of
ptr. -
A hash_code combining both members of
arg.
Parameters
Name |
Description |
S |
The string to hash. |
Val |
Value to hash. |
Arg |
floating‐point value to hash |
A |
ArgInfo whose members are hashed. |
x |
Value to hash. |
Reg |
Register to hash. |
MO |
Operand to hash. |
PartMapping |
Partial mapping to hash. |
VT |
Version tuple to hash. |
code |
Hash code whose numerical value to return. |
value |
Integer or enumeration value to hash. |
Value |
Value to hash via |
arg |
String whose characters are hashed as a range. |
ptr |
Pointer whose address is hashed. |
Created with MrDocs