18#ifndef LLVM_ADT_STABLEHASHING_H
19#define LLVM_ADT_STABLEHASHING_H
70 StringRef S0 = Name.rsplit(
".content.").second;
75 StringRef P1 = Name.rsplit(
".llvm.").first;
76 return P1.rsplit(
".__uniq.").first;
static GCRegistry::Add< ErlangGC > A("erlang", "erlang-compatible garbage collector")
static GCRegistry::Add< StatepointGC > D("statepoint-example", "an example strategy for statepoint")
static GCRegistry::Add< OcamlGC > B("ocaml", "ocaml 3.10-compatible GC")
Represent a constant reference to an array (0 or more elements consecutively in memory),...
size_t size() const
Get the array size.
Represent a constant reference to a string, i.e.
constexpr bool empty() const
Check if the string is empty.
@ C
The default llvm calling convention, compatible with C.
value_type byte_swap(value_type value, endianness endian)
This is an optimization pass for GlobalISel generic memory operations.
uint64_t xxh3_64bits(ArrayRef< uint8_t > data)
Inline ArrayRef overloads of the xxhash entry points declared out-of-line in llvm/Support/xxhash....
uint64_t stable_hash
An opaque object representing a stable hash code.
StringRef get_stable_name(StringRef Name)
stable_hash stable_hash_name(StringRef Name)
stable_hash stable_hash_combine(ArrayRef< stable_hash > Buffer)