Coverage Report

Created: 2019-07-24 05:18

/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
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.26G
  hash_code(size_t value) : value(value) {}
81
82
  /// Convert the hash code to its numerical value for use.
83
1.16G
  /*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
98.8k
  friend bool operator!=(const hash_code &lhs, const hash_code &rhs) {
89
98.8k
    return lhs.value != rhs.value;
90
98.8k
  }
91
92
  /// Allow a hash_code to be directly run through hash_value.
93
101M
  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.53G
inline uint64_t fetch64(const char *p) {
145
4.53G
  uint64_t result;
146
4.53G
  memcpy(&result, p, sizeof(result));
147
4.53G
  if (sys::IsBigEndianHost)
148
0
    sys::swapByteOrder(result);
149
4.53G
  return result;
150
4.53G
}
151
152
680M
inline uint32_t fetch32(const char *p) {
153
680M
  uint32_t result;
154
680M
  memcpy(&result, p, sizeof(result));
155
680M
  if (sys::IsBigEndianHost)
156
0
    sys::swapByteOrder(result);
157
680M
  return result;
158
680M
}
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
3.11G
inline uint64_t rotate(uint64_t val, size_t shift) {
170
3.11G
  // Avoid shifting by 64: doing so yields an undefined result.
171
3.11G
  return shift == 0 ? 
val0
: ((val >> shift) | (val << (64 - shift)));
172
3.11G
}
173
174
289M
inline uint64_t shift_mix(uint64_t val) {
175
289M
  return val ^ (val >> 47);
176
289M
}
177
178
1.25G
inline uint64_t hash_16_bytes(uint64_t low, uint64_t high) {
179
1.25G
  // Murmur-inspired hashing.
180
1.25G
  const uint64_t kMul = 0x9ddfea08eb382d69ULL;
181
1.25G
  uint64_t a = (low ^ high) * kMul;
182
1.25G
  a ^= (a >> 47);
183
1.25G
  uint64_t b = (high ^ a) * kMul;
184
1.25G
  b ^= (b >> 47);
185
1.25G
  b *= kMul;
186
1.25G
  return b;
187
1.25G
}
188
189
1.57M
inline uint64_t hash_1to3_bytes(const char *s, size_t len, uint64_t seed) {
190
1.57M
  uint8_t a = s[0];
191
1.57M
  uint8_t b = s[len >> 1];
192
1.57M
  uint8_t c = s[len - 1];
193
1.57M
  uint32_t y = static_cast<uint32_t>(a) + (static_cast<uint32_t>(b) << 8);
194
1.57M
  uint32_t z = static_cast<uint32_t>(len) + (static_cast<uint32_t>(c) << 2);
195
1.57M
  return shift_mix(y * k2 ^ z * k3 ^ seed) * k2;
196
1.57M
}
197
198
340M
inline uint64_t hash_4to8_bytes(const char *s, size_t len, uint64_t seed) {
199
340M
  uint64_t a = fetch32(s);
200
340M
  return hash_16_bytes(len + (a << 3), seed ^ fetch32(s + len - 4));
201
340M
}
202
203
356M
inline uint64_t hash_9to16_bytes(const char *s, size_t len, uint64_t seed) {
204
356M
  uint64_t a = fetch64(s);
205
356M
  uint64_t b = fetch64(s + len - 8);
206
356M
  return hash_16_bytes(seed ^ a, rotate(b + len, len)) ^ b;
207
356M
}
208
209
420M
inline uint64_t hash_17to32_bytes(const char *s, size_t len, uint64_t seed) {
210
420M
  uint64_t a = fetch64(s) * k1;
211
420M
  uint64_t b = fetch64(s + 8);
212
420M
  uint64_t c = fetch64(s + len - 8) * k2;
213
420M
  uint64_t d = fetch64(s + len - 16) * k0;
214
420M
  return hash_16_bytes(rotate(a - b, 43) + rotate(c ^ seed, 30) + d,
215
420M
                       a + rotate(b ^ k3, 20) - c + len + seed);
216
420M
}
217
218
103M
inline uint64_t hash_33to64_bytes(const char *s, size_t len, uint64_t seed) {
219
103M
  uint64_t z = fetch64(s + 24);
220
103M
  uint64_t a = fetch64(s) + (len + fetch64(s + len - 16)) * k0;
221
103M
  uint64_t b = rotate(a + z, 52);
222
103M
  uint64_t c = rotate(a, 37);
223
103M
  a += fetch64(s + 8);
224
103M
  c += rotate(a, 7);
225
103M
  a += fetch64(s + 16);
226
103M
  uint64_t vf = a + z;
227
103M
  uint64_t vs = b + rotate(a, 31) + c;
228
103M
  a = fetch64(s + 16) + fetch64(s + len - 32);
229
103M
  z = fetch64(s + len - 8);
230
103M
  b = rotate(a + z, 52);
231
103M
  c = rotate(a, 37);
232
103M
  a += fetch64(s + len - 24);
233
103M
  c += rotate(a, 7);
234
103M
  a += fetch64(s + len - 16);
235
103M
  uint64_t wf = a + z;
236
103M
  uint64_t ws = b + rotate(a, 31) + c;
237
103M
  uint64_t r = shift_mix((vf + ws) * k2 + (wf + vs) * k0);
238
103M
  return shift_mix((seed ^ (r * k0)) + vs) * k2;
239
103M
}
240
241
1.24G
inline uint64_t hash_short(const char *s, size_t length, uint64_t seed) {
242
1.24G
  if (length >= 4 && 
length <= 81.21G
)
243
340M
    return hash_4to8_bytes(s, length, seed);
244
900M
  if (length > 8 && 
length <= 16879M
)
245
356M
    return hash_9to16_bytes(s, length, seed);
246
544M
  if (length > 16 && 
length <= 32523M
)
247
420M
    return hash_17to32_bytes(s, length, seed);
248
124M
  if (length > 32)
249
103M
    return hash_33to64_bytes(s, length, seed);
250
21.1M
  if (length != 0)
251
1.57M
    return hash_1to3_bytes(s, length, seed);
252
19.5M
253
19.5M
  return k2 ^ seed;
254
19.5M
}
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
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
26.9M
  static hash_state create(const char *s, uint64_t seed) {
266
26.9M
    hash_state state = {
267
26.9M
      0, seed, hash_16_bytes(seed, k1), rotate(seed ^ k1, 49),
268
26.9M
      seed * k1, shift_mix(seed), 0 };
269
26.9M
    state.h6 = hash_16_bytes(state.h4, state.h5);
270
26.9M
    state.mix(s);
271
26.9M
    return state;
272
26.9M
  }
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
184M
  static void mix_32_bytes(const char *s, uint64_t &a, uint64_t &b) {
277
184M
    a += fetch64(s);
278
184M
    uint64_t c = fetch64(s + 24);
279
184M
    b = rotate(b + a + c, 21);
280
184M
    uint64_t d = a;
281
184M
    a += fetch64(s + 8) + fetch64(s + 16);
282
184M
    b += rotate(a, 44) + d;
283
184M
    a += c;
284
184M
  }
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
92.0M
  void mix(const char *s) {
290
92.0M
    h0 = rotate(h0 + h1 + h3 + fetch64(s + 8), 37) * k1;
291
92.0M
    h1 = rotate(h1 + h4 + fetch64(s + 48), 42) * k1;
292
92.0M
    h0 ^= h6;
293
92.0M
    h1 += h3 + fetch64(s + 40);
294
92.0M
    h2 = rotate(h2 + h5, 33) * k1;
295
92.0M
    h3 = h4 * k1;
296
92.0M
    h4 = h0 + h5;
297
92.0M
    mix_32_bytes(s, h3, h4);
298
92.0M
    h5 = h2 + h6;
299
92.0M
    h6 = h1 + fetch64(s + 16);
300
92.0M
    mix_32_bytes(s + 32, h5, h6);
301
92.0M
    std::swap(h2, h0);
302
92.0M
  }
303
304
  /// Compute the final 64-bit hash code value based on the current
305
  /// state and the length of bytes hashed.
306
26.9M
  uint64_t finalize(size_t length) {
307
26.9M
    return hash_16_bytes(hash_16_bytes(h3, h5) + shift_mix(h1) * k1 + h2,
308
26.9M
                         hash_16_bytes(h4, h6) + shift_mix(length) * k1 + h0);
309
26.9M
  }
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.26G
inline uint64_t get_execution_seed() {
321
1.26G
  // FIXME: This needs to be a per-execution seed. This is just a placeholder
322
1.26G
  // implementation. Switching to a per-execution seed is likely to flush out
323
1.26G
  // instability bugs and so will happen as its own commit.
324
1.26G
  //
325
1.26G
  // However, if there is a fixed seed override set the first time this is
326
1.26G
  // called, return that instead of the per-execution seed.
327
1.26G
  const uint64_t seed_prime = 0xff51afd7ed558ccdULL;
328
1.26G
  static uint64_t seed = fixed_seed_override ? 
fixed_seed_override0
: seed_prime;
329
1.26G
  return seed;
330
1.26G
}
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.05G
get_hashable_data(const T &value) {
365
1.05G
  return value;
366
1.05G
}
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
289M
get_hashable_data(const T &value) {
365
289M
  return value;
366
289M
}
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
75.4M
get_hashable_data(const T &value) {
365
75.4M
  return value;
366
75.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
969k
get_hashable_data(const T &value) {
365
969k
  return value;
366
969k
}
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
3
get_hashable_data(const T &value) {
365
3
  return value;
366
3
}
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
6.10M
get_hashable_data(const T &value) {
365
6.10M
  return value;
366
6.10M
}
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
516
get_hashable_data(const T &value) {
365
516
  return value;
366
516
}
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
301
get_hashable_data(const T &value) {
365
301
  return value;
366
301
}
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.75M
get_hashable_data(const T &value) {
365
1.75M
  return value;
366
1.75M
}
std::__1::enable_if<is_hashable_data<llvm::DILocalVariable const*>::value, llvm::DILocalVariable const*>::type llvm::hashing::detail::get_hashable_data<llvm::DILocalVariable const*>(llvm::DILocalVariable const* const&)
Line
Count
Source
364
19.6k
get_hashable_data(const T &value) {
365
19.6k
  return value;
366
19.6k
}
std::__1::enable_if<is_hashable_data<llvm::DILocation const*>::value, llvm::DILocation const*>::type llvm::hashing::detail::get_hashable_data<llvm::DILocation const*>(llvm::DILocation const* const&)
Line
Count
Source
364
19.6k
get_hashable_data(const T &value) {
365
19.6k
  return value;
366
19.6k
}
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
81.0M
get_hashable_data(const T &value) {
365
81.0M
  return value;
366
81.0M
}
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
31.6M
get_hashable_data(const T &value) {
365
31.6M
  return value;
366
31.6M
}
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
24
get_hashable_data(const T &value) {
365
24
  return value;
366
24
}
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
1.01k
get_hashable_data(const T &value) {
365
1.01k
  return value;
366
1.01k
}
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
21.0k
get_hashable_data(const T &value) {
365
21.0k
  return value;
366
21.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
21.0k
get_hashable_data(const T &value) {
365
21.0k
  return value;
366
21.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
37.5M
get_hashable_data(const T &value) {
365
37.5M
  return value;
366
37.5M
}
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.5M
get_hashable_data(const T &value) {
365
17.5M
  return value;
366
17.5M
}
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.85M
get_hashable_data(const T &value) {
365
7.85M
  return value;
366
7.85M
}
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
32.9M
get_hashable_data(const T &value) {
365
32.9M
  return value;
366
32.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
233k
get_hashable_data(const T &value) {
365
233k
  return value;
366
233k
}
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
240M
get_hashable_data(const T &value) {
365
240M
  return value;
366
240M
}
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
61.9k
get_hashable_data(const T &value) {
365
61.9k
  return value;
366
61.9k
}
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
207k
get_hashable_data(const T &value) {
365
207k
  return value;
366
207k
}
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
231k
get_hashable_data(const T &value) {
365
231k
  return value;
366
231k
}
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.6M
get_hashable_data(const T &value) {
365
47.6M
  return value;
366
47.6M
}
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
21.0k
get_hashable_data(const T &value) {
365
21.0k
  return value;
366
21.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
475k
get_hashable_data(const T &value) {
365
475k
  return value;
366
475k
}
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
25.5k
get_hashable_data(const T &value) {
365
25.5k
  return value;
366
25.5k
}
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.53M
get_hashable_data(const T &value) {
365
7.53M
  return value;
366
7.53M
}
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
132M
get_hashable_data(const T &value) {
365
132M
  return value;
366
132M
}
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.9M
get_hashable_data(const T &value) {
365
12.9M
  return value;
366
12.9M
}
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
233k
get_hashable_data(const T &value) {
365
233k
  return value;
366
233k
}
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.46M
get_hashable_data(const T &value) {
365
8.46M
  return value;
366
8.46M
}
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.15k
get_hashable_data(const T &value) {
365
1.15k
  return value;
366
1.15k
}
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
485
get_hashable_data(const T &value) {
365
485
  return value;
366
485
}
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<short>::value, short>::type llvm::hashing::detail::get_hashable_data<short>(short const&)
Line
Count
Source
364
999k
get_hashable_data(const T &value) {
365
999k
  return value;
366
999k
}
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
707k
get_hashable_data(const T &value) {
365
707k
  return value;
366
707k
}
std::__1::enable_if<is_hashable_data<void*>::value, void*>::type llvm::hashing::detail::get_hashable_data<void*>(void* const&)
Line
Count
Source
364
116k
get_hashable_data(const T &value) {
365
116k
  return value;
366
116k
}
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<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
}
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.4k
get_hashable_data(const T &value) {
365
62.4k
  return value;
366
62.4k
}
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.2M
get_hashable_data(const T &value) {
365
16.2M
  return value;
366
16.2M
}
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
}
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
101M
get_hashable_data(const T &value) {
373
101M
  using ::llvm::hash_value;
374
101M
  return hash_value(value);
375
101M
}
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
101M
get_hashable_data(const T &value) {
373
101M
  using ::llvm::hash_value;
374
101M
  return hash_value(value);
375
101M
}
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
337k
get_hashable_data(const T &value) {
373
337k
  using ::llvm::hash_value;
374
337k
  return hash_value(value);
375
337k
}
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
49.7k
get_hashable_data(const T &value) {
373
49.7k
  using ::llvm::hash_value;
374
49.7k
  return hash_value(value);
375
49.7k
}
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.7k
get_hashable_data(const T &value) {
373
18.7k
  using ::llvm::hash_value;
374
18.7k
  return hash_value(value);
375
18.7k
}
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
}
std::__1::enable_if<!(is_hashable_data<clang::APValue::LValueBase>::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<clang::APValue::LValueBase>(clang::APValue::LValueBase const&)
Line
Count
Source
372
69.6k
get_hashable_data(const T &value) {
373
69.6k
  using ::llvm::hash_value;
374
69.6k
  return hash_value(value);
375
69.6k
}
std::__1::enable_if<!(is_hashable_data<llvm::ArrayRef<clang::APValue::LValuePathEntry> >::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<llvm::ArrayRef<clang::APValue::LValuePathEntry> >(llvm::ArrayRef<clang::APValue::LValuePathEntry> const&)
Line
Count
Source
372
69.6k
get_hashable_data(const T &value) {
373
69.6k
  using ::llvm::hash_value;
374
69.6k
  return hash_value(value);
375
69.6k
}
std::__1::enable_if<!(is_hashable_data<clang::APValue::LValuePathEntry>::value), unsigned long>::type llvm::hashing::detail::get_hashable_data<clang::APValue::LValuePathEntry>(clang::APValue::LValuePathEntry const&)
Line
Count
Source
372
19.9k
get_hashable_data(const T &value) {
373
19.9k
  using ::llvm::hash_value;
374
19.9k
  return hash_value(value);
375
19.9k
}
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.22G
                       size_t offset = 0) {
387
1.22G
  size_t store_size = sizeof(value) - offset;
388
1.22G
  if (buffer_ptr + store_size > buffer_end)
389
8.66M
    return false;
390
1.21G
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.21G
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.21G
  buffer_ptr += store_size;
393
1.21G
  return true;
394
1.21G
}
bool llvm::hashing::detail::store_and_advance<unsigned int>(char*&, char*, unsigned int const&, unsigned long)
Line
Count
Source
386
289M
                       size_t offset = 0) {
387
289M
  size_t store_size = sizeof(value) - offset;
388
289M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
289M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
289M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
289M
  buffer_ptr += store_size;
393
289M
  return true;
394
289M
}
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<unsigned long>(char*&, char*, unsigned long const&, unsigned long)
Line
Count
Source
386
101M
                       size_t offset = 0) {
387
101M
  size_t store_size = sizeof(value) - offset;
388
101M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
101M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
101M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
101M
  buffer_ptr += store_size;
393
101M
  return true;
394
101M
}
bool llvm::hashing::detail::store_and_advance<bool>(char*&, char*, bool const&, unsigned long)
Line
Count
Source
386
75.4M
                       size_t offset = 0) {
387
75.4M
  size_t store_size = sizeof(value) - offset;
388
75.4M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
75.4M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
75.4M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
75.4M
  buffer_ptr += store_size;
393
75.4M
  return true;
394
75.4M
}
bool llvm::hashing::detail::store_and_advance<int>(char*&, char*, int const&, unsigned long)
Line
Count
Source
386
969k
                       size_t offset = 0) {
387
969k
  size_t store_size = sizeof(value) - offset;
388
969k
  if (buffer_ptr + store_size > buffer_end)
389
4
    return false;
390
969k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
969k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
969k
  buffer_ptr += store_size;
393
969k
  return true;
394
969k
}
bool llvm::hashing::detail::store_and_advance<char const*>(char*&, char*, char const* const&, unsigned long)
Line
Count
Source
386
3
                       size_t offset = 0) {
387
3
  size_t store_size = sizeof(value) - offset;
388
3
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
3
  const char *value_data = reinterpret_cast<const char *>(&value);
391
3
  memcpy(buffer_ptr, value_data + offset, store_size);
392
3
  buffer_ptr += store_size;
393
3
  return true;
394
3
}
bool llvm::hashing::detail::store_and_advance<llvm::GlobalValue const*>(char*&, char*, llvm::GlobalValue const* const&, unsigned long)
Line
Count
Source
386
6.10M
                       size_t offset = 0) {
387
6.10M
  size_t store_size = sizeof(value) - offset;
388
6.10M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
6.10M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
6.10M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
6.10M
  buffer_ptr += store_size;
393
6.10M
  return true;
394
6.10M
}
bool llvm::hashing::detail::store_and_advance<llvm::BlockAddress const*>(char*&, char*, llvm::BlockAddress const* const&, unsigned long)
Line
Count
Source
386
516
                       size_t offset = 0) {
387
516
  size_t store_size = sizeof(value) - offset;
388
516
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
516
  const char *value_data = reinterpret_cast<const char *>(&value);
391
516
  memcpy(buffer_ptr, value_data + offset, store_size);
392
516
  buffer_ptr += store_size;
393
516
  return true;
394
516
}
bool llvm::hashing::detail::store_and_advance<llvm::MCSymbol*>(char*&, char*, llvm::MCSymbol* const&, unsigned long)
Line
Count
Source
386
301
                       size_t offset = 0) {
387
301
  size_t store_size = sizeof(value) - offset;
388
301
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
301
  const char *value_data = reinterpret_cast<const char *>(&value);
391
301
  memcpy(buffer_ptr, value_data + offset, store_size);
392
301
  buffer_ptr += store_size;
393
301
  return true;
394
301
}
bool llvm::hashing::detail::store_and_advance<llvm::MachineBasicBlock*>(char*&, char*, llvm::MachineBasicBlock* const&, unsigned long)
Line
Count
Source
386
1.75M
                       size_t offset = 0) {
387
1.75M
  size_t store_size = sizeof(value) - offset;
388
1.75M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1.75M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.75M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.75M
  buffer_ptr += store_size;
393
1.75M
  return true;
394
1.75M
}
bool llvm::hashing::detail::store_and_advance<llvm::DILocalVariable const*>(char*&, char*, llvm::DILocalVariable const* const&, unsigned long)
Line
Count
Source
386
19.6k
                       size_t offset = 0) {
387
19.6k
  size_t store_size = sizeof(value) - offset;
388
19.6k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
19.6k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
19.6k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
19.6k
  buffer_ptr += store_size;
393
19.6k
  return true;
394
19.6k
}
bool llvm::hashing::detail::store_and_advance<llvm::DILocation const*>(char*&, char*, llvm::DILocation const* const&, unsigned long)
Line
Count
Source
386
19.6k
                       size_t offset = 0) {
387
19.6k
  size_t store_size = sizeof(value) - offset;
388
19.6k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
19.6k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
19.6k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
19.6k
  buffer_ptr += store_size;
393
19.6k
  return true;
394
19.6k
}
bool llvm::hashing::detail::store_and_advance<llvm::MachineOperand::MachineOperandType>(char*&, char*, llvm::MachineOperand::MachineOperandType const&, unsigned long)
Line
Count
Source
386
81.0M
                       size_t offset = 0) {
387
81.0M
  size_t store_size = sizeof(value) - offset;
388
81.0M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
81.0M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
81.0M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
81.0M
  buffer_ptr += store_size;
393
81.0M
  return true;
394
81.0M
}
bool llvm::hashing::detail::store_and_advance<long long>(char*&, char*, long long const&, unsigned long)
Line
Count
Source
386
31.6M
                       size_t offset = 0) {
387
31.6M
  size_t store_size = sizeof(value) - offset;
388
31.6M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
31.6M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
31.6M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
31.6M
  buffer_ptr += store_size;
393
31.6M
  return true;
394
31.6M
}
bool llvm::hashing::detail::store_and_advance<llvm::ConstantInt const*>(char*&, char*, llvm::ConstantInt const* const&, unsigned long)
Line
Count
Source
386
24
                       size_t offset = 0) {
387
24
  size_t store_size = sizeof(value) - offset;
388
24
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
24
  const char *value_data = reinterpret_cast<const char *>(&value);
391
24
  memcpy(buffer_ptr, value_data + offset, store_size);
392
24
  buffer_ptr += store_size;
393
24
  return true;
394
24
}
bool llvm::hashing::detail::store_and_advance<llvm::ConstantFP const*>(char*&, char*, llvm::ConstantFP const* const&, unsigned long)
Line
Count
Source
386
1.01k
                       size_t offset = 0) {
387
1.01k
  size_t store_size = sizeof(value) - offset;
388
1.01k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1.01k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.01k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.01k
  buffer_ptr += store_size;
393
1.01k
  return true;
394
1.01k
}
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
21.0k
                       size_t offset = 0) {
387
21.0k
  size_t store_size = sizeof(value) - offset;
388
21.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
21.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
21.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
21.0k
  buffer_ptr += store_size;
393
21.0k
  return true;
394
21.0k
}
bool llvm::hashing::detail::store_and_advance<llvm::FunctionType*>(char*&, char*, llvm::FunctionType* const&, unsigned long)
Line
Count
Source
386
21.0k
                       size_t offset = 0) {
387
21.0k
  size_t store_size = sizeof(value) - offset;
388
21.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
21.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
21.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
21.0k
  buffer_ptr += store_size;
393
21.0k
  return true;
394
21.0k
}
bool llvm::hashing::detail::store_and_advance<unsigned char>(char*&, char*, unsigned char const&, unsigned long)
Line
Count
Source
386
37.5M
                       size_t offset = 0) {
387
37.5M
  size_t store_size = sizeof(value) - offset;
388
37.5M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
37.5M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
37.5M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
37.5M
  buffer_ptr += store_size;
393
37.5M
  return true;
394
37.5M
}
bool llvm::hashing::detail::store_and_advance<unsigned short>(char*&, char*, unsigned short const&, unsigned long)
Line
Count
Source
386
17.5M
                       size_t offset = 0) {
387
17.5M
  size_t store_size = sizeof(value) - offset;
388
17.5M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
17.5M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
17.5M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
17.5M
  buffer_ptr += store_size;
393
17.5M
  return true;
394
17.5M
}
bool llvm::hashing::detail::store_and_advance<llvm::Type const*>(char*&, char*, llvm::Type const* const&, unsigned long)
Line
Count
Source
386
7.85M
                       size_t offset = 0) {
387
7.85M
  size_t store_size = sizeof(value) - offset;
388
7.85M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
7.85M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
7.85M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
7.85M
  buffer_ptr += store_size;
393
7.85M
  return true;
394
7.85M
}
bool llvm::hashing::detail::store_and_advance<llvm::Metadata*>(char*&, char*, llvm::Metadata* const&, unsigned long)
Line
Count
Source
386
32.9M
                       size_t offset = 0) {
387
32.9M
  size_t store_size = sizeof(value) - offset;
388
32.9M
  if (buffer_ptr + store_size > buffer_end)
389
0
    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<llvm::MDString*>(char*&, char*, llvm::MDString* const&, unsigned long)
Line
Count
Source
386
233k
                       size_t offset = 0) {
387
233k
  size_t store_size = sizeof(value) - offset;
388
233k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
233k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
233k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
233k
  buffer_ptr += store_size;
393
233k
  return true;
394
233k
}
bool llvm::hashing::detail::store_and_advance<unsigned long long>(char*&, char*, unsigned long long const&, unsigned long)
Line
Count
Source
386
240M
                       size_t offset = 0) {
387
240M
  size_t store_size = sizeof(value) - offset;
388
240M
  if (buffer_ptr + store_size > buffer_end)
389
2
    return false;
390
240M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
240M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
240M
  buffer_ptr += store_size;
393
240M
  return true;
394
240M
}
bool llvm::hashing::detail::store_and_advance<llvm::ArrayType*>(char*&, char*, llvm::ArrayType* const&, unsigned long)
Line
Count
Source
386
61.9k
                       size_t offset = 0) {
387
61.9k
  size_t store_size = sizeof(value) - offset;
388
61.9k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
61.9k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
61.9k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
61.9k
  buffer_ptr += store_size;
393
61.9k
  return true;
394
61.9k
}
bool llvm::hashing::detail::store_and_advance<llvm::StructType*>(char*&, char*, llvm::StructType* const&, unsigned long)
Line
Count
Source
386
207k
                       size_t offset = 0) {
387
207k
  size_t store_size = sizeof(value) - offset;
388
207k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
207k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
207k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
207k
  buffer_ptr += store_size;
393
207k
  return true;
394
207k
}
bool llvm::hashing::detail::store_and_advance<llvm::VectorType*>(char*&, char*, llvm::VectorType* const&, unsigned long)
Line
Count
Source
386
231k
                       size_t offset = 0) {
387
231k
  size_t store_size = sizeof(value) - offset;
388
231k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
231k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
231k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
231k
  buffer_ptr += store_size;
393
231k
  return true;
394
231k
}
bool llvm::hashing::detail::store_and_advance<llvm::Type*>(char*&, char*, llvm::Type* const&, unsigned long)
Line
Count
Source
386
47.6M
                       size_t offset = 0) {
387
47.6M
  size_t store_size = sizeof(value) - offset;
388
47.6M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
47.6M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
47.6M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
47.6M
  buffer_ptr += store_size;
393
47.6M
  return true;
394
47.6M
}
bool llvm::hashing::detail::store_and_advance<llvm::PointerType*>(char*&, char*, llvm::PointerType* const&, unsigned long)
Line
Count
Source
386
21.0k
                       size_t offset = 0) {
387
21.0k
  size_t store_size = sizeof(value) - offset;
388
21.0k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
21.0k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
21.0k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
21.0k
  buffer_ptr += store_size;
393
21.0k
  return true;
394
21.0k
}
bool llvm::hashing::detail::store_and_advance<llvm::Metadata const*>(char*&, char*, llvm::Metadata const* const&, unsigned long)
Line
Count
Source
386
73.5M
                       size_t offset = 0) {
387
73.5M
  size_t store_size = sizeof(value) - offset;
388
73.5M
  if (buffer_ptr + store_size > buffer_end)
389
8.14M
    return false;
390
65.4M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
65.4M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
65.4M
  buffer_ptr += store_size;
393
65.4M
  return true;
394
65.4M
}
bool llvm::hashing::detail::store_and_advance<char>(char*&, char*, char const&, unsigned long)
Line
Count
Source
386
475k
                       size_t offset = 0) {
387
475k
  size_t store_size = sizeof(value) - offset;
388
475k
  if (buffer_ptr + store_size > buffer_end)
389
3.94k
    return false;
390
471k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
471k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
471k
  buffer_ptr += store_size;
393
471k
  return true;
394
471k
}
bool llvm::hashing::detail::store_and_advance<llvm::MCSymbol const*>(char*&, char*, llvm::MCSymbol const* const&, unsigned long)
Line
Count
Source
386
25.5k
                       size_t offset = 0) {
387
25.5k
  size_t store_size = sizeof(value) - offset;
388
25.5k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
25.5k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
25.5k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
25.5k
  buffer_ptr += store_size;
393
25.5k
  return true;
394
25.5k
}
bool llvm::hashing::detail::store_and_advance<llvm::Instruction::BinaryOps>(char*&, char*, llvm::Instruction::BinaryOps const&, unsigned long)
Line
Count
Source
386
7.53M
                       size_t offset = 0) {
387
7.53M
  size_t store_size = sizeof(value) - offset;
388
7.53M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
7.53M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
7.53M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
7.53M
  buffer_ptr += store_size;
393
7.53M
  return true;
394
7.53M
}
bool llvm::hashing::detail::store_and_advance<llvm::Value*>(char*&, char*, llvm::Value* const&, unsigned long)
Line
Count
Source
386
132M
                       size_t offset = 0) {
387
132M
  size_t store_size = sizeof(value) - offset;
388
132M
  if (buffer_ptr + store_size > buffer_end)
389
514k
    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::CmpInst::Predicate>(char*&, char*, llvm::CmpInst::Predicate const&, unsigned long)
Line
Count
Source
386
12.9M
                       size_t offset = 0) {
387
12.9M
  size_t store_size = sizeof(value) - offset;
388
12.9M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
12.9M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
12.9M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
12.9M
  buffer_ptr += store_size;
393
12.9M
  return true;
394
12.9M
}
bool llvm::hashing::detail::store_and_advance<llvm::SelectPatternFlavor>(char*&, char*, llvm::SelectPatternFlavor const&, unsigned long)
Line
Count
Source
386
233k
                       size_t offset = 0) {
387
233k
  size_t store_size = sizeof(value) - offset;
388
233k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
233k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
233k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
233k
  buffer_ptr += store_size;
393
233k
  return true;
394
233k
}
bool llvm::hashing::detail::store_and_advance<llvm::Instruction::CastOps>(char*&, char*, llvm::Instruction::CastOps const&, unsigned long)
Line
Count
Source
386
8.46M
                       size_t offset = 0) {
387
8.46M
  size_t store_size = sizeof(value) - offset;
388
8.46M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
8.46M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
8.46M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
8.46M
  buffer_ptr += store_size;
393
8.46M
  return true;
394
8.46M
}
bool llvm::hashing::detail::store_and_advance<llvm::MemoryAccess const*>(char*&, char*, llvm::MemoryAccess const* const&, unsigned long)
Line
Count
Source
386
1.15k
                       size_t offset = 0) {
387
1.15k
  size_t store_size = sizeof(value) - offset;
388
1.15k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
1.15k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
1.15k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
1.15k
  buffer_ptr += store_size;
393
1.15k
  return true;
394
1.15k
}
bool llvm::hashing::detail::store_and_advance<llvm::Constant*>(char*&, char*, llvm::Constant* const&, unsigned long)
Line
Count
Source
386
485
                       size_t offset = 0) {
387
485
  size_t store_size = sizeof(value) - offset;
388
485
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
485
  const char *value_data = reinterpret_cast<const char *>(&value);
391
485
  memcpy(buffer_ptr, value_data + offset, store_size);
392
485
  buffer_ptr += store_size;
393
485
  return true;
394
485
}
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<short>(char*&, char*, short const&, unsigned long)
Line
Count
Source
386
999k
                       size_t offset = 0) {
387
999k
  size_t store_size = sizeof(value) - offset;
388
999k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
999k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
999k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
999k
  buffer_ptr += store_size;
393
999k
  return true;
394
999k
}
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
707k
                       size_t offset = 0) {
387
707k
  size_t store_size = sizeof(value) - offset;
388
707k
  if (buffer_ptr + store_size > buffer_end)
389
744
    return false;
390
706k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
706k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
706k
  buffer_ptr += store_size;
393
706k
  return true;
394
706k
}
bool llvm::hashing::detail::store_and_advance<void*>(char*&, char*, void* const&, unsigned long)
Line
Count
Source
386
116k
                       size_t offset = 0) {
387
116k
  size_t store_size = sizeof(value) - offset;
388
116k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
116k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
116k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
116k
  buffer_ptr += store_size;
393
116k
  return true;
394
116k
}
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<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
}
bool llvm::hashing::detail::store_and_advance<long>(char*&, char*, long const&, unsigned long)
Line
Count
Source
386
62.4k
                       size_t offset = 0) {
387
62.4k
  size_t store_size = sizeof(value) - offset;
388
62.4k
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
62.4k
  const char *value_data = reinterpret_cast<const char *>(&value);
391
62.4k
  memcpy(buffer_ptr, value_data + offset, store_size);
392
62.4k
  buffer_ptr += store_size;
393
62.4k
  return true;
394
62.4k
}
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.2M
                       size_t offset = 0) {
387
16.2M
  size_t store_size = sizeof(value) - offset;
388
16.2M
  if (buffer_ptr + store_size > buffer_end)
389
0
    return false;
390
16.2M
  const char *value_data = reinterpret_cast<const char *>(&value);
391
16.2M
  memcpy(buffer_ptr, value_data + offset, store_size);
392
16.2M
  buffer_ptr += store_size;
393
16.2M
  return true;
394
16.2M
}
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
}
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.2M
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
26.2M
  const uint64_t seed = get_execution_seed();
404
26.2M
  char buffer[64], *buffer_ptr = buffer;
405
26.2M
  char *const buffer_end = std::end(buffer);
406
105M
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
79.8M
                                            get_hashable_data(*first)))
408
79.4M
    ++first;
409
26.2M
  if (first == last)
410
25.9M
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
394k
  assert(buffer_ptr == buffer_end);
412
394k
413
394k
  hash_state state = state.create(buffer, seed);
414
394k
  size_t length = 64;
415
9.06M
  while (first != last) {
416
8.66M
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
8.66M
    // when only a partial 64-byte chunk is left.
418
8.66M
    buffer_ptr = buffer;
419
76.4M
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
76.0M
                                              get_hashable_data(*first)))
421
67.7M
      ++first;
422
8.66M
423
8.66M
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
8.66M
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
8.66M
    // have a contiguous byte sequence, and we want to emulate that here.
426
8.66M
    std::rotate(buffer, buffer_ptr, buffer_end);
427
8.66M
428
8.66M
    // Mix this chunk into the current state.
429
8.66M
    state.mix(buffer);
430
8.66M
    length += buffer_ptr - buffer;
431
8.66M
  };
432
394k
433
394k
  return state.finalize(length);
434
394k
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<llvm::MDOperand const*>(llvm::MDOperand const*, llvm::MDOperand const*)
Line
Count
Source
402
50.3k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
50.3k
  const uint64_t seed = get_execution_seed();
404
50.3k
  char buffer[64], *buffer_ptr = buffer;
405
50.3k
  char *const buffer_end = std::end(buffer);
406
345k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
317k
                                            get_hashable_data(*first)))
408
294k
    ++first;
409
50.3k
  if (first == last)
410
27.8k
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
22.4k
  assert(buffer_ptr == buffer_end);
412
22.4k
413
22.4k
  hash_state state = state.create(buffer, seed);
414
22.4k
  size_t length = 64;
415
8.16M
  while (first != last) {
416
8.14M
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
8.14M
    // when only a partial 64-byte chunk is left.
418
8.14M
    buffer_ptr = buffer;
419
73.2M
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
73.2M
                                              get_hashable_data(*first)))
421
65.1M
      ++first;
422
8.14M
423
8.14M
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
8.14M
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
8.14M
    // have a contiguous byte sequence, and we want to emulate that here.
426
8.14M
    std::rotate(buffer, buffer_ptr, buffer_end);
427
8.14M
428
8.14M
    // Mix this chunk into the current state.
429
8.14M
    state.mix(buffer);
430
8.14M
    length += buffer_ptr - buffer;
431
8.14M
  };
432
22.4k
433
22.4k
  return state.finalize(length);
434
22.4k
}
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.8k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
20.8k
  const uint64_t seed = get_execution_seed();
404
20.8k
  char buffer[64], *buffer_ptr = buffer;
405
20.8k
  char *const buffer_end = std::end(buffer);
406
364k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
347k
                                            get_hashable_data(*first)))
408
343k
    ++first;
409
20.8k
  if (first == last)
410
17.0k
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
3.77k
  assert(buffer_ptr == buffer_end);
412
3.77k
413
3.77k
  hash_state state = state.create(buffer, seed);
414
3.77k
  size_t length = 64;
415
7.72k
  while (first != last) {
416
3.94k
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
3.94k
    // when only a partial 64-byte chunk is left.
418
3.94k
    buffer_ptr = buffer;
419
131k
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
127k
                                              get_hashable_data(*first)))
421
127k
      ++first;
422
3.94k
423
3.94k
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
3.94k
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
3.94k
    // have a contiguous byte sequence, and we want to emulate that here.
426
3.94k
    std::rotate(buffer, buffer_ptr, buffer_end);
427
3.94k
428
3.94k
    // Mix this chunk into the current state.
429
3.94k
    state.mix(buffer);
430
3.94k
    length += buffer_ptr - buffer;
431
3.94k
  };
432
3.77k
433
3.77k
  return state.finalize(length);
434
3.77k
}
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.8M
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
25.8M
  const uint64_t seed = get_execution_seed();
404
25.8M
  char buffer[64], *buffer_ptr = buffer;
405
25.8M
  char *const buffer_end = std::end(buffer);
406
103M
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
78.4M
                                            get_hashable_data(*first)))
408
78.0M
    ++first;
409
25.8M
  if (first == last)
410
25.5M
    return hash_short(buffer, buffer_ptr - buffer, seed);
411
367k
  assert(buffer_ptr == buffer_end);
412
367k
413
367k
  hash_state state = state.create(buffer, seed);
414
367k
  size_t length = 64;
415
882k
  while (first != last) {
416
514k
    // Fill up the buffer. We don't clear it, which re-mixes the last round
417
514k
    // when only a partial 64-byte chunk is left.
418
514k
    buffer_ptr = buffer;
419
3.02M
    while (first != last && store_and_advance(buffer_ptr, buffer_end,
420
2.65M
                                              get_hashable_data(*first)))
421
2.50M
      ++first;
422
514k
423
514k
    // Rotate the buffer if we did a partial fill in order to simulate doing
424
514k
    // a mix of the last 64-bytes. That is how the algorithm works when we
425
514k
    // have a contiguous byte sequence, and we want to emulate that here.
426
514k
    std::rotate(buffer, buffer_ptr, buffer_end);
427
514k
428
514k
    // Mix this chunk into the current state.
429
514k
    state.mix(buffer);
430
514k
    length += buffer_ptr - buffer;
431
514k
  };
432
367k
433
367k
  return state.finalize(length);
434
367k
}
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
275k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
275k
  const uint64_t seed = get_execution_seed();
404
275k
  char buffer[64], *buffer_ptr = buffer;
405
275k
  char *const buffer_end = std::end(buffer);
406
980k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
705k
                                            get_hashable_data(*first)))
408
704k
    ++first;
409
275k
  if (first == last)
410
275k
    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
520
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
520
  const uint64_t seed = get_execution_seed();
404
520
  char buffer[64], *buffer_ptr = buffer;
405
520
  char *const buffer_end = std::end(buffer);
406
1.10k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
587
                                            get_hashable_data(*first)))
408
587
    ++first;
409
520
  if (first == last)
410
520
    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
}
llvm::hash_code llvm::hashing::detail::hash_combine_range_impl<clang::APValue::LValuePathEntry const*>(clang::APValue::LValuePathEntry const*, clang::APValue::LValuePathEntry const*)
Line
Count
Source
402
69.6k
hash_code hash_combine_range_impl(InputIteratorT first, InputIteratorT last) {
403
69.6k
  const uint64_t seed = get_execution_seed();
404
69.6k
  char buffer[64], *buffer_ptr = buffer;
405
69.6k
  char *const buffer_end = std::end(buffer);
406
89.6k
  while (first != last && store_and_advance(buffer_ptr, buffer_end,
407
19.9k
                                            get_hashable_data(*first)))
408
19.9k
    ++first;
409
69.6k
  if (first == last)
410
69.6k
    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
759M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
759M
  const uint64_t seed = get_execution_seed();
448
759M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
759M
  const char *s_end = reinterpret_cast<const char *>(last);
450
759M
  const size_t length = std::distance(s_begin, s_end);
451
759M
  if (length <= 64)
452
732M
    return hash_short(s_begin, length, seed);
453
26.5M
454
26.5M
  const char *s_aligned_end = s_begin + (length & ~63);
455
26.5M
  hash_state state = state.create(s_begin, seed);
456
26.5M
  s_begin += 64;
457
56.9M
  while (s_begin != s_aligned_end) {
458
30.3M
    state.mix(s_begin);
459
30.3M
    s_begin += 64;
460
30.3M
  }
461
26.5M
  if (length & 63)
462
26.0M
    state.mix(s_end - 64);
463
26.5M
464
26.5M
  return state.finalize(length);
465
26.5M
}
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
28.6k
  while (s_begin != s_aligned_end) {
458
26.7k
    state.mix(s_begin);
459
26.7k
    s_begin += 64;
460
26.7k
  }
461
1.83k
  if (length & 63)
462
1.50k
    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
28.6M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
28.6M
  const uint64_t seed = get_execution_seed();
448
28.6M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
28.6M
  const char *s_end = reinterpret_cast<const char *>(last);
450
28.6M
  const size_t length = std::distance(s_begin, s_end);
451
28.6M
  if (length <= 64)
452
27.8M
    return hash_short(s_begin, length, seed);
453
798k
454
798k
  const char *s_aligned_end = s_begin + (length & ~63);
455
798k
  hash_state state = state.create(s_begin, seed);
456
798k
  s_begin += 64;
457
966k
  while (s_begin != s_aligned_end) {
458
168k
    state.mix(s_begin);
459
168k
    s_begin += 64;
460
168k
  }
461
798k
  if (length & 63)
462
798k
    state.mix(s_end - 64);
463
798k
464
798k
  return state.finalize(length);
465
798k
}
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
18.0M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
18.0M
  const uint64_t seed = get_execution_seed();
448
18.0M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
18.0M
  const char *s_end = reinterpret_cast<const char *>(last);
450
18.0M
  const size_t length = std::distance(s_begin, s_end);
451
18.0M
  if (length <= 64)
452
17.9M
    return hash_short(s_begin, length, seed);
453
55.4k
454
55.4k
  const char *s_aligned_end = s_begin + (length & ~63);
455
55.4k
  hash_state state = state.create(s_begin, seed);
456
55.4k
  s_begin += 64;
457
146k
  while (s_begin != s_aligned_end) {
458
91.4k
    state.mix(s_begin);
459
91.4k
    s_begin += 64;
460
91.4k
  }
461
55.4k
  if (length & 63)
462
22.1k
    state.mix(s_end - 64);
463
55.4k
464
55.4k
  return state.finalize(length);
465
55.4k
}
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
652M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
652M
  const uint64_t seed = get_execution_seed();
448
652M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
652M
  const char *s_end = reinterpret_cast<const char *>(last);
450
652M
  const size_t length = std::distance(s_begin, s_end);
451
652M
  if (length <= 64)
452
627M
    return hash_short(s_begin, length, seed);
453
25.3M
454
25.3M
  const char *s_aligned_end = s_begin + (length & ~63);
455
25.3M
  hash_state state = state.create(s_begin, seed);
456
25.3M
  s_begin += 64;
457
54.3M
  while (s_begin != s_aligned_end) {
458
28.9M
    state.mix(s_begin);
459
28.9M
    s_begin += 64;
460
28.9M
  }
461
25.3M
  if (length & 63)
462
24.8M
    state.mix(s_end - 64);
463
25.3M
464
25.3M
  return state.finalize(length);
465
25.3M
}
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
8.08M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
8.08M
  const uint64_t seed = get_execution_seed();
448
8.08M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
8.08M
  const char *s_end = reinterpret_cast<const char *>(last);
450
8.08M
  const size_t length = std::distance(s_begin, s_end);
451
8.08M
  if (length <= 64)
452
8.05M
    return hash_short(s_begin, length, seed);
453
34.0k
454
34.0k
  const char *s_aligned_end = s_begin + (length & ~63);
455
34.0k
  hash_state state = state.create(s_begin, seed);
456
34.0k
  s_begin += 64;
457
46.8k
  while (s_begin != s_aligned_end) {
458
12.7k
    state.mix(s_begin);
459
12.7k
    s_begin += 64;
460
12.7k
  }
461
34.0k
  if (length & 63)
462
33.3k
    state.mix(s_end - 64);
463
34.0k
464
34.0k
  return state.finalize(length);
465
34.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.02M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
1.02M
  const uint64_t seed = get_execution_seed();
448
1.02M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
1.02M
  const char *s_end = reinterpret_cast<const char *>(last);
450
1.02M
  const size_t length = std::distance(s_begin, s_end);
451
1.02M
  if (length <= 64)
452
1.02M
    return hash_short(s_begin, length, seed);
453
41
454
41
  const char *s_aligned_end = s_begin + (length & ~63);
455
41
  hash_state state = state.create(s_begin, seed);
456
41
  s_begin += 64;
457
47
  while (s_begin != s_aligned_end) {
458
6
    state.mix(s_begin);
459
6
    s_begin += 64;
460
6
  }
461
41
  if (length & 63)
462
40
    state.mix(s_end - 64);
463
41
464
41
  return state.finalize(length);
465
41
}
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.50M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
1.50M
  const uint64_t seed = get_execution_seed();
448
1.50M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
1.50M
  const char *s_end = reinterpret_cast<const char *>(last);
450
1.50M
  const size_t length = std::distance(s_begin, s_end);
451
1.50M
  if (length <= 64)
452
1.46M
    return hash_short(s_begin, length, seed);
453
40.2k
454
40.2k
  const char *s_aligned_end = s_begin + (length & ~63);
455
40.2k
  hash_state state = state.create(s_begin, seed);
456
40.2k
  s_begin += 64;
457
109k
  while (s_begin != s_aligned_end) {
458
69.3k
    state.mix(s_begin);
459
69.3k
    s_begin += 64;
460
69.3k
  }
461
40.2k
  if (length & 63)
462
39.6k
    state.mix(s_end - 64);
463
40.2k
464
40.2k
  return state.finalize(length);
465
40.2k
}
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.66k
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
2.66k
  const uint64_t seed = get_execution_seed();
448
2.66k
  const char *s_begin = reinterpret_cast<const char *>(first);
449
2.66k
  const char *s_end = reinterpret_cast<const char *>(last);
450
2.66k
  const size_t length = std::distance(s_begin, s_end);
451
2.66k
  if (length <= 64)
452
2.66k
    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.5M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
19.5M
  const uint64_t seed = get_execution_seed();
448
19.5M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
19.5M
  const char *s_end = reinterpret_cast<const char *>(last);
450
19.5M
  const size_t length = std::distance(s_begin, s_end);
451
19.5M
  if (length <= 64)
452
19.5M
    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.11M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
4.11M
  const uint64_t seed = get_execution_seed();
448
4.11M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
4.11M
  const char *s_end = reinterpret_cast<const char *>(last);
450
4.11M
  const size_t length = std::distance(s_begin, s_end);
451
4.11M
  if (length <= 64)
452
4.11M
    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.80M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
7.80M
  const uint64_t seed = get_execution_seed();
448
7.80M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
7.80M
  const char *s_end = reinterpret_cast<const char *>(last);
450
7.80M
  const size_t length = std::distance(s_begin, s_end);
451
7.80M
  if (length <= 64)
452
7.68M
    return hash_short(s_begin, length, seed);
453
117k
454
117k
  const char *s_aligned_end = s_begin + (length & ~63);
455
117k
  hash_state state = state.create(s_begin, seed);
456
117k
  s_begin += 64;
457
947k
  while (s_begin != s_aligned_end) {
458
829k
    state.mix(s_begin);
459
829k
    s_begin += 64;
460
829k
  }
461
117k
  if (length & 63)
462
117k
    state.mix(s_end - 64);
463
117k
464
117k
  return state.finalize(length);
465
117k
}
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.33M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
8.33M
  const uint64_t seed = get_execution_seed();
448
8.33M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
8.33M
  const char *s_end = reinterpret_cast<const char *>(last);
450
8.33M
  const size_t length = std::distance(s_begin, s_end);
451
8.33M
  if (length <= 64)
452
8.16M
    return hash_short(s_begin, length, seed);
453
171k
454
171k
  const char *s_aligned_end = s_begin + (length & ~63);
455
171k
  hash_state state = state.create(s_begin, seed);
456
171k
  s_begin += 64;
457
317k
  while (s_begin != s_aligned_end) {
458
146k
    state.mix(s_begin);
459
146k
    s_begin += 64;
460
146k
  }
461
171k
  if (length & 63)
462
166k
    state.mix(s_end - 64);
463
171k
464
171k
  return state.finalize(length);
465
171k
}
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.45M
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
9.45M
  const uint64_t seed = get_execution_seed();
448
9.45M
  const char *s_begin = reinterpret_cast<const char *>(first);
449
9.45M
  const char *s_end = reinterpret_cast<const char *>(last);
450
9.45M
  const size_t length = std::distance(s_begin, s_end);
451
9.45M
  if (length <= 64)
452
9.45M
    return hash_short(s_begin, length, seed);
453
492
454
492
  const char *s_aligned_end = s_begin + (length & ~63);
455
492
  hash_state state = state.create(s_begin, seed);
456
492
  s_begin += 64;
457
492
  while (s_begin != s_aligned_end) {
458
0
    state.mix(s_begin);
459
0
    s_begin += 64;
460
0
  }
461
492
  if (length & 63)
462
492
    state.mix(s_end - 64);
463
492
464
492
  return state.finalize(length);
465
492
}
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
6.28k
hash_combine_range_impl(ValueT *first, ValueT *last) {
447
6.28k
  const uint64_t seed = get_execution_seed();
448
6.28k
  const char *s_begin = reinterpret_cast<const char *>(first);
449
6.28k
  const char *s_end = reinterpret_cast<const char *>(last);
450
6.28k
  const size_t length = std::distance(s_begin, s_end);
451
6.28k
  if (length <= 64)
452
4.53k
    return hash_short(s_begin, length, seed);
453
1.74k
454
1.74k
  const char *s_aligned_end = s_begin + (length & ~63);
455
1.74k
  hash_state state = state.create(s_begin, seed);
456
1.74k
  s_begin += 64;
457
2.47k
  while (s_begin != s_aligned_end) {
458
727
    state.mix(s_begin);
459
727
    s_begin += 64;
460
727
  }
461
1.74k
  if (length & 63)
462
1.64k
    state.mix(s_end - 64);
463
1.74k
464
1.74k
  return state.finalize(length);
465
1.74k
}
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
785M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
785M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
785M
}
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
28.6M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
28.6M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
28.6M
}
llvm::hash_code llvm::hash_combine_range<llvm::Constant* const*>(llvm::Constant* const*, llvm::Constant* const*)
Line
Count
Source
478
18.0M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
18.0M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
18.0M
}
llvm::hash_code llvm::hash_combine_range<unsigned int const*>(unsigned int const*, unsigned int const*)
Line
Count
Source
478
652M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
652M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
652M
}
llvm::hash_code llvm::hash_combine_range<llvm::Type* const*>(llvm::Type* const*, llvm::Type* const*)
Line
Count
Source
478
8.08M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
8.08M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
8.08M
}
llvm::hash_code llvm::hash_combine_range<unsigned long long const*>(unsigned long long const*, unsigned long long const*)
Line
Count
Source
478
1.02M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
1.02M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
1.02M
}
llvm::hash_code llvm::hash_combine_range<llvm::MDOperand const*>(llvm::MDOperand const*, llvm::MDOperand const*)
Line
Count
Source
478
50.3k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
50.3k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
50.3k
}
llvm::hash_code llvm::hash_combine_range<llvm::Metadata* const*>(llvm::Metadata* const*, llvm::Metadata* const*)
Line
Count
Source
478
1.50M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
1.50M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
1.50M
}
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.8k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
20.8k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
20.8k
}
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.8M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
25.8M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
25.8M
}
llvm::hash_code llvm::hash_combine_range<llvm::Value* const*>(llvm::Value* const*, llvm::Value* const*)
Line
Count
Source
478
2.66k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
2.66k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
2.66k
}
llvm::hash_code llvm::hash_combine_range<llvm::SCEV const* const*>(llvm::SCEV const* const*, llvm::SCEV const* const*)
Line
Count
Source
478
19.5M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
19.5M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
19.5M
}
llvm::hash_code llvm::hash_combine_range<unsigned long long*>(unsigned long long*, unsigned long long*)
Line
Count
Source
478
4.11M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
4.11M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
4.11M
}
llvm::hash_code llvm::hash_combine_range<char const*>(char const*, char const*)
Line
Count
Source
478
7.80M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
7.80M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
7.80M
}
llvm::hash_code llvm::hash_combine_range<llvm::BasicBlock**>(llvm::BasicBlock**, llvm::BasicBlock**)
Line
Count
Source
478
8.33M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
8.33M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
8.33M
}
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
275k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
275k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
275k
}
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.45M
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
9.45M
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
9.45M
}
llvm::hash_code llvm::hash_combine_range<llvm::StringRef const*>(llvm::StringRef const*, llvm::StringRef const*)
Line
Count
Source
478
520
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
520
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
520
}
llvm::hash_code llvm::hash_combine_range<clang::APValue::LValuePathEntry const*>(clang::APValue::LValuePathEntry const*, clang::APValue::LValuePathEntry const*)
Line
Count
Source
478
69.6k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
69.6k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
69.6k
}
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
6.28k
hash_code hash_combine_range(InputIteratorT first, InputIteratorT last) {
479
6.28k
  return ::llvm::hashing::detail::hash_combine_range_impl(first, last);
480
6.28k
}
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
482M
    : 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.07G
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.07G
    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.07G
    }
545
1.07G
    return buffer_ptr;
546
1.07G
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned int>(unsigned long&, char*, char*, unsigned int)
Line
Count
Source
514
289M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
289M
    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
289M
    }
545
289M
    return buffer_ptr;
546
289M
  }
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<unsigned long>(unsigned long&, char*, char*, unsigned long)
Line
Count
Source
514
101M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
101M
    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
101M
    }
545
101M
    return buffer_ptr;
546
101M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<bool>(unsigned long&, char*, char*, bool)
Line
Count
Source
514
75.4M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
75.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
75.4M
    }
545
75.4M
    return buffer_ptr;
546
75.4M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<int>(unsigned long&, char*, char*, int)
Line
Count
Source
514
969k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
969k
    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
969k
    }
545
969k
    return buffer_ptr;
546
969k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<char const*>(unsigned long&, char*, char*, char const*)
Line
Count
Source
514
3
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
3
    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
    }
545
3
    return buffer_ptr;
546
3
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::GlobalValue const*>(unsigned long&, char*, char*, llvm::GlobalValue const*)
Line
Count
Source
514
6.10M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
6.10M
    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.10M
    }
545
6.10M
    return buffer_ptr;
546
6.10M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::BlockAddress const*>(unsigned long&, char*, char*, llvm::BlockAddress const*)
Line
Count
Source
514
516
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
516
    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
516
    }
545
516
    return buffer_ptr;
546
516
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MCSymbol*>(unsigned long&, char*, char*, llvm::MCSymbol*)
Line
Count
Source
514
301
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
301
    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
301
    }
545
301
    return buffer_ptr;
546
301
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MachineBasicBlock*>(unsigned long&, char*, char*, llvm::MachineBasicBlock*)
Line
Count
Source
514
1.75M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.75M
    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.75M
    }
545
1.75M
    return buffer_ptr;
546
1.75M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::DILocalVariable const*>(unsigned long&, char*, char*, llvm::DILocalVariable const*)
Line
Count
Source
514
19.6k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
19.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
19.6k
    }
545
19.6k
    return buffer_ptr;
546
19.6k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::DILocation const*>(unsigned long&, char*, char*, llvm::DILocation const*)
Line
Count
Source
514
19.6k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
19.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
19.6k
    }
545
19.6k
    return buffer_ptr;
546
19.6k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MachineOperand::MachineOperandType>(unsigned long&, char*, char*, llvm::MachineOperand::MachineOperandType)
Line
Count
Source
514
81.0M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
81.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
81.0M
    }
545
81.0M
    return buffer_ptr;
546
81.0M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<long long>(unsigned long&, char*, char*, long long)
Line
Count
Source
514
31.6M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
31.6M
    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.6M
    }
545
31.6M
    return buffer_ptr;
546
31.6M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::ConstantInt const*>(unsigned long&, char*, char*, llvm::ConstantInt const*)
Line
Count
Source
514
24
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
24
    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
24
    }
545
24
    return buffer_ptr;
546
24
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::ConstantFP const*>(unsigned long&, char*, char*, llvm::ConstantFP const*)
Line
Count
Source
514
1.01k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.01k
    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.01k
    }
545
1.01k
    return buffer_ptr;
546
1.01k
  }
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
21.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
21.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
21.0k
    }
545
21.0k
    return buffer_ptr;
546
21.0k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::FunctionType*>(unsigned long&, char*, char*, llvm::FunctionType*)
Line
Count
Source
514
21.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
21.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
21.0k
    }
545
21.0k
    return buffer_ptr;
546
21.0k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned char>(unsigned long&, char*, char*, unsigned char)
Line
Count
Source
514
37.5M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
37.5M
    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
37.5M
    }
545
37.5M
    return buffer_ptr;
546
37.5M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned short>(unsigned long&, char*, char*, unsigned short)
Line
Count
Source
514
17.5M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
17.5M
    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.5M
    }
545
17.5M
    return buffer_ptr;
546
17.5M
  }
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.85M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
7.85M
    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.85M
    }
545
7.85M
    return buffer_ptr;
546
7.85M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Metadata*>(unsigned long&, char*, char*, llvm::Metadata*)
Line
Count
Source
514
32.9M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
32.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
32.9M
    }
545
32.9M
    return buffer_ptr;
546
32.9M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::MDString*>(unsigned long&, char*, char*, llvm::MDString*)
Line
Count
Source
514
233k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
233k
    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
233k
    }
545
233k
    return buffer_ptr;
546
233k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<unsigned long long>(unsigned long&, char*, char*, unsigned long long)
Line
Count
Source
514
240M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
240M
    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
240M
    }
545
240M
    return buffer_ptr;
546
240M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::ArrayType*>(unsigned long&, char*, char*, llvm::ArrayType*)
Line
Count
Source
514
61.9k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
61.9k
    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
61.9k
    }
545
61.9k
    return buffer_ptr;
546
61.9k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::StructType*>(unsigned long&, char*, char*, llvm::StructType*)
Line
Count
Source
514
207k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
207k
    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
207k
    }
545
207k
    return buffer_ptr;
546
207k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::VectorType*>(unsigned long&, char*, char*, llvm::VectorType*)
Line
Count
Source
514
231k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
231k
    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
231k
    }
545
231k
    return buffer_ptr;
546
231k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Type*>(unsigned long&, char*, char*, llvm::Type*)
Line
Count
Source
514
47.6M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
47.6M
    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.6M
    }
545
47.6M
    return buffer_ptr;
546
47.6M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::PointerType*>(unsigned long&, char*, char*, llvm::PointerType*)
Line
Count
Source
514
21.0k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
21.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
21.0k
    }
545
21.0k
    return buffer_ptr;
546
21.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
25.5k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
25.5k
    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
25.5k
    }
545
25.5k
    return buffer_ptr;
546
25.5k
  }
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.53M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
7.53M
    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.53M
    }
545
7.53M
    return buffer_ptr;
546
7.53M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Value*>(unsigned long&, char*, char*, llvm::Value*)
Line
Count
Source
514
51.3M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
51.3M
    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.3M
    }
545
51.3M
    return buffer_ptr;
546
51.3M
  }
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.9M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
12.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
12.9M
    }
545
12.9M
    return buffer_ptr;
546
12.9M
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::SelectPatternFlavor>(unsigned long&, char*, char*, llvm::SelectPatternFlavor)
Line
Count
Source
514
233k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
233k
    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
233k
    }
545
233k
    return buffer_ptr;
546
233k
  }
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.46M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
8.46M
    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.46M
    }
545
8.46M
    return buffer_ptr;
546
8.46M
  }
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.15k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
1.15k
    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.15k
    }
545
1.15k
    return buffer_ptr;
546
1.15k
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<llvm::Constant*>(unsigned long&, char*, char*, llvm::Constant*)
Line
Count
Source
514
485
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
485
    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
485
    }
545
485
    return buffer_ptr;
546
485
  }
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
999k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
999k
    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
999k
    }
545
999k
    return buffer_ptr;
546
999k
  }
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
116k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
116k
    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
116k
    }
545
116k
    return buffer_ptr;
546
116k
  }
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<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
  }
char* llvm::hashing::detail::hash_combine_recursive_helper::combine_data<long>(unsigned long&, char*, char*, long)
Line
Count
Source
514
62.4k
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
62.4k
    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.4k
    }
545
62.4k
    return buffer_ptr;
546
62.4k
  }
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.2M
  char *combine_data(size_t &length, char *buffer_ptr, char *buffer_end, T data) {
515
16.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
16.2M
    }
545
16.2M
    return buffer_ptr;
546
16.2M
  }
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.07G
                    const T &arg, const Ts &...args) {
555
1.07G
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.07G
557
1.07G
    // Recurse to the next argument.
558
1.07G
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.07G
  }
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
1.07M
                    const T &arg, const Ts &...args) {
555
1.07M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.07M
557
1.07M
    // Recurse to the next argument.
558
1.07M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.07M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int>(unsigned long, char*, char*, unsigned int const&)
Line
Count
Source
554
39.7M
                    const T &arg, const Ts &...args) {
555
39.7M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
39.7M
557
39.7M
    // Recurse to the next argument.
558
39.7M
    return combine(length, buffer_ptr, buffer_end, args...);
559
39.7M
  }
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
8.08M
                    const T &arg, const Ts &...args) {
555
8.08M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
8.08M
557
8.08M
    // Recurse to the next argument.
558
8.08M
    return combine(length, buffer_ptr, buffer_end, args...);
559
8.08M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<bool>(unsigned long, char*, char*, bool const&)
Line
Count
Source
554
71.6M
                    const T &arg, const Ts &...args) {
555
71.6M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
71.6M
557
71.6M
    // Recurse to the next argument.
558
71.6M
    return combine(length, buffer_ptr, buffer_end, args...);
559
71.6M
  }
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
199
                    const T &arg, const Ts &...args) {
555
199
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
199
557
199
    // Recurse to the next argument.
558
199
    return combine(length, buffer_ptr, buffer_end, args...);
559
199
  }
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.8M
                    const T &arg, const Ts &...args) {
555
17.8M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.8M
557
17.8M
    // Recurse to the next argument.
558
17.8M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.8M
  }
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.8M
                    const T &arg, const Ts &...args) {
555
66.8M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
66.8M
557
66.8M
    // Recurse to the next argument.
558
66.8M
    return combine(length, buffer_ptr, buffer_end, args...);
559
66.8M
  }
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
84.3k
                    const T &arg, const Ts &...args) {
555
84.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
84.3k
557
84.3k
    // Recurse to the next argument.
558
84.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
84.3k
  }
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
84.3k
                    const T &arg, const Ts &...args) {
555
84.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
84.3k
557
84.3k
    // Recurse to the next argument.
558
84.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
84.3k
  }
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
84.3k
                    const T &arg, const Ts &...args) {
555
84.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
84.3k
557
84.3k
    // Recurse to the next argument.
558
84.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
84.3k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand>(unsigned long, char*, char*, llvm::MachineOperand const&)
Line
Count
Source
554
84.3k
                    const T &arg, const Ts &...args) {
555
84.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
84.3k
557
84.3k
    // Recurse to the next argument.
558
84.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
84.3k
  }
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
214
                    const T &arg, const Ts &...args) {
555
214
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
214
557
214
    // Recurse to the next argument.
558
214
    return combine(length, buffer_ptr, buffer_end, args...);
559
214
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<int>(unsigned long, char*, char*, int const&)
Line
Count
Source
554
546k
                    const T &arg, const Ts &...args) {
555
546k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
546k
557
546k
    // Recurse to the next argument.
558
546k
    return combine(length, buffer_ptr, buffer_end, args...);
559
546k
  }
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
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<llvm::hash_code, llvm::GlobalValue const*>(unsigned long, char*, char*, llvm::hash_code const&, llvm::GlobalValue const* const&)
Line
Count
Source
554
46.8k
                    const T &arg, const Ts &...args) {
555
46.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
46.8k
557
46.8k
    // Recurse to the next argument.
558
46.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
46.8k
  }
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.8k
                    const T &arg, const Ts &...args) {
555
46.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
46.8k
557
46.8k
    // Recurse to the next argument.
558
46.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
46.8k
  }
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
301
                    const T &arg, const Ts &...args) {
555
301
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
301
557
301
    // Recurse to the next argument.
558
301
    return combine(length, buffer_ptr, buffer_end, args...);
559
301
  }
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.75M
                    const T &arg, const Ts &...args) {
555
1.75M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.75M
557
1.75M
    // Recurse to the next argument.
558
1.75M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.75M
  }
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.72M
                    const T &arg, const Ts &...args) {
555
3.72M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.72M
557
3.72M
    // Recurse to the next argument.
558
3.72M
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.72M
  }
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
456k
                    const T &arg, const Ts &...args) {
555
456k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
456k
557
456k
    // Recurse to the next argument.
558
456k
    return combine(length, buffer_ptr, buffer_end, args...);
559
456k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::DILocalVariable const*, unsigned int, llvm::DILocation const*>(unsigned long, char*, char*, llvm::DILocalVariable const* const&, unsigned int const&, llvm::DILocation const* const&)
Line
Count
Source
554
19.6k
                    const T &arg, const Ts &...args) {
555
19.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
19.6k
557
19.6k
    // Recurse to the next argument.
558
19.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
19.6k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, llvm::DILocation const*>(unsigned long, char*, char*, unsigned int const&, llvm::DILocation const* const&)
Line
Count
Source
554
19.6k
                    const T &arg, const Ts &...args) {
555
19.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
19.6k
557
19.6k
    // Recurse to the next argument.
558
19.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
19.6k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::DILocation const*>(unsigned long, char*, char*, llvm::DILocation const* const&)
Line
Count
Source
554
19.6k
                    const T &arg, const Ts &...args) {
555
19.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
19.6k
557
19.6k
    // Recurse to the next argument.
558
19.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
19.6k
  }
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
47.2M
                    const T &arg, const Ts &...args) {
555
47.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
47.2M
557
47.2M
    // Recurse to the next argument.
558
47.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
47.2M
  }
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
47.2M
                    const T &arg, const Ts &...args) {
555
47.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
47.2M
557
47.2M
    // Recurse to the next argument.
558
47.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
47.2M
  }
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
47.2M
                    const T &arg, const Ts &...args) {
555
47.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
47.2M
557
47.2M
    // Recurse to the next argument.
558
47.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
47.2M
  }
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
25.0M
                    const T &arg, const Ts &...args) {
555
25.0M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.0M
557
25.0M
    // Recurse to the next argument.
558
25.0M
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.0M
  }
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
25.0M
                    const T &arg, const Ts &...args) {
555
25.0M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.0M
557
25.0M
    // Recurse to the next argument.
558
25.0M
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.0M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long long>(unsigned long, char*, char*, long long const&)
Line
Count
Source
554
31.5M
                    const T &arg, const Ts &...args) {
555
31.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
31.5M
557
31.5M
    // Recurse to the next argument.
558
31.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
31.5M
  }
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
24
                    const T &arg, const Ts &...args) {
555
24
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
24
557
24
    // Recurse to the next argument.
558
24
    return combine(length, buffer_ptr, buffer_end, args...);
559
24
  }
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
24
                    const T &arg, const Ts &...args) {
555
24
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
24
557
24
    // Recurse to the next argument.
558
24
    return combine(length, buffer_ptr, buffer_end, args...);
559
24
  }
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
24
                    const T &arg, const Ts &...args) {
555
24
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
24
557
24
    // Recurse to the next argument.
558
24
    return combine(length, buffer_ptr, buffer_end, args...);
559
24
  }
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
1.01k
                    const T &arg, const Ts &...args) {
555
1.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.01k
557
1.01k
    // Recurse to the next argument.
558
1.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.01k
  }
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
1.01k
                    const T &arg, const Ts &...args) {
555
1.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.01k
557
1.01k
    // Recurse to the next argument.
558
1.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.01k
  }
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
1.01k
                    const T &arg, const Ts &...args) {
555
1.01k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.01k
557
1.01k
    // Recurse to the next argument.
558
1.01k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.01k
  }
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.75M
                    const T &arg, const Ts &...args) {
555
1.75M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.75M
557
1.75M
    // Recurse to the next argument.
558
1.75M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.75M
  }
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.75M
                    const T &arg, const Ts &...args) {
555
1.75M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.75M
557
1.75M
    // Recurse to the next argument.
558
1.75M
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.75M
  }
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
545k
                    const T &arg, const Ts &...args) {
555
545k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
545k
557
545k
    // Recurse to the next argument.
558
545k
    return combine(length, buffer_ptr, buffer_end, args...);
559
545k
  }
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
545k
                    const T &arg, const Ts &...args) {
555
545k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
545k
557
545k
    // Recurse to the next argument.
558
545k
    return combine(length, buffer_ptr, buffer_end, args...);
559
545k
  }
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
394k
                    const T &arg, const Ts &...args) {
555
394k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
394k
557
394k
    // Recurse to the next argument.
558
394k
    return combine(length, buffer_ptr, buffer_end, args...);
559
394k
  }
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
394k
                    const T &arg, const Ts &...args) {
555
394k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
394k
557
394k
    // Recurse to the next argument.
558
394k
    return combine(length, buffer_ptr, buffer_end, args...);
559
394k
  }
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
394k
                    const T &arg, const Ts &...args) {
555
394k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
394k
557
394k
    // Recurse to the next argument.
558
394k
    return combine(length, buffer_ptr, buffer_end, args...);
559
394k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MachineOperand::MachineOperandType, unsigned int, long long, llvm::StringRef>(unsigned long, char*, char*, llvm::MachineOperand::MachineOperandType const&, unsigned int const&, long long const&, llvm::StringRef const&)
Line
Count
Source
554
6.92k
                    const T &arg, const Ts &...args) {
555
6.92k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.92k
557
6.92k
    // Recurse to the next argument.
558
6.92k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.92k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<unsigned int, long long, llvm::StringRef>(unsigned long, char*, char*, unsigned int const&, long long const&, llvm::StringRef const&)
Line
Count
Source
554
6.92k
                    const T &arg, const Ts &...args) {
555
6.92k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.92k
557
6.92k
    // Recurse to the next argument.
558
6.92k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.92k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<long long, llvm::StringRef>(unsigned long, char*, char*, long long const&, llvm::StringRef const&)
Line
Count
Source
554
6.92k
                    const T &arg, const Ts &...args) {
555
6.92k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.92k
557
6.92k
    // Recurse to the next argument.
558
6.92k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.92k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::StringRef>(unsigned long, char*, char*, llvm::StringRef const&)
Line
Count
Source
554
7.11k
                    const T &arg, const Ts &...args) {
555
7.11k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
7.11k
557
7.11k
    // Recurse to the next argument.
558
7.11k
    return combine(length, buffer_ptr, buffer_end, args...);
559
7.11k
  }
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
6.06M
                    const T &arg, const Ts &...args) {
555
6.06M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.06M
557
6.06M
    // Recurse to the next argument.
558
6.06M
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.06M
  }
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
6.06M
                    const T &arg, const Ts &...args) {
555
6.06M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.06M
557
6.06M
    // Recurse to the next argument.
558
6.06M
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.06M
  }
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
6.06M
                    const T &arg, const Ts &...args) {
555
6.06M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.06M
557
6.06M
    // Recurse to the next argument.
558
6.06M
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.06M
  }
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
504
                    const T &arg, const Ts &...args) {
555
504
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
504
557
504
    // Recurse to the next argument.
558
504
    return combine(length, buffer_ptr, buffer_end, args...);
559
504
  }
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
504
                    const T &arg, const Ts &...args) {
555
504
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
504
557
504
    // Recurse to the next argument.
558
504
    return combine(length, buffer_ptr, buffer_end, args...);
559
504
  }
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
504
                    const T &arg, const Ts &...args) {
555
504
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
504
557
504
    // Recurse to the next argument.
558
504
    return combine(length, buffer_ptr, buffer_end, args...);
559
504
  }
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
287
                    const T &arg, const Ts &...args) {
555
287
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
287
557
287
    // Recurse to the next argument.
558
287
    return combine(length, buffer_ptr, buffer_end, args...);
559
287
  }
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
287
                    const T &arg, const Ts &...args) {
555
287
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
287
557
287
    // Recurse to the next argument.
558
287
    return combine(length, buffer_ptr, buffer_end, args...);
559
287
  }
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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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.5M
                    const T &arg, const Ts &...args) {
555
17.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.5M
557
17.5M
    // Recurse to the next argument.
558
17.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.5M
  }
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.5M
                    const T &arg, const Ts &...args) {
555
17.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.5M
557
17.5M
    // Recurse to the next argument.
558
17.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.5M
  }
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.5M
                    const T &arg, const Ts &...args) {
555
17.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.5M
557
17.5M
    // Recurse to the next argument.
558
17.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.5M
  }
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.8M
                    const T &arg, const Ts &...args) {
555
25.8M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.8M
557
25.8M
    // Recurse to the next argument.
558
25.8M
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.8M
  }
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.85M
                    const T &arg, const Ts &...args) {
555
7.85M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
7.85M
557
7.85M
    // Recurse to the next argument.
558
7.85M
    return combine(length, buffer_ptr, buffer_end, args...);
559
7.85M
  }
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
16.2M
                    const T &arg, const Ts &...args) {
555
16.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
16.2M
557
16.2M
    // Recurse to the next argument.
558
16.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
16.2M
  }
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
16.2M
                    const T &arg, const Ts &...args) {
555
16.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
16.2M
557
16.2M
    // Recurse to the next argument.
558
16.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
16.2M
  }
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
16.2M
                    const T &arg, const Ts &...args) {
555
16.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
16.2M
557
16.2M
    // Recurse to the next argument.
558
16.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
16.2M
  }
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
16.2M
                    const T &arg, const Ts &...args) {
555
16.2M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
16.2M
557
16.2M
    // Recurse to the next argument.
558
16.2M
    return combine(length, buffer_ptr, buffer_end, args...);
559
16.2M
  }
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
1.94k
                    const T &arg, const Ts &...args) {
555
1.94k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.94k
557
1.94k
    // Recurse to the next argument.
558
1.94k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.94k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::MDString*>(unsigned long, char*, char*, llvm::MDString* const&)
Line
Count
Source
554
71.9k
                    const T &arg, const Ts &...args) {
555
71.9k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
71.9k
557
71.9k
    // Recurse to the next argument.
558
71.9k
    return combine(length, buffer_ptr, buffer_end, args...);
559
71.9k
  }
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
829
                    const T &arg, const Ts &...args) {
555
829
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
829
557
829
    // Recurse to the next argument.
558
829
    return combine(length, buffer_ptr, buffer_end, args...);
559
829
  }
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
36.5k
                    const T &arg, const Ts &...args) {
555
36.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
36.5k
557
36.5k
    // Recurse to the next argument.
558
36.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
36.5k
  }
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.49k
                    const T &arg, const Ts &...args) {
555
4.49k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.49k
557
4.49k
    // Recurse to the next argument.
558
4.49k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.49k
  }
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.49k
                    const T &arg, const Ts &...args) {
555
4.49k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.49k
557
4.49k
    // Recurse to the next argument.
558
4.49k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.49k
  }
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.49k
                    const T &arg, const Ts &...args) {
555
4.49k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.49k
557
4.49k
    // Recurse to the next argument.
558
4.49k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.49k
  }
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.08k
                    const T &arg, const Ts &...args) {
555
4.08k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.08k
557
4.08k
    // Recurse to the next argument.
558
4.08k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.08k
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Metadata*>(unsigned long, char*, char*, llvm::Metadata* const&)
Line
Count
Source
554
152k
                    const T &arg, const Ts &...args) {
555
152k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
152k
557
152k
    // Recurse to the next argument.
558
152k
    return combine(length, buffer_ptr, buffer_end, args...);
559
152k
  }
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
20.1k
                    const T &arg, const Ts &...args) {
555
20.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.1k
557
20.1k
    // Recurse to the next argument.
558
20.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.1k
  }
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
20.1k
                    const T &arg, const Ts &...args) {
555
20.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.1k
557
20.1k
    // Recurse to the next argument.
558
20.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.1k
  }
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
20.1k
                    const T &arg, const Ts &...args) {
555
20.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.1k
557
20.1k
    // Recurse to the next argument.
558
20.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.1k
  }
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
20.1k
                    const T &arg, const Ts &...args) {
555
20.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.1k
557
20.1k
    // Recurse to the next argument.
558
20.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.1k
  }
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
27.1k
                    const T &arg, const Ts &...args) {
555
27.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
27.1k
557
27.1k
    // Recurse to the next argument.
558
27.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
27.1k
  }
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
27.1k
                    const T &arg, const Ts &...args) {
555
27.1k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
27.1k
557
27.1k
    // Recurse to the next argument.
558
27.1k
    return combine(length, buffer_ptr, buffer_end, args...);
559
27.1k
  }
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
6.03k
                    const T &arg, const Ts &...args) {
555
6.03k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.03k
557
6.03k
    // Recurse to the next argument.
558
6.03k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.03k
  }
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
6.03k
                    const T &arg, const Ts &...args) {
555
6.03k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.03k
557
6.03k
    // Recurse to the next argument.
558
6.03k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.03k
  }
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
6.03k
                    const T &arg, const Ts &...args) {
555
6.03k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.03k
557
6.03k
    // Recurse to the next argument.
558
6.03k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.03k
  }
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
6.03k
                    const T &arg, const Ts &...args) {
555
6.03k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.03k
557
6.03k
    // Recurse to the next argument.
558
6.03k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.03k
  }
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
6.03k
                    const T &arg, const Ts &...args) {
555
6.03k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
6.03k
557
6.03k
    // Recurse to the next argument.
558
6.03k
    return combine(length, buffer_ptr, buffer_end, args...);
559
6.03k
  }
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
14.3k
                    const T &arg, const Ts &...args) {
555
14.3k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
14.3k
557
14.3k
    // Recurse to the next argument.
558
14.3k
    return combine(length, buffer_ptr, buffer_end, args...);
559
14.3k
  }
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
130k
                    const T &arg, const Ts &...args) {
555
130k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
130k
557
130k
    // Recurse to the next argument.
558
130k
    return combine(length, buffer_ptr, buffer_end, args...);
559
130k
  }
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
130k
                    const T &arg, const Ts &...args) {
555
130k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
130k
557
130k
    // Recurse to the next argument.
558
130k
    return combine(length, buffer_ptr, buffer_end, args...);
559
130k
  }
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.6k
                    const T &arg, const Ts &...args) {
555
28.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
28.6k
557
28.6k
    // Recurse to the next argument.
558
28.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
28.6k
  }
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.6k
                    const T &arg, const Ts &...args) {
555
28.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
28.6k
557
28.6k
    // Recurse to the next argument.
558
28.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
28.6k
  }
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.6k
                    const T &arg, const Ts &...args) {
555
28.6k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
28.6k
557
28.6k
    // Recurse to the next argument.
558
28.6k
    return combine(length, buffer_ptr, buffer_end, args...);
559
28.6k
  }
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.9k
                    const T &arg, const Ts &...args) {
555
32.9k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
32.9k
557
32.9k
    // Recurse to the next argument.
558
32.9k
    return combine(length, buffer_ptr, buffer_end, args...);
559
32.9k
  }
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
4.56k
                    const T &arg, const Ts &...args) {
555
4.56k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.56k
557
4.56k
    // Recurse to the next argument.
558
4.56k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.56k
  }
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
4.56k
                    const T &arg, const Ts &...args) {
555
4.56k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.56k
557
4.56k
    // Recurse to the next argument.
558
4.56k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.56k
  }
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
23.8k
                    const T &arg, const Ts &...args) {
555
23.8k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.8k
557
23.8k
    // Recurse to the next argument.
558
23.8k
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.8k
  }
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
524
                    const T &arg, const Ts &...args) {
555
524
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
524
557
524
    // Recurse to the next argument.
558
524
    return combine(length, buffer_ptr, buffer_end, args...);
559
524
  }
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
138
                    const T &arg, const Ts &...args) {
555
138
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
138
557
138
    // Recurse to the next argument.
558
138
    return combine(length, buffer_ptr, buffer_end, args...);
559
138
  }
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
138
                    const T &arg, const Ts &...args) {
555
138
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
138
557
138
    // Recurse to the next argument.
558
138
    return combine(length, buffer_ptr, buffer_end, args...);
559
138
  }
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
138
                    const T &arg, const Ts &...args) {
555
138
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
138
557
138
    // Recurse to the next argument.
558
138
    return combine(length, buffer_ptr, buffer_end, args...);
559
138
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
3.00k
                    const T &arg, const Ts &...args) {
555
3.00k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
3.00k
557
3.00k
    // Recurse to the next argument.
558
3.00k
    return combine(length, buffer_ptr, buffer_end, args...);
559
3.00k
  }
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
23.7k
                    const T &arg, const Ts &...args) {
555
23.7k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.7k
557
23.7k
    // Recurse to the next argument.
558
23.7k
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.7k
  }
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
23.7k
                    const T &arg, const Ts &...args) {
555
23.7k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.7k
557
23.7k
    // Recurse to the next argument.
558
23.7k
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.7k
  }
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
23.7k
                    const T &arg, const Ts &...args) {
555
23.7k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.7k
557
23.7k
    // Recurse to the next argument.
558
23.7k
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.7k
  }
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
23.7k
                    const T &arg, const Ts &...args) {
555
23.7k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
23.7k
557
23.7k
    // Recurse to the next argument.
558
23.7k
    return combine(length, buffer_ptr, buffer_end, args...);
559
23.7k
  }
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
72
                    const T &arg, const Ts &...args) {
555
72
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
72
557
72
    // Recurse to the next argument.
558
72
    return combine(length, buffer_ptr, buffer_end, args...);
559
72
  }
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
72
                    const T &arg, const Ts &...args) {
555
72
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
72
557
72
    // Recurse to the next argument.
558
72
    return combine(length, buffer_ptr, buffer_end, args...);
559
72
  }
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
1.82k
                    const T &arg, const Ts &...args) {
555
1.82k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.82k
557
1.82k
    // Recurse to the next argument.
558
1.82k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.82k
  }
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
1.82k
                    const T &arg, const Ts &...args) {
555
1.82k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.82k
557
1.82k
    // Recurse to the next argument.
558
1.82k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.82k
  }
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
1.82k
                    const T &arg, const Ts &...args) {
555
1.82k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.82k
557
1.82k
    // Recurse to the next argument.
558
1.82k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.82k
  }
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
1.82k
                    const T &arg, const Ts &...args) {
555
1.82k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
1.82k
557
1.82k
    // Recurse to the next argument.
558
1.82k
    return combine(length, buffer_ptr, buffer_end, args...);
559
1.82k
  }
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.19k
                    const T &arg, const Ts &...args) {
555
4.19k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.19k
557
4.19k
    // Recurse to the next argument.
558
4.19k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.19k
  }
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.19k
                    const T &arg, const Ts &...args) {
555
4.19k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
4.19k
557
4.19k
    // Recurse to the next argument.
558
4.19k
    return combine(length, buffer_ptr, buffer_end, args...);
559
4.19k
  }
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
61.9k
                    const T &arg, const Ts &...args) {
555
61.9k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
61.9k
557
61.9k
    // Recurse to the next argument.
558
61.9k
    return combine(length, buffer_ptr, buffer_end, args...);
559
61.9k
  }
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
207k
                    const T &arg, const Ts &...args) {
555
207k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
207k
557
207k
    // Recurse to the next argument.
558
207k
    return combine(length, buffer_ptr, buffer_end, args...);
559
207k
  }
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
231k
                    const T &arg, const Ts &...args) {
555
231k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
231k
557
231k
    // Recurse to the next argument.
558
231k
    return combine(length, buffer_ptr, buffer_end, args...);
559
231k
  }
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.5M
                    const T &arg, const Ts &...args) {
555
17.5M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
17.5M
557
17.5M
    // Recurse to the next argument.
558
17.5M
    return combine(length, buffer_ptr, buffer_end, args...);
559
17.5M
  }
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
21.0k
                    const T &arg, const Ts &...args) {
555
21.0k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
21.0k
557
21.0k
    // Recurse to the next argument.
558
21.0k
    return combine(length, buffer_ptr, buffer_end, args...);
559
21.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
25.5k
                    const T &arg, const Ts &...args) {
555
25.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.5k
557
25.5k
    // Recurse to the next argument.
558
25.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.5k
  }
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
25.5k
                    const T &arg, const Ts &...args) {
555
25.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.5k
557
25.5k
    // Recurse to the next argument.
558
25.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.5k
  }
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
25.5k
                    const T &arg, const Ts &...args) {
555
25.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.5k
557
25.5k
    // Recurse to the next argument.
558
25.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.5k
  }
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
25.5k
                    const T &arg, const Ts &...args) {
555
25.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.5k
557
25.5k
    // Recurse to the next argument.
558
25.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.5k
  }
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
25.5k
                    const T &arg, const Ts &...args) {
555
25.5k
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
25.5k
557
25.5k
    // Recurse to the next argument.
558
25.5k
    return combine(length, buffer_ptr, buffer_end, args...);
559
25.5k
  }
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.53M
                    const T &arg, const Ts &...args) {
555
7.53M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
7.53M
557
7.53M
    // Recurse to the next argument.
558
7.53M
    return combine(length, buffer_ptr, buffer_end, args...);
559
7.53M
  }
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.7M
                    const T &arg, const Ts &...args) {
555
20.7M
    buffer_ptr = combine_data(length, buffer_ptr, buffer_end, get_hashable_data(arg));
556
20.7M
557
20.7M
    // Recurse to the next argument.
558
20.7M
    return combine(length, buffer_ptr, buffer_end, args...);
559
20.7M
  }
llvm::hash_code llvm::hashing::detail::hash_combine_recursive_helper::combine<llvm::Value*>(unsigned long, char*, char*, llvm::Value* con