Coverage Report

Created: 2019-04-21 19:17

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/Hashing.h
Line
Count
Source (jump to first uncovered line)
1
//===-- llvm/ADT/Hashing.h - Utilities for hashing --------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file implements the newly proposed standard C++ interfaces for hashing
10
// arbitrary data and building hash functions for user-defined types. This
11
// interface was originally proposed in N3333[1] and is currently under review
12
// for inclusion in a future TR and/or standard.
13
//
14
// The primary interfaces provide are comprised of one type and three functions:
15
//
16
//  -- 'hash_code' class is an opaque type representing the hash code for some
17
//     data. It is the intended product of hashing, and can be used to implement
18
//     hash tables, checksumming, and other common uses of hashes. It is not an
19
//     integer type (although it can be converted to one) because it is risky
20
//     to assume much about the internals of a hash_code. In particular, each
21
//     execution of the program has a high probability of producing a different
22
//     hash_code for a given input. Thus their values are not stable to save or
23
//     persist, and should only be used during the execution for the
24
//     construction of hashing datastructures.
25
//
26
//  -- 'hash_value' is a function designed to be overloaded for each
27
//     user-defined type which wishes to be used within a hashing context. It
28
//     should be overloaded within the user-defined type's namespace and found
29
//     via ADL. Overloads for primitive types are provided by this library.
30
//
31
//  -- 'hash_combine' and 'hash_combine_range' are functions designed to aid
32
//      programmers in easily and intuitively combining a set of data into
33
//      a single hash_code for their object. They should only logically be used
34
//      within the implementation of a 'hash_value' routine or similar context.
35
//
36
// Note that 'hash_combine_range' contains very special logic for hashing
37
// a contiguous array of integers or pointers. This logic is *extremely* fast,
38
// on a modern Intel "Gainestown" Xeon (Nehalem uarch) @2.2 GHz, these were
39
// benchmarked at over 6.5 GiB/s for large keys, and <20 cycles/hash for keys
40
// under 32-bytes.
41
//
42
//===----------------------------------------------------------------------===//
43
44
#ifndef LLVM_ADT_HASHING_H
45
#define LLVM_ADT_HASHING_H
46
47
#include "llvm/Support/DataTypes.h"
48
#include "llvm/Support/Host.h"
49
#include "llvm/Support/SwapByteOrder.h"
50
#include "llvm/Support/type_traits.h"
51
#include <algorithm>
52
#include <cassert>
53
#include <cstring>
54
#include <string>
55
#include <utility>
56
57
namespace llvm {
58
59
/// An opaque object representing a hash code.
60
///
61
/// This object represents the result of hashing some entity. It is intended to
62
/// be used to implement hashtables or other hashing-based data structures.
63
/// While it wraps and exposes a numeric value, this value should not be
64
/// trusted to be stable or predictable across processes or executions.
65
///
66
/// In order to obtain the hash_code for an object 'x':
67
/// \code
68
///   using llvm::hash_value;
69
///   llvm::hash_code code = hash_value(x);
70
/// \endcode
71
0
class hash_code {
72
  size_t value;
73
74
public:
75
  /// Default construct a hash_code.
76
  /// Note that this leaves the value uninitialized.
77
  hash_code() = default;
78
79
  /// Form a hash code directly from a numerical value.
80
1.20G
  hash_code(size_t value) : value(value) {}
81
82
  /// Convert the hash code to its numerical value for use.
83
1.10G
  /*explicit*/ operator size_t() const { return value; }
84
85
  friend bool operator==(const hash_code &lhs, const hash_code &rhs) {
86
    return lhs.value == rhs.value;
87
  }
88
77.3k
  friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
89
77.3k
    return lhs.value != rhs.value;
90
77.3k
  }
91
92
  /// Allow a hash_code to be directly run through hash_value.
93
100M
  friend size_t hash_value(const hash_code &code) { return code.value; }
94
};
95
96
/// Compute a hash_code for any integer value.
97
///
98
/// Note that this function is intended to compute the same hash_code for
99
/// a particular value without regard to the pre-promotion type. This is in
100
/// contrast to hash_combine which may produce different hash_codes for
101
/// differing argument types even if they would implicit promote to a common
102
/// type without changing the value.
103
template <typename T>
104
typename std::enable_if<is_integral_or_enum<T>::value, hash_code>::type
105
hash_value(T value);
106
107
/// Compute a hash_code for a pointer's address.
108
///
109
/// N.B.: This hashes the *address*. Not the value and not the type.
110
template <typename T> hash_code hash_value(const T *ptr);
111
112
/// Compute a hash_code for a pair of objects.
113
template <typename T, typename U>
114
hash_code hash_value(const std::pair<T, U> &arg);
115
116
/// Compute a hash_code for a standard string.
117
template <typename T>
118
hash_code hash_value(const std::basic_string<T> &arg);
119
120
121
/// Override the execution seed with a fixed value.
122
///
123
/// This hashing library uses a per-execution seed designed to change on each
124
/// run with high probability in order to ensure that the hash codes are not
125
/// attackable and to ensure that output which is intended to be stable does
126
/// not rely on the particulars of the hash codes produced.
127
///
128
/// That said, there are use cases where it is important to be able to
129
/// reproduce *exactly* a specific behavior. To that end, we provide a function
130
/// which will forcibly set the seed to a fixed value. This must be done at the
131
/// start of the program, before any hashes are computed. Also, it cannot be
132
/// undone. This makes it thread-hostile and very hard to use outside of
133
/// immediately on start of a simple program designed for reproducible
134
/// behavior.
135
void set_fixed_execution_hash_seed(uint64_t fixed_value);
136
137
138
// All of the implementation details of actually computing the various hash
139
// code values are held within this namespace. These routines are included in
140
// the header file mainly to allow inlining and constant propagation.
141
namespace hashing {
142
namespace detail {
143
144
4.22G
inline uint64_t fetch64(const char *p) {
145
4.22G
  uint64_t result;
146
4.22G
  memcpy(&result, p, sizeof(result));
147
4.22G
  if (sys::IsBigEndianHost)
148
0
    sys::swapByteOrder(result);
149
4.22G
  return result;
150
4.22G
}
151
152
651M
inline uint32_t fetch32(const char *p) {
153
651M
  uint32_t result;
154
651M
  memcpy(&result, p, sizeof(result));
155
651M
  if (sys::IsBigEndianHost)
156
0
    sys::swapByteOrder(result);
157
651M
  return result;
158
651M
}
159
160
/// Some primes between 2^63 and 2^64 for various uses.
161
static const uint64_t k0 = 0xc3a5c85c97cb3127ULL;
162
static const uint64_t k1 = 0xb492b66fbe98f273ULL;
163
static const uint64_t k2 = 0x9ae16a3b2f90404fULL;
164
static const uint64_t k3 = 0xc949d7c7509e6557ULL;
165
166
/// Bitwise right rotate.
167
/// Normally this will compile to a single instruction, especially if the
168
/// shift is a manifest constant.
169
2.91G
inline uint64_t rotate(uint64_t val, size_t shift) {
170
2.91G
  // Avoid shifting by 64: doing so yields an undefined result.
171
2.91G
  return shift == 0 ? 
val0
: ((val >> shift) | (val << (64 - shift)));
172
2.91G
}
173
174
286M
inline uint64_t shift_mix(uint64_t val) {
175
286M
  return val ^ (val >> 47);
176
286M
}
177
178
1.18G
inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
179
1.18G
  // Murmur-inspired hashing.
180
1.18G
  const uint64_t kMul = 0x9ddfea08eb382d69ULL;
181
1.18G
  uint64_t a = (low ^ high) * kMul;
182
1.18G
  a ^= (a >> 47);
183
1.18G
  uint64_t b = (high ^ a) * kMul;
184
1.18G
  b ^= (b >> 47);
185
1.18G
  b *= kMul;
186
1.18G
  return b;
187
1.18G
}
188
189
1.53M
inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) {
190
1.53M
  uint8_t a = s[0];
191
1.53M
  uint8_t b = s[len >> 1];
192
1.53M
  uint8_t c = s[len - 1];
193
1.53M
  uint32_t y = static_cast<uint32_t>(a) + (static_cast<uint32_t>(b) << 8);
194
1.53M
  uint32_t z = len + (static_cast<uint32_t>(c) << 2);
195
1.53M
  return shift_mix(y * k2 ^ z * k3 ^ seed) * k2;
196
1.53M
}
197
198
325M
inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
199
325M
  uint64_t a = fetch32(s);
200
325M
  return hash_16_bytes(len + (a << 3), seed ^ fetch32(s + len - 4));
201
325M
}
202
203
344M
inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
204
344M
  uint64_t a = fetch64(s);
205
344M
  uint64_t b = fetch64(s + len - 8);
206
344M
  return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b;
207
344M
}
208
209
386M
inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) {
210
386M
  uint64_t a = fetch64(s) * k1;
211
386M
  uint64_t b = fetch64(s + 8);
212
386M
  uint64_t c = fetch64(s + len - 8) * k2;
213
386M
  uint64_t d = fetch64(s + len - 16) * k0;
214
386M
  return hash_16_bytes(rotate(a - b, 43) + rotate(c ^ seed, 30) + d,
215
386M
                       a + rotate(b ^ k3, 20) - c + len + seed);
216
386M
}
217
218
104M
inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) {
219
104M
  uint64_t z = fetch64(s + 24);
220
104M
  uint64_t a = fetch64(s) + (len + fetch64(s + len - 16)) * k0;
221
104M
  uint64_t b = rotate(a + z, 52);
222
104M
  uint64_t c = rotate(a, 37);
223
104M
  a += fetch64(s + 8);
224
104M
  c += rotate(a, 7);
225
104M
  a += fetch64(s + 16);
226
104M
  uint64_t vf = a + z;
227
104M
  uint64_t vs = b + rotate(a, 31) + c;
228
104M
  a = fetch64(s + 16) + fetch64(s + len - 32);
229
104M
  z = fetch64(s + len - 8);
230
104M
  b = rotate(a + z, 52);
231
104M
  c = rotate(a, 37);
232
104M
  a += fetch64(s + len - 24);
233
104M
  c += rotate(a, 7);
234
104M
  a += fetch64(s + len - 16);
235
104M
  uint64_t wf = a + z;
236
104M
  uint64_t ws = b + rotate(a, 31) + c;
237
104M
  uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0);
238
104M
  return shift_mix((seed ^ (r * k0)) + vs) * k2;
239
104M
}
240
241
1.18G
inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
242
1.18G
  if (length >= 4 && 
length <= 81.16G
)
243
325M
    return hash_4to8_bytes(s, length, seed);
244
857M
  if (length > 8 && 
length <= 16836M
)
245
344M
    return hash_9to16_bytes(s, length, seed);
246
512M
  if (length > 16 && 
length <= 32491M
)
247
386M
    return hash_17to32_bytes(s, length, seed);
248
125M
  if (length > 32)
249
104M
    return hash_33to64_bytes(s, length, seed);
250
20.6M
  if (length != 0)
251
1.53M
    return hash_1to3_bytes(s, length, seed);
252
19.0M
253
19.0M
  return k2 ^ seed;
254
19.0M
}
255
256
/// The intermediate state used during hashing.
257
/// Currently, the algorithm for computing hash codes is based on CityHash and
258
/// keeps 56 bytes of arbitrary state.
259
0
struct hash_state {
260
  uint64_t h0, h1, h2, h3, h4, h5, h6;
261
262
  /// Create a new hash_state structure and initialize it based on the
263
  /// seed and the first 64-byte chunk.
264
  /// This effectively performs the initial mix.
265
24.8M
  static hash_state create(const char *s, uint64_t seed) {
266
24.8M
    hash_state state = {
267
24.8M
      0, seed, hash_16_bytes(seed, k1), rotate(seed ^ k1, 49),
268
24.8M
      seed * k1, shift_mix(seed), 0 };
269
24.8M
    state.h6 = hash_16_bytes(state.h4, state.h5);
270
24.8M
    state.mix(s);
271
24.8M
    return state;
272
24.8M
  }
273
274
  /// Mix 32-bytes from the input sequence into the 16-bytes of 'a'
275
  /// and 'b', including whatever is already in 'a' and 'b'.
276
157M
  static void mix_32_bytes(const char *s, uint64_t &a, uint64_t &b) {
277
157M
    a += fetch64(s);
278
157M
    uint64_t c = fetch64(s + 24);
279
157M
    b = rotate(b + a + c, 21);
280
157M
    uint64_t d = a;
281
157M
    a += fetch64(s + 8) + fetch64(s + 16);
282
157M
    b += rotate(a, 44) + d;
283
157M
    a += c;
284
157M
  }
285
286
  /// Mix in a 64-byte buffer of data.
287
  /// We mix all 64 bytes even when the chunk length is smaller, but we
288
  /// record the actual length.
289
78.5M
  void mix(const char *s) {
290
78.5M
    h0 = rotate(h0 + h1 + h3 + fetch64(s + 8), 37) * k1;
291
78.5M
    h1 = rotate(h1 + h4 + fetch64(s + 48), 42) * k1;
292
78.5M
    h0 ^= h6;
293
78.5M
    h1 += h3 + fetch64(s + 40);
294
78.5M
    h2 = rotate(h2 + h5, 33) * k1;
295
78.5M
    h3 = h4 * k1;
296
78.5M
    h4 = h0 + h5;
297
78.5M
    mix_32_bytes(s, h3, h4);
298
78.5M
    h5 = h2 + h6;
299
78.5M
    h6 = h1 + fetch64(s + 16);
300
78.5M
    mix_32_bytes(s + 32, h5, h6);
301
78.5M
    std::swap(h2, h0);
302
78.5M
  }
303
304
  /// Compute the final 64-bit hash code value based on the current
305
  /// state and the length of bytes hashed.
306
24.8M
  uint64_t finalize(size_t length) {
307
24.8M
    return hash_16_bytes(hash_16_bytes(h3, h5) + shift_mix(h1) * k1 + h2,
308
24.8M
                         hash_16_bytes(h4, h6) + shift_mix(length) * k1 + h0);
309
24.8M
  }
310
};
311
312
313
/// A global, fixed seed-override variable.
314
///
315
/// This variable can be set using the \see llvm::set_fixed_execution_seed
316
/// function. See that function for details. Do not, under any circumstances,
317
/// set or read this variable.
318
extern uint64_t fixed_seed_override;
319
320
1.20G
inline uint64_t get_execution_seed() {
321
1.20G
  // FIXME: This needs to be a per-execution seed. This is just a placeholder
322
1.20G
  // implementation. Switching to a per-execution seed is likely to flush out
323
1.20G
  // instability bugs and so will happen as its own commit.
324
1.20G
  //
325
1.20G
  // However, if there is a fixed seed override set the first time this is
326
1.20G
  // called, return that instead of the per-execution seed.
327
1.20G
  const uint64_t seed_prime = 0xff51afd7ed558ccdULL;
328
1.20G
  static uint64_t seed = fixed_seed_override ? 
fixed_seed_override0
: seed_prime;
329
1.20G
  return seed;
330
1.20G
}
331
332
333
/// Trait to indicate whether a type's bits can be hashed directly.
334
///
335
/// A type trait which is true if we want to combine values for hashing by
336
/// reading the underlying data. It is false if values of this type must
337
/// first be passed to hash_value, and the resulting hash_codes combined.
338
//
339
// FIXME: We want to replace is_integral_or_enum and is_pointer here with
340
// a predicate which asserts that comparing the underlying storage of two
341
// values of the type for equality is equivalent to comparing the two values
342
// for equality. For all the platforms we care about, this holds for integers
343
// and pointers, but there are platforms where it doesn't and we would like to
344
// support user-defined types which happen to satisfy this property.
345
template <typename T> struct is_hashable_data
346
  : std::integral_constant<bool, ((is_integral_or_enum<T>::value ||
347
                                   std::is_pointer<T>::value) &&
348
                                  64 % sizeof(T) == 0)> {};
349
350
// Special case std::pair to detect when both types are viable and when there
351
// is no alignment-derived padding in the pair. This is a bit of a lie because
352
// std::pair isn't truly POD, but it's close enough in all reasonable
353
// implementations for our use case of hashing the underlying data.
354
template <typename T, typename U> struct is_hashable_data<std::pair<T, U> >
355
  : std::integral_constant<bool, (is_hashable_data<T>::value &&
356
                                  is_hashable_data<U>::value &&
357
                                  (sizeof(T) + sizeof(U)) ==
358
                                   sizeof(std::pair<T, U>))> {};
359
360
/// Helper to get the hashable data representation for a type.
361
/// This variant is enabled when the type itself can be used.
362
template <typename T>
363
typename std::enable_if<is_hashable_data<T>::value, T>::type
364
1.03G
get_hashable_data(const T &value) {
365
1.03G
  return value;
366
1.03G
}
std::__1::enable_if<is_hashable_data<unsigned int>::value, unsigned int>::type llvm::hashing::detail::get_hashable_data<unsigned int>(unsigned int const&)
Line
Count
Source
364
293M
get_hashable_data(const T &value) {
365
293M
  return value;
366
293M
}
std::__1::enable_if<is_hashable_data<llvm::coverage::CounterExpression::ExprKind>::value, llvm::coverage::CounterExpression::ExprKind>::type llvm::hashing::detail::get_hashable_data<llvm::coverage::CounterExpression::ExprKind>(llvm::coverage::CounterExpression::ExprKind const&)
Line
Count
Source
364
1.76k
get_hashable_data(const T &value) {
365
1.76k
  return value;
366
1.76k
}
std::__1::enable_if<is_hashable_data<llvm::coverage::Counter::CounterKind>::value, llvm::coverage::Counter::CounterKind>::type llvm::hashing::detail::get_hashable_data<llvm::coverage::Counter::CounterKind>(llvm::coverage::Counter::CounterKind const&)
Line
Count
Source
364
3.52k
get_hashable_data(const T &value) {
365
3.52k
  return value;
366
3.52k
}
Unexecuted instantiation: std::__1::enable_if<is_hashable_data<llvm::Loop const*>::value, llvm::Loop const*>::type llvm::hashing::detail::get_hashable_data<llvm::Loop const*>(llvm::Loop const* const&)
std::__1::enable_if<is_hashable_data<llvm::BasicBlock*>::value, llvm::BasicBlock*>::type llvm::hashing::detail::get_hashable_data<llvm::BasicBlock*>(llvm::BasicBlock* const&)
Line
Count
Source
364
273
get_hashable_data(const T &value) {
365
273
  return value;
366
273
}
std::__1::enable_if<is_hashable_data<bool>::value, bool>::type llvm::hashing::detail::get_hashable_data<bool>(bool const&)
Line
Count
Source
364
78.4M
get_hashable_data(const T &value) {
365
78.4M
  return value;
366
78.4M
}
std::__1::enable_if<is_hashable_data<int>::value, int>::type llvm::hashing::detail::get_hashable_data<int>(int const&)
Line
Count
Source
364
867k
get_hashable_data(const T &value) {
365
867k
  return value;
366
867k
}
std::__1::enable_if<is_hashable_data<char const*>::value, char const*>::type llvm::hashing::detail::get_hashable_data<char const*>(char const* const&)
Line
Count
Source
364
6.49k
get_hashable_data(const T &value) {
365
6.49k
  return value;
366
6.49k
}
std::__1::enable_if<is_hashable_data<llvm::GlobalValue const*>::value, llvm::GlobalValue const*>::type llvm::hashing::detail::get_hashable_data<llvm::GlobalValue const*>(llvm::GlobalValue const* const&)
Line
Count
Source
364
3.77M
get_hashable_data(const T &value) {
365
3.77M
  return value;
366
3.77M
}
std::__1::enable_if<is_hashable_data<llvm::BlockAddress const*>::value, llvm::BlockAddress const*>::type llvm::hashing::detail::get_hashable_data<llvm::BlockAddress const*>(llvm::BlockAddress const* const&)
Line
Count
Source
364
394
get_hashable_data(const T &value) {
365
394
  return value;
366
394
}
std::__1::enable_if<is_hashable_data<llvm::MCSymbol*>::value, llvm::MCSymbol*>::type llvm::hashing::detail::get_hashable_data<llvm::MCSymbol*>(llvm::MCSymbol* const&)
Line
Count
Source
364
258
get_hashable_data(const T &value) {
365
258
  return value;
366
258
}
std::__1::enable_if<is_hashable_data<llvm::MachineBasicBlock*>::value, llvm::MachineBasicBlock*>::type llvm::hashing::detail::get_hashable_data<llvm::MachineBasicBlock*>(llvm::MachineBasicBlock* const&)
Line
Count
Source
364
1.73M
get_hashable_data(const T &value) {
365
1.73M
  return value;
366
1.73M
}
std::__1::enable_if<is_hashable_data<llvm::MachineOperand::MachineOperandType>::value, llvm::MachineOperand::MachineOperandType>::type llvm::hashing::detail::get_hashable_data<llvm::MachineOperand::MachineOperandType>(llvm::MachineOperand::MachineOperandType const&)
Line
Count
Source
364
80.7M
get_hashable_data(const T &value) {
365
80.7M
  return value;
366
80.7M
}
std::__1::enable_if<is_hashable_data<long long>::value, long long>::type llvm::hashing::detail::get_hashable_data<long long>(long long const&)
Line
Count
Source
364
27.4M
get_hashable_data(const T &value) {
365
27.4M
  return value;
366
27.4M
}
std::__1::enable_if<is_hashable_data<llvm::ConstantInt const*>::value, llvm::ConstantInt const*>::type llvm::hashing::detail::get_hashable_data<llvm::ConstantInt const*>(llvm::ConstantInt const* const&)
Line
Count
Source
364
15
get_hashable_data(const T &value) {
365
15
  return value;
366
15
}
std::__1::enable_if<is_hashable_data<llvm::ConstantFP const*>::value, llvm::ConstantFP const*>::type llvm::hashing::detail::get_hashable_data<llvm::ConstantFP const*>(llvm::ConstantFP const* const&)
Line
Count
Source
364
806
get_hashable_data(const T &value) {
365
806
  return value;
366
806
}
std::__1::enable_if<is_hashable_data<unsigned int const*>::value, unsigned int const*>::type llvm::hashing::detail::get_hashable_data<unsigned int const*>(unsigned int const* const&)
Line
Count
Source
364
21
get_hashable_data(const T &value) {
365
21
  return value;
366
21
}
Unexecuted instantiation: std::__1::enable_if<is_hashable_data<llvm::MDNode const*>::value, llvm::MDNode const*>::type llvm::hashing::detail::get_hashable_data<llvm::MDNode const*>(llvm::MDNode const* const&)
Unexecuted instantiation: std::__1::enable_if<is_hashable_data<llvm::Intrinsic::ID>::value, llvm::Intrinsic::ID>::type llvm::hashing::detail::get_hashable_data<llvm::Intrinsic::ID>(llvm::Intrinsic::ID const&)
std::__1::enable_if<is_hashable_data<llvm::InlineAsm::AsmDialect>::value, llvm::InlineAsm::AsmDialect>::type llvm::hashing::detail::get_hashable_data<llvm::InlineAsm::AsmDialect>(llvm::InlineAsm::AsmDialect const&)
Line
Count
Source
364
20.0k
get_hashable_data(const T &value) {
365
20.0k
  return value;
366
20.0k
}
std::__1::enable_if<is_hashable_data<llvm::FunctionType*>::value, llvm::FunctionType*>::type llvm::hashing::detail::get_hashable_data<llvm::FunctionType*>(llvm::FunctionType* const&)
Line
Count
Source
364
20.0k
get_hashable_data(const T &value) {
365
20.0k
  return value;
366
20.0k
}
std::__1::enable_if<is_hashable_data<unsigned char>::value, unsigned char>::type llvm::hashing::detail::get_hashable_data<unsigned char>(unsigned char const&)
Line
Count
Source
364
36.9M
get_hashable_data(const T &value) {
365
36.9M
  return value;
366
36.9M
}
std::__1::enable_if<is_hashable_data<unsigned short>::value, unsigned short>::type llvm::hashing::detail::get_hashable_data<unsigned short>(unsigned short const&)
Line
Count
Source
364
17.2M
get_hashable_data(const T &value) {
365
17.2M
  return value;
366
17.2M
}
std::__1::enable_if<is_hashable_data<llvm::Type const*>::value, llvm::Type const*>::type llvm::hashing::detail::get_hashable_data<llvm::Type const*>(llvm::Type const* const&)
Line
Count
Source
364
7.59M
get_hashable_data(const T &value) {
365
7.59M
  return value;
366
7.59M
}
std::__1::enable_if<is_hashable_data<llvm::Metadata*>::value, llvm::Metadata*>::type llvm::hashing::detail::get_hashable_data<llvm::Metadata*>(llvm::Metadata* const&)
Line
Count
Source
364
31.9M
get_hashable_data(const T &value) {
365
31.9M
  return value;
366
31.9M
}
std::__1::enable_if<is_hashable_data<llvm::MDString*>::value, llvm::MDString*>::type llvm::hashing::detail::get_hashable_data<llvm::MDString*>(llvm::MDString* const&)
Line
Count
Source
364
209k
get_hashable_data(const T &value) {
365
209k
  return value;
366
209k
}
std::__1::enable_if<is_hashable_data<unsigned long long>::value, unsigned long long>::type llvm::hashing::detail::get_hashable_data<unsigned long long>(unsigned long long const&)
Line
Count
Source
364
230M
get_hashable_data(const T &value) {
365
230M
  return value;
366
230M
}
std::__1::enable_if<is_hashable_data<llvm::ArrayType*>::value, llvm::ArrayType*>::type llvm::hashing::detail::get_hashable_data<llvm::ArrayType*>(llvm::ArrayType* const&)
Line
Count
Source
364
60.6k
get_hashable_data(const T &value) {
365
60.6k
  return value;
366
60.6k
}
std::__1::enable_if<is_hashable_data<llvm::StructType*>::value, llvm::StructType*>::type llvm::hashing::detail::get_hashable_data<llvm::StructType*>(llvm::StructType* const&)
Line
Count
Source
364
199k
get_hashable_data(const T &value) {
365
199k
  return value;
366
199k
}
std::__1::enable_if<is_hashable_data<llvm::VectorType*>::value, llvm::VectorType*>::type llvm::hashing::detail::get_hashable_data<llvm::VectorType*>(llvm::VectorType* const&)
Line
Count
Source
364
222k
get_hashable_data(const T &value) {
365
222k
  return value;
366
222k
}
std::__1::enable_if<is_hashable_data<llvm::Type*>::value, llvm::Type*>::type llvm::hashing::detail::get_hashable_data<llvm::Type*>(llvm::Type* const&)
Line
Count
Source
364
47.1M
get_hashable_data(const T &value) {
365
47.1M
  return value;
366
47.1M
}
std::__1::enable_if<is_hashable_data<llvm::PointerType*>::value, llvm::PointerType*>::type llvm::hashing::detail::get_hashable_data<llvm::PointerType*>(llvm::PointerType* const&)
Line
Count
Source
364
20.0k
get_hashable_data(const T &value) {
365
20.0k
  return value;
366
20.0k
}
std::__1::enable_if<is_hashable_data<char>::value, char>::type llvm::hashing::detail::get_hashable_data<char>(char const&)
Line
Count
Source
364
468k
get_hashable_data(const T &value) {
365
468k
  return value;
366
468k
}
std::__1::enable_if<is_hashable_data<llvm::MemoryAccess const*>::value, llvm::MemoryAccess const*>::type llvm::hashing::detail::get_hashable_data<llvm::MemoryAccess const*>(llvm::MemoryAccess const* const&)
Line
Count
Source
364
1.14k
get_hashable_data(const T &value) {
365
1.14k
  return value;
366
1.14k
}
std::__1::enable_if<is_hashable_data<llvm::Value*>::value, llvm::Value*>::type llvm::hashing::detail::get_hashable_data<llvm::Value*>(llvm::Value* const&)
Line
Count
Source
364
131M
get_hashable_data(const T &value) {
365
131M
  return value;
366
131M
}
std::__1::enable_if<is_hashable_data<llvm::Constant*>::value, llvm::Constant*>::type llvm::hashing::detail::get_hashable_data<llvm::Constant*>(llvm::Constant* const&)
Line
Count
Source
364
465
get_hashable_data(const T &value) {
365
465
  return value;
366
465
}
std::__1::enable_if<is_hashable_data<llvm::Instruction*>::value, llvm::Instruction*>::type llvm::hashing::detail::get_hashable_data<llvm::Instruction*>(llvm::Instruction* const&)
Line
Count
Source
364
278
get_hashable_data(const T &value) {
365
278
  return value;
366
278
}
std::__1::enable_if<is_hashable_data<llvm::MCSymbol const*>::value, llvm::MCSymbol const*>::type llvm::hashing::detail::get_hashable_data<llvm::MCSymbol const*>(llvm::MCSymbol const* const&)
Line
Count
Source
364
30.8k
get_hashable_data(const T &value) {
365
30.8k
  return value;
366
30.8k
}
std::__1::enable_if<is_hashable_data<llvm::Instruction::BinaryOps>::value, llvm::Instruction::BinaryOps>::type llvm::hashing::detail::get_hashable_data<llvm::Instruction::BinaryOps>(llvm::Instruction::BinaryOps const&)
Line
Count
Source
364
7.49M
get_hashable_data(const T &value) {
365
7.49M
  return value;
366
7.49M
}
std::__1::enable_if<is_hashable_data<llvm::CmpInst::Predicate>::value, llvm::CmpInst::Predicate>::type llvm::hashing::detail::get_hashable_data<llvm::CmpInst::Predicate>(llvm::CmpInst::Predicate const&)
Line
Count
Source
364
12.8M
get_hashable_data(const T &value) {
365
12.8M
  return value;
366
12.8M
}
std::__1::enable_if<is_hashable_data<llvm::SelectPatternFlavor>::value, llvm::SelectPatternFlavor>::type llvm::hashing::detail::get_hashable_data<llvm::SelectPatternFlavor>(llvm::SelectPatternFlavor const&)
Line
Count
Source
364
232k
get_hashable_data(const T &value) {
365
232k
  return value;
366
232k
}
std::__1::enable_if<is_hashable_data<llvm::Instruction::CastOps>::value, llvm::Instruction::CastOps>::type llvm::hashing::detail::get_hashable_data<llvm::Instruction::CastOps>(llvm::Instruction::CastOps const&)
Line
Count
Source
364
8.37M
get_hashable_data(const T &value) {
365
8.37M
  return value;
366
8.37M
}
std::__1::enable_if<is_hashable_data<short>::value, short>::type llvm::hashing::detail::get_hashable_data<short>(short const&)
Line
Count
Source
364
991k
get_hashable_data(const T &value) {
365
991k
  return value;
366
991k
}
Unexecuted instantiation: std::__1::enable_if<is_hashable_data<llvm::fltSemantics const*>::value, llvm::fltSemantics const*>::type llvm::hashing::detail::get_hashable_data<llvm::fltSemantics const*>(llvm::fltSemantics const* const&)
std::__1::enable_if<is_hashable_data<llvm::Value const*>::value, llvm::Value const*>::type llvm::hashing::detail::get_hashable_data<llvm::Value const*>(llvm::Value const* const&)
Line
Count
Source
364
703k
get_hashable_data(const T &value) {
365
703k
  return value;
366
703k
}
std::__1::enable_if<is_hashable_data<void*>::value, void*>::type llvm::hashing::detail::get_hashable_data<void*>(void* const&)
Line
Count
Source
364
46.8k
get_hashable_data(const T &value) {
365
46.8k
  return value;
366
46.8k
}
std::__1::enable_if<is_hashable_data<clang::NestedNameSpecifier*>::value, clang::NestedNameSpecifier*>::type llvm::hashing::detail::get_hashable_data<clang::NestedNameSpecifier*>(clang::NestedNameSpecifier* const&)
Line
Count
Source
364
930
get_hashable_data(const T &value) {
365
930
  return value;
366
930
}
std::__1::enable_if<is_hashable_data<long>::value, long>::type llvm::hashing::detail::get_hashable_data<long>(long const&)
Line
Count
Source
364
62.0k
get_hashable_data(const T &value) {
365
62.0k
  return value;
366
62.0k
}
std::__1::enable_if<is_hashable_data<llvm::RegisterBankInfo::ValueMapping const*>::value, llvm::RegisterBankInfo::ValueMapping const*>::type llvm::hashing::detail::get_hashable_data<llvm::RegisterBankInfo::ValueMapping const*>(llvm::RegisterBankInfo::ValueMapping const* const&)
Line
Count
Source
364
16.9M
get_hashable_data(const T &value) {
365
16.9M
  return value;
366
16.9M
}
std::__1::enable_if<is_hashable_data<clang::IdentifierInfo const*>::value, clang::IdentifierInfo const*>::type llvm::hashing::detail::get_hashable_data<clang::IdentifierInfo const*>(clang::IdentifierInfo const* const&)
Line
Count
Source
364
1
get_hashable_data(const T &value) {
365
1
  return value;
366
1
}
std::__1::enable_if<is_hashable_data<unsigned long>::value, unsigned long>::type llvm::hashing::detail::get_hashable_data<unsigned long>(unsigned long const&)
Line
Count
Source
364
733
get_hashable_data(const T &value) {
365
733
  return value;
366
733
}
std::__1::enable_if<is_hashable_data<llvm::wasm::ValType>::value, llvm::wasm::ValType>::type llvm::hashing::detail::get_hashable_data<llvm::wasm::ValType>(llvm::wasm::ValType const&)
Line
Count
Source
364
708
get_hashable_data(const T &value) {
365
708
  return value;
366
708
}
std::__1::enable_if<is_hashable_data<lld::DefinedAtom::ContentType>::value, lld::DefinedAtom::ContentType>::type llvm::hashing::detail::get_hashable_data<lld::DefinedAtom::ContentType>(lld::DefinedAtom::ContentType const&)
Line
Count
Source
364
54
get_hashable_data(const T &value) {
365
54
  return value;
366
54
}
367
/// Helper to get the hashable data representation for a type.
368
/// This variant is enabled when we must first call hash_value and use the
369
/// result as our data.
370
template <typename T>
371
typename std::enable_if<!is_hashable_data<T>::value, size_t>::type
372
100M
get_hashable_data(const T &value) {
373
100M
  using ::llvm::hash_value;
374
100M
  return hash_value(value);
375
100M
}
std::__1::enable_if<!(is_hashable_data<llvm::hash_code>::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<llvm::hash_code>(llvm::hash_code const&)
Line
Count
Source
372
100M
get_hashable_data(const T &value) {
373
100M
  using ::llvm::hash_value;
374
100M
  return hash_value(value);
375
100M
}
std::__1::enable_if<!(is_hashable_data<llvm::MachineOperand>::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<llvm::MachineOperand>(llvm::MachineOperand const&)
Line
Count
Source
372
331k
get_hashable_data(const T &value) {
373
331k
  using ::llvm::hash_value;
374
331k
  return hash_value(value);
375
331k
}
std::__1::enable_if<!(is_hashable_data<llvm::StringRef>::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<llvm::StringRef>(llvm::StringRef const&)
Line
Count
Source
372
40.9k
get_hashable_data(const T &value) {
373
40.9k
  using ::llvm::hash_value;
374
40.9k
  return hash_value(value);
375
40.9k
}
std::__1::enable_if<!(is_hashable_data<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
372
18.5k
get_hashable_data(const T &value) {
373
18.5k
  using ::llvm::hash_value;
374
18.5k
  return hash_value(value);
375
18.5k
}
std::__1::enable_if<!(is_hashable_data<clang::SanitizerMask>::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<clang::SanitizerMask>(clang::SanitizerMask const&)
Line
Count
Source
372
3
get_hashable_data(const T &value) {
373
3
  using ::llvm::hash_value;
374
3
  return hash_value(value);
375
3
}
376
377
/// Helper to store data from a value into a buffer and advance the
378
/// pointer into that buffer.
379
///
380
/// This routine first checks whether there is enough space in the provided
381
/// buffer, and if not immediately returns false. If there is space, it
382
/// copies the underlying bytes of value into the buffer, advances the
383
/// buffer_ptr past the copied bytes, and returns true.
384
template <typename T>
385
bool store_and_advance(char *&buffer_ptr, char *buffer_end, const T& value,
386
1.17G
                       size_t offset = 0) {
387
1.17G
  size_t store_size = sizeof(value) - offset;
388
1.17G
  if (buffer_ptr + store_size > buffer_end)
389
4.62M
    return false;
390
1.17G
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.17G
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.17G
  buffer_ptr += store_size;
393
1.17G
  return true;
394
1.17G
}
bool llvm::hashing::detail::store_and_advance<unsigned int>(char*&, char*, unsigned int const&, unsigned long)
Line
Count
Source
386
293M
                       size_t offset = 0) {
387
293M
  size_t store_size = sizeof(value) - offset;
388
293M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
293M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
293M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
293M
  buffer_ptr += store_size;
393
293M
  return true;
394
293M
}
bool llvm::hashing::detail::store_and_advance<unsigned long>(char*&, char*, unsigned long const&, unsigned long)
Line
Count
Source
386
100M
                       size_t offset = 0) {
387
100M
  size_t store_size = sizeof(value) - offset;
388
100M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
100M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
100M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
100M
  buffer_ptr += store_size;
393
100M
  return true;
394
100M
}
bool llvm::hashing::detail::store_and_advance<llvm::coverage::CounterExpression::ExprKind>(char*&, char*, llvm::coverage::CounterExpression::ExprKind const&, unsigned long)
Line
Count
Source
386
1.76k
                       size_t offset = 0) {
387
1.76k
  size_t store_size = sizeof(value) - offset;
388
1.76k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1.76k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.76k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.76k
  buffer_ptr += store_size;
393
1.76k
  return true;
394
1.76k
}
bool llvm::hashing::detail::store_and_advance<llvm::coverage::Counter::CounterKind>(char*&, char*, llvm::coverage::Counter::CounterKind const&, unsigned long)
Line
Count
Source
386
3.52k
                       size_t offset = 0) {
387
3.52k
  size_t store_size = sizeof(value) - offset;
388
3.52k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
3.52k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
3.52k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
3.52k
  buffer_ptr += store_size;
393
3.52k
  return true;
394
3.52k
}
Unexecuted instantiation: bool llvm::hashing::detail::store_and_advance<llvm::Loop const*>(char*&, char*, llvm::Loop const* const&, unsigned long)
bool llvm::hashing::detail::store_and_advance<llvm::BasicBlock*>(char*&, char*, llvm::BasicBlock* const&, unsigned long)
Line
Count
Source
386
273
                       size_t offset = 0) {
387
273
  size_t store_size = sizeof(value) - offset;
388
273
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
273
  const char *value_data = reinterpret_cast<const char *>(&value);
391
273
  memcpy(buffer_ptr, value_data + offset, store_size);
392
273
  buffer_ptr += store_size;
393
273
  return true;
394
273
}
bool llvm::hashing::detail::store_and_advance<bool>(char*&, char*, bool const&, unsigned long)
Line
Count
Source
386
78.4M
                       size_t offset = 0) {
387
78.4M
  size_t store_size = sizeof(value) - offset;
388
78.4M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
78.4M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
78.4M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
78.4M
  buffer_ptr += store_size;
393
78.4M
  return true;
394
78.4M
}
bool llvm::hashing::detail::store_and_advance<int>(char*&, char*, int const&, unsigned long)
Line
Count
Source
386
867k
                       size_t offset = 0) {
387
867k
  size_t store_size = sizeof(value) - offset;
388
867k
  if (buffer_ptr + store_size > buffer_end)
389
4
    return false;
390
867k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
867k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
867k
  buffer_ptr += store_size;
393
867k
  return true;
394
867k
}
bool llvm::hashing::detail::store_and_advance<char const*>(char*&, char*, char const* const&, unsigned long)
Line
Count
Source
386
6.49k
                       size_t offset = 0) {
387
6.49k
  size_t store_size = sizeof(value) - offset;
388
6.49k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
6.49k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
6.49k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
6.49k
  buffer_ptr += store_size;
393
6.49k
  return true;
394
6.49k
}
bool llvm::hashing::detail::store_and_advance<llvm::GlobalValue const*>(char*&, char*, llvm::GlobalValue const* const&, unsigned long)
Line
Count
Source
386
3.77M
                       size_t offset = 0) {
387
3.77M
  size_t store_size = sizeof(value) - offset;
388
3.77M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
3.77M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
3.77M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
3.77M
  buffer_ptr += store_size;
393
3.77M
  return true;
394
3.77M
}
bool llvm::hashing::detail::store_and_advance<llvm::BlockAddress const*>(char*&, char*, llvm::BlockAddress const* const&, unsigned long)
Line
Count
Source
386
394
                       size_t offset = 0) {
387
394
  size_t store_size = sizeof(value) - offset;
388
394
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
394
  const char *value_data = reinterpret_cast<const char *>(&value);
391
394
  memcpy(buffer_ptr, value_data + offset, store_size);
392
394
  buffer_ptr += store_size;
393
394
  return true;
394
394
}
bool llvm::hashing::detail::store_and_advance<llvm::MCSymbol*>(char*&, char*, llvm::MCSymbol* const&, unsigned long)
Line
Count
Source
386
258
                       size_t offset = 0) {
387
258
  size_t store_size = sizeof(value) - offset;
388
258
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
258
  const char *value_data = reinterpret_cast<const char *>(&value);
391
258
  memcpy(buffer_ptr, value_data + offset, store_size);
392
258
  buffer_ptr += store_size;
393
258
  return true;
394
258
}
bool llvm::hashing::detail::store_and_advance<llvm::MachineBasicBlock*>(char*&, char*, llvm::MachineBasicBlock* const&, unsigned long)
Line
Count
Source
386
1.73M
                       size_t offset = 0) {
387
1.73M
  size_t store_size = sizeof(value) - offset;
388
1.73M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1.73M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.73M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.73M
  buffer_ptr += store_size;
393
1.73M
  return true;
394
1.73M
}
bool llvm::hashing::detail::store_and_advance<llvm::MachineOperand::MachineOperandType>(char*&, char*, llvm::MachineOperand::MachineOperandType const&, unsigned long)
Line
Count
Source
386
80.7M
                       size_t offset = 0) {
387
80.7M
  size_t store_size = sizeof(value) - offset;
388
80.7M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
80.7M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
80.7M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
80.7M
  buffer_ptr += store_size;
393
80.7M
  return true;
394
80.7M
}
bool llvm::hashing::detail::store_and_advance<long long>(char*&, char*, long long const&, unsigned long)
Line
Count
Source
386
27.4M
                       size_t offset = 0) {
387
27.4M
  size_t store_size = sizeof(value) - offset;
388
27.4M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
27.4M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
27.4M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
27.4M
  buffer_ptr += store_size;
393
27.4M
  return true;
394
27.4M
}
bool llvm::hashing::detail::store_and_advance<llvm::ConstantInt const*>(char*&, char*, llvm::ConstantInt const* const&, unsigned long)
Line
Count
Source
386
15
                       size_t offset = 0) {
387
15
  size_t store_size = sizeof(value) - offset;
388
15
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
15
  const char *value_data = reinterpret_cast<const char *>(&value);
391
15
  memcpy(buffer_ptr, value_data + offset, store_size);
392
15
  buffer_ptr += store_size;
393
15
  return true;
394
15
}
bool llvm::hashing::detail::store_and_advance<llvm::ConstantFP const*>(char*&, char*, llvm::ConstantFP const* const&, unsigned long)
Line
Count
Source
386
806
                       size_t offset = 0) {
387
806
  size_t store_size = sizeof(value) - offset;
388
806
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
806
  const char *value_data = reinterpret_cast<const char *>(&value);
391
806
  memcpy(buffer_ptr, value_data + offset, store_size);
392
806
  buffer_ptr += store_size;
393
806
  return true;
394
806
}
bool llvm::hashing::detail::store_and_advance<unsigned int const*>(char*&, char*, unsigned int const* const&, unsigned long)
Line
Count
Source
386
21
                       size_t offset = 0) {
387
21
  size_t store_size = sizeof(value) - offset;
388
21
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
21
  const char *value_data = reinterpret_cast<const char *>(&value);
391
21
  memcpy(buffer_ptr, value_data + offset, store_size);
392
21
  buffer_ptr += store_size;
393
21
  return true;
394
21
}
Unexecuted instantiation: bool llvm::hashing::detail::store_and_advance<llvm::MDNode const*>(char*&, char*, llvm::MDNode const* const&, unsigned long)
Unexecuted instantiation: bool llvm::hashing::detail::store_and_advance<llvm::Intrinsic::ID>(char*&, char*, llvm::Intrinsic::ID const&, unsigned long)
bool llvm::hashing::detail::store_and_advance<llvm::InlineAsm::AsmDialect>(char*&, char*, llvm::InlineAsm::AsmDialect const&, unsigned long)
Line
Count
Source
386
20.0k
                       size_t offset = 0) {
387
20.0k
  size_t store_size = sizeof(value) - offset;
388
20.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
20.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
20.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
20.0k
  buffer_ptr += store_size;
393
20.0k
  return true;
394
20.0k
}
bool llvm::hashing::detail::store_and_advance<llvm::FunctionType*>(char*&, char*, llvm::FunctionType* const&, unsigned long)
Line
Count
Source
386
20.0k
                       size_t offset = 0) {
387
20.0k
  size_t store_size = sizeof(value) - offset;
388
20.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
20.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
20.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
20.0k
  buffer_ptr += store_size;
393
20.0k
  return true;
394
20.0k
}
bool llvm::hashing::detail::store_and_advance<unsigned char>(char*&, char*, unsigned char const&, unsigned long)
Line
Count
Source
386
36.9M
                       size_t offset = 0) {
387
36.9M
  size_t store_size = sizeof(value) - offset;
388
36.9M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
36.9M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
36.9M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
36.9M
  buffer_ptr += store_size;
393
36.9M
  return true;
394
36.9M
}
bool llvm::hashing::detail::store_and_advance<unsigned short>(char*&, char*, unsigned short const&, unsigned long)
Line
Count
Source
386
17.2M
                       size_t offset = 0) {
387
17.2M
  size_t store_size = sizeof(value) - offset;
388
17.2M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
17.2M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
17.2M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
17.2M
  buffer_ptr += store_size;
393
17.2M
  return true;
394
17.2M
}
bool llvm::hashing::detail::store_and_advance<llvm::Type const*>(char*&, char*, llvm::Type const* const&, unsigned long)
Line
Count
Source
386
7.59M
                       size_t offset = 0) {
387
7.59M
  size_t store_size = sizeof(value) - offset;
388
7.59M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
7.59M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
7.59M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
7.59M
  buffer_ptr += store_size;
393
7.59M
  return true;
394
7.59M
}
bool llvm::hashing::detail::store_and_advance<llvm::Metadata*>(char*&, char*, llvm::Metadata* const&, unsigned long)
Line
Count
Source
386
31.9M
                       size_t offset = 0) {
387
31.9M
  size_t store_size = sizeof(value) - offset;
388
31.9M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
31.9M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
31.9M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
31.9M
  buffer_ptr += store_size;
393
31.9M
  return true;
394
31.9M
}
bool llvm::hashing::detail::store_and_advance<llvm::MDString*>(char*&, char*, llvm::MDString* const&, unsigned long)
Line
Count
Source
386
209k
                       size_t offset = 0) {
387
209k
  size_t store_size = sizeof(value) - offset;
388
209k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
209k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
209k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
209k
  buffer_ptr += store_size;
393
209k
  return true;
394
209k
}
bool llvm::hashing::detail::store_and_advance<unsigned long long>(char*&, char*, unsigned long long const&, unsigned long)
Line
Count
Source
386
230M
                       size_t offset = 0) {
387
230M
  size_t store_size = sizeof(value) - offset;
388
230M
  if (buffer_ptr + store_size > buffer_end)
389
2
    return false;
390
230M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
230M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
230M
  buffer_ptr += store_size;
393
230M
  return true;
394
230M
}
bool llvm::hashing::detail::store_and_advance<llvm::ArrayType*>(char*&, char*, llvm::ArrayType* const&, unsigned long)
Line
Count
Source
386
60.6k
                       size_t offset = 0) {
387
60.6k
  size_t store_size = sizeof(value) - offset;
388
60.6k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
60.6k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
60.6k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
60.6k
  buffer_ptr += store_size;
393
60.6k
  return true;
394
60.6k
}
bool llvm::hashing::detail::store_and_advance<llvm::StructType*>(char*&, char*, llvm::StructType* const&, unsigned long)
Line
Count
Source
386
199k
                       size_t offset = 0) {
387
199k
  size_t store_size = sizeof(value) - offset;
388
199k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
199k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
199k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
199k
  buffer_ptr += store_size;
393
199k
  return true;
394
199k
}
bool llvm::hashing::detail::store_and_advance<llvm::VectorType*>(char*&, char*, llvm::VectorType* const&, unsigned long)
Line
Count
Source
386
222k
                       size_t offset = 0) {
387
222k
  size_t store_size = sizeof(value) - offset;
388
222k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
222k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
222k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
222k
  buffer_ptr += store_size;
393
222k
  return true;
394
222k
}
bool llvm::hashing::detail::store_and_advance<llvm::Type*>(char*&, char*, llvm::Type* const&, unsigned long)
Line
Count
Source
386
47.1M
                       size_t offset = 0) {
387
47.1M
  size_t store_size = sizeof(value) - offset;
388
47.1M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
47.1M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
47.1M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
47.1M
  buffer_ptr += store_size;
393
47.1M
  return true;
394
47.1M
}
bool llvm::hashing::detail::store_and_advance<llvm::PointerType*>(char*&, char*, llvm::PointerType* const&, unsigned long)
Line
Count
Source
386
20.0k
                       size_t offset = 0) {
387
20.0k
  size_t store_size = sizeof(value) - offset;
388
20.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
20.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
20.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
20.0k
  buffer_ptr += store_size;
393
20.0k
  return true;
394
20.0k
}
bool llvm::hashing::detail::store_and_advance<llvm::Metadata const*>(char*&, char*, llvm::Metadata const* const&, unsigned long)
Line
Count
Source
386
37.0M
                       size_t offset = 0) {
387
37.0M
  size_t store_size = sizeof(value) - offset;
388
37.0M
  if (buffer_ptr + store_size > buffer_end)
389
4.09M
    return false;
390
32.9M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
32.9M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
32.9M
  buffer_ptr += store_size;
393
32.9M
  return true;
394
32.9M
}
bool llvm::hashing::detail::store_and_advance<char>(char*&, char*, char const&, unsigned long)
Line
Count
Source
386
468k
                       size_t offset = 0) {
387
468k
  size_t store_size = sizeof(value) - offset;
388
468k
  if (buffer_ptr + store_size > buffer_end)
389
3.90k
    return false;
390
465k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
465k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
465k
  buffer_ptr += store_size;
393
465k
  return true;
394
465k
}
bool llvm::hashing::detail::store_and_advance<llvm::MemoryAccess const*>(char*&, char*, llvm::MemoryAccess const* const&, unsigned long)
Line
Count
Source
386
1.14k
                       size_t offset = 0) {
387
1.14k
  size_t store_size = sizeof(value) - offset;
388
1.14k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1.14k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.14k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.14k
  buffer_ptr += store_size;
393
1.14k
  return true;
394
1.14k
}
bool llvm::hashing::detail::store_and_advance<llvm::Value*>(char*&, char*, llvm::Value* const&, unsigned long)
Line
Count
Source
386
131M
                       size_t offset = 0) {
387
131M
  size_t store_size = sizeof(value) - offset;
388
131M
  if (buffer_ptr + store_size > buffer_end)
389
524k
    return false;
390
131M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
131M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
131M
  buffer_ptr += store_size;
393
131M
  return true;
394
131M
}
bool llvm::hashing::detail::store_and_advance<llvm::Constant*>(char*&, char*, llvm::Constant* const&, unsigned long)
Line
Count
Source
386
465
                       size_t offset = 0) {
387
465
  size_t store_size = sizeof(value) - offset;
388
465
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
465
  const char *value_data = reinterpret_cast<const char *>(&value);
391
465
  memcpy(buffer_ptr, value_data + offset, store_size);
392
465
  buffer_ptr += store_size;
393
465
  return true;
394
465
}
bool llvm::hashing::detail::store_and_advance<llvm::Instruction*>(char*&, char*, llvm::Instruction* const&, unsigned long)
Line
Count
Source
386
278
                       size_t offset = 0) {
387
278
  size_t store_size = sizeof(value) - offset;
388
278
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
278
  const char *value_data = reinterpret_cast<const char *>(&value);
391
278
  memcpy(buffer_ptr, value_data + offset, store_size);
392
278
  buffer_ptr += store_size;
393
278
  return true;
394
278
}
bool llvm::hashing::detail::store_and_advance<llvm::MCSymbol const*>(char*&, char*, llvm::MCSymbol const* const&, unsigned long)
Line
Count
Source
386
30.8k
                       size_t offset = 0) {
387
30.8k
  size_t store_size = sizeof(value) - offset;
388
30.8k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
30.8k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
30.8k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
30.8k
  buffer_ptr += store_size;
393
30.8k
  return true;
394
30.8k
}
bool llvm::hashing::detail::store_and_advance<llvm::Instruction::BinaryOps>(char*&, char*, llvm::Instruction::BinaryOps const&, unsigned long)
Line
Count
Source
386
7.49M
                       size_t offset = 0) {
387
7.49M
  size_t store_size = sizeof(value) - offset;
388
7.49M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
7.49M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
7.49M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
7.49M
  buffer_ptr += store_size;
393
7.49M
  return true;
394
7.49M
}
bool llvm::hashing::detail::store_and_advance<llvm::CmpInst::Predicate>(char*&, char*, llvm::CmpInst::Predicate const&, unsigned long)
Line
Count
Source
386
12.8M
                       size_t offset = 0) {
387
12.8M
  size_t store_size = sizeof(value) - offset;
388
12.8M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
12.8M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
12.8M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
12.8M
  buffer_ptr += store_size;
393
12.8M
  return true;
394
12.8M
}
bool llvm::hashing::detail::store_and_advance<llvm::SelectPatternFlavor>(char*&, char*, llvm::SelectPatternFlavor const&, unsigned long)
Line
Count
Source
386
232k
                       size_t offset = 0) {
387
232k
  size_t store_size = sizeof(value) - offset;
388
232k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
232k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
232k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
232k
  buffer_ptr += store_size;
393
232k
  return true;
394
232k
}
bool llvm::hashing::detail::store_and_advance<llvm::Instruction::CastOps>(char*&, char*, llvm::Instruction::CastOps const&, unsigned long)
Line
Count
Source
386
8.37M
                       size_t offset = 0) {
387
8.37M
  size_t store_size = sizeof(value) - offset;
388
8.37M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
8.37M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
8.37M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
8.37M
  buffer_ptr += store_size;
393
8.37M
  return true;
394
8.37M
}
bool llvm::hashing::detail::store_and_advance<short>(char*&, char*, short const&, unsigned long)
Line
Count
Source
386
991k
                       size_t offset = 0) {
387
991k
  size_t store_size = sizeof(value) - offset;
388
991k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
991k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
991k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
991k
  buffer_ptr += store_size;
393
991k
  return true;
394
991k
}
Unexecuted instantiation: bool llvm::hashing::detail::store_and_advance<llvm::fltSemantics const*>(char*&, char*, llvm::fltSemantics const* const&, unsigned long)
bool llvm::hashing::detail::store_and_advance<llvm::Value const*>(char*&, char*, llvm::Value const* const&, unsigned long)
Line
Count
Source
386
703k
                       size_t offset = 0) {
387
703k
  size_t store_size = sizeof(value) - offset;
388
703k
  if (buffer_ptr + store_size > buffer_end)
389
744
    return false;
390
703k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
703k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
703k
  buffer_ptr += store_size;
393
703k
  return true;
394
703k
}
bool llvm::hashing::detail::store_and_advance<void*>(char*&, char*, void* const&, unsigned long)
Line
Count
Source
386
46.8k
                       size_t offset = 0) {
387
46.8k
  size_t store_size = sizeof(value) - offset;
388
46.8k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
46.8k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
46.8k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
46.8k
  buffer_ptr += store_size;
393
46.8k
  return true;
394
46.8k
}
bool llvm::hashing::detail::store_and_advance<clang::NestedNameSpecifier*>(char*&, char*, clang::NestedNameSpecifier* const&, unsigned long)
Line
Count
Source
386
930
                       size_t offset = 0) {
387
930
  size_t store_size = sizeof(value) - offset;
388
930
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
930
  const char *value_data = reinterpret_cast<const char *>(&value);
391
930
  memcpy(buffer_ptr, value_data + offset, store_size);
392
930
  buffer_ptr += store_size;
393
930
  return true;
394
930
}
bool llvm::hashing::detail::store_and_advance<long>(char*&, char*, long const&, unsigned long)
Line
Count
Source
386
62.0k
                       size_t offset = 0) {
387
62.0k
  size_t store_size = sizeof(value) - offset;
388
62.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
62.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
62.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
62.0k
  buffer_ptr += store_size;
393
62.0k
  return true;
394
62.0k
}
bool llvm::hashing::detail::store_and_advance<llvm::RegisterBankInfo::ValueMapping const*>(char*&, char*, llvm::RegisterBankInfo::ValueMapping const* const&, unsigned long)
Line
Count
Source
386
16.9M
                       size_t offset = 0) {
387
16.9M
  size_t store_size = sizeof(value) - offset;
388
16.9M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
16.9M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
16.9M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
16.9M
  buffer_ptr += store_size;
393
16.9M
  return true;
394
16.9M
}
bool llvm::hashing::detail::store_and_advance<clang::IdentifierInfo const*>(char*&, char*, clang::IdentifierInfo const* const&, unsigned long)
Line
Count
Source
386
1
                       size_t offset = 0) {
387
1
  size_t store_size = sizeof(value) - offset;
388
1
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1
  buffer_ptr += store_size;
393
1
  return true;
394
1
}
bool llvm::hashing::detail::store_and_advance<llvm::wasm::ValType>(char*&, char*, llvm::wasm::ValType const&, unsigned long)
Line
Count
Source
386
708
                       size_t offset = 0) {
387
708
  size_t store_size = sizeof(value) - offset;
388
708
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
708
  const char *value_data = reinterpret_cast<const char *>(&value);
391
708
  memcpy(buffer_ptr, value_data + offset, store_size);
392
708
  buffer_ptr += store_size;
393
708
  return true;
394
708
}
bool llvm::hashing::detail::store_and_advance<lld::DefinedAtom::ContentType>(char*&, char*, lld::DefinedAtom::ContentType const&, unsigned long)
Line
Count
Source
386
54
                       size_t offset = 0) {
387
54
  size_t store_size = sizeof(value) - offset;
388
54
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
54
  const char *value_data = reinterpret_cast<const char *>(&value);
391
54
  memcpy(buffer_ptr, value_data + offset, store_size);
392
54
  buffer_ptr += store_size;
393
54
  return true;
394
54
}
395
396
/// Implement the combining of integral values into a hash_code.
397
///
398
/// This overload is selected when the value type of the iterator is
399
/// integral. Rather than computing a hash_code for each object and then
400
/// combining them, this (as an optimization) directly combines the integers.
401
template <typename InputIteratorT>
402
26.0M
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
26.0M
  const uint64_t seed = get_execution_seed();
404
26.0M
  char buffer[64], *buffer_ptr = buffer;
405
26.0M
  char *const buffer_end = std::end(buffer);
406
104M
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
79.2M
                                            get_hashable_data(*first)))
408
78.8M
    ++first;
409
26.0M
  if (first == last)
410
25.6M
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
385k
  assert(buffer_ptr == buffer_end);
412
385k
413
385k
  hash_state state = state.create(buffer, seed);
414
385k
  size_t length = 64;
415
5.01M
  while (first != last) {
416
4.62M
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
4.62M
    // when only a partial 64-byte chunk is left.
418
4.62M
    buffer_ptr = buffer;
419
39.9M
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
39.6M
                                              get_hashable_data(*first)))
421
35.3M
      ++first;
422
4.62M
423
4.62M
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
4.62M
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
4.62M
    // have a contiguous byte sequence, and we want to emulate that here.
426
4.62M
    std::rotate(buffer, buffer_ptr, buffer_end);
427
4.62M
428
4.62M
    // Mix this chunk into the current state.
429
4.62M
    state.mix(buffer);
430
4.62M
    length += buffer_ptr - buffer;
431
4.62M
  };
432
385k
433
385k
  return state.finalize(length);
434
385k
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<llvm::MDOperand const*>(llvm::MDOperand const*, llvm::MDOperand const*)
Line
Count
Source
402
43.6k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
43.6k
  const uint64_t seed = get_execution_seed();
404
43.6k
  char buffer[64], *buffer_ptr = buffer;
405
43.6k
  char *const buffer_end = std::end(buffer);
406
290k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
263k
                                            get_hashable_data(*first)))
408
246k
    ++first;
409
43.6k
  if (first == last)
410
26.9k
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
16.6k
  assert(buffer_ptr == buffer_end);
412
16.6k
413
16.6k
  hash_state state = state.create(buffer, seed);
414
16.6k
  size_t length = 64;
415
4.11M
  while (first != last) {
416
4.09M
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
4.09M
    // when only a partial 64-byte chunk is left.
418
4.09M
    buffer_ptr = buffer;
419
36.8M
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
36.7M
                                              get_hashable_data(*first)))
421
32.7M
      ++first;
422
4.09M
423
4.09M
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
4.09M
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
4.09M
    // have a contiguous byte sequence, and we want to emulate that here.
426
4.09M
    std::rotate(buffer, buffer_ptr, buffer_end);
427
4.09M
428
4.09M
    // Mix this chunk into the current state.
429
4.09M
    state.mix(buffer);
430
4.09M
    length += buffer_ptr - buffer;
431
4.09M
  };
432
16.6k
433
16.6k
  return state.finalize(length);
434
16.6k
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<std::__1::__wrap_iter<char const*> >(std::__1::__wrap_iter<char const*>, std::__1::__wrap_iter<char const*>)
Line
Count
Source
402
20.6k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
20.6k
  const uint64_t seed = get_execution_seed();
404
20.6k
  char buffer[64], *buffer_ptr = buffer;
405
20.6k
  char *const buffer_end = std::end(buffer);
406
361k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
344k
                                            get_hashable_data(*first)))
408
340k
    ++first;
409
20.6k
  if (first == last)
410
16.8k
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
3.74k
  assert(buffer_ptr == buffer_end);
412
3.74k
413
3.74k
  hash_state state = state.create(buffer, seed);
414
3.74k
  size_t length = 64;
415
7.65k
  while (first != last) {
416
3.90k
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
3.90k
    // when only a partial 64-byte chunk is left.
418
3.90k
    buffer_ptr = buffer;
419
128k
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
124k
                                              get_hashable_data(*first)))
421
124k
      ++first;
422
3.90k
423
3.90k
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
3.90k
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
3.90k
    // have a contiguous byte sequence, and we want to emulate that here.
426
3.90k
    std::rotate(buffer, buffer_ptr, buffer_end);
427
3.90k
428
3.90k
    // Mix this chunk into the current state.
429
3.90k
    state.mix(buffer);
430
3.90k
    length += buffer_ptr - buffer;
431
3.90k
  };
432
3.74k
433
3.74k
  return state.finalize(length);
434
3.74k
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<llvm::User::value_op_iterator>(llvm::User::value_op_iterator, llvm::User::value_op_iterator)
Line
Count
Source
402
25.7M
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
25.7M
  const uint64_t seed = get_execution_seed();
404
25.7M
  char buffer[64], *buffer_ptr = buffer;
405
25.7M
  char *const buffer_end = std::end(buffer);
406
103M
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
77.9M
                                            get_hashable_data(*first)))
408
77.5M
    ++first;
409
25.7M
  if (first == last)
410
25.3M
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
364k
  assert(buffer_ptr == buffer_end);
412
364k
413
364k
  hash_state state = state.create(buffer, seed);
414
364k
  size_t length = 64;
415
889k
  while (first != last) {
416
524k
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
524k
    // when only a partial 64-byte chunk is left.
418
524k
    buffer_ptr = buffer;
419
3.04M
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
2.68M
                                              get_hashable_data(*first)))
421
2.52M
      ++first;
422
524k
423
524k
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
524k
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
524k
    // have a contiguous byte sequence, and we want to emulate that here.
426
524k
    std::rotate(buffer, buffer_ptr, buffer_end);
427
524k
428
524k
    // Mix this chunk into the current state.
429
524k
    state.mix(buffer);
430
524k
    length += buffer_ptr - buffer;
431
524k
  };
432
364k
433
364k
  return state.finalize(length);
434
364k
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<llvm::User::const_value_op_iterator>(llvm::User::const_value_op_iterator, llvm::User::const_value_op_iterator)
Line
Count
Source
402
274k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
274k
  const uint64_t seed = get_execution_seed();
404
274k
  char buffer[64], *buffer_ptr = buffer;
405
274k
  char *const buffer_end = std::end(buffer);
406
975k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
702k
                                            get_hashable_data(*first)))
408
701k
    ++first;
409
274k
  if (first == last)
410
273k
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
744
  assert(buffer_ptr == buffer_end);
412
744
413
744
  hash_state state = state.create(buffer, seed);
414
744
  size_t length = 64;
415
1.48k
  while (first != last) {
416
744
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
744
    // when only a partial 64-byte chunk is left.
418
744
    buffer_ptr = buffer;
419
2.16k
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
1.41k
                                              get_hashable_data(*first)))
421
1.41k
      ++first;
422
744
423
744
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
744
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
744
    // have a contiguous byte sequence, and we want to emulate that here.
426
744
    std::rotate(buffer, buffer_ptr, buffer_end);
427
744
428
744
    // Mix this chunk into the current state.
429
744
    state.mix(buffer);
430
744
    length += buffer_ptr - buffer;
431
744
  };
432
744
433
744
  return state.finalize(length);
434
744
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<llvm::StringRef const*>(llvm::StringRef const*, llvm::StringRef const*)
Line
Count
Source
402
505
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
505
  const uint64_t seed = get_execution_seed();
404
505
  char buffer[64], *buffer_ptr = buffer;
405
505
  char *const buffer_end = std::end(buffer);
406
1.07k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
572
                                            get_hashable_data(*first)))
408
572
    ++first;
409
505
  if (first == last)
410
505
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
0
  assert(buffer_ptr == buffer_end);
412
0
413
0
  hash_state state = state.create(buffer, seed);
414
0
  size_t length = 64;
415
0
  while (first != last) {
416
0
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
0
    // when only a partial 64-byte chunk is left.
418
0
    buffer_ptr = buffer;
419
0
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
0
                                              get_hashable_data(*first)))
421
0
      ++first;
422
0
423
0
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
0
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
0
    // have a contiguous byte sequence, and we want to emulate that here.
426
0
    std::rotate(buffer, buffer_ptr, buffer_end);
427
0
428
0
    // Mix this chunk into the current state.
429
0
    state.mix(buffer);
430
0
    length += buffer_ptr - buffer;
431
0
  };
432
0
433
0
  return state.finalize(length);
434
0
}
ItaniumCXXABI.cpp:llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<(anonymous namespace)::DecompositionDeclName::Iterator>((anonymous namespace)::DecompositionDeclName::Iterator, (anonymous namespace)::DecompositionDeclName::Iterator)
Line
Count
Source
402
1
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
1
  const uint64_t seed = get_execution_seed();
404
1
  char buffer[64], *buffer_ptr = buffer;
405
1
  char *const buffer_end = std::end(buffer);
406
2
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
1
                                            get_hashable_data(*first)))
408
1
    ++first;
409
1
  if (first == last)
410
1
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
0
  assert(buffer_ptr == buffer_end);
412
0
413
0
  hash_state state = state.create(buffer, seed);
414
0
  size_t length = 64;
415
0
  while (first != last) {
416
0
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
0
    // when only a partial 64-byte chunk is left.
418
0
    buffer_ptr = buffer;
419
0
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
0
                                              get_hashable_data(*first)))
421
0
      ++first;
422
0
423
0
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
0
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
0
    // have a contiguous byte sequence, and we want to emulate that here.
426
0
    std::rotate(buffer, buffer_ptr, buffer_end);
427
0
428
0
    // Mix this chunk into the current state.
429
0
    state.mix(buffer);
430
0
    length += buffer_ptr - buffer;
431
0
  };
432
0
433
0
  return state.finalize(length);
434
0
}
435
436
/// Implement the combining of integral values into a hash_code.
437
///
438
/// This overload is selected when the value type of the iterator is integral
439
/// and when the input iterator is actually a pointer. Rather than computing
440
/// a hash_code for each object and then combining them, this (as an
441
/// optimization) directly combines the integers. Also, because the integers
442
/// are stored in contiguous memory, this routine avoids copying each value
443
/// and directly reads from the underlying memory.
444
template <typename ValueT>
445
typename std::enable_if<is_hashable_data<ValueT>::value, hash_code>::type
446
711M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
711M
  const uint64_t seed = get_execution_seed();
448
711M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
711M
  const char *s_end = reinterpret_cast<const char *>(last);
450
711M
  const size_t length = std::distance(s_begin, s_end);
451
711M
  if (length <= 64)
452
686M
    return hash_short(s_begin, length, seed);
453
24.4M
454
24.4M
  const char *s_aligned_end = s_begin + (length & ~63);
455
24.4M
  hash_state state = state.create(s_begin, seed);
456
24.4M
  s_begin += 64;
457
49.7M
  while (s_begin != s_aligned_end) {
458
25.3M
    state.mix(s_begin);
459
25.3M
    s_begin += 64;
460
25.3M
  }
461
24.4M
  if (length & 63)
462
23.7M
    state.mix(s_end - 64);
463
24.4M
464
24.4M
  return state.finalize(length);
465
24.4M
}
std::__1::enable_if<is_hashable_data<unsigned int>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned int>(unsigned int*, unsigned int*)
Line
Count
Source
446
2.02k
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
2.02k
  const uint64_t seed = get_execution_seed();
448
2.02k
  const char *s_begin = reinterpret_cast<const char *>(first);
449
2.02k
  const char *s_end = reinterpret_cast<const char *>(last);
450
2.02k
  const size_t length = std::distance(s_begin, s_end);
451
2.02k
  if (length <= 64)
452
192
    return hash_short(s_begin, length, seed);
453
1.83k
454
1.83k
  const char *s_aligned_end = s_begin + (length & ~63);
455
1.83k
  hash_state state = state.create(s_begin, seed);
456
1.83k
  s_begin += 64;
457
29.0k
  while (s_begin != s_aligned_end) {
458
27.2k
    state.mix(s_begin);
459
27.2k
    s_begin += 64;
460
27.2k
  }
461
1.83k
  if (length & 63)
462
1.51k
    state.mix(s_end - 64);
463
1.83k
464
1.83k
  return state.finalize(length);
465
1.83k
}
std::__1::enable_if<is_hashable_data<unsigned long>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned long>(unsigned long*, unsigned long*)
Line
Count
Source
446
27.0M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
27.0M
  const uint64_t seed = get_execution_seed();
448
27.0M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
27.0M
  const char *s_end = reinterpret_cast<const char *>(last);
450
27.0M
  const size_t length = std::distance(s_begin, s_end);
451
27.0M
  if (length <= 64)
452
26.2M
    return hash_short(s_begin, length, seed);
453
770k
454
770k
  const char *s_aligned_end = s_begin + (length & ~63);
455
770k
  hash_state state = state.create(s_begin, seed);
456
770k
  s_begin += 64;
457
935k
  while (s_begin != s_aligned_end) {
458
164k
    state.mix(s_begin);
459
164k
    s_begin += 64;
460
164k
  }
461
770k
  if (length & 63)
462
770k
    state.mix(s_end - 64);
463
770k
464
770k
  return state.finalize(length);
465
770k
}
std::__1::enable_if<is_hashable_data<llvm::Constant* const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::Constant* const>(llvm::Constant* const*, llvm::Constant* const*)
Line
Count
Source
446
17.7M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
17.7M
  const uint64_t seed = get_execution_seed();
448
17.7M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
17.7M
  const char *s_end = reinterpret_cast<const char *>(last);
450
17.7M
  const size_t length = std::distance(s_begin, s_end);
451
17.7M
  if (length <= 64)
452
17.6M
    return hash_short(s_begin, length, seed);
453
52.5k
454
52.5k
  const char *s_aligned_end = s_begin + (length & ~63);
455
52.5k
  hash_state state = state.create(s_begin, seed);
456
52.5k
  s_begin += 64;
457
136k
  while (s_begin != s_aligned_end) {
458
83.7k
    state.mix(s_begin);
459
83.7k
    s_begin += 64;
460
83.7k
  }
461
52.5k
  if (length & 63)
462
23.2k
    state.mix(s_end - 64);
463
52.5k
464
52.5k
  return state.finalize(length);
465
52.5k
}
std::__1::enable_if<is_hashable_data<unsigned int const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned int const>(unsigned int const*, unsigned int const*)
Line
Count
Source
446
606M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
606M
  const uint64_t seed = get_execution_seed();
448
606M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
606M
  const char *s_end = reinterpret_cast<const char *>(last);
450
606M
  const size_t length = std::distance(s_begin, s_end);
451
606M
  if (length <= 64)
452
583M
    return hash_short(s_begin, length, seed);
453
23.2M
454
23.2M
  const char *s_aligned_end = s_begin + (length & ~63);
455
23.2M
  hash_state state = state.create(s_begin, seed);
456
23.2M
  s_begin += 64;
457
47.2M
  while (s_begin != s_aligned_end) {
458
23.9M
    state.mix(s_begin);
459
23.9M
    s_begin += 64;
460
23.9M
  }
461
23.2M
  if (length & 63)
462
22.6M
    state.mix(s_end - 64);
463
23.2M
464
23.2M
  return state.finalize(length);
465
23.2M
}
std::__1::enable_if<is_hashable_data<llvm::Type* const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::Type* const>(llvm::Type* const*, llvm::Type* const*)
Line
Count
Source
446
7.74M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
7.74M
  const uint64_t seed = get_execution_seed();
448
7.74M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
7.74M
  const char *s_end = reinterpret_cast<const char *>(last);
450
7.74M
  const size_t length = std::distance(s_begin, s_end);
451
7.74M
  if (length <= 64)
452
7.71M
    return hash_short(s_begin, length, seed);
453
33.0k
454
33.0k
  const char *s_aligned_end = s_begin + (length & ~63);
455
33.0k
  hash_state state = state.create(s_begin, seed);
456
33.0k
  s_begin += 64;
457
44.2k
  while (s_begin != s_aligned_end) {
458
11.1k
    state.mix(s_begin);
459
11.1k
    s_begin += 64;
460
11.1k
  }
461
33.0k
  if (length & 63)
462
32.5k
    state.mix(s_end - 64);
463
33.0k
464
33.0k
  return state.finalize(length);
465
33.0k
}
std::__1::enable_if<is_hashable_data<unsigned long long const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned long long const>(unsigned long long const*, unsigned long long const*)
Line
Count
Source
446
1.01M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
1.01M
  const uint64_t seed = get_execution_seed();
448
1.01M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
1.01M
  const char *s_end = reinterpret_cast<const char *>(last);
450
1.01M
  const size_t length = std::distance(s_begin, s_end);
451
1.01M
  if (length <= 64)
452
1.01M
    return hash_short(s_begin, length, seed);
453
37
454
37
  const char *s_aligned_end = s_begin + (length & ~63);
455
37
  hash_state state = state.create(s_begin, seed);
456
37
  s_begin += 64;
457
43
  while (s_begin != s_aligned_end) {
458
6
    state.mix(s_begin);
459
6
    s_begin += 64;
460
6
  }
461
37
  if (length & 63)
462
36
    state.mix(s_end - 64);
463
37
464
37
  return state.finalize(length);
465
37
}
std::__1::enable_if<is_hashable_data<llvm::Metadata* const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::Metadata* const>(llvm::Metadata* const*, llvm::Metadata* const*)
Line
Count
Source
446
1.47M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
1.47M
  const uint64_t seed = get_execution_seed();
448
1.47M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
1.47M
  const char *s_end = reinterpret_cast<const char *>(last);
450
1.47M
  const size_t length = std::distance(s_begin, s_end);
451
1.47M
  if (length <= 64)
452
1.43M
    return hash_short(s_begin, length, seed);
453
40.0k
454
40.0k
  const char *s_aligned_end = s_begin + (length & ~63);
455
40.0k
  hash_state state = state.create(s_begin, seed);
456
40.0k
  s_begin += 64;
457
107k
  while (s_begin != s_aligned_end) {
458
67.6k
    state.mix(s_begin);
459
67.6k
    s_begin += 64;
460
67.6k
  }
461
40.0k
  if (length & 63)
462
39.5k
    state.mix(s_end - 64);
463
40.0k
464
40.0k
  return state.finalize(length);
465
40.0k
}
std::__1::enable_if<is_hashable_data<llvm::Value* const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::Value* const>(llvm::Value* const*, llvm::Value* const*)
Line
Count
Source
446
2.64k
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
2.64k
  const uint64_t seed = get_execution_seed();
448
2.64k
  const char *s_begin = reinterpret_cast<const char *>(first);
449
2.64k
  const char *s_end = reinterpret_cast<const char *>(last);
450
2.64k
  const size_t length = std::distance(s_begin, s_end);
451
2.64k
  if (length <= 64)
452
2.64k
    return hash_short(s_begin, length, seed);
453
0
454
0
  const char *s_aligned_end = s_begin + (length & ~63);
455
0
  hash_state state = state.create(s_begin, seed);
456
0
  s_begin += 64;
457
0
  while (s_begin != s_aligned_end) {
458
0
    state.mix(s_begin);
459
0
    s_begin += 64;
460
0
  }
461
0
  if (length & 63)
462
0
    state.mix(s_end - 64);
463
0
464
0
  return state.finalize(length);
465
0
}
std::__1::enable_if<is_hashable_data<llvm::SCEV const* const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::SCEV const* const>(llvm::SCEV const* const*, llvm::SCEV const* const*)
Line
Count
Source
446
19.2M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
19.2M
  const uint64_t seed = get_execution_seed();
448
19.2M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
19.2M
  const char *s_end = reinterpret_cast<const char *>(last);
450
19.2M
  const size_t length = std::distance(s_begin, s_end);
451
19.2M
  if (length <= 64)
452
19.2M
    return hash_short(s_begin, length, seed);
453
0
454
0
  const char *s_aligned_end = s_begin + (length & ~63);
455
0
  hash_state state = state.create(s_begin, seed);
456
0
  s_begin += 64;
457
0
  while (s_begin != s_aligned_end) {
458
0
    state.mix(s_begin);
459
0
    s_begin += 64;
460
0
  }
461
0
  if (length & 63)
462
0
    state.mix(s_end - 64);
463
0
464
0
  return state.finalize(length);
465
0
}
std::__1::enable_if<is_hashable_data<unsigned long long>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned long long>(unsigned long long*, unsigned long long*)
Line
Count
Source
446
4.08M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
4.08M
  const uint64_t seed = get_execution_seed();
448
4.08M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
4.08M
  const char *s_end = reinterpret_cast<const char *>(last);
450
4.08M
  const size_t length = std::distance(s_begin, s_end);
451
4.08M
  if (length <= 64)
452
4.08M
    return hash_short(s_begin, length, seed);
453
319
454
319
  const char *s_aligned_end = s_begin + (length & ~63);
455
319
  hash_state state = state.create(s_begin, seed);
456
319
  s_begin += 64;
457
71.8k
  while (s_begin != s_aligned_end) {
458
71.5k
    state.mix(s_begin);
459
71.5k
    s_begin += 64;
460
71.5k
  }
461
319
  if (length & 63)
462
121
    state.mix(s_end - 64);
463
319
464
319
  return state.finalize(length);
465
319
}
std::__1::enable_if<is_hashable_data<char const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<char const>(char const*, char const*)
Line
Count
Source
446
7.57M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
7.57M
  const uint64_t seed = get_execution_seed();
448
7.57M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
7.57M
  const char *s_end = reinterpret_cast<const char *>(last);
450
7.57M
  const size_t length = std::distance(s_begin, s_end);
451
7.57M
  if (length <= 64)
452
7.46M
    return hash_short(s_begin, length, seed);
453
106k
454
106k
  const char *s_aligned_end = s_begin + (length & ~63);
455
106k
  hash_state state = state.create(s_begin, seed);
456
106k
  s_begin += 64;
457
889k
  while (s_begin != s_aligned_end) {
458
782k
    state.mix(s_begin);
459
782k
    s_begin += 64;
460
782k
  }
461
106k
  if (length & 63)
462
106k
    state.mix(s_end - 64);
463
106k
464
106k
  return state.finalize(length);
465
106k
}
std::__1::enable_if<is_hashable_data<llvm::BasicBlock*>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::BasicBlock*>(llvm::BasicBlock**, llvm::BasicBlock**)
Line
Count
Source
446
8.29M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
8.29M
  const uint64_t seed = get_execution_seed();
448
8.29M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
8.29M
  const char *s_end = reinterpret_cast<const char *>(last);
450
8.29M
  const size_t length = std::distance(s_begin, s_end);
451
8.29M
  if (length <= 64)
452
8.12M
    return hash_short(s_begin, length, seed);
453
170k
454
170k
  const char *s_aligned_end = s_begin + (length & ~63);
455
170k
  hash_state state = state.create(s_begin, seed);
456
170k
  s_begin += 64;
457
329k
  while (s_begin != s_aligned_end) {
458
158k
    state.mix(s_begin);
459
158k
    s_begin += 64;
460
158k
  }
461
170k
  if (length & 63)
462
166k
    state.mix(s_end - 64);
463
170k
464
170k
  return state.finalize(length);
465
170k
}
std::__1::enable_if<is_hashable_data<llvm::RegisterBankInfo::ValueMapping const* const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<llvm::RegisterBankInfo::ValueMapping const* const>(llvm::RegisterBankInfo::ValueMapping const* const*, llvm::RegisterBankInfo::ValueMapping const* const*)
Line
Count
Source
446
9.94M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
9.94M
  const uint64_t seed = get_execution_seed();
448
9.94M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
9.94M
  const char *s_end = reinterpret_cast<const char *>(last);
450
9.94M
  const size_t length = std::distance(s_begin, s_end);
451
9.94M
  if (length <= 64)
452
9.94M
    return hash_short(s_begin, length, seed);
453
450
454
450
  const char *s_aligned_end = s_begin + (length & ~63);
455
450
  hash_state state = state.create(s_begin, seed);
456
450
  s_begin += 64;
457
450
  while (s_begin != s_aligned_end) {
458
0
    state.mix(s_begin);
459
0
    s_begin += 64;
460
0
  }
461
450
  if (length & 63)
462
450
    state.mix(s_end - 64);
463
450
464
450
  return state.finalize(length);
465
450
}
std::__1::enable_if<is_hashable_data<unsigned char const>::value, llvm::hash_code>::type llvm::hashing::detail::hash_combine_range_impl<unsigned char const>(unsigned char const*, unsigned char const*)
Line
Count
Source
446
5.06k
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
5.06k
  const uint64_t seed = get_execution_seed();
448
5.06k
  const char *s_begin = reinterpret_cast<const char *>(first);
449
5.06k
  const char *s_end = reinterpret_cast<const char *>(last);
450
5.06k
  const size_t length = std::distance(s_begin, s_end);
451
5.06k
  if (length <= 64)
452
3.69k
    return hash_short(s_begin, length, seed);
453
1.36k
454
1.36k
  const char *s_aligned_end = s_begin + (length & ~63);
455
1.36k
  hash_state state = state.create(s_begin, seed);
456
1.36k
  s_begin += 64;
457
1.96k
  while (s_begin != s_aligned_end) {
458
598
    state.mix(s_begin);
459
598
    s_begin += 64;
460
598
  }
461
1.36k
  if (length & 63)
462
1.28k
    state.mix(s_end - 64);
463
1.36k
464
1.36k
  return state.finalize(length);
465
1.36k
}
466
467
} // namespace detail
468
} // namespace hashing
469
470
471
/// Compute a hash_code for a sequence of values.
472
///
473
/// This hashes a sequence of values. It produces the same hash_code as
474
/// 'hash_combine(a, b, c, ...)', but can run over arbitrary sized sequences
475
/// and is significantly faster given pointers and types which can be hashed as
476
/// a sequence of bytes.
477
template <typename InputIteratorT>
478
737M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
737M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
737M
}
llvm::hash_code llvm::hash_combine_range<unsigned int*>(unsigned int*, unsigned int*)
Line
Count
Source
478
2.02k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
2.02k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
2.02k
}
llvm::hash_code llvm::hash_combine_range<unsigned long*>(unsigned long*, unsigned long*)
Line
Count
Source
478
27.0M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
27.0M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
27.0M
}
llvm::hash_code llvm::hash_combine_range<llvm::Constant* const*>(llvm::Constant* const*, llvm::Constant* const*)
Line
Count
Source
478
17.7M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
17.7M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
17.7M
}
llvm::hash_code llvm::hash_combine_range<unsigned int const*>(unsigned int const*, unsigned int const*)
Line
Count
Source
478
606M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
606M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
606M
}
llvm::hash_code llvm::hash_combine_range<llvm::Type* const*>(llvm::Type* const*, llvm::Type* const*)
Line
Count
Source
478
7.74M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
7.74M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
7.74M
}
llvm::hash_code llvm::hash_combine_range<unsigned long long const*>(unsigned long long const*, unsigned long long const*)
Line
Count
Source
478
1.01M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
1.01M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
1.01M
}
llvm::hash_code llvm::hash_combine_range<llvm::MDOperand const*>(llvm::MDOperand const*, llvm::MDOperand const*)
Line
Count
Source
478
43.6k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
43.6k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
43.6k
}
llvm::hash_code llvm::hash_combine_range<llvm::Metadata* const*>(llvm::Metadata* const*, llvm::Metadata* const*)
Line
Count
Source
478
1.47M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
1.47M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
1.47M
}
llvm::hash_code llvm::hash_combine_range<std::__1::__wrap_iter<char const*> >(std::__1::__wrap_iter<char const*>, std::__1::__wrap_iter<char const*>)
Line
Count
Source
478
20.6k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
20.6k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
20.6k
}
llvm::hash_code llvm::hash_combine_range<llvm::Value* const*>(llvm::Value* const*, llvm::Value* const*)
Line
Count
Source
478
2.64k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
2.64k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
2.64k
}
llvm::hash_code llvm::hash_combine_range<llvm::User::value_op_iterator>(llvm::User::value_op_iterator, llvm::User::value_op_iterator)
Line
Count
Source
478
25.7M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
25.7M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
25.7M
}
llvm::hash_code llvm::hash_combine_range<llvm::SCEV const* const*>(llvm::SCEV const* const*, llvm::SCEV const* const*)
Line
Count
Source
478
19.2M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
19.2M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
19.2M
}
llvm::hash_code llvm::hash_combine_range<unsigned long long*>(unsigned long long*, unsigned long long*)
Line
Count
Source
478
4.08M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
4.08M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
4.08M
}
llvm::hash_code llvm::hash_combine_range<char const*>(char const*, char const*)
Line
Count
Source
478
7.57M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
7.57M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
7.57M
}
llvm::hash_code llvm::hash_combine_range<llvm::BasicBlock**>(llvm::BasicBlock**, llvm::BasicBlock**)
Line
Count
Source
478
8.29M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
8.29M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
8.29M
}
llvm::hash_code llvm::hash_combine_range<llvm::User::const_value_op_iterator>(llvm::User::const_value_op_iterator, llvm::User::const_value_op_iterator)
Line
Count
Source
478
274k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
274k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
274k
}
llvm::hash_code llvm::hash_combine_range<llvm::RegisterBankInfo::ValueMapping const* const*>(llvm::RegisterBankInfo::ValueMapping const* const*, llvm::RegisterBankInfo::ValueMapping const* const*)
Line
Count
Source
478
9.94M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
9.94M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
9.94M
}
llvm::hash_code llvm::hash_combine_range<llvm::StringRef const*>(llvm::StringRef const*, llvm::StringRef const*)
Line
Count
Source
478
505
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
505
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
505
}
ItaniumCXXABI.cpp:llvm::hash_code llvm::hash_combine_range<(anonymous namespace)::DecompositionDeclName::Iterator>((anonymous namespace)::DecompositionDeclName::Iterator, (anonymous namespace)::DecompositionDeclName::Iterator)
Line
Count
Source
478
1
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
1
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
1
}
llvm::hash_code llvm::hash_combine_range<unsigned char const*>(unsigned char const*, unsigned char const*)
Line
Count
Source
478
5.06k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
5.06k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
5.06k
}
481
482
483
// Implementation details for hash_combine.
484
namespace hashing {
485
namespace detail {
486
487
/// Helper class to manage the recursive combining of hash_combine
488
/// arguments.
489
///
490
/// This class exists to manage the state and various calls involved in the
491
/// recursive combining of arguments used in hash_combine. It is particularly
492
/// useful at minimizing the code in the recursive calls to ease the pain
493
/// caused by a lack of variadic functions.
494
struct hash_combine_recursive_helper {
495
  char buffer[64];
496
  hash_state state;
497
  const uint64_t seed;
498
499
public:
500
  /// Construct a recursive hash combining helper.
501
  ///
502
  /// This sets up the state for a recursive hash combine, including getting
503
  /// the seed and buffer setup.
504
  hash_combine_recursive_helper()
505
470M
    : seed(get_execution_seed()) {}
506
507
  /// Combine one chunk of data into the current in-flight hash.
508
  ///
509
  /// This merges one chunk of data into the hash. First it tries to buffer
510
  /// the data. If the buffer is full, it hashes the buffer into its
511
  /// hash_state, empties it, and then merges the new chunk in. This also
512
  /// handles cases where the data straddles the end of the buffer.
513
  template <typename T>
514
1.05G
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.05G
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
6
      // Check for skew which prevents the buffer from being packed, and do
517
6
      // a partial store into the buffer to fill it. This is only a concern
518
6
      // with the variadic combine because that formation can have varying
519
6
      // argument types.
520
6
      size_t partial_store_size = buffer_end - buffer_ptr;
521
6
      memcpy(buffer_ptr, &data, partial_store_size);
522
6
523
6
      // If the store fails, our buffer is full and ready to hash. We have to
524
6
      // either initialize the hash state (on the first full buffer) or mix
525
6
      // this buffer into the existing hash state. Length tracks the *hashed*
526
6
      // length, not the buffered length.
527
6
      if (length == 0) {
528
6
        state = state.create(buffer, seed);
529
6
        length = 64;
530
6
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
6
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
6
      // data.
537
6
      buffer_ptr = buffer;
538
6
539
6
      // Try again to store into the buffer -- this cannot fail as we only
540
6
      // store types smaller than the buffer.
541
6
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
6
                             partial_store_size))
543
0
        abort();
544
1.05G
    }
545
1.05G
    return buffer_ptr;
546
1.05G
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned int>(unsigned long&, char*, char*, unsigned int)
Line
Count
Source
514
293M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
293M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
293M
    }
545
293M
    return buffer_ptr;
546
293M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned long>(unsigned long&, char*, char*, unsigned long)
Line
Count
Source
514
100M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
100M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
100M
    }
545
100M
    return buffer_ptr;
546
100M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::coverage::CounterExpression::ExprKind>(unsigned long&, char*, char*, llvm::coverage::CounterExpression::ExprKind)
Line
Count
Source
514
1.76k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.76k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
1.76k
    }
545
1.76k
    return buffer_ptr;
546
1.76k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::coverage::Counter::CounterKind>(unsigned long&, char*, char*, llvm::coverage::Counter::CounterKind)
Line
Count
Source
514
3.52k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
3.52k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
3.52k
    }
545
3.52k
    return buffer_ptr;
546
3.52k
  }
Unexecuted instantiation: char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Loop const*>(unsigned long&, char*, char*, llvm::Loop const*)
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::BasicBlock*>(unsigned long&, char*, char*, llvm::BasicBlock*)
Line
Count
Source
514
273
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
273
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
273
    }
545
273
    return buffer_ptr;
546
273
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<bool>(unsigned long&, char*, char*, bool)
Line
Count
Source
514
78.4M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
78.4M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
78.4M
    }
545
78.4M
    return buffer_ptr;
546
78.4M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<int>(unsigned long&, char*, char*, int)
Line
Count
Source
514
867k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
867k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
4
      // Check for skew which prevents the buffer from being packed, and do
517
4
      // a partial store into the buffer to fill it. This is only a concern
518
4
      // with the variadic combine because that formation can have varying
519
4
      // argument types.
520
4
      size_t partial_store_size = buffer_end - buffer_ptr;
521
4
      memcpy(buffer_ptr, &data, partial_store_size);
522
4
523
4
      // If the store fails, our buffer is full and ready to hash. We have to
524
4
      // either initialize the hash state (on the first full buffer) or mix
525
4
      // this buffer into the existing hash state. Length tracks the *hashed*
526
4
      // length, not the buffered length.
527
4
      if (length == 0) {
528
4
        state = state.create(buffer, seed);
529
4
        length = 64;
530
4
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
4
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
4
      // data.
537
4
      buffer_ptr = buffer;
538
4
539
4
      // Try again to store into the buffer -- this cannot fail as we only
540
4
      // store types smaller than the buffer.
541
4
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
4
                             partial_store_size))
543
0
        abort();
544
867k
    }
545
867k
    return buffer_ptr;
546
867k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<char const*>(unsigned long&, char*, char*, char const*)
Line
Count
Source
514
6.49k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
6.49k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
6.49k
    }
545
6.49k
    return buffer_ptr;
546
6.49k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::GlobalValue const*>(unsigned long&, char*, char*, llvm::GlobalValue const*)
Line
Count
Source
514
3.77M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
3.77M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
3.77M
    }
545
3.77M
    return buffer_ptr;
546
3.77M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::BlockAddress const*>(unsigned long&, char*, char*, llvm::BlockAddress const*)
Line
Count
Source
514
394
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
394
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
394
    }
545
394
    return buffer_ptr;
546
394
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MCSymbol*>(unsigned long&, char*, char*, llvm::MCSymbol*)
Line
Count
Source
514
258
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
258
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
258
    }
545
258
    return buffer_ptr;
546
258
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MachineBasicBlock*>(unsigned long&, char*, char*, llvm::MachineBasicBlock*)
Line
Count
Source
514
1.73M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.73M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
1.73M
    }
545
1.73M
    return buffer_ptr;
546
1.73M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MachineOperand::MachineOperandType>(unsigned long&, char*, char*, llvm::MachineOperand::MachineOperandType)
Line
Count
Source
514
80.7M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
80.7M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
80.7M
    }
545
80.7M
    return buffer_ptr;
546
80.7M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<long long>(unsigned long&, char*, char*, long long)
Line
Count
Source
514
27.4M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
27.4M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
27.4M
    }
545
27.4M
    return buffer_ptr;
546
27.4M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::ConstantInt const*>(unsigned long&, char*, char*, llvm::ConstantInt const*)
Line
Count
Source
514
15
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
15
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
15
    }
545
15
    return buffer_ptr;
546
15
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::ConstantFP const*>(unsigned long&, char*, char*, llvm::ConstantFP const*)
Line
Count
Source
514
806
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
806
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
806
    }
545
806
    return buffer_ptr;
546
806
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned int const*>(unsigned long&, char*, char*, unsigned int const*)
Line
Count
Source
514
21
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
21
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
21
    }
545
21
    return buffer_ptr;
546
21
  }
Unexecuted instantiation: char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MDNode const*>(unsigned long&, char*, char*, llvm::MDNode const*)
Unexecuted instantiation: char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Intrinsic::ID>(unsigned long&, char*, char*, llvm::Intrinsic::ID)
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::InlineAsm::AsmDialect>(unsigned long&, char*, char*, llvm::InlineAsm::AsmDialect)
Line
Count
Source
514
20.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
20.0k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
20.0k
    }
545
20.0k
    return buffer_ptr;
546
20.0k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::FunctionType*>(unsigned long&, char*, char*, llvm::FunctionType*)
Line
Count
Source
514
20.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
20.0k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
20.0k
    }
545
20.0k
    return buffer_ptr;
546
20.0k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned char>(unsigned long&, char*, char*, unsigned char)
Line
Count
Source
514
36.9M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
36.9M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
36.9M
    }
545
36.9M
    return buffer_ptr;
546
36.9M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned short>(unsigned long&, char*, char*, unsigned short)
Line
Count
Source
514
17.2M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
17.2M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
17.2M
    }
545
17.2M
    return buffer_ptr;
546
17.2M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Type const*>(unsigned long&, char*, char*, llvm::Type const*)
Line
Count
Source
514
7.59M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
7.59M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
7.59M
    }
545
7.59M
    return buffer_ptr;
546
7.59M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Metadata*>(unsigned long&, char*, char*, llvm::Metadata*)
Line
Count
Source
514
31.9M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
31.9M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
31.9M
    }
545
31.9M
    return buffer_ptr;
546
31.9M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MDString*>(unsigned long&, char*, char*, llvm::MDString*)
Line
Count
Source
514
209k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
209k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
209k
    }
545
209k
    return buffer_ptr;
546
209k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned long long>(unsigned long&, char*, char*, unsigned long long)
Line
Count
Source
514
230M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
230M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
2
      // Check for skew which prevents the buffer from being packed, and do
517
2
      // a partial store into the buffer to fill it. This is only a concern
518
2
      // with the variadic combine because that formation can have varying
519
2
      // argument types.
520
2
      size_t partial_store_size = buffer_end - buffer_ptr;
521
2
      memcpy(buffer_ptr, &data, partial_store_size);
522
2
523
2
      // If the store fails, our buffer is full and ready to hash. We have to
524
2
      // either initialize the hash state (on the first full buffer) or mix
525
2
      // this buffer into the existing hash state. Length tracks the *hashed*
526
2
      // length, not the buffered length.
527
2
      if (length == 0) {
528
2
        state = state.create(buffer, seed);
529
2
        length = 64;
530
2
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
2
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
2
      // data.
537
2
      buffer_ptr = buffer;
538
2
539
2
      // Try again to store into the buffer -- this cannot fail as we only
540
2
      // store types smaller than the buffer.
541
2
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
2
                             partial_store_size))
543
0
        abort();
544
230M
    }
545
230M
    return buffer_ptr;
546
230M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::ArrayType*>(unsigned long&, char*, char*, llvm::ArrayType*)
Line
Count
Source
514
60.6k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
60.6k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
60.6k
    }
545
60.6k
    return buffer_ptr;
546
60.6k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::StructType*>(unsigned long&, char*, char*, llvm::StructType*)
Line
Count
Source
514
199k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
199k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
199k
    }
545
199k
    return buffer_ptr;
546
199k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::VectorType*>(unsigned long&, char*, char*, llvm::VectorType*)
Line
Count
Source
514
222k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
222k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
222k
    }
545
222k
    return buffer_ptr;
546
222k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Type*>(unsigned long&, char*, char*, llvm::Type*)
Line
Count
Source
514
47.1M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
47.1M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
47.1M
    }
545
47.1M
    return buffer_ptr;
546
47.1M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::PointerType*>(unsigned long&, char*, char*, llvm::PointerType*)
Line
Count
Source
514
20.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
20.0k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
20.0k
    }
545
20.0k
    return buffer_ptr;
546
20.0k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MCSymbol const*>(unsigned long&, char*, char*, llvm::MCSymbol const*)
Line
Count
Source
514
30.8k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
30.8k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
30.8k
    }
545
30.8k
    return buffer_ptr;
546
30.8k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Instruction::BinaryOps>(unsigned long&, char*, char*, llvm::Instruction::BinaryOps)
Line
Count
Source
514
7.49M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
7.49M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
7.49M
    }
545
7.49M
    return buffer_ptr;
546
7.49M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Value*>(unsigned long&, char*, char*, llvm::Value*)
Line
Count
Source
514
51.0M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
51.0M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
51.0M
    }
545
51.0M
    return buffer_ptr;
546
51.0M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::CmpInst::Predicate>(unsigned long&, char*, char*, llvm::CmpInst::Predicate)
Line
Count
Source
514
12.8M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
12.8M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
12.8M
    }
545
12.8M
    return buffer_ptr;
546
12.8M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::SelectPatternFlavor>(unsigned long&, char*, char*, llvm::SelectPatternFlavor)
Line
Count
Source
514
232k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
232k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
232k
    }
545
232k
    return buffer_ptr;
546
232k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Instruction::CastOps>(unsigned long&, char*, char*, llvm::Instruction::CastOps)
Line
Count
Source
514
8.37M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
8.37M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
8.37M
    }
545
8.37M
    return buffer_ptr;
546
8.37M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MemoryAccess const*>(unsigned long&, char*, char*, llvm::MemoryAccess const*)
Line
Count
Source
514
1.14k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.14k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
1.14k
    }
545
1.14k
    return buffer_ptr;
546
1.14k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Constant*>(unsigned long&, char*, char*, llvm::Constant*)
Line
Count
Source
514
465
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
465
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
465
    }
545
465
    return buffer_ptr;
546
465
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Instruction*>(unsigned long&, char*, char*, llvm::Instruction*)
Line
Count
Source
514
278
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
278
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
278
    }
545
278
    return buffer_ptr;
546
278
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<short>(unsigned long&, char*, char*, short)
Line
Count
Source
514
991k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
991k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
991k
    }
545
991k
    return buffer_ptr;
546
991k
  }
Unexecuted instantiation: char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::fltSemantics const*>(unsigned long&, char*, char*, llvm::fltSemantics const*)
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<void*>(unsigned long&, char*, char*, void*)
Line
Count
Source
514
46.8k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
46.8k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
46.8k
    }
545
46.8k
    return buffer_ptr;
546
46.8k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<clang::NestedNameSpecifier*>(unsigned long&, char*, char*, clang::NestedNameSpecifier*)
Line
Count
Source
514
930
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
930
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
930
    }
545
930
    return buffer_ptr;
546
930
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<long>(unsigned long&, char*, char*, long)
Line
Count
Source
514
62.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
62.0k
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
62.0k
    }
545
62.0k
    return buffer_ptr;
546
62.0k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::RegisterBankInfo::ValueMapping const*>(unsigned long&, char*, char*, llvm::RegisterBankInfo::ValueMapping const*)
Line
Count
Source
514
16.9M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
16.9M
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
16.9M
    }
545
16.9M
    return buffer_ptr;
546
16.9M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::wasm::ValType>(unsigned long&, char*, char*, llvm::wasm::ValType)
Line
Count
Source
514
708
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
708
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
708
    }
545
708
    return buffer_ptr;
546
708
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<lld::DefinedAtom::ContentType>(unsigned long&, char*, char*, lld::DefinedAtom::ContentType)
Line
Count
Source
514
54
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
54
    if (!store_and_advance(buffer_ptr, buffer_end, data)) {
516
0
      // Check for skew which prevents the buffer from being packed, and do
517
0
      // a partial store into the buffer to fill it. This is only a concern
518
0
      // with the variadic combine because that formation can have varying
519
0
      // argument types.
520
0
      size_t partial_store_size = buffer_end - buffer_ptr;
521
0
      memcpy(buffer_ptr, &data, partial_store_size);
522
0
523
0
      // If the store fails, our buffer is full and ready to hash. We have to
524
0
      // either initialize the hash state (on the first full buffer) or mix
525
0
      // this buffer into the existing hash state. Length tracks the *hashed*
526
0
      // length, not the buffered length.
527
0
      if (length == 0) {
528
0
        state = state.create(buffer, seed);
529
0
        length = 64;
530
0
      } else {
531
0
        // Mix this chunk into the current state and bump length up by 64.
532
0
        state.mix(buffer);
533
0
        length += 64;
534
0
      }
535
0
      // Reset the buffer_ptr to the head of the buffer for the next chunk of
536
0
      // data.
537
0
      buffer_ptr = buffer;
538
0
539
0
      // Try again to store into the buffer -- this cannot fail as we only
540
0
      // store types smaller than the buffer.
541
0
      if (!store_and_advance(buffer_ptr, buffer_end, data,
542
0
                             partial_store_size))
543
0
        abort();
544
54
    }
545
54
    return buffer_ptr;
546
54
  }
547
548
  /// Recursive, variadic combining method.
549
  ///
550
  /// This function recurses through each argument, combining that argument
551
  /// into a single hash.
552
  template <typename T, typename ...Ts>
553
  hash_code combine(size_t length, char *buffer_ptr, char *buffer_end,
554
1.05G
                    const T &arg, const Ts &...args) {
555
1.05G
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.05G
557
1.05G
    // Recurse to the next argument.
558
1.05G
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.05G
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, llvm::hash_code>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, llvm::hash_code const&)
Line
Count
Source
554
206
                    const T &arg, const Ts &...args) {
555
206
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
206
557
206
    // Recurse to the next argument.
558
206
    return combine(length, buffer_ptr, buffer_end, args...);
559
206
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::hash_code>(unsigned long, char*, char*, unsigned int const&, llvm::hash_code const&)
Line
Count
Source
554
17.6M
                    const T &arg, const Ts &...args) {
555
17.6M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.6M
557
17.6M
    // Recurse to the next argument.
558
17.6M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.6M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code>(unsigned long, char*, char*, llvm::hash_code const&)
Line
Count
Source
554
66.2M
                    const T &arg, const Ts &...args) {
555
66.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
66.2M
557
66.2M
    // Recurse to the next argument.
558
66.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
66.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int>(unsigned long, char*, char*, unsigned int const&, unsigned int const&)
Line
Count
Source
554
991k
                    const T &arg, const Ts &...args) {
555
991k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
991k
557
991k
    // Recurse to the next argument.
558
991k
    return combine(length, buffer_ptr, buffer_end, args...);
559
991k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int>(unsigned long, char*, char*, unsigned int const&)
Line
Count
Source
554
40.0M
                    const T &arg, const Ts &...args) {
555
40.0M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
40.0M
557
40.0M
    // Recurse to the next argument.
558
40.0M
    return combine(length, buffer_ptr, buffer_end, args...);
559
40.0M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::coverage::CounterExpression::ExprKind, llvm::coverage::Counter::CounterKind, unsigned int, llvm::coverage::Counter::CounterKind, unsigned int>(unsigned long, char*, char*, llvm::coverage::CounterExpression::ExprKind const&, llvm::coverage::Counter::CounterKind const&, unsigned int const&, llvm::coverage::Counter::CounterKind const&, unsigned int const&)
Line
Count
Source
554
1.76k
                    const T &arg, const Ts &...args) {
555
1.76k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.76k
557
1.76k
    // Recurse to the next argument.
558
1.76k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.76k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::coverage::Counter::CounterKind, unsigned int, llvm::coverage::Counter::CounterKind, unsigned int>(unsigned long, char*, char*, llvm::coverage::Counter::CounterKind const&, unsigned int const&, llvm::coverage::Counter::CounterKind const&, unsigned int const&)
Line
Count
Source
554
1.76k
                    const T &arg, const Ts &...args) {
555
1.76k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.76k
557
1.76k
    // Recurse to the next argument.
558
1.76k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.76k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::coverage::Counter::CounterKind, unsigned int>(unsigned long, char*, char*, unsigned int const&, llvm::coverage::Counter::CounterKind const&, unsigned int const&)
Line
Count
Source
554
1.76k
                    const T &arg, const Ts &...args) {
555
1.76k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.76k
557
1.76k
    // Recurse to the next argument.
558
1.76k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.76k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::coverage::Counter::CounterKind, unsigned int>(unsigned long, char*, char*, llvm::coverage::Counter::CounterKind const&, unsigned int const&)
Line
Count
Source
554
1.76k
                    const T &arg, const Ts &...args) {
555
1.76k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.76k
557
1.76k
    // Recurse to the next argument.
558
1.76k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.76k
  }
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Loop const*, llvm::BasicBlock*>(unsigned long, char*, char*, llvm::Loop const* const&, llvm::BasicBlock* const&)
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::BasicBlock*>(unsigned long, char*, char*, llvm::BasicBlock* const&)
Line
Count
Source
554
273
                    const T &arg, const Ts &...args) {
555
273
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
273
557
273
    // Recurse to the next argument.
558
273
    return combine(length, buffer_ptr, buffer_end, args...);
559
273
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, bool>(unsigned long, char*, char*, llvm::hash_code const&, bool const&)
Line
Count
Source
554
7.74M
                    const T &arg, const Ts &...args) {
555
7.74M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
7.74M
557
7.74M
    // Recurse to the next argument.
558
7.74M
    return combine(length, buffer_ptr, buffer_end, args...);
559
7.74M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool>(unsigned long, char*, char*, bool const&)
Line
Count
Source
554
74.6M
                    const T &arg, const Ts &...args) {
555
74.6M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
74.6M
557
74.6M
    // Recurse to the next argument.
558
74.6M
    return combine(length, buffer_ptr, buffer_end, args...);
559
74.6M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand, llvm::MachineOperand, llvm::MachineOperand, llvm::MachineOperand>(unsigned long, char*, char*, llvm::MachineOperand const&, llvm::MachineOperand const&, llvm::MachineOperand const&, llvm::MachineOperand const&)
Line
Count
Source
554
82.8k
                    const T &arg, const Ts &...args) {
555
82.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
82.8k
557
82.8k
    // Recurse to the next argument.
558
82.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
82.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand, llvm::MachineOperand, llvm::MachineOperand>(unsigned long, char*, char*, llvm::MachineOperand const&, llvm::MachineOperand const&, llvm::MachineOperand const&)
Line
Count
Source
554
82.8k
                    const T &arg, const Ts &...args) {
555
82.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
82.8k
557
82.8k
    // Recurse to the next argument.
558
82.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
82.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand, llvm::MachineOperand>(unsigned long, char*, char*, llvm::MachineOperand const&, llvm::MachineOperand const&)
Line
Count
Source
554
82.8k
                    const T &arg, const Ts &...args) {
555
82.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
82.8k
557
82.8k
    // Recurse to the next argument.
558
82.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
82.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand>(unsigned long, char*, char*, llvm::MachineOperand const&)
Line
Count
Source
554
82.8k
                    const T &arg, const Ts &...args) {
555
82.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
82.8k
557
82.8k
    // Recurse to the next argument.
558
82.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
82.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, int>(unsigned long, char*, char*, llvm::hash_code const&, int const&)
Line
Count
Source
554
209
                    const T &arg, const Ts &...args) {
555
209
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
209
557
209
    // Recurse to the next argument.
558
209
    return combine(length, buffer_ptr, buffer_end, args...);
559
209
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<int>(unsigned long, char*, char*, int const&)
Line
Count
Source
554
533k
                    const T &arg, const Ts &...args) {
555
533k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
533k
557
533k
    // Recurse to the next argument.
558
533k
    return combine(length, buffer_ptr, buffer_end, args...);
559
533k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, char const*>(unsigned long, char*, char*, llvm::hash_code const&, char const* const&)
Line
Count
Source
554
3
                    const T &arg, const Ts &...args) {
555
3
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3
557
3
    // Recurse to the next argument.
558
3
    return combine(length, buffer_ptr, buffer_end, args...);
559
3
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<char const*>(unsigned long, char*, char*, char const* const&)
Line
Count
Source
554
6.49k
                    const T &arg, const Ts &...args) {
555
6.49k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.49k
557
6.49k
    // Recurse to the next argument.
558
6.49k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.49k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, llvm::GlobalValue const*>(unsigned long, char*, char*, llvm::hash_code const&, llvm::GlobalValue const* const&)
Line
Count
Source
554
46.6k
                    const T &arg, const Ts &...args) {
555
46.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
46.6k
557
46.6k
    // Recurse to the next argument.
558
46.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
46.6k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::GlobalValue const*>(unsigned long, char*, char*, llvm::GlobalValue const* const&)
Line
Count
Source
554
46.6k
                    const T &arg, const Ts &...args) {
555
46.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
46.6k
557
46.6k
    // Recurse to the next argument.
558
46.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
46.6k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, llvm::BlockAddress const*>(unsigned long, char*, char*, llvm::hash_code const&, llvm::BlockAddress const* const&)
Line
Count
Source
554
12
                    const T &arg, const Ts &...args) {
555
12
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
12
557
12
    // Recurse to the next argument.
558
12
    return combine(length, buffer_ptr, buffer_end, args...);
559
12
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::BlockAddress const*>(unsigned long, char*, char*, llvm::BlockAddress const* const&)
Line
Count
Source
554
12
                    const T &arg, const Ts &...args) {
555
12
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
12
557
12
    // Recurse to the next argument.
558
12
    return combine(length, buffer_ptr, buffer_end, args...);
559
12
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, llvm::MCSymbol*>(unsigned long, char*, char*, llvm::hash_code const&, llvm::MCSymbol* const&)
Line
Count
Source
554
14
                    const T &arg, const Ts &...args) {
555
14
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
14
557
14
    // Recurse to the next argument.
558
14
    return combine(length, buffer_ptr, buffer_end, args...);
559
14
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MCSymbol*>(unsigned long, char*, char*, llvm::MCSymbol* const&)
Line
Count
Source
554
258
                    const T &arg, const Ts &...args) {
555
258
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
258
557
258
    // Recurse to the next argument.
558
258
    return combine(length, buffer_ptr, buffer_end, args...);
559
258
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, llvm::MachineBasicBlock*>(unsigned long, char*, char*, llvm::hash_code const&, llvm::MachineBasicBlock* const&)
Line
Count
Source
554
8
                    const T &arg, const Ts &...args) {
555
8
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
8
557
8
    // Recurse to the next argument.
558
8
    return combine(length, buffer_ptr, buffer_end, args...);
559
8
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineBasicBlock*>(unsigned long, char*, char*, llvm::MachineBasicBlock* const&)
Line
Count
Source
554
1.73M
                    const T &arg, const Ts &...args) {
555
1.73M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.73M
557
1.73M
    // Recurse to the next argument.
558
1.73M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.73M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, unsigned int>(unsigned long, char*, char*, bool const&, unsigned int const&)
Line
Count
Source
554
3.70M
                    const T &arg, const Ts &...args) {
555
3.70M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.70M
557
3.70M
    // Recurse to the next argument.
558
3.70M
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.70M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, unsigned int>(unsigned long, char*, char*, llvm::hash_code const&, unsigned int const&)
Line
Count
Source
554
442k
                    const T &arg, const Ts &...args) {
555
442k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
442k
557
442k
    // Recurse to the next argument.
558
442k
    return combine(length, buffer_ptr, buffer_end, args...);
559
442k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, unsigned int, bool>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, unsigned int const&, bool const&)
Line
Count
Source
554
51.1M
                    const T &arg, const Ts &...args) {
555
51.1M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
51.1M
557
51.1M
    // Recurse to the next argument.
558
51.1M
    return combine(length, buffer_ptr, buffer_end, args...);
559
51.1M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, bool>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, bool const&)
Line
Count
Source
554
51.1M
                    const T &arg, const Ts &...args) {
555
51.1M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
51.1M
557
51.1M
    // Recurse to the next argument.
558
51.1M
    return combine(length, buffer_ptr, buffer_end, args...);
559
51.1M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, bool>(unsigned long, char*, char*, unsigned int const&, bool const&)
Line
Count
Source
554
51.1M
                    const T &arg, const Ts &...args) {
555
51.1M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
51.1M
557
51.1M
    // Recurse to the next argument.
558
51.1M
    return combine(length, buffer_ptr, buffer_end, args...);
559
51.1M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, long long>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, long long const&)
Line
Count
Source
554
23.2M
                    const T &arg, const Ts &...args) {
555
23.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.2M
557
23.2M
    // Recurse to the next argument.
558
23.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, long long>(unsigned long, char*, char*, unsigned int const&, long long const&)
Line
Count
Source
554
23.2M
                    const T &arg, const Ts &...args) {
555
23.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.2M
557
23.2M
    // Recurse to the next argument.
558
23.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long long>(unsigned long, char*, char*, long long const&)
Line
Count
Source
554
27.3M
                    const T &arg, const Ts &...args) {
555
27.3M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
27.3M
557
27.3M
    // Recurse to the next argument.
558
27.3M
    return combine(length, buffer_ptr, buffer_end, args...);
559
27.3M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::ConstantInt const*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::ConstantInt const* const&)
Line
Count
Source
554
15
                    const T &arg, const Ts &...args) {
555
15
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15
557
15
    // Recurse to the next argument.
558
15
    return combine(length, buffer_ptr, buffer_end, args...);
559
15
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::ConstantInt const*>(unsigned long, char*, char*, unsigned int const&, llvm::ConstantInt const* const&)
Line
Count
Source
554
15
                    const T &arg, const Ts &...args) {
555
15
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15
557
15
    // Recurse to the next argument.
558
15
    return combine(length, buffer_ptr, buffer_end, args...);
559
15
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::ConstantInt const*>(unsigned long, char*, char*, llvm::ConstantInt const* const&)
Line
Count
Source
554
15
                    const T &arg, const Ts &...args) {
555
15
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15
557
15
    // Recurse to the next argument.
558
15
    return combine(length, buffer_ptr, buffer_end, args...);
559
15
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::ConstantFP const*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::ConstantFP const* const&)
Line
Count
Source
554
806
                    const T &arg, const Ts &...args) {
555
806
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
806
557
806
    // Recurse to the next argument.
558
806
    return combine(length, buffer_ptr, buffer_end, args...);
559
806
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::ConstantFP const*>(unsigned long, char*, char*, unsigned int const&, llvm::ConstantFP const* const&)
Line
Count
Source
554
806
                    const T &arg, const Ts &...args) {
555
806
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
806
557
806
    // Recurse to the next argument.
558
806
    return combine(length, buffer_ptr, buffer_end, args...);
559
806
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::ConstantFP const*>(unsigned long, char*, char*, llvm::ConstantFP const* const&)
Line
Count
Source
554
806
                    const T &arg, const Ts &...args) {
555
806
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
806
557
806
    // Recurse to the next argument.
558
806
    return combine(length, buffer_ptr, buffer_end, args...);
559
806
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::MachineBasicBlock*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::MachineBasicBlock* const&)
Line
Count
Source
554
1.73M
                    const T &arg, const Ts &...args) {
555
1.73M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.73M
557
1.73M
    // Recurse to the next argument.
558
1.73M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.73M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MachineBasicBlock*>(unsigned long, char*, char*, unsigned int const&, llvm::MachineBasicBlock* const&)
Line
Count
Source
554
1.73M
                    const T &arg, const Ts &...args) {
555
1.73M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.73M
557
1.73M
    // Recurse to the next argument.
558
1.73M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.73M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, int>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, int const&)
Line
Count
Source
554
533k
                    const T &arg, const Ts &...args) {
555
533k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
533k
557
533k
    // Recurse to the next argument.
558
533k
    return combine(length, buffer_ptr, buffer_end, args...);
559
533k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, int>(unsigned long, char*, char*, unsigned int const&, int const&)
Line
Count
Source
554
533k
                    const T &arg, const Ts &...args) {
555
533k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
533k
557
533k
    // Recurse to the next argument.
558
533k
    return combine(length, buffer_ptr, buffer_end, args...);
559
533k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, int, long long>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, int const&, long long const&)
Line
Count
Source
554
305k
                    const T &arg, const Ts &...args) {
555
305k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
305k
557
305k
    // Recurse to the next argument.
558
305k
    return combine(length, buffer_ptr, buffer_end, args...);
559
305k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, int, long long>(unsigned long, char*, char*, unsigned int const&, int const&, long long const&)
Line
Count
Source
554
305k
                    const T &arg, const Ts &...args) {
555
305k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
305k
557
305k
    // Recurse to the next argument.
558
305k
    return combine(length, buffer_ptr, buffer_end, args...);
559
305k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<int, long long>(unsigned long, char*, char*, int const&, long long const&)
Line
Count
Source
554
305k
                    const T &arg, const Ts &...args) {
555
305k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
305k
557
305k
    // Recurse to the next argument.
558
305k
    return combine(length, buffer_ptr, buffer_end, args...);
559
305k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, long long, char const*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, long long const&, char const* const&)
Line
Count
Source
554
6.48k
                    const T &arg, const Ts &...args) {
555
6.48k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.48k
557
6.48k
    // Recurse to the next argument.
558
6.48k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.48k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, long long, char const*>(unsigned long, char*, char*, unsigned int const&, long long const&, char const* const&)
Line
Count
Source
554
6.48k
                    const T &arg, const Ts &...args) {
555
6.48k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.48k
557
6.48k
    // Recurse to the next argument.
558
6.48k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.48k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long long, char const*>(unsigned long, char*, char*, long long const&, char const* const&)
Line
Count
Source
554
6.48k
                    const T &arg, const Ts &...args) {
555
6.48k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.48k
557
6.48k
    // Recurse to the next argument.
558
6.48k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.48k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::GlobalValue const*, long long>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::GlobalValue const* const&, long long const&)
Line
Count
Source
554
3.73M
                    const T &arg, const Ts &...args) {
555
3.73M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.73M
557
3.73M
    // Recurse to the next argument.
558
3.73M
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.73M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::GlobalValue const*, long long>(unsigned long, char*, char*, unsigned int const&, llvm::GlobalValue const* const&, long long const&)
Line
Count
Source
554
3.73M
                    const T &arg, const Ts &...args) {
555
3.73M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.73M
557
3.73M
    // Recurse to the next argument.
558
3.73M
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.73M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::GlobalValue const*, long long>(unsigned long, char*, char*, llvm::GlobalValue const* const&, long long const&)
Line
Count
Source
554
3.73M
                    const T &arg, const Ts &...args) {
555
3.73M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.73M
557
3.73M
    // Recurse to the next argument.
558
3.73M
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.73M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::BlockAddress const*, long long>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::BlockAddress const* const&, long long const&)
Line
Count
Source
554
382
                    const T &arg, const Ts &...args) {
555
382
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
382
557
382
    // Recurse to the next argument.
558
382
    return combine(length, buffer_ptr, buffer_end, args...);
559
382
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::BlockAddress const*, long long>(unsigned long, char*, char*, unsigned int const&, llvm::BlockAddress const* const&, long long const&)
Line
Count
Source
554
382
                    const T &arg, const Ts &...args) {
555
382
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
382
557
382
    // Recurse to the next argument.
558
382
    return combine(length, buffer_ptr, buffer_end, args...);
559
382
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::BlockAddress const*, long long>(unsigned long, char*, char*, llvm::BlockAddress const* const&, long long const&)
Line
Count
Source
554
382
                    const T &arg, const Ts &...args) {
555
382
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
382
557
382
    // Recurse to the next argument.
558
382
    return combine(length, buffer_ptr, buffer_end, args...);
559
382
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, unsigned int const*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, unsigned int const* const&)
Line
Count
Source
554
21
                    const T &arg, const Ts &...args) {
555
21
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21
557
21
    // Recurse to the next argument.
558
21
    return combine(length, buffer_ptr, buffer_end, args...);
559
21
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int const*>(unsigned long, char*, char*, unsigned int const&, unsigned int const* const&)
Line
Count
Source
554
21
                    const T &arg, const Ts &...args) {
555
21
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21
557
21
    // Recurse to the next argument.
558
21
    return combine(length, buffer_ptr, buffer_end, args...);
559
21
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int const*>(unsigned long, char*, char*, unsigned int const* const&)
Line
Count
Source
554
21
                    const T &arg, const Ts &...args) {
555
21
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21
557
21
    // Recurse to the next argument.
558
21
    return combine(length, buffer_ptr, buffer_end, args...);
559
21
  }
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::MDNode const*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::MDNode const* const&)
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDNode const*>(unsigned long, char*, char*, unsigned int const&, llvm::MDNode const* const&)
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDNode const*>(unsigned long, char*, char*, llvm::MDNode const* const&)
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::MCSymbol*>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::MCSymbol* const&)
Line
Count
Source
554
244
                    const T &arg, const Ts &...args) {
555
244
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
244
557
244
    // Recurse to the next argument.
558
244
    return combine(length, buffer_ptr, buffer_end, args...);
559
244
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MCSymbol*>(unsigned long, char*, char*, unsigned int const&, llvm::MCSymbol* const&)
Line
Count
Source
554
244
                    const T &arg, const Ts &...args) {
555
244
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
244
557
244
    // Recurse to the next argument.
558
244
    return combine(length, buffer_ptr, buffer_end, args...);
559
244
  }
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, unsigned int const&)
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, llvm::Intrinsic::ID>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, llvm::Intrinsic::ID const&)
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Intrinsic::ID>(unsigned long, char*, char*, unsigned int const&, llvm::Intrinsic::ID const&)
Unexecuted instantiation: llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Intrinsic::ID>(unsigned long, char*, char*, llvm::Intrinsic::ID const&)
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::StringRef, llvm::StringRef, bool, bool, llvm::InlineAsm::AsmDialect, llvm::FunctionType*>(unsigned long, char*, char*, llvm::StringRef const&, llvm::StringRef const&, bool const&, bool const&, llvm::InlineAsm::AsmDialect const&, llvm::FunctionType* const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::StringRef, bool, bool, llvm::InlineAsm::AsmDialect, llvm::FunctionType*>(unsigned long, char*, char*, llvm::StringRef const&, bool const&, bool const&, llvm::InlineAsm::AsmDialect const&, llvm::FunctionType* const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, bool, llvm::InlineAsm::AsmDialect, llvm::FunctionType*>(unsigned long, char*, char*, bool const&, bool const&, llvm::InlineAsm::AsmDialect const&, llvm::FunctionType* const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, llvm::InlineAsm::AsmDialect, llvm::FunctionType*>(unsigned long, char*, char*, bool const&, llvm::InlineAsm::AsmDialect const&, llvm::FunctionType* const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::InlineAsm::AsmDialect, llvm::FunctionType*>(unsigned long, char*, char*, llvm::InlineAsm::AsmDialect const&, llvm::FunctionType* const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::FunctionType*>(unsigned long, char*, char*, llvm::FunctionType* const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned char, unsigned char, unsigned short, llvm::hash_code, llvm::hash_code>(unsigned long, char*, char*, unsigned char const&, unsigned char const&, unsigned short const&, llvm::hash_code const&, llvm::hash_code const&)
Line
Count
Source
554
17.2M
                    const T &arg, const Ts &...args) {
555
17.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.2M
557
17.2M
    // Recurse to the next argument.
558
17.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned char, unsigned short, llvm::hash_code, llvm::hash_code>(unsigned long, char*, char*, unsigned char const&, unsigned short const&, llvm::hash_code const&, llvm::hash_code const&)
Line
Count
Source
554
17.2M
                    const T &arg, const Ts &...args) {
555
17.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.2M
557
17.2M
    // Recurse to the next argument.
558
17.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned short, llvm::hash_code, llvm::hash_code>(unsigned long, char*, char*, unsigned short const&, llvm::hash_code const&, llvm::hash_code const&)
Line
Count
Source
554
17.2M
                    const T &arg, const Ts &...args) {
555
17.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.2M
557
17.2M
    // Recurse to the next argument.
558
17.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::hash_code, llvm::hash_code>(unsigned long, char*, char*, llvm::hash_code const&, llvm::hash_code const&)
Line
Count
Source
554
25.5M
                    const T &arg, const Ts &...args) {
555
25.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.5M
557
25.5M
    // Recurse to the next argument.
558
25.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.5M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Type const*, llvm::hash_code, bool>(unsigned long, char*, char*, llvm::Type const* const&, llvm::hash_code const&, bool const&)
Line
Count
Source
554
7.59M
                    const T &arg, const Ts &...args) {
555
7.59M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
7.59M
557
7.59M
    // Recurse to the next argument.
558
7.59M
    return combine(length, buffer_ptr, buffer_end, args...);
559
7.59M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, llvm::Metadata*, llvm::Metadata*, bool>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, bool const&)
Line
Count
Source
554
15.7M
                    const T &arg, const Ts &...args) {
555
15.7M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15.7M
557
15.7M
    // Recurse to the next argument.
558
15.7M
    return combine(length, buffer_ptr, buffer_end, args...);
559
15.7M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, llvm::Metadata*, bool>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, bool const&)
Line
Count
Source
554
15.7M
                    const T &arg, const Ts &...args) {
555
15.7M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15.7M
557
15.7M
    // Recurse to the next argument.
558
15.7M
    return combine(length, buffer_ptr, buffer_end, args...);
559
15.7M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, bool>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, bool const&)
Line
Count
Source
554
15.7M
                    const T &arg, const Ts &...args) {
555
15.7M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15.7M
557
15.7M
    // Recurse to the next argument.
558
15.7M
    return combine(length, buffer_ptr, buffer_end, args...);
559
15.7M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, bool>(unsigned long, char*, char*, llvm::Metadata* const&, bool const&)
Line
Count
Source
554
15.7M
                    const T &arg, const Ts &...args) {
555
15.7M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
15.7M
557
15.7M
    // Recurse to the next argument.
558
15.7M
    return combine(length, buffer_ptr, buffer_end, args...);
559
15.7M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, llvm::MDString*>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, llvm::MDString* const&)
Line
Count
Source
554
114
                    const T &arg, const Ts &...args) {
555
114
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
114
557
114
    // Recurse to the next argument.
558
114
    return combine(length, buffer_ptr, buffer_end, args...);
559
114
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDString*>(unsigned long, char*, char*, unsigned int const&, llvm::MDString* const&)
Line
Count
Source
554
2.13k
                    const T &arg, const Ts &...args) {
555
2.13k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.13k
557
2.13k
    // Recurse to the next argument.
558
2.13k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.13k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&)
Line
Count
Source
554
54.0k
                    const T &arg, const Ts &...args) {
555
54.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
54.0k
557
54.0k
    // Recurse to the next argument.
558
54.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
54.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long long, long long>(unsigned long, char*, char*, long long const&, long long const&)
Line
Count
Source
554
789
                    const T &arg, const Ts &...args) {
555
789
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
789
557
789
    // Recurse to the next argument.
558
789
    return combine(length, buffer_ptr, buffer_end, args...);
559
789
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, long long>(unsigned long, char*, char*, llvm::Metadata* const&, long long const&)
Line
Count
Source
554
84
                    const T &arg, const Ts &...args) {
555
84
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
84
557
84
    // Recurse to the next argument.
558
84
    return combine(length, buffer_ptr, buffer_end, args...);
559
84
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long long, llvm::MDString*>(unsigned long, char*, char*, long long const&, llvm::MDString* const&)
Line
Count
Source
554
18.9k
                    const T &arg, const Ts &...args) {
555
18.9k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
18.9k
557
18.9k
    // Recurse to the next argument.
558
18.9k
    return combine(length, buffer_ptr, buffer_end, args...);
559
18.9k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDString*, unsigned long long, unsigned int, unsigned int>(unsigned long, char*, char*, unsigned int const&, llvm::MDString* const&, unsigned long long const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
4.20k
                    const T &arg, const Ts &...args) {
555
4.20k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.20k
557
4.20k
    // Recurse to the next argument.
558
4.20k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.20k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, unsigned long long, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::MDString* const&, unsigned long long const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
4.20k
                    const T &arg, const Ts &...args) {
555
4.20k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.20k
557
4.20k
    // Recurse to the next argument.
558
4.20k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.20k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned long long, unsigned int, unsigned int>(unsigned long, char*, char*, unsigned long long const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
4.20k
                    const T &arg, const Ts &...args) {
555
4.20k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.20k
557
4.20k
    // Recurse to the next argument.
558
4.20k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.20k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&)
Line
Count
Source
554
4.78k
                    const T &arg, const Ts &...args) {
555
4.78k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.78k
557
4.78k
    // Recurse to the next argument.
558
4.78k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.78k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&)
Line
Count
Source
554
144k
                    const T &arg, const Ts &...args) {
555
144k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
144k
557
144k
    // Recurse to the next argument.
558
144k
    return combine(length, buffer_ptr, buffer_end, args...);
559
144k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, unsigned int const&, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
18.5k
                    const T &arg, const Ts &...args) {
555
18.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
18.5k
557
18.5k
    // Recurse to the next argument.
558
18.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
18.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
18.5k
                    const T &arg, const Ts &...args) {
555
18.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
18.5k
557
18.5k
    // Recurse to the next argument.
558
18.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
18.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
18.5k
                    const T &arg, const Ts &...args) {
555
18.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
18.5k
557
18.5k
    // Recurse to the next argument.
558
18.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
18.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
18.5k
                    const T &arg, const Ts &...args) {
555
18.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
18.5k
557
18.5k
    // Recurse to the next argument.
558
18.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
18.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
24.3k
                    const T &arg, const Ts &...args) {
555
24.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
24.3k
557
24.3k
    // Recurse to the next argument.
558
24.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
24.3k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
24.3k
                    const T &arg, const Ts &...args) {
555
24.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
24.3k
557
24.3k
    // Recurse to the next argument.
558
24.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
24.3k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
5.74k
                    const T &arg, const Ts &...args) {
555
5.74k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
5.74k
557
5.74k
    // Recurse to the next argument.
558
5.74k
    return combine(length, buffer_ptr, buffer_end, args...);
559
5.74k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
5.74k
                    const T &arg, const Ts &...args) {
555
5.74k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
5.74k
557
5.74k
    // Recurse to the next argument.
558
5.74k
    return combine(length, buffer_ptr, buffer_end, args...);
559
5.74k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
5.74k
                    const T &arg, const Ts &...args) {
555
5.74k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
5.74k
557
5.74k
    // Recurse to the next argument.
558
5.74k
    return combine(length, buffer_ptr, buffer_end, args...);
559
5.74k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
5.74k
                    const T &arg, const Ts &...args) {
555
5.74k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
5.74k
557
5.74k
    // Recurse to the next argument.
558
5.74k
    return combine(length, buffer_ptr, buffer_end, args...);
559
5.74k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
5.74k
                    const T &arg, const Ts &...args) {
555
5.74k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
5.74k
557
5.74k
    // Recurse to the next argument.
558
5.74k
    return combine(length, buffer_ptr, buffer_end, args...);
559
5.74k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
13.7k
                    const T &arg, const Ts &...args) {
555
13.7k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
13.7k
557
13.7k
    // Recurse to the next argument.
558
13.7k
    return combine(length, buffer_ptr, buffer_end, args...);
559
13.7k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned char, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, unsigned char const&, llvm::Metadata* const&)
Line
Count
Source
554
123k
                    const T &arg, const Ts &...args) {
555
123k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
123k
557
123k
    // Recurse to the next argument.
558
123k
    return combine(length, buffer_ptr, buffer_end, args...);
559
123k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned char, llvm::Metadata*>(unsigned long, char*, char*, unsigned char const&, llvm::Metadata* const&)
Line
Count
Source
554
123k
                    const T &arg, const Ts &...args) {
555
123k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
123k
557
123k
    // Recurse to the next argument.
558
123k
    return combine(length, buffer_ptr, buffer_end, args...);
559
123k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::MDString*, int, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::MDString* const&, int const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
28.1k
                    const T &arg, const Ts &...args) {
555
28.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
28.1k
557
28.1k
    // Recurse to the next argument.
558
28.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
28.1k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, int, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&, int const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
28.1k
                    const T &arg, const Ts &...args) {
555
28.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
28.1k
557
28.1k
    // Recurse to the next argument.
558
28.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
28.1k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<int, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, int const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
28.1k
                    const T &arg, const Ts &...args) {
555
28.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
28.1k
557
28.1k
    // Recurse to the next argument.
558
28.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
28.1k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
32.4k
                    const T &arg, const Ts &...args) {
555
32.4k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
32.4k
557
32.4k
    // Recurse to the next argument.
558
32.4k
    return combine(length, buffer_ptr, buffer_end, args...);
559
32.4k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
3.31k
                    const T &arg, const Ts &...args) {
555
3.31k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.31k
557
3.31k
    // Recurse to the next argument.
558
3.31k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.31k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
3.31k
                    const T &arg, const Ts &...args) {
555
3.31k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.31k
557
3.31k
    // Recurse to the next argument.
558
3.31k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.31k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
65
                    const T &arg, const Ts &...args) {
555
65
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
65
557
65
    // Recurse to the next argument.
558
65
    return combine(length, buffer_ptr, buffer_end, args...);
559
65
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
22.6k
                    const T &arg, const Ts &...args) {
555
22.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
22.6k
557
22.6k
    // Recurse to the next argument.
558
22.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
22.6k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::MDString*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::MDString* const&)
Line
Count
Source
554
505
                    const T &arg, const Ts &...args) {
555
505
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
505
557
505
    // Recurse to the next argument.
558
505
    return combine(length, buffer_ptr, buffer_end, args...);
559
505
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, llvm::MDString*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
17
                    const T &arg, const Ts &...args) {
555
17
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17
557
17
    // Recurse to the next argument.
558
17
    return combine(length, buffer_ptr, buffer_end, args...);
559
17
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::MDString*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
17
                    const T &arg, const Ts &...args) {
555
17
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17
557
17
    // Recurse to the next argument.
558
17
    return combine(length, buffer_ptr, buffer_end, args...);
559
17
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, unsigned int>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&)
Line
Count
Source
554
17
                    const T &arg, const Ts &...args) {
555
17
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17
557
17
    // Recurse to the next argument.
558
17
    return combine(length, buffer_ptr, buffer_end, args...);
559
17
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::MDString*, llvm::MDString*, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::MDString* const&, llvm::MDString* const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
137
                    const T &arg, const Ts &...args) {
555
137
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
137
557
137
    // Recurse to the next argument.
558
137
    return combine(length, buffer_ptr, buffer_end, args...);
559
137
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::MDString*, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::MDString* const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
137
                    const T &arg, const Ts &...args) {
555
137
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
137
557
137
    // Recurse to the next argument.
558
137
    return combine(length, buffer_ptr, buffer_end, args...);
559
137
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
137
                    const T &arg, const Ts &...args) {
555
137
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
137
557
137
    // Recurse to the next argument.
558
137
    return combine(length, buffer_ptr, buffer_end, args...);
559
137
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDString*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, llvm::MDString* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
1.22k
                    const T &arg, const Ts &...args) {
555
1.22k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.22k
557
1.22k
    // Recurse to the next argument.
558
1.22k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.22k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
1.22k
                    const T &arg, const Ts &...args) {
555
1.22k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.22k
557
1.22k
    // Recurse to the next argument.
558
1.22k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.22k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::MDString*, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, bool, bool, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::MDString* const&, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, bool, bool, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, bool, bool, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, llvm::Metadata*, bool, bool, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, bool, bool, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, bool, bool, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, bool, llvm::Metadata*>(unsigned long, char*, char*, bool const&, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, llvm::Metadata*>(unsigned long, char*, char*, bool const&, llvm::Metadata* const&)
Line
Count
Source
554
2.85k
                    const T &arg, const Ts &...args) {
555
2.85k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.85k
557
2.85k
    // Recurse to the next argument.
558
2.85k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.85k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
22.5k
                    const T &arg, const Ts &...args) {
555
22.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
22.5k
557
22.5k
    // Recurse to the next argument.
558
22.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
22.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, unsigned int, llvm::Metadata*, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
22.5k
                    const T &arg, const Ts &...args) {
555
22.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
22.5k
557
22.5k
    // Recurse to the next argument.
558
22.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
22.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, llvm::Metadata*, unsigned int, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, llvm::Metadata* const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
22.5k
                    const T &arg, const Ts &...args) {
555
22.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
22.5k
557
22.5k
    // Recurse to the next argument.
558
22.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
22.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, unsigned int, unsigned int>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, unsigned int const&, unsigned int const&)
Line
Count
Source
554
22.5k
                    const T &arg, const Ts &...args) {
555
22.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
22.5k
557
22.5k
    // Recurse to the next argument.
558
22.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
22.5k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::MDString*, unsigned int>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::MDString* const&, unsigned int const&)
Line
Count
Source
554
68
                    const T &arg, const Ts &...args) {
555
68
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
68
557
68
    // Recurse to the next argument.
558
68
    return combine(length, buffer_ptr, buffer_end, args...);
559
68
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, unsigned int>(unsigned long, char*, char*, llvm::MDString* const&, unsigned int const&)
Line
Count
Source
554
68
                    const T &arg, const Ts &...args) {
555
68
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
68
557
68
    // Recurse to the next argument.
558
68
    return combine(length, buffer_ptr, buffer_end, args...);
559
68
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::Metadata*, unsigned int, llvm::MDString*, llvm::MDString*, unsigned int, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::Metadata* const&, unsigned int const&, llvm::MDString* const&, llvm::MDString* const&, unsigned int const&, llvm::Metadata* const&)
Line
Count
Source
554
167
                    const T &arg, const Ts &...args) {
555
167
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
167
557
167
    // Recurse to the next argument.
558
167
    return combine(length, buffer_ptr, buffer_end, args...);
559
167
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, llvm::MDString*, llvm::MDString*, unsigned int, llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, llvm::MDString* const&, llvm::MDString* const&, unsigned int const&, llvm::Metadata* const&)
Line
Count
Source
554
167
                    const T &arg, const Ts &...args) {
555
167
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
167
557
167
    // Recurse to the next argument.
558
167
    return combine(length, buffer_ptr, buffer_end, args...);
559
167
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDString*, llvm::MDString*, unsigned int, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, llvm::MDString* const&, llvm::MDString* const&, unsigned int const&, llvm::Metadata* const&)
Line
Count
Source
554
167
                    const T &arg, const Ts &...args) {
555
167
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
167
557
167
    // Recurse to the next argument.
558
167
    return combine(length, buffer_ptr, buffer_end, args...);
559
167
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, llvm::MDString*, unsigned int, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, llvm::MDString* const&, unsigned int const&, llvm::Metadata* const&)
Line
Count
Source
554
167
                    const T &arg, const Ts &...args) {
555
167
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
167
557
167
    // Recurse to the next argument.
558
167
    return combine(length, buffer_ptr, buffer_end, args...);
559
167
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*, unsigned int, llvm::Metadata*>(unsigned long, char*, char*, llvm::MDString* const&, unsigned int const&, llvm::Metadata* const&)
Line
Count
Source
554
167
                    const T &arg, const Ts &...args) {
555
167
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
167
557
167
    // Recurse to the next argument.
558
167
    return combine(length, buffer_ptr, buffer_end, args...);
559
167
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&)
Line
Count
Source
554
167
                    const T &arg, const Ts &...args) {
555
167
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
167
557
167
    // Recurse to the next argument.
558
167
    return combine(length, buffer_ptr, buffer_end, args...);
559
167
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, unsigned int, llvm::MDString*>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&, llvm::MDString* const&)
Line
Count
Source
554
2.01k
                    const T &arg, const Ts &...args) {
555
2.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.01k
557
2.01k
    // Recurse to the next argument.
558
2.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.01k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, llvm::Metadata*, unsigned int, llvm::MDString*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&, llvm::MDString* const&)
Line
Count
Source
554
2.01k
                    const T &arg, const Ts &...args) {
555
2.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.01k
557
2.01k
    // Recurse to the next argument.
558
2.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.01k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, llvm::Metadata*, unsigned int, llvm::MDString*>(unsigned long, char*, char*, llvm::Metadata* const&, llvm::Metadata* const&, unsigned int const&, llvm::MDString* const&)
Line
Count
Source
554
2.01k
                    const T &arg, const Ts &...args) {
555
2.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.01k
557
2.01k
    // Recurse to the next argument.
558
2.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.01k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*, unsigned int, llvm::MDString*>(unsigned long, char*, char*, llvm::Metadata* const&, unsigned int const&, llvm::MDString* const&)
Line
Count
Source
554
2.01k
                    const T &arg, const Ts &...args) {
555
2.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
2.01k
557
2.01k
    // Recurse to the next argument.
558
2.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
2.01k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
4.16k
                    const T &arg, const Ts &...args) {
555
4.16k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.16k
557
4.16k
    // Recurse to the next argument.
558
4.16k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.16k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::MDString*, llvm::MDString*>(unsigned long, char*, char*, unsigned int const&, llvm::MDString* const&, llvm::MDString* const&)
Line
Count
Source
554
4.16k
                    const T &arg, const Ts &...args) {
555
4.16k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.16k
557
4.16k
    // Recurse to the next argument.
558
4.16k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.16k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
143
                    const T &arg, const Ts &...args) {
555
143
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
143
557
143
    // Recurse to the next argument.
558
143
    return combine(length, buffer_ptr, buffer_end, args...);
559
143
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Metadata*, llvm::Metadata*>(unsigned long, char*, char*, unsigned int const&, llvm::Metadata* const&, llvm::Metadata* const&)
Line
Count
Source
554
143
                    const T &arg, const Ts &...args) {
555
143
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
143
557
143
    // Recurse to the next argument.
558
143
    return combine(length, buffer_ptr, buffer_end, args...);
559
143
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::ArrayType*, unsigned int>(unsigned long, char*, char*, llvm::ArrayType* const&, unsigned int const&)
Line
Count
Source
554
60.6k
                    const T &arg, const Ts &...args) {
555
60.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
60.6k
557
60.6k
    // Recurse to the next argument.
558
60.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
60.6k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::StructType*, unsigned int>(unsigned long, char*, char*, llvm::StructType* const&, unsigned int const&)
Line
Count
Source
554
199k
                    const T &arg, const Ts &...args) {
555
199k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
199k
557
199k
    // Recurse to the next argument.
558
199k
    return combine(length, buffer_ptr, buffer_end, args...);
559
199k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::VectorType*, unsigned int>(unsigned long, char*, char*, llvm::VectorType* const&, unsigned int const&)
Line
Count
Source
554
222k
                    const T &arg, const Ts &...args) {
555
222k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
222k
557
222k
    // Recurse to the next argument.
558
222k
    return combine(length, buffer_ptr, buffer_end, args...);
559
222k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Type*, unsigned int>(unsigned long, char*, char*, llvm::Type* const&, unsigned int const&)
Line
Count
Source
554
17.2M
                    const T &arg, const Ts &...args) {
555
17.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.2M
557
17.2M
    // Recurse to the next argument.
558
17.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.2M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::PointerType*, unsigned int>(unsigned long, char*, char*, llvm::PointerType* const&, unsigned int const&)
Line
Count
Source
554
20.0k
                    const T &arg, const Ts &...args) {
555
20.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.0k
557
20.0k
    // Recurse to the next argument.
558
20.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.0k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MCSymbol const*, unsigned int, unsigned int, bool, bool, unsigned int, bool>(unsigned long, char*, char*, llvm::MCSymbol const* const&, unsigned int const&, unsigned int const&, bool const&, bool const&, unsigned int const&, bool const&)
Line
Count
Source
554
30.8k
                    const T &arg, const Ts &...args) {
555
30.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
30.8k
557
30.8k
    // Recurse to the next argument.
558
30.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
30.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, unsigned int, bool, bool, unsigned int, bool>(unsigned long, char*, char*, unsigned int const&, unsigned int const&, bool const&, bool const&, unsigned int const&, bool const&)
Line
Count
Source
554
30.8k
                    const T &arg, const Ts &...args) {
555
30.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
30.8k
557
30.8k
    // Recurse to the next argument.
558
30.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
30.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, bool, bool, unsigned int, bool>(unsigned long, char*, char*, unsigned int const&, bool const&, bool const&, unsigned int const&, bool const&)
Line
Count
Source
554
30.8k
                    const T &arg, const Ts &...args) {
555
30.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
30.8k
557
30.8k
    // Recurse to the next argument.
558
30.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
30.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, bool, unsigned int, bool>(unsigned long, char*, char*, bool const&, bool const&, unsigned int const&, bool const&)
Line
Count
Source
554
30.8k
                    const T &arg, const Ts &...args) {
555
30.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
30.8k
557
30.8k
    // Recurse to the next argument.
558
30.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
30.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool, unsigned int, bool>(unsigned long, char*, char*, bool const&, unsigned int const&, bool const&)
Line
Count
Source
554
30.8k
                    const T &arg, const Ts &...args) {
555
30.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
30.8k
557
30.8k
    // Recurse to the next argument.
558
30.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
30.8k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Instruction::BinaryOps, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, llvm::Instruction::BinaryOps const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
7.49M
                    const T &arg, const Ts &...args) {
555
7.49M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
7.49M
557
7.49M
    // Recurse to the next argument.
558
7.49M
    return combine(length, buffer_ptr, buffer_end, args...);
559
7.49M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Value*, llvm::Value*>(unsigned long, char*, char*, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
20.6M
                    const T &arg, const Ts &...args) {
555
20.6M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.6M
557
20.6M
    // Recurse to the next argument.
558
20.6M
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.6M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Value*>(unsigned long, char*, char*, llvm::Value* const&)
Line
Count
Source
554
29.0M
                    const T &arg, const Ts &...args) {
555
29.0M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
29.0M
557
29.0M
    // Recurse to the next argument.
558
29.0M
    return combine(length, buffer_ptr, buffer_end, args...);
559
29.0M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, unsigned int const&, llvm::CmpInst::Predicate const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
12.5M
                    const T &arg, const Ts &...args) {
555
12.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
12.5M
557
12.5M
    // Recurse to the next argument.
558
12.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
12.5M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::CmpInst::Predicate, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, llvm::CmpInst::Predicate const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
12.5M
                    const T &arg, const Ts &...args) {
555
12.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
12.5M
557
12.5M
    // Recurse to the next argument.
558
12.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
12.5M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::SelectPatternFlavor, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, unsigned int const&, llvm::SelectPatternFlavor const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
232k
                    const T &arg, const Ts &...args) {
555
232k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
232k
557
232k
    // Recurse to the next argument.
558
232k
    return combine(length, buffer_ptr, buffer_end, args...);
559
232k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::SelectPatternFlavor, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, llvm::SelectPatternFlavor const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
232k
                    const T &arg, const Ts &...args) {
555
232k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
232k
557
232k
    // Recurse to the next argument.
558
232k
    return combine(length, buffer_ptr, buffer_end, args...);
559
232k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::Value*, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, unsigned int const&, llvm::Value* const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
59.3k
                    const T &arg, const Ts &...args) {
555
59.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
59.3k
557
59.3k
    // Recurse to the next argument.
558
59.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
59.3k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Value*, llvm::Value*, llvm::Value*>(unsigned long, char*, char*, llvm::Value* const&, llvm::Value* const&, llvm::Value* const&)
Line
Count
Source
554
363k
                    const T &arg, const Ts &...args) {
555
363k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
363k
557
363k
    // Recurse to the next ar