Coverage Report

Created: 2019-07-24 05:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/StringMap.h
Line
Count
Source
1
//===- StringMap.h - String Hash table map interface ------------*- 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 defines the StringMap class.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_ADT_STRINGMAP_H
14
#define LLVM_ADT_STRINGMAP_H
15
16
#include "llvm/ADT/StringRef.h"
17
#include "llvm/ADT/iterator.h"
18
#include "llvm/ADT/iterator_range.h"
19
#include "llvm/Support/Allocator.h"
20
#include "llvm/Support/PointerLikeTypeTraits.h"
21
#include "llvm/Support/ErrorHandling.h"
22
#include <algorithm>
23
#include <cassert>
24
#include <cstdint>
25
#include <cstdlib>
26
#include <cstring>
27
#include <initializer_list>
28
#include <iterator>
29
#include <utility>
30
31
namespace llvm {
32
33
template<typename ValueTy> class StringMapConstIterator;
34
template<typename ValueTy> class StringMapIterator;
35
template<typename ValueTy> class StringMapKeyIterator;
36
37
/// StringMapEntryBase - Shared base class of StringMapEntry instances.
38
class StringMapEntryBase {
39
  size_t StrLen;
40
41
public:
42
446M
  explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
43
44
2.55G
  size_t getKeyLength() const { return StrLen; }
45
};
46
47
/// StringMapImpl - This is the base class of StringMap that is shared among
48
/// all of its instantiations.
49
class StringMapImpl {
50
protected:
51
  // Array of NumBuckets pointers to entries, null pointers are holes.
52
  // TheTable[NumBuckets] contains a sentinel value for easy iteration. Followed
53
  // by an array of the actual hash values as unsigned integers.
54
  StringMapEntryBase **TheTable = nullptr;
55
  unsigned NumBuckets = 0;
56
  unsigned NumItems = 0;
57
  unsigned NumTombstones = 0;
58
  unsigned ItemSize;
59
60
protected:
61
  explicit StringMapImpl(unsigned itemSize)
62
17.9M
      : ItemSize(itemSize) {}
63
  StringMapImpl(StringMapImpl &&RHS)
64
      : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),
65
        NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),
66
164k
        ItemSize(RHS.ItemSize) {
67
164k
    RHS.TheTable = nullptr;
68
164k
    RHS.NumBuckets = 0;
69
164k
    RHS.NumItems = 0;
70
164k
    RHS.NumTombstones = 0;
71
164k
  }
72
73
  StringMapImpl(unsigned InitSize, unsigned ItemSize);
74
  unsigned RehashTable(unsigned BucketNo = 0);
75
76
  /// LookupBucketFor - Look up the bucket that the specified string should end
77
  /// up in.  If it already exists as a key in the map, the Item pointer for the
78
  /// specified bucket will be non-null.  Otherwise, it will be null.  In either
79
  /// case, the FullHashValue field of the bucket will be set to the hash value
80
  /// of the string.
81
  unsigned LookupBucketFor(StringRef Key);
82
83
  /// FindKey - Look up the bucket that contains the specified key. If it exists
84
  /// in the map, return the bucket number of the key.  Otherwise return -1.
85
  /// This does not modify the map.
86
  int FindKey(StringRef Key) const;
87
88
  /// RemoveKey - Remove the specified StringMapEntry from the table, but do not
89
  /// delete it.  This aborts if the value isn't in the table.
90
  void RemoveKey(StringMapEntryBase *V);
91
92
  /// RemoveKey - Remove the StringMapEntry for the specified key from the
93
  /// table, returning it.  If the key is not in the table, this returns null.
94
  StringMapEntryBase *RemoveKey(StringRef Key);
95
96
  /// Allocate the table with the specified number of buckets and otherwise
97
  /// setup the map as empty.
98
  void init(unsigned Size);
99
100
public:
101
4.68G
  static StringMapEntryBase *getTombstoneVal() {
102
4.68G
    uintptr_t Val = static_cast<uintptr_t>(-1);
103
4.68G
    Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
104
4.68G
    return reinterpret_cast<StringMapEntryBase *>(Val);
105
4.68G
  }
106
107
11
  unsigned getNumBuckets() const { return NumBuckets; }
108
3
  unsigned getNumItems() const { return NumItems; }
109
110
23.7M
  bool empty() const { return NumItems == 0; }
111
5.67M
  unsigned size() const { return NumItems; }
112
113
80.1k
  void swap(StringMapImpl &Other) {
114
80.1k
    std::swap(TheTable, Other.TheTable);
115
80.1k
    std::swap(NumBuckets, Other.NumBuckets);
116
80.1k
    std::swap(NumItems, Other.NumItems);
117
80.1k
    std::swap(NumTombstones, Other.NumTombstones);
118
80.1k
  }
119
};
120
121
/// StringMapEntry - This is used to represent one value that is inserted into
122
/// a StringMap.  It contains the Value itself and the key: the string length
123
/// and data.
124
template<typename ValueTy>
125
class StringMapEntry : public StringMapEntryBase {
126
public:
127
  ValueTy second;
128
129
  explicit StringMapEntry(size_t strLen)
130
55.8M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
85.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
85.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
9.10k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned int>::StringMapEntry(unsigned long)
Line
Count
Source
130
3.15M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
290
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
3.64k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
5.27k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::StringMapEntry(unsigned long)
Line
Count
Source
130
62
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
1.01k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
2.20k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::AsmToken>::StringMapEntry(unsigned long)
Line
Count
Source
130
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
1.85k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
197
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry(unsigned long)
Line
Count
Source
130
320
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::StringMapEntry(unsigned long)
Line
Count
Source
130
4.87k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
546
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
15.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
1.29k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GCStrategy*>::StringMapEntry(unsigned long)
Line
Count
Source
130
26
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
614
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::StringMapEntry(unsigned long)
Line
Count
Source
130
155
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MDString>::StringMapEntry(unsigned long)
Line
Count
Source
130
439k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::NamedMDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
130
59.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::PassInfo const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
32.8M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
657
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
521
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<bool>::StringMapEntry(unsigned long)
Line
Count
Source
130
1.16M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSymbol*>::StringMapEntry(unsigned long)
Line
Count
Source
130
4.66M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSectionMachO*>::StringMapEntry(unsigned long)
Line
Count
Source
130
890k
    : StringMapEntryBase(strLen), second() {}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.96M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::StringMapEntry(unsigned long)
Line
Count
Source
130
705k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long>::StringMapEntry(unsigned long)
Line
Count
Source
130
38.4k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
304
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::StringMapEntry(unsigned long)
Line
Count
Source
130
329
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >::StringMapEntry(unsigned long)
Line
Count
Source
130
10
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
9
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Timer>::StringMapEntry(unsigned long)
Line
Count
Source
130
9
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
517k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<void*>::StringMapEntry(unsigned long)
Line
Count
Source
130
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
36
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::vfs::Status>::StringMapEntry(unsigned long)
Line
Count
Source
130
19
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::StringMapEntry(unsigned long)
Line
Count
Source
130
4.44M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
559
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Constant*>::StringMapEntry(unsigned long)
Line
Count
Source
130
47
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.11k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
3.51k
    : StringMapEntryBase(strLen), second() {}
Unexecuted instantiation: llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry(unsigned long)
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::StringMapEntry(unsigned long)
Line
Count
Source
130
127
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
194
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
31.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<char const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
105
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<int>::StringMapEntry(unsigned long)
Line
Count
Source
130
787k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
2.26k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::SourceLocation>::StringMapEntry(unsigned long)
Line
Count
Source
130
15
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::StringMapEntry(unsigned long)
Line
Count
Source
130
37
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::StringMapEntry(unsigned long)
Line
Count
Source
130
157
    : StringMapEntryBase(strLen), second() {}
VerifyDiagnosticConsumer.cpp:llvm::StringMapEntry<llvm::SmallVector<(anonymous namespace)::UnattachedDirective, 2u> >::StringMapEntry(unsigned long)
Line
Count
Source
130
11
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::StringMapEntry(unsigned long)
Line
Count
Source
130
3.95k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::StringMapEntry(unsigned long)
Line
Count
Source
130
89.9k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::StringMapEntry(unsigned long)
Line
Count
Source
130
1.27k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
85
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
70.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::StringMapEntry(unsigned long)
Line
Count
Source
130
9
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned short>::StringMapEntry(unsigned long)
Line
Count
Source
130
47
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
130
14.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::StringMapEntry(unsigned long)
Line
Count
Source
130
1.06k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >::StringMapEntry(unsigned long)
Line
Count
Source
130
431
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry(unsigned long)
Line
Count
Source
130
13.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<FoundationClass>::StringMapEntry(unsigned long)
Line
Count
Source
130
91
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
20
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ento::BugType*>::StringMapEntry(unsigned long)
Line
Count
Source
130
709
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
32
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTUnit*>::StringMapEntry(unsigned long)
Line
Count
Source
130
57
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::StringMapEntry(unsigned long)
Line
Count
Source
130
10.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::TimeRecord>::StringMapEntry(unsigned long)
Line
Count
Source
130
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::StringLiteral*>::StringMapEntry(unsigned long)
Line
Count
Source
130
65
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::StringMapEntry(unsigned long)
Line
Count
Source
130
90
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::FrameworkCacheEntry>::StringMapEntry(unsigned long)
Line
Count
Source
130
403
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
374k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
14
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Module*>::StringMapEntry(unsigned long)
Line
Count
Source
130
74.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PragmaHandler*>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.25M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry(unsigned long)
Line
Count
Source
130
12.6k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry(unsigned long)
Line
Count
Source
130
607
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::StringMapEntry(unsigned long)
Line
Count
Source
130
340
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RecordStreamer::State>::StringMapEntry(unsigned long)
Line
Count
Source
130
264
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalValue const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
255
    : StringMapEntryBase(strLen), second() {}
131
  template <typename... InitTy>
132
  StringMapEntry(size_t strLen, InitTy &&... InitVals)
133
378M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >(unsigned long, std::__1::pair<(anonymous namespace)::RegKind, unsigned int>&&)
Line
Count
Source
133
17
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<int>::StringMapEntry<int>(unsigned long, int&&)
Line
Count
Source
133
2.43k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char>(unsigned long, char&&)
Line
Count
Source
133
934k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int>(unsigned long, unsigned int&&)
Line
Count
Source
133
30.9M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry<unsigned long long&>(unsigned long, unsigned long long&&&)
Line
Count
Source
133
201
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::StringMapEntry<llvm::ConstantDataSequential*>(unsigned long, llvm::ConstantDataSequential*&&)
Line
Count
Source
133
492k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned char>::StringMapEntry<unsigned char>(unsigned long, unsigned char&&)
Line
Count
Source
133
234k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Comdat>::StringMapEntry<llvm::Comdat>(unsigned long, llvm::Comdat&&)
Line
Count
Source
133
32.2k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::StructType*>::StringMapEntry<llvm::StructType*>(unsigned long, llvm::StructType*&&)
Line
Count
Source
133
245k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Value*>::StringMapEntry<llvm::Value*>(unsigned long, llvm::Value*&&)
Line
Count
Source
133
17.1M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char&>(unsigned long, char&&&)
Line
Count
Source
133
7.47k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry<llvm::Function*>(unsigned long, llvm::Function*&&)
Line
Count
Source
133
26
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::StringMapEntry<llvm::StringRef&, llvm::raw_ostream*&>(unsigned long, llvm::StringRef&&&, llvm::raw_ostream*&&&)
Line
Count
Source
133
84
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<bool>::StringMapEntry<bool>(unsigned long, bool&&)
Line
Count
Source
133
5.08M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MCAsmMacro>::StringMapEntry<llvm::MCAsmMacro>(unsigned long, llvm::MCAsmMacro&&)
Line
Count
Source
133
293
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::cl::Option*>::StringMapEntry<llvm::cl::Option*>(unsigned long, llvm::cl::Option*&&)
Line
Count
Source
133
154M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >(unsigned long, std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> >&&)
Line
Count
Source
133
140k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::IdentifierInfo*>::StringMapEntry<clang::IdentifierInfo*>(unsigned long, clang::IdentifierInfo*&&)
Line
Count
Source
133
160M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::DirectoryEntry*>::StringMapEntry<clang::DirectoryEntry*>(unsigned long, clang::DirectoryEntry*&&)
Line
Count
Source
133
411k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::FileEntry*>::StringMapEntry<clang::FileEntry*>(unsigned long, clang::FileEntry*&&)
Line
Count
Source
133
1.39M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned long>(unsigned long, unsigned long&&)
Line
Count
Source
133
117k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry<llvm::GlobalVariable*>(unsigned long, llvm::GlobalVariable*&&)
Line
Count
Source
133
313
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::StringMapEntry<std::nullptr_t>(unsigned long, std::nullptr_t&&)
Line
Count
Source
133
229
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry<unsigned int&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&>(unsigned long, unsigned int&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&)
Line
Count
Source
133
66
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry<unsigned int&, llvm::Constant*&, clang::CharUnits&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&, llvm::GlobalValue::LinkageTypes&>(unsigned long, unsigned int&&&, llvm::Constant*&&&, clang::CharUnits&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&, llvm::GlobalValue::LinkageTypes&&&)
Line
Count
Source
133
80
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::WeakTrackingVH>::StringMapEntry<llvm::Constant*&>(unsigned long, llvm::Constant*&&&)
Line
Count
Source
133
11
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::GlobalDecl>::StringMapEntry<clang::GlobalDecl>(unsigned long, clang::GlobalDecl&&)
Line
Count
Source
133
2.34M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::StringMapEntry<clang::OpenCLOptions::Info&>(unsigned long, clang::OpenCLOptions::Info&&&)
Line
Count
Source
133
547k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&)
Line
Count
Source
133
3.01M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>::StringMapEntry<clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>(unsigned long, clang::VerifyDiagnosticConsumer::MarkerTracker::Marker&&)
Line
Count
Source
133
842
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >(unsigned long, std::__1::shared_ptr<clang::ModuleFileExtension>&&)
Line
Count
Source
133
27
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::StringMapEntry<clang::InMemoryModuleCache::PCM>(unsigned long, clang::InMemoryModuleCache::PCM&&)
Line
Count
Source
133
4.25k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int const*>::StringMapEntry<unsigned int const*>(unsigned long, unsigned int const*&&)
Line
Count
Source
133
7.40k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::StringMapEntry<llvm::MachineMemOperand::Flags>(unsigned long, llvm::MachineMemOperand::Flags&&)
Line
Count
Source
133
6
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::StringMapEntry<llvm::TargetRegisterClass const*>(unsigned long, llvm::TargetRegisterClass const*&&)
Line
Count
Source
133
232k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::RegisterBank const*>::StringMapEntry<llvm::RegisterBank const*>(unsigned long, llvm::RegisterBank const*&&)
Line
Count
Source
133
6.12k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::VRegInfo*>::StringMapEntry<llvm::VRegInfo*>(unsigned long, llvm::VRegInfo*&&)
Line
Count
Source
133
27
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry<llvm::DIE const*>(unsigned long, llvm::DIE const*&&)
Line
Count
Source
133
18
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::StringMapEntry<llvm::DwarfStringPoolEntryRef&, unsigned int (*&)(llvm::StringRef)>(unsigned long, llvm::DwarfStringPoolEntryRef&&&, unsigned int (*&&&)(llvm::StringRef))
Line
Count
Source
133
71.8k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::StringMapEntry<llvm::DwarfStringPoolEntry>(unsigned long, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
133
85.0k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry<clang::Stmt*>(unsigned long, clang::Stmt*&&)
Line
Count
Source
133
2
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >(unsigned long, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> >&&)
Line
Count
Source
133
286
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&&)
Line
Count
Source
133
119
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::StringMapEntry<clang::OMPCriticalDirective const*&, llvm::APSInt&>(unsigned long, clang::OMPCriticalDirective const*&&&, llvm::APSInt&&&)
Line
Count
Source
133
38
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<int>(unsigned long, int&&)
Line
Count
Source
133
3
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
Unexecuted instantiation: llvm::StringMapEntry<clang::FrameworkCacheEntry>::StringMapEntry<clang::FrameworkCacheEntry>(unsigned long, clang::FrameworkCacheEntry&&)
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >(unsigned long, std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> >&&)
Line
Count
Source
133
923
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >(unsigned long, std::__1::pair<llvm::Type*, llvm::SMLoc>&&)
Line
Count
Source
133
55
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Type*>::StringMapEntry<llvm::Type*>(unsigned long, llvm::Type*&&)
Line
Count
Source
133
91
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
134
  StringMapEntry(StringMapEntry &E) = delete;
135
136
508M
  StringRef getKey() const {
137
508M
    return StringRef(getKeyData(), getKeyLength());
138
508M
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKey() const
Line
Count
Source
136
587k
  StringRef getKey() const {
137
587k
    return StringRef(getKeyData(), getKeyLength());
138
587k
  }
llvm::StringMapEntry<unsigned int>::getKey() const
Line
Count
Source
136
5.23M
  StringRef getKey() const {
137
5.23M
    return StringRef(getKeyData(), getKeyLength());
138
5.23M
  }
llvm::StringMapEntry<unsigned long long>::getKey() const
Line
Count
Source
136
126
  StringRef getKey() const {
137
126
    return StringRef(getKeyData(), getKeyLength());
138
126
  }
llvm::StringMapEntry<char>::getKey() const
Line
Count
Source
136
6.48M
  StringRef getKey() const {
137
6.48M
    return StringRef(getKeyData(), getKeyLength());
138
6.48M
  }
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::getKey() const
Line
Count
Source
136
12
  StringRef getKey() const {
137
12
    return StringRef(getKeyData(), getKeyLength());
138
12
  }
llvm::StringMapEntry<llvm::StructType*>::getKey() const
Line
Count
Source
136
1.34M
  StringRef getKey() const {
137
1.34M
    return StringRef(getKeyData(), getKeyLength());
138
1.34M
  }
llvm::StringMapEntry<llvm::Value*>::getKey() const
Line
Count
Source
136
481M
  StringRef getKey() const {
137
481M
    return StringRef(getKeyData(), getKeyLength());
138
481M
  }
Unexecuted instantiation: GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKey() const
llvm::StringMapEntry<bool>::getKey() const
Line
Count
Source
136
800k
  StringRef getKey() const {
137
800k
    return StringRef(getKeyData(), getKeyLength());
138
800k
  }
llvm::StringMapEntry<llvm::cl::Option*>::getKey() const
Line
Count
Source
136
67.9k
  StringRef getKey() const {
137
67.9k
    return StringRef(getKeyData(), getKeyLength());
138
67.9k
  }
llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >::getKey() const
Line
Count
Source
136
10
  StringRef getKey() const {
137
10
    return StringRef(getKeyData(), getKeyLength());
138
10
  }
llvm::StringMapEntry<llvm::TimeRecord>::getKey() const
Line
Count
Source
136
1
  StringRef getKey() const {
137
1
    return StringRef(getKeyData(), getKeyLength());
138
1
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKey() const
Line
Count
Source
136
143
  StringRef getKey() const {
137
143
    return StringRef(getKeyData(), getKeyLength());
138
143
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKey() const
Line
Count
Source
136
87.5k
  StringRef getKey() const {
137
87.5k
    return StringRef(getKeyData(), getKeyLength());
138
87.5k
  }
llvm::StringMapEntry<clang::IdentifierInfo*>::getKey() const
Line
Count
Source
136
12.6M
  StringRef getKey() const {
137
12.6M
    return StringRef(getKeyData(), getKeyLength());
138
12.6M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKey() const
Line
Count
Source
136
384
  StringRef getKey() const {
137
384
    return StringRef(getKeyData(), getKeyLength());
138
384
  }
llvm::StringMapEntry<llvm::Type*>::getKey() const
Line
Count
Source
136
55
  StringRef getKey() const {
137
55
    return StringRef(getKeyData(), getKeyLength());
138
55
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::getKey() const
Line
Count
Source
136
93
  StringRef getKey() const {
137
93
    return StringRef(getKeyData(), getKeyLength());
138
93
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKey() const
Line
Count
Source
136
98
  StringRef getKey() const {
137
98
    return StringRef(getKeyData(), getKeyLength());
138
98
  }
139
140
3.78M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue() const
Line
Count
Source
140
51.8k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue() const
Line
Count
Source
140
1.43M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned int>::getValue() const
Line
Count
Source
140
7.43k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::MCSymbol*>::getValue() const
Line
Count
Source
140
10.0k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long long>::getValue() const
Line
Count
Source
140
44
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Comdat>::getValue() const
Line
Count
Source
140
28.1k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue() const
Line
Count
Source
140
215k
  const ValueTy &getValue() const { return second; }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getValue() const
Line
Count
Source
140
381k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::cl::Option*>::getValue() const
Line
Count
Source
140
3.05k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getValue() const
Line
Count
Source
140
489
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >::getValue() const
Line
Count
Source
140
10
  const ValueTy &getValue() const { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::TimeRecord>::getValue() const
llvm::StringMapEntry<clang::FileEntry*>::getValue() const
Line
Count
Source
140
215k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<bool>::getValue() const
Line
Count
Source
140
819k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::WeakTrackingVH>::getValue() const
Line
Count
Source
140
22
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getValue() const
Line
Count
Source
140
143
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::GlobalDecl>::getValue() const
Line
Count
Source
140
2.16k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long>::getValue() const
Line
Count
Source
140
951
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getValue() const
Line
Count
Source
140
1.03k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::IdentifierInfo*>::getValue() const
Line
Count
Source
140
558k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::Module*>::getValue() const
Line
Count
Source
140
53.6k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getValue() const
Line
Count
Source
140
384
  const ValueTy &getValue() const { return second; }
141
1.97M
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue()
Line
Count
Source
141
547k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int>::getValue()
Line
Count
Source
141
200k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::MCAsmMacro>::getValue()
Line
Count
Source
141
197k
  ValueTy &getValue() { return second; }
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::getValue()
Line
Count
Source
141
825
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::AsmToken>::getValue()
Line
Count
Source
141
1
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned long long>::getValue()
Line
Count
Source
141
147
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::GCStrategy*>::getValue()
Line
Count
Source
141
55
  ValueTy &getValue() { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::ConstantDataSequential*>::getValue()
llvm::StringMapEntry<llvm::MDString>::getValue()
Line
Count
Source
141
717k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<char>::getValue()
Line
Count
Source
141
7.47k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Function*>::getValue()
Line
Count
Source
141
70
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue()
Line
Count
Source
141
82
  ValueTy &getValue() { return second; }
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getValue()
Line
Count
Source
141
84
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::cl::Option*>::getValue()
Line
Count
Source
141
66.0k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<bool>::getValue()
Line
Count
Source
141
121k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Constant*>::getValue()
Line
Count
Source
141
3
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<int>::getValue()
Line
Count
Source
141
9.63k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::SourceLocation>::getValue()
Line
Count
Source
141
50
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getValue()
Line
Count
Source
141
566
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int const*>::getValue()
Line
Count
Source
141
338
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue()
Line
Count
Source
141
11.1k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue()
Line
Count
Source
141
13.0k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue()
Line
Count
Source
141
2.25k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::Module*>::getValue()
Line
Count
Source
141
73.5k
  ValueTy &getValue() { return second; }
142
143
2.70M
  void setValue(const ValueTy &V) { second = V; }
llvm::StringMapEntry<llvm::Value*>::setValue(llvm::Value* const&)
Line
Count
Source
143
2.70M
  void setValue(const ValueTy &V) { second = V; }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::setValue(std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > const&)
Line
Count
Source
143
10
  void setValue(const ValueTy &V) { second = V; }
144
145
  /// getKeyData - Return the start of the string data that is the key for this
146
  /// value.  The string data is always stored immediately after the
147
  /// StringMapEntry object.
148
1.78G
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char>::getKeyData() const
Line
Count
Source
148
7.42M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::getKeyData() const
Line
Count
Source
148
85.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::getKeyData() const
Line
Count
Source
148
85.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKeyData() const
Line
Count
Source
148
5.58M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int>::getKeyData() const
Line
Count
Source
148
39.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCAsmMacro>::getKeyData() const
Line
Count
Source
148
293
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<bool>::getKeyData() const
Line
Count
Source
148
19.4M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getKeyData() const
Line
Count
Source
148
633k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::getKeyData() const
Line
Count
Source
148
9.10k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::getKeyData() const
Line
Count
Source
148
17
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<int>::getKeyData() const
Line
Count
Source
148
798k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::getKeyData() const
Line
Count
Source
148
290
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::getKeyData() const
Line
Count
Source
148
3.64k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::getKeyData() const
Line
Count
Source
148
5.27k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::getKeyData() const
Line
Count
Source
148
62
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::getKeyData() const
Line
Count
Source
148
1.01k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::getKeyData() const
Line
Count
Source
148
2.20k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AsmToken>::getKeyData() const
Line
Count
Source
148
1
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::getKeyData() const
Line
Count
Source
148
1.85k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::getKeyData() const
Line
Count
Source
148
197
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Function*>::getKeyData() const
Line
Count
Source
148
346
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::getKeyData() const
Line
Count
Source
148
4.87k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::getKeyData() const
Line
Count
Source
148
546
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long long>::getKeyData() const
Line
Count
Source
148
1.47k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::getKeyData() const
Line
Count
Source
148
15.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKeyData() const
Line
Count
Source
148
3.13k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::getKeyData() const
Line
Count
Source
148
1.29k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GCStrategy*>::getKeyData() const
Line
Count
Source
148
26
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::getKeyData() const
Line
Count
Source
148
614
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Comdat>::getKeyData() const
Line
Count
Source
148
125k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::getKeyData() const
Line
Count
Source
148
994k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned char>::getKeyData() const
Line
Count
Source
148
245k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::getKeyData() const
Line
Count
Source
148
167
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MDString>::getKeyData() const
Line
Count
Source
148
63.6M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::NamedMDNode*>::getKeyData() const
Line
Count
Source
148
59.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::PassInfo const*>::getKeyData() const
Line
Count
Source
148
32.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StructType*>::getKeyData() const
Line
Count
Source
148
1.59M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Value*>::getKeyData() const
Line
Count
Source
148
498M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::getKeyData() const
Line
Count
Source
148
1.11k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::getKeyData() const
Line
Count
Source
148
1.58k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
148
521
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKeyData() const
Line
Count
Source
148
84
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSymbol*>::getKeyData() const
Line
Count
Source
148
4.66M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSectionMachO*>::getKeyData() const
Line
Count
Source
148
890k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getKeyData() const
Line
Count
Source
148
2.96M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::getKeyData() const
Line
Count
Source
148
705k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::cl::Option*>::getKeyData() const
Line
Count
Source
148
154M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long>::getKeyData() const
Line
Count
Source
148
38.4k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
148
304
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getKeyData() const
Line
Count
Source
148
329
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >::getKeyData() const
Line
Count
Source
148
20
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::getKeyData() const
Line
Count
Source
148
9
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Timer>::getKeyData() const
Line
Count
Source
148
9
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TimeRecord>::getKeyData() const
Line
Count
Source
148
2
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::getKeyData() const
Line
Count
Source
148
140k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::getKeyData() const
Line
Count
Source
148
1.04M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<void*>::getKeyData() const
Line
Count
Source
148
3
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::getKeyData() const
Line
Count
Source
148
98
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::IdentifierInfo*>::getKeyData() const
Line
Count
Source
148
935M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::DirectoryEntry*>::getKeyData() const
Line
Count
Source
148
823k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileEntry*>::getKeyData() const
Line
Count
Source
148
2.79M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::vfs::Status>::getKeyData() const
Line
Count
Source
148
19
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Constant*>::getKeyData() const
Line
Count
Source
148
47
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalVariable*>::getKeyData() const
Line
Count
Source
148
2.75k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
148
458
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::getKeyData() const
Line
Count
Source
148
9.59k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKeyData() const
Line
Count
Source
148
289
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::WeakTrackingVH>::getKeyData() const
Line
Count
Source
148
11
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
148
254
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::GlobalDecl>::getKeyData() const
Line
Count
Source
148
4.69M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::getKeyData() const
Line
Count
Source
148
194
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKeyData() const
Line
Count
Source
148
3.11M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FrameworkCacheEntry>::getKeyData() const
Line
Count
Source
148
407
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::getKeyData() const
Line
Count
Source
148
31.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char const*>::getKeyData() const
Line
Count
Source
148
105
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::SourceLocation>::getKeyData() const
Line
Count
Source
148
15
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::getKeyData() const
Line
Count
Source
148
37
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::getKeyData() const
Line
Count
Source
148
1.07k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>::getKeyData() const
Line
Count
Source
148
1.68k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
VerifyDiagnosticConsumer.cpp:llvm::StringMapEntry<llvm::SmallVector<(anonymous namespace)::UnattachedDirective, 2u> >::getKeyData() const
Line
Count
Source
148
12
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::getKeyData() const
Line
Count
Source
148
3.95k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::getKeyData() const
Line
Count
Source
148
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::getKeyData() const
Line
Count
Source
148
179k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::getKeyData() const
Line
Count
Source
148
5.53k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::getKeyData() const
Line
Count
Source
148
85
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int const*>::getKeyData() const
Line
Count
Source
148
7.40k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::getKeyData() const
Line
Count
Source
148
6
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getKeyData() const
Line
Count
Source
148
232k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RegisterBank const*>::getKeyData() const
Line
Count
Source
148
6.12k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::VRegInfo*>::getKeyData() const
Line
Count
Source
148
54
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DIE const*>::getKeyData() const
Line
Count
Source
148
140k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::getKeyData() const
Line
Count
Source
148
71.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::getKeyData() const
Line
Count
Source
148
9
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> > >::getKeyData() const
Line
Count
Source
148
141
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned short>::getKeyData() const
Line
Count
Source
148
47
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SDNode*>::getKeyData() const
Line
Count
Source
148
14.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::getKeyData() const
Line
Count
Source
148
1.06k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >::getKeyData() const
Line
Count
Source
148
431
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Stmt*>::getKeyData() const
Line
Count
Source
148
13.0k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<FoundationClass>::getKeyData() const
Line
Count
Source
148
91
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::getKeyData() const
Line
Count
Source
148
20
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::getKeyData() const
Line
Count
Source
148
286
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ento::BugType*>::getKeyData() const
Line
Count
Source
148
709
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::getKeyData() const
Line
Count
Source
148
32
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTUnit*>::getKeyData() const
Line
Count
Source
148
57
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::getKeyData() const
Line
Count
Source
148
10.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::getKeyData() const
Line
Count
Source
148
3
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::getKeyData() const
Line
Count
Source
148
38
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::StringLiteral*>::getKeyData() const
Line
Count
Source
148
65
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::getKeyData() const
Line
Count
Source
148
90
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::getKeyData() const
Line
Count
Source
148
374k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
148
14
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Module*>::getKeyData() const
Line
Count
Source
148
74.0k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PragmaHandler*>::getKeyData() const
Line
Count
Source
148
2.25M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Type*>::getKeyData() const
Line
Count
Source
148
146
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::getKeyData() const
Line
Count
Source
148
12.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKeyData() const
Line
Count
Source
148
481
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RecordStreamer::State>::getKeyData() const
Line
Count
Source
148
528
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalValue const*>::getKeyData() const
Line
Count
Source
148
255
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
149
150
81.7M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<bool>::first() const
Line
Count
Source
150
12.3M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::first() const
Line
Count
Source
150
465k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned long long>::first() const
Line
Count
Source
150
122
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::first() const
Line
Count
Source
150
1.82k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::Comdat>::first() const
Line
Count
Source
150
93.5k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::ConstantDataSequential*>::first() const
Line
Count
Source
150
501k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned int>::first() const
Line
Count
Source
150
361k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned char>::first() const
Line
Count
Source
150
11.1k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::MDString>::first() const
Line
Count
Source
150
63.1M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::first() const
Line
Count
Source
150
1.02k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::first() const
Line
Count
Source
150
459
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
Unexecuted instantiation: llvm::StringMapEntry<llvm::cl::Option*>::first() const
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::first() const
Line
Count
Source
150
523k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::first() const
Line
Count
Source
150
62
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::DirectoryEntry*>::first() const
Line
Count
Source
150
411k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FileEntry*>::first() const
Line
Count
Source
150
1.39M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::GlobalVariable*>::first() const
Line
Count
Source
150
332
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::first() const
Line
Count
Source
150
229
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::first() const
Line
Count
Source
150
6.07k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::first() const
Line
Count
Source
150
127
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::GlobalDecl>::first() const
Line
Count
Source
150
2.34M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
Unexecuted instantiation: llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::first() const
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::first() const
Line
Count
Source
150
918
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>::first() const
Line
Count
Source
150
842
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
VerifyDiagnosticConsumer.cpp:llvm::StringMapEntry<llvm::SmallVector<(anonymous namespace)::UnattachedDirective, 2u> >::first() const
Line
Count
Source
150
1
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::first() const
Line
Count
Source
150
89.8k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> > >::first() const
Line
Count
Source
150
80
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<char>::first() const
Line
Count
Source
150
215
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FrameworkCacheEntry>::first() const
Line
Count
Source
150
4
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::first() const
Line
Count
Source
150
43
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::RecordStreamer::State>::first() const
Line
Count
Source
150
264
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::VRegInfo*>::first() const
Line
Count
Source
150
27
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
151
152
  /// Create a StringMapEntry for the specified key construct the value using
153
  /// \p InitiVals.
154
  template <typename AllocatorTy, typename... InitTy>
155
  static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator,
156
434M
                                InitTy &&... InitVals) {
157
434M
    size_t KeyLength = Key.size();
158
434M
159
434M
    // Allocate a new item with space for the string at the end and a null
160
434M
    // terminator.
161
434M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
434M
    size_t Alignment = alignof(StringMapEntry);
163
434M
164
434M
    StringMapEntry *NewItem =
165
434M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
434M
    assert(NewItem && "Unhandled out-of-memory");
167
434M
168
434M
    // Construct the value.
169
434M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
434M
171
434M
    // Copy the string information.
172
434M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
434M
    if (KeyLength > 0)
174
434M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
434M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
434M
    return NewItem;
177
434M
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char>(llvm::StringRef, llvm::MallocAllocator&, char&&)
Line
Count
Source
156
916k
                                InitTy &&... InitVals) {
157
916k
    size_t KeyLength = Key.size();
158
916k
159
916k
    // Allocate a new item with space for the string at the end and a null
160
916k
    // terminator.
161
916k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
916k
    size_t Alignment = alignof(StringMapEntry);
163
916k
164
916k
    StringMapEntry *NewItem =
165
916k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
916k
    assert(NewItem && "Unhandled out-of-memory");
167
916k
168
916k
    // Construct the value.
169
916k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
916k
171
916k
    // Copy the string information.
172
916k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
916k
    if (KeyLength > 0)
174
916k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
916k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
916k
    return NewItem;
177
916k
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
85.8k
                                InitTy &&... InitVals) {
157
85.8k
    size_t KeyLength = Key.size();
158
85.8k
159
85.8k
    // Allocate a new item with space for the string at the end and a null
160
85.8k
    // terminator.
161
85.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
85.8k
    size_t Alignment = alignof(StringMapEntry);
163
85.8k
164
85.8k
    StringMapEntry *NewItem =
165
85.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
85.8k
    assert(NewItem && "Unhandled out-of-memory");
167
85.8k
168
85.8k
    // Construct the value.
169
85.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
85.8k
171
85.8k
    // Copy the string information.
172
85.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
85.8k
    if (KeyLength > 0)
174
85.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
85.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
85.8k
    return NewItem;
177
85.8k
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
85.8k
                                InitTy &&... InitVals) {
157
85.8k
    size_t KeyLength = Key.size();
158
85.8k
159
85.8k
    // Allocate a new item with space for the string at the end and a null
160
85.8k
    // terminator.
161
85.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
85.8k
    size_t Alignment = alignof(StringMapEntry);
163
85.8k
164
85.8k
    StringMapEntry *NewItem =
165
85.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
85.8k
    assert(NewItem && "Unhandled out-of-memory");
167
85.8k
168
85.8k
    // Construct the value.
169
85.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
85.8k
171
85.8k
    // Copy the string information.
172
85.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
85.8k
    if (KeyLength > 0)
174
85.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
85.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
85.8k
    return NewItem;
177
85.8k
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
4.44M
                                InitTy &&... InitVals) {
157
4.44M
    size_t KeyLength = Key.size();
158
4.44M
159
4.44M
    // Allocate a new item with space for the string at the end and a null
160
4.44M
    // terminator.
161
4.44M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.44M
    size_t Alignment = alignof(StringMapEntry);
163
4.44M
164
4.44M
    StringMapEntry *NewItem =
165
4.44M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.44M
    assert(NewItem && "Unhandled out-of-memory");
167
4.44M
168
4.44M
    // Construct the value.
169
4.44M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.44M
171
4.44M
    // Copy the string information.
172
4.44M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.44M
    if (KeyLength > 0)
174
4.44M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.44M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.44M
    return NewItem;
177
4.44M
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator, clang::OpenCLOptions::Info&>(llvm::StringRef, llvm::MallocAllocator&, clang::OpenCLOptions::Info&&&)
Line
Count
Source
156
547k
                                InitTy &&... InitVals) {
157
547k
    size_t KeyLength = Key.size();
158
547k
159
547k
    // Allocate a new item with space for the string at the end and a null
160
547k
    // terminator.
161
547k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
547k
    size_t Alignment = alignof(StringMapEntry);
163
547k
164
547k
    StringMapEntry *NewItem =
165
547k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
547k
    assert(NewItem && "Unhandled out-of-memory");
167
547k
168
547k
    // Construct the value.
169
547k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
547k
171
547k
    // Copy the string information.
172
547k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
547k
    if (KeyLength > 0)
174
547k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
547k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
547k
    return NewItem;
177
547k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.15M
                                InitTy &&... InitVals) {
157
3.15M
    size_t KeyLength = Key.size();
158
3.15M
159
3.15M
    // Allocate a new item with space for the string at the end and a null
160
3.15M
    // terminator.
161
3.15M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.15M
    size_t Alignment = alignof(StringMapEntry);
163
3.15M
164
3.15M
    StringMapEntry *NewItem =
165
3.15M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.15M
    assert(NewItem && "Unhandled out-of-memory");
167
3.15M
168
3.15M
    // Construct the value.
169
3.15M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.15M
171
3.15M
    // Copy the string information.
172
3.15M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.15M
    if (KeyLength > 0)
174
3.15M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.15M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.15M
    return NewItem;
177
3.15M
  }
llvm::StringMapEntry<llvm::MCAsmMacro>* llvm::StringMapEntry<llvm::MCAsmMacro>::Create<llvm::MallocAllocator, llvm::MCAsmMacro>(llvm::StringRef, llvm::MallocAllocator&, llvm::MCAsmMacro&&)
Line
Count
Source
156
293
                                InitTy &&... InitVals) {
157
293
    size_t KeyLength = Key.size();
158
293
159
293
    // Allocate a new item with space for the string at the end and a null
160
293
    // terminator.
161
293
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
293
    size_t Alignment = alignof(StringMapEntry);
163
293
164
293
    StringMapEntry *NewItem =
165
293
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
293
    assert(NewItem && "Unhandled out-of-memory");
167
293
168
293
    // Construct the value.
169
293
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
293
171
293
    // Copy the string information.
172
293
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
293
    if (KeyLength > 0)
174
293
      memcpy(StrBuffer, Key.data(), KeyLength);
175
293
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
293
    return NewItem;
177
293
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
9.10k
                                InitTy &&... InitVals) {
157
9.10k
    size_t KeyLength = Key.size();
158
9.10k
159
9.10k
    // Allocate a new item with space for the string at the end and a null
160
9.10k
    // terminator.
161
9.10k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
9.10k
    size_t Alignment = alignof(StringMapEntry);
163
9.10k
164
9.10k
    StringMapEntry *NewItem =
165
9.10k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
9.10k
    assert(NewItem && "Unhandled out-of-memory");
167
9.10k
168
9.10k
    // Construct the value.
169
9.10k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
9.10k
171
9.10k
    // Copy the string information.
172
9.10k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
9.10k
    if (KeyLength > 0)
174
7.69k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
9.10k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
9.10k
    return NewItem;
177
9.10k
  }
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >* llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::Create<llvm::MallocAllocator, std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::pair<(anonymous namespace)::RegKind, unsigned int>&&)
Line
Count
Source
156
17
                                InitTy &&... InitVals) {
157
17
    size_t KeyLength = Key.size();
158
17
159
17
    // Allocate a new item with space for the string at the end and a null
160
17
    // terminator.
161
17
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
17
    size_t Alignment = alignof(StringMapEntry);
163
17
164
17
    StringMapEntry *NewItem =
165
17
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
17
    assert(NewItem && "Unhandled out-of-memory");
167
17
168
17
    // Construct the value.
169
17
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
17
171
17
    // Copy the string information.
172
17
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
17
    if (KeyLength > 0)
174
17
      memcpy(StrBuffer, Key.data(), KeyLength);
175
17
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
17
    return NewItem;
177
17
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
156
2.43k
                                InitTy &&... InitVals) {
157
2.43k
    size_t KeyLength = Key.size();
158
2.43k
159
2.43k
    // Allocate a new item with space for the string at the end and a null
160
2.43k
    // terminator.
161
2.43k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.43k
    size_t Alignment = alignof(StringMapEntry);
163
2.43k
164
2.43k
    StringMapEntry *NewItem =
165
2.43k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.43k
    assert(NewItem && "Unhandled out-of-memory");
167
2.43k
168
2.43k
    // Construct the value.
169
2.43k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.43k
171
2.43k
    // Copy the string information.
172
2.43k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.43k
    if (KeyLength > 0)
174
2.41k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.43k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.43k
    return NewItem;
177
2.43k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
290
                                InitTy &&... InitVals) {
157
290
    size_t KeyLength = Key.size();
158
290
159
290
    // Allocate a new item with space for the string at the end and a null
160
290
    // terminator.
161
290
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
290
    size_t Alignment = alignof(StringMapEntry);
163
290
164
290
    StringMapEntry *NewItem =
165
290
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
290
    assert(NewItem && "Unhandled out-of-memory");
167
290
168
290
    // Construct the value.
169
290
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
290
171
290
    // Copy the string information.
172
290
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
290
    if (KeyLength > 0)
174
290
      memcpy(StrBuffer, Key.data(), KeyLength);
175
290
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
290
    return NewItem;
177
290
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.64k
                                InitTy &&... InitVals) {
157
3.64k
    size_t KeyLength = Key.size();
158
3.64k
159
3.64k
    // Allocate a new item with space for the string at the end and a null
160
3.64k
    // terminator.
161
3.64k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.64k
    size_t Alignment = alignof(StringMapEntry);
163
3.64k
164
3.64k
    StringMapEntry *NewItem =
165
3.64k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.64k
    assert(NewItem && "Unhandled out-of-memory");
167
3.64k
168
3.64k
    // Construct the value.
169
3.64k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.64k
171
3.64k
    // Copy the string information.
172
3.64k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.64k
    if (KeyLength > 0)
174
3.64k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.64k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.64k
    return NewItem;
177
3.64k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
5.27k
                                InitTy &&... InitVals) {
157
5.27k
    size_t KeyLength = Key.size();
158
5.27k
159
5.27k
    // Allocate a new item with space for the string at the end and a null
160
5.27k
    // terminator.
161
5.27k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5.27k
    size_t Alignment = alignof(StringMapEntry);
163
5.27k
164
5.27k
    StringMapEntry *NewItem =
165
5.27k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5.27k
    assert(NewItem && "Unhandled out-of-memory");
167
5.27k
168
5.27k
    // Construct the value.
169
5.27k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5.27k
171
5.27k
    // Copy the string information.
172
5.27k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5.27k
    if (KeyLength > 0)
174
3.54k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5.27k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5.27k
    return NewItem;
177
5.27k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&)
Line
Count
Source
156
30.9M
                                InitTy &&... InitVals) {
157
30.9M
    size_t KeyLength = Key.size();
158
30.9M
159
30.9M
    // Allocate a new item with space for the string at the end and a null
160
30.9M
    // terminator.
161
30.9M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
30.9M
    size_t Alignment = alignof(StringMapEntry);
163
30.9M
164
30.9M
    StringMapEntry *NewItem =
165
30.9M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
30.9M
    assert(NewItem && "Unhandled out-of-memory");
167
30.9M
168
30.9M
    // Construct the value.
169
30.9M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
30.9M
171
30.9M
    // Copy the string information.
172
30.9M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
30.9M
    if (KeyLength > 0)
174
30.9M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
30.9M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
30.9M
    return NewItem;
177
30.9M
  }
llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >* llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
62
                                InitTy &&... InitVals) {
157
62
    size_t KeyLength = Key.size();
158
62
159
62
    // Allocate a new item with space for the string at the end and a null
160
62
    // terminator.
161
62
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
62
    size_t Alignment = alignof(StringMapEntry);
163
62
164
62
    StringMapEntry *NewItem =
165
62
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
62
    assert(NewItem && "Unhandled out-of-memory");
167
62
168
62
    // Construct the value.
169
62
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
62
171
62
    // Copy the string information.
172
62
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
62
    if (KeyLength > 0)
174
62
      memcpy(StrBuffer, Key.data(), KeyLength);
175
62
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
62
    return NewItem;
177
62
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.01k
                                InitTy &&... InitVals) {
157
1.01k
    size_t KeyLength = Key.size();
158
1.01k
159
1.01k
    // Allocate a new item with space for the string at the end and a null
160
1.01k
    // terminator.
161
1.01k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.01k
    size_t Alignment = alignof(StringMapEntry);
163
1.01k
164
1.01k
    StringMapEntry *NewItem =
165
1.01k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.01k
    assert(NewItem && "Unhandled out-of-memory");
167
1.01k
168
1.01k
    // Construct the value.
169
1.01k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.01k
171
1.01k
    // Copy the string information.
172
1.01k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.01k
    if (KeyLength > 0)
174
496
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.01k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.01k
    return NewItem;
177
1.01k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.20k
                                InitTy &&... InitVals) {
157
2.20k
    size_t KeyLength = Key.size();
158
2.20k
159
2.20k
    // Allocate a new item with space for the string at the end and a null
160
2.20k
    // terminator.
161
2.20k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.20k
    size_t Alignment = alignof(StringMapEntry);
163
2.20k
164
2.20k
    StringMapEntry *NewItem =
165
2.20k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.20k
    assert(NewItem && "Unhandled out-of-memory");
167
2.20k
168
2.20k
    // Construct the value.
169
2.20k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.20k
171
2.20k
    // Copy the string information.
172
2.20k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.20k
    if (KeyLength > 0)
174
1.70k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.20k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.20k
    return NewItem;
177
2.20k
  }
llvm::StringMapEntry<llvm::AsmToken>* llvm::StringMapEntry<llvm::AsmToken>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1
                                InitTy &&... InitVals) {
157
1
    size_t KeyLength = Key.size();
158
1
159
1
    // Allocate a new item with space for the string at the end and a null
160
1
    // terminator.
161
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1
    size_t Alignment = alignof(StringMapEntry);
163
1
164
1
    StringMapEntry *NewItem =
165
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1
    assert(NewItem && "Unhandled out-of-memory");
167
1
168
1
    // Construct the value.
169
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1
171
1
    // Copy the string information.
172
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1
    if (KeyLength > 0)
174
1
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1
    return NewItem;
177
1
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.85k
                                InitTy &&... InitVals) {
157
1.85k
    size_t KeyLength = Key.size();
158
1.85k
159
1.85k
    // Allocate a new item with space for the string at the end and a null
160
1.85k
    // terminator.
161
1.85k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.85k
    size_t Alignment = alignof(StringMapEntry);
163
1.85k
164
1.85k
    StringMapEntry *NewItem =
165
1.85k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.85k
    assert(NewItem && "Unhandled out-of-memory");
167
1.85k
168
1.85k
    // Construct the value.
169
1.85k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.85k
171
1.85k
    // Copy the string information.
172
1.85k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.85k
    if (KeyLength > 0)
174
1.84k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.85k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.85k
    return NewItem;
177
1.85k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
197
                                InitTy &&... InitVals) {
157
197
    size_t KeyLength = Key.size();
158
197
159
197
    // Allocate a new item with space for the string at the end and a null
160
197
    // terminator.
161
197
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
197
    size_t Alignment = alignof(StringMapEntry);
163
197
164
197
    StringMapEntry *NewItem =
165
197
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
197
    assert(NewItem && "Unhandled out-of-memory");
167
197
168
197
    // Construct the value.
169
197
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
197
171
197
    // Copy the string information.
172
197
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
197
    if (KeyLength > 0)
174
58
      memcpy(StrBuffer, Key.data(), KeyLength);
175
197
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
197
    return NewItem;
177
197
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
320
                                InitTy &&... InitVals) {
157
320
    size_t KeyLength = Key.size();
158
320
159
320
    // Allocate a new item with space for the string at the end and a null
160
320
    // terminator.
161
320
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
320
    size_t Alignment = alignof(StringMapEntry);
163
320
164
320
    StringMapEntry *NewItem =
165
320
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
320
    assert(NewItem && "Unhandled out-of-memory");
167
320
168
320
    // Construct the value.
169
320
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
320
171
320
    // Copy the string information.
172
320
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
320
    if (KeyLength > 0)
174
320
      memcpy(StrBuffer, Key.data(), KeyLength);
175
320
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
320
    return NewItem;
177
320
  }
llvm::StringMapEntry<llvm::RTLIB::Libcall>* llvm::StringMapEntry<llvm::RTLIB::Libcall>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
4.87k
                                InitTy &&... InitVals) {
157
4.87k
    size_t KeyLength = Key.size();
158
4.87k
159
4.87k
    // Allocate a new item with space for the string at the end and a null
160
4.87k
    // terminator.
161
4.87k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.87k
    size_t Alignment = alignof(StringMapEntry);
163
4.87k
164
4.87k
    StringMapEntry *NewItem =
165
4.87k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.87k
    assert(NewItem && "Unhandled out-of-memory");
167
4.87k
168
4.87k
    // Construct the value.
169
4.87k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.87k
171
4.87k
    // Copy the string information.
172
4.87k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.87k
    if (KeyLength > 0)
174
4.87k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.87k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.87k
    return NewItem;
177
4.87k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
546
                                InitTy &&... InitVals) {
157
546
    size_t KeyLength = Key.size();
158
546
159
546
    // Allocate a new item with space for the string at the end and a null
160
546
    // terminator.
161
546
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
546
    size_t Alignment = alignof(StringMapEntry);
163
546
164
546
    StringMapEntry *NewItem =
165
546
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
546
    assert(NewItem && "Unhandled out-of-memory");
167
546
168
546
    // Construct the value.
169
546
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
546
171
546
    // Copy the string information.
172
546
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
546
    if (KeyLength > 0)
174
198
      memcpy(StrBuffer, Key.data(), KeyLength);
175
546
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
546
    return NewItem;
177
546
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
607
                                InitTy &&... InitVals) {
157
607
    size_t KeyLength = Key.size();
158
607
159
607
    // Allocate a new item with space for the string at the end and a null
160
607
    // terminator.
161
607
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
607
    size_t Alignment = alignof(StringMapEntry);
163
607
164
607
    StringMapEntry *NewItem =
165
607
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
607
    assert(NewItem && "Unhandled out-of-memory");
167
607
168
607
    // Construct the value.
169
607
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
607
171
607
    // Copy the string information.
172
607
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
607
    if (KeyLength > 0)
174
607
      memcpy(StrBuffer, Key.data(), KeyLength);
175
607
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
607
    return NewItem;
177
607
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator, unsigned long long&>(llvm::StringRef, llvm::MallocAllocator&, unsigned long long&&&)
Line
Count
Source
156
201
                                InitTy &&... InitVals) {
157
201
    size_t KeyLength = Key.size();
158
201
159
201
    // Allocate a new item with space for the string at the end and a null
160
201
    // terminator.
161
201
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
201
    size_t Alignment = alignof(StringMapEntry);
163
201
164
201
    StringMapEntry *NewItem =
165
201
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
201
    assert(NewItem && "Unhandled out-of-memory");
167
201
168
201
    // Construct the value.
169
201
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
201
171
201
    // Copy the string information.
172
201
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
201
    if (KeyLength > 0)
174
201
      memcpy(StrBuffer, Key.data(), KeyLength);
175
201
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
201
    return NewItem;
177
201
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
15.2k
                                InitTy &&... InitVals) {
157
15.2k
    size_t KeyLength = Key.size();
158
15.2k
159
15.2k
    // Allocate a new item with space for the string at the end and a null
160
15.2k
    // terminator.
161
15.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
15.2k
    size_t Alignment = alignof(StringMapEntry);
163
15.2k
164
15.2k
    StringMapEntry *NewItem =
165
15.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
15.2k
    assert(NewItem && "Unhandled out-of-memory");
167
15.2k
168
15.2k
    // Construct the value.
169
15.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
15.2k
171
15.2k
    // Copy the string information.
172
15.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
15.2k
    if (KeyLength > 0)
174
10.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
15.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
15.2k
    return NewItem;
177
15.2k
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >* llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Create<llvm::MallocAllocator, std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> >&&)
Line
Count
Source
156
923
                                InitTy &&... InitVals) {
157
923
    size_t KeyLength = Key.size();
158
923
159
923
    // Allocate a new item with space for the string at the end and a null
160
923
    // terminator.
161
923
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
923
    size_t Alignment = alignof(StringMapEntry);
163
923
164
923
    StringMapEntry *NewItem =
165
923
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
923
    assert(NewItem && "Unhandled out-of-memory");
167
923
168
923
    // Construct the value.
169
923
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
923
171
923
    // Copy the string information.
172
923
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
923
    if (KeyLength > 0)
174
896
      memcpy(StrBuffer, Key.data(), KeyLength);
175
923
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
923
    return NewItem;
177
923
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.29k
                                InitTy &&... InitVals) {
157
1.29k
    size_t KeyLength = Key.size();
158
1.29k
159
1.29k
    // Allocate a new item with space for the string at the end and a null
160
1.29k
    // terminator.
161
1.29k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.29k
    size_t Alignment = alignof(StringMapEntry);
163
1.29k
164
1.29k
    StringMapEntry *NewItem =
165
1.29k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.29k
    assert(NewItem && "Unhandled out-of-memory");
167
1.29k
168
1.29k
    // Construct the value.
169
1.29k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.29k
171
1.29k
    // Copy the string information.
172
1.29k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.29k
    if (KeyLength > 0)
174
1.29k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.29k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.29k
    return NewItem;
177
1.29k
  }
llvm::StringMapEntry<llvm::GCStrategy*>* llvm::StringMapEntry<llvm::GCStrategy*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
26
                                InitTy &&... InitVals) {
157
26
    size_t KeyLength = Key.size();
158
26
159
26
    // Allocate a new item with space for the string at the end and a null
160
26
    // terminator.
161
26
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
26
    size_t Alignment = alignof(StringMapEntry);
163
26
164
26
    StringMapEntry *NewItem =
165
26
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
26
    assert(NewItem && "Unhandled out-of-memory");
167
26
168
26
    // Construct the value.
169
26
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
26
171
26
    // Copy the string information.
172
26
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
26
    if (KeyLength > 0)
174
26
      memcpy(StrBuffer, Key.data(), KeyLength);
175
26
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
26
    return NewItem;
177
26
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
614
                                InitTy &&... InitVals) {
157
614
    size_t KeyLength = Key.size();
158
614
159
614
    // Allocate a new item with space for the string at the end and a null
160
614
    // terminator.
161
614
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
614
    size_t Alignment = alignof(StringMapEntry);
163
614
164
614
    StringMapEntry *NewItem =
165
614
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
614
    assert(NewItem && "Unhandled out-of-memory");
167
614
168
614
    // Construct the value.
169
614
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
614
171
614
    // Copy the string information.
172
614
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
614
    if (KeyLength > 0)
174
614
      memcpy(StrBuffer, Key.data(), KeyLength);
175
614
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
614
    return NewItem;
177
614
  }
llvm::StringMapEntry<llvm::ConstantDataSequential*>* llvm::StringMapEntry<llvm::ConstantDataSequential*>::Create<llvm::MallocAllocator, llvm::ConstantDataSequential*>(llvm::StringRef, llvm::MallocAllocator&, llvm::ConstantDataSequential*&&)
Line
Count
Source
156
492k
                                InitTy &&... InitVals) {
157
492k
    size_t KeyLength = Key.size();
158
492k
159
492k
    // Allocate a new item with space for the string at the end and a null
160
492k
    // terminator.
161
492k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
492k
    size_t Alignment = alignof(StringMapEntry);
163
492k
164
492k
    StringMapEntry *NewItem =
165
492k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
492k
    assert(NewItem && "Unhandled out-of-memory");
167
492k
168
492k
    // Construct the value.
169
492k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
492k
171
492k
    // Copy the string information.
172
492k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
492k
    if (KeyLength > 0)
174
492k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
492k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
492k
    return NewItem;
177
492k
  }
llvm::StringMapEntry<unsigned char>* llvm::StringMapEntry<unsigned char>::Create<llvm::MallocAllocator, unsigned char>(llvm::StringRef, llvm::MallocAllocator&, unsigned char&&)
Line
Count
Source
156
234k
                                InitTy &&... InitVals) {
157
234k
    size_t KeyLength = Key.size();
158
234k
159
234k
    // Allocate a new item with space for the string at the end and a null
160
234k
    // terminator.
161
234k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
234k
    size_t Alignment = alignof(StringMapEntry);
163
234k
164
234k
    StringMapEntry *NewItem =
165
234k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
234k
    assert(NewItem && "Unhandled out-of-memory");
167
234k
168
234k
    // Construct the value.
169
234k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
234k
171
234k
    // Copy the string information.
172
234k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
234k
    if (KeyLength > 0)
174
126k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
234k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
234k
    return NewItem;
177
234k
  }
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >* llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
155
                                InitTy &&... InitVals) {
157
155
    size_t KeyLength = Key.size();
158
155
159
155
    // Allocate a new item with space for the string at the end and a null
160
155
    // terminator.
161
155
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
155
    size_t Alignment = alignof(StringMapEntry);
163
155
164
155
    StringMapEntry *NewItem =
165
155
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
155
    assert(NewItem && "Unhandled out-of-memory");
167
155
168
155
    // Construct the value.
169
155
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
155
171
155
    // Copy the string information.
172
155
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
155
    if (KeyLength > 0)
174
155
      memcpy(StrBuffer, Key.data(), KeyLength);
175
155
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
155
    return NewItem;
177
155
  }
llvm::StringMapEntry<llvm::MDString>* llvm::StringMapEntry<llvm::MDString>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
439k
                                InitTy &&... InitVals) {
157
439k
    size_t KeyLength = Key.size();
158
439k
159
439k
    // Allocate a new item with space for the string at the end and a null
160
439k
    // terminator.
161
439k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
439k
    size_t Alignment = alignof(StringMapEntry);
163
439k
164
439k
    StringMapEntry *NewItem =
165
439k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
439k
    assert(NewItem && "Unhandled out-of-memory");
167
439k
168
439k
    // Construct the value.
169
439k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
439k
171
439k
    // Copy the string information.
172
439k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
439k
    if (KeyLength > 0)
174
434k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
439k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
439k
    return NewItem;
177
439k
  }
llvm::StringMapEntry<llvm::NamedMDNode*>* llvm::StringMapEntry<llvm::NamedMDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
59.7k
                                InitTy &&... InitVals) {
157
59.7k
    size_t KeyLength = Key.size();
158
59.7k
159
59.7k
    // Allocate a new item with space for the string at the end and a null
160
59.7k
    // terminator.
161
59.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
59.7k
    size_t Alignment = alignof(StringMapEntry);
163
59.7k
164
59.7k
    StringMapEntry *NewItem =
165
59.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
59.7k
    assert(NewItem && "Unhandled out-of-memory");
167
59.7k
168
59.7k
    // Construct the value.
169
59.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
59.7k
171
59.7k
    // Copy the string information.
172
59.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
59.7k
    if (KeyLength > 0)
174
59.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
59.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
59.7k
    return NewItem;
177
59.7k
  }
llvm::StringMapEntry<llvm::Comdat>* llvm::StringMapEntry<llvm::Comdat>::Create<llvm::MallocAllocator, llvm::Comdat>(llvm::StringRef, llvm::MallocAllocator&, llvm::Comdat&&)
Line
Count
Source
156
32.2k
                                InitTy &&... InitVals) {
157
32.2k
    size_t KeyLength = Key.size();
158
32.2k
159
32.2k
    // Allocate a new item with space for the string at the end and a null
160
32.2k
    // terminator.
161
32.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
32.2k
    size_t Alignment = alignof(StringMapEntry);
163
32.2k
164
32.2k
    StringMapEntry *NewItem =
165
32.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
32.2k
    assert(NewItem && "Unhandled out-of-memory");
167
32.2k
168
32.2k
    // Construct the value.
169
32.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
32.2k
171
32.2k
    // Copy the string information.
172
32.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
32.2k
    if (KeyLength > 0)
174
32.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
32.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
32.2k
    return NewItem;
177
32.2k
  }
llvm::StringMapEntry<llvm::PassInfo const*>* llvm::StringMapEntry<llvm::PassInfo const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
32.8M
                                InitTy &&... InitVals) {
157
32.8M
    size_t KeyLength = Key.size();
158
32.8M
159
32.8M
    // Allocate a new item with space for the string at the end and a null
160
32.8M
    // terminator.
161
32.8M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
32.8M
    size_t Alignment = alignof(StringMapEntry);
163
32.8M
164
32.8M
    StringMapEntry *NewItem =
165
32.8M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
32.8M
    assert(NewItem && "Unhandled out-of-memory");
167
32.8M
168
32.8M
    // Construct the value.
169
32.8M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
32.8M
171
32.8M
    // Copy the string information.
172
32.8M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
32.8M
    if (KeyLength > 0)
174
32.8M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
32.8M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
32.8M
    return NewItem;
177
32.8M
  }
llvm::StringMapEntry<llvm::StructType*>* llvm::StringMapEntry<llvm::StructType*>::Create<llvm::MallocAllocator, llvm::StructType*>(llvm::StringRef, llvm::MallocAllocator&, llvm::StructType*&&)
Line
Count
Source
156
245k
                                InitTy &&... InitVals) {
157
245k
    size_t KeyLength = Key.size();
158
245k
159
245k
    // Allocate a new item with space for the string at the end and a null
160
245k
    // terminator.
161
245k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
245k
    size_t Alignment = alignof(StringMapEntry);
163
245k
164
245k
    StringMapEntry *NewItem =
165
245k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
245k
    assert(NewItem && "Unhandled out-of-memory");
167
245k
168
245k
    // Construct the value.
169
245k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
245k
171
245k
    // Copy the string information.
172
245k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
245k
    if (KeyLength > 0)
174
245k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
245k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
245k
    return NewItem;
177
245k
  }
llvm::StringMapEntry<llvm::Value*>* llvm::StringMapEntry<llvm::Value*>::Create<llvm::MallocAllocator, llvm::Value*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Value*&&)
Line
Count
Source
156
17.1M
                                InitTy &&... InitVals) {
157
17.1M
    size_t KeyLength = Key.size();
158
17.1M
159
17.1M
    // Allocate a new item with space for the string at the end and a null
160
17.1M
    // terminator.
161
17.1M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
17.1M
    size_t Alignment = alignof(StringMapEntry);
163
17.1M
164
17.1M
    StringMapEntry *NewItem =
165
17.1M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
17.1M
    assert(NewItem && "Unhandled out-of-memory");
167
17.1M
168
17.1M
    // Construct the value.
169
17.1M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
17.1M
171
17.1M
    // Copy the string information.
172
17.1M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
17.1M
    if (KeyLength > 0)
174
17.1M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
17.1M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
17.1M
    return NewItem;
177
17.1M
  }
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >* llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
657
                                InitTy &&... InitVals) {
157
657
    size_t KeyLength = Key.size();
158
657
159
657
    // Allocate a new item with space for the string at the end and a null
160
657
    // terminator.
161
657
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
657
    size_t Alignment = alignof(StringMapEntry);
163
657
164
657
    StringMapEntry *NewItem =
165
657
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
657
    assert(NewItem && "Unhandled out-of-memory");
167
657
168
657
    // Construct the value.
169
657
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
657
171
657
    // Copy the string information.
172
657
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
657
    if (KeyLength > 0)
174
657
      memcpy(StrBuffer, Key.data(), KeyLength);
175
657
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
657
    return NewItem;
177
657
  }
llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
521
                                InitTy &&... InitVals) {
157
521
    size_t KeyLength = Key.size();
158
521
159
521
    // Allocate a new item with space for the string at the end and a null
160
521
    // terminator.
161
521
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
521
    size_t Alignment = alignof(StringMapEntry);
163
521
164
521
    StringMapEntry *NewItem =
165
521
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
521
    assert(NewItem && "Unhandled out-of-memory");
167
521
168
521
    // Construct the value.
169
521
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
521
171
521
    // Copy the string information.
172
521
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
521
    if (KeyLength > 0)
174
505
      memcpy(StrBuffer, Key.data(), KeyLength);
175
521
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
521
    return NewItem;
177
521
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char&>(llvm::StringRef, llvm::MallocAllocator&, char&&&)
Line
Count
Source
156
7.47k
                                InitTy &&... InitVals) {
157
7.47k
    size_t KeyLength = Key.size();
158
7.47k
159
7.47k
    // Allocate a new item with space for the string at the end and a null
160
7.47k
    // terminator.
161
7.47k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
7.47k
    size_t Alignment = alignof(StringMapEntry);
163
7.47k
164
7.47k
    StringMapEntry *NewItem =
165
7.47k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
7.47k
    assert(NewItem && "Unhandled out-of-memory");
167
7.47k
168
7.47k
    // Construct the value.
169
7.47k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
7.47k
171
7.47k
    // Copy the string information.
172
7.47k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
7.47k
    if (KeyLength > 0)
174
7.47k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
7.47k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
7.47k
    return NewItem;
177
7.47k
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator, llvm::Function*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Function*&&)
Line
Count
Source
156
26
                                InitTy &&... InitVals) {
157
26
    size_t KeyLength = Key.size();
158
26
159
26
    // Allocate a new item with space for the string at the end and a null
160
26
    // terminator.
161
26
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
26
    size_t Alignment = alignof(StringMapEntry);
163
26
164
26
    StringMapEntry *NewItem =
165
26
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
26
    assert(NewItem && "Unhandled out-of-memory");
167
26
168
26
    // Construct the value.
169
26
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
26
171
26
    // Copy the string information.
172
26
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
26
    if (KeyLength > 0)
174
26
      memcpy(StrBuffer, Key.data(), KeyLength);
175
26
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
26
    return NewItem;
177
26
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.16M
                                InitTy &&... InitVals) {
157
1.16M
    size_t KeyLength = Key.size();
158
1.16M
159
1.16M
    // Allocate a new item with space for the string at the end and a null
160
1.16M
    // terminator.
161
1.16M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.16M
    size_t Alignment = alignof(StringMapEntry);
163
1.16M
164
1.16M
    StringMapEntry *NewItem =
165
1.16M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.16M
    assert(NewItem && "Unhandled out-of-memory");
167
1.16M
168
1.16M
    // Construct the value.
169
1.16M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.16M
171
1.16M
    // Copy the string information.
172
1.16M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.16M
    if (KeyLength > 0)
174
1.16M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.16M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.16M
    return NewItem;
177
1.16M
  }
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>* llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::Create<llvm::MallocAllocator, llvm::StringRef&, llvm::raw_ostream*&>(llvm::StringRef, llvm::MallocAllocator&, llvm::StringRef&&&, llvm::raw_ostream*&&&)
Line
Count
Source
156
84
                                InitTy &&... InitVals) {
157
84
    size_t KeyLength = Key.size();
158
84
159
84
    // Allocate a new item with space for the string at the end and a null
160
84
    // terminator.
161
84
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
84
    size_t Alignment = alignof(StringMapEntry);
163
84
164
84
    StringMapEntry *NewItem =
165
84
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
84
    assert(NewItem && "Unhandled out-of-memory");
167
84
168
84
    // Construct the value.
169
84
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
84
171
84
    // Copy the string information.
172
84
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
84
    if (KeyLength > 0)
174
84
      memcpy(StrBuffer, Key.data(), KeyLength);
175
84
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
84
    return NewItem;
177
84
  }
llvm::StringMapEntry<llvm::MCSymbol*>* llvm::StringMapEntry<llvm::MCSymbol*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
4.66M
                                InitTy &&... InitVals) {
157
4.66M
    size_t KeyLength = Key.size();
158
4.66M
159
4.66M
    // Allocate a new item with space for the string at the end and a null
160
4.66M
    // terminator.
161
4.66M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.66M
    size_t Alignment = alignof(StringMapEntry);
163
4.66M
164
4.66M
    StringMapEntry *NewItem =
165
4.66M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.66M
    assert(NewItem && "Unhandled out-of-memory");
167
4.66M
168
4.66M
    // Construct the value.
169
4.66M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.66M
171
4.66M
    // Copy the string information.
172
4.66M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.66M
    if (KeyLength > 0)
174
4.66M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.66M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.66M
    return NewItem;
177
4.66M
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, bool>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, bool&&)
Line
Count
Source
156
5.07M
                                InitTy &&... InitVals) {
157
5.07M
    size_t KeyLength = Key.size();
158
5.07M
159
5.07M
    // Allocate a new item with space for the string at the end and a null
160
5.07M
    // terminator.
161
5.07M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5.07M
    size_t Alignment = alignof(StringMapEntry);
163
5.07M
164
5.07M
    StringMapEntry *NewItem =
165
5.07M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5.07M
    assert(NewItem && "Unhandled out-of-memory");
167
5.07M
168
5.07M
    // Construct the value.
169
5.07M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5.07M
171
5.07M
    // Copy the string information.
172
5.07M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5.07M
    if (KeyLength > 0)
174
5.07M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5.07M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5.07M
    return NewItem;
177
5.07M
  }
llvm::StringMapEntry<llvm::MCSectionMachO*>* llvm::StringMapEntry<llvm::MCSectionMachO*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
890k
                                InitTy &&... InitVals) {
157
890k
    size_t KeyLength = Key.size();
158
890k
159
890k
    // Allocate a new item with space for the string at the end and a null
160
890k
    // terminator.
161
890k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
890k
    size_t Alignment = alignof(StringMapEntry);
163
890k
164
890k
    StringMapEntry *NewItem =
165
890k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
890k
    assert(NewItem && "Unhandled out-of-memory");
167
890k
168
890k
    // Construct the value.
169
890k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
890k
171
890k
    // Copy the string information.
172
890k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
890k
    if (KeyLength > 0)
174
890k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
890k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
890k
    return NewItem;
177
890k
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator, bool>(llvm::StringRef, llvm::MallocAllocator&, bool&&)
Line
Count
Source
156
4.93k
                                InitTy &&... InitVals) {
157
4.93k
    size_t KeyLength = Key.size();
158
4.93k
159
4.93k
    // Allocate a new item with space for the string at the end and a null
160
4.93k
    // terminator.
161
4.93k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.93k
    size_t Alignment = alignof(StringMapEntry);
163
4.93k
164
4.93k
    StringMapEntry *NewItem =
165
4.93k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.93k
    assert(NewItem && "Unhandled out-of-memory");
167
4.93k
168
4.93k
    // Construct the value.
169
4.93k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.93k
171
4.93k
    // Copy the string information.
172
4.93k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.93k
    if (KeyLength > 0)
174
4.93k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.93k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.93k
    return NewItem;
177
4.93k
  }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>* llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.96M
                                InitTy &&... InitVals) {
157
2.96M
    size_t KeyLength = Key.size();
158
2.96M
159
2.96M
    // Allocate a new item with space for the string at the end and a null
160
2.96M
    // terminator.
161
2.96M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.96M
    size_t Alignment = alignof(StringMapEntry);
163
2.96M
164
2.96M
    StringMapEntry *NewItem =
165
2.96M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.96M
    assert(NewItem && "Unhandled out-of-memory");
167
2.96M
168
2.96M
    // Construct the value.
169
2.96M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.96M
171
2.96M
    // Copy the string information.
172
2.96M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.96M
    if (KeyLength > 0)
174
2.96M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.96M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.96M
    return NewItem;
177
2.96M
  }
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >* llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
705k
                                InitTy &&... InitVals) {
157
705k
    size_t KeyLength = Key.size();
158
705k
159
705k
    // Allocate a new item with space for the string at the end and a null
160
705k
    // terminator.
161
705k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
705k
    size_t Alignment = alignof(StringMapEntry);
163
705k
164
705k
    StringMapEntry *NewItem =
165
705k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
705k
    assert(NewItem && "Unhandled out-of-memory");
167
705k
168
705k
    // Construct the value.
169
705k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
705k
171
705k
    // Copy the string information.
172
705k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
705k
    if (KeyLength > 0)
174
705k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
705k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
705k
    return NewItem;
177
705k
  }
llvm::StringMapEntry<llvm::cl::Option*>* llvm::StringMapEntry<llvm::cl::Option*>::Create<llvm::MallocAllocator, llvm::cl::Option*>(llvm::StringRef, llvm::MallocAllocator&, llvm::cl::Option*&&)
Line
Count
Source
156
154M
                                InitTy &&... InitVals) {
157
154M
    size_t KeyLength = Key.size();
158
154M
159
154M
    // Allocate a new item with space for the string at the end and a null
160
154M
    // terminator.
161
154M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
154M
    size_t Alignment = alignof(StringMapEntry);
163
154M
164
154M
    StringMapEntry *NewItem =
165
154M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
154M
    assert(NewItem && "Unhandled out-of-memory");
167
154M
168
154M
    // Construct the value.
169
154M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
154M
171
154M
    // Copy the string information.
172
154M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
154M
    if (KeyLength > 0)
174
154M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
154M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
154M
    return NewItem;
177
154M
  }
llvm::StringMapEntry<unsigned long>* llvm::StringMapEntry<unsigned long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
38.4k
                                InitTy &&... InitVals) {
157
38.4k
    size_t KeyLength = Key.size();
158
38.4k
159
38.4k
    // Allocate a new item with space for the string at the end and a null
160
38.4k
    // terminator.
161
38.4k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
38.4k
    size_t Alignment = alignof(StringMapEntry);
163
38.4k
164
38.4k
    StringMapEntry *NewItem =
165
38.4k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
38.4k
    assert(NewItem && "Unhandled out-of-memory");
167
38.4k
168
38.4k
    // Construct the value.
169
38.4k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
38.4k
171
38.4k
    // Copy the string information.
172
38.4k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
38.4k
    if (KeyLength > 0)
174
38.4k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
38.4k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
38.4k
    return NewItem;
177
38.4k
  }
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
304
                                InitTy &&... InitVals) {
157
304
    size_t KeyLength = Key.size();
158
304
159
304
    // Allocate a new item with space for the string at the end and a null
160
304
    // terminator.
161
304
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
304
    size_t Alignment = alignof(StringMapEntry);
163
304
164
304
    StringMapEntry *NewItem =
165
304
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
304
    assert(NewItem && "Unhandled out-of-memory");
167
304
168
304
    // Construct the value.
169
304
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
304
171
304
    // Copy the string information.
172
304
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
304
    if (KeyLength > 0)
174
304
      memcpy(StrBuffer, Key.data(), KeyLength);
175
304
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
304
    return NewItem;
177
304
  }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>* llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
329
                                InitTy &&... InitVals) {
157
329
    size_t KeyLength = Key.size();
158
329
159
329
    // Allocate a new item with space for the string at the end and a null
160
329
    // terminator.
161
329
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
329
    size_t Alignment = alignof(StringMapEntry);
163
329
164
329
    StringMapEntry *NewItem =
165
329
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
329
    assert(NewItem && "Unhandled out-of-memory");
167
329
168
329
    // Construct the value.
169
329
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
329
171
329
    // Copy the string information.
172
329
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
329
    if (KeyLength > 0)
174
44
      memcpy(StrBuffer, Key.data(), KeyLength);
175
329
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
329
    return NewItem;
177
329
  }
llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >* llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
10
                                InitTy &&... InitVals) {
157
10
    size_t KeyLength = Key.size();
158
10
159
10
    // Allocate a new item with space for the string at the end and a null
160
10
    // terminator.
161
10
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
10
    size_t Alignment = alignof(StringMapEntry);
163
10
164
10
    StringMapEntry *NewItem =
165
10
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
10
    assert(NewItem && "Unhandled out-of-memory");
167
10
168
10
    // Construct the value.
169
10
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
10
171
10
    // Copy the string information.
172
10
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
10
    if (KeyLength > 0)
174
10
      memcpy(StrBuffer, Key.data(), KeyLength);
175
10
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
10
    return NewItem;
177
10
  }
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >* llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
9
                                InitTy &&... InitVals) {
157
9
    size_t KeyLength = Key.size();
158
9
159
9
    // Allocate a new item with space for the string at the end and a null
160
9
    // terminator.
161
9
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
9
    size_t Alignment = alignof(StringMapEntry);
163
9
164
9
    StringMapEntry *NewItem =
165
9
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
9
    assert(NewItem && "Unhandled out-of-memory");
167
9
168
9
    // Construct the value.
169
9
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
9
171
9
    // Copy the string information.
172
9
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
9
    if (KeyLength > 0)
174
9
      memcpy(StrBuffer, Key.data(), KeyLength);
175
9
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
9
    return NewItem;
177
9
  }
llvm::StringMapEntry<llvm::Timer>* llvm::StringMapEntry<llvm::Timer>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
9
                                InitTy &&... InitVals) {
157
9
    size_t KeyLength = Key.size();
158
9
159
9
    // Allocate a new item with space for the string at the end and a null
160
9
    // terminator.
161
9
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
9
    size_t Alignment = alignof(StringMapEntry);
163
9
164
9
    StringMapEntry *NewItem =
165
9
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
9
    assert(NewItem && "Unhandled out-of-memory");
167
9
168
9
    // Construct the value.
169
9
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
9
171
9
    // Copy the string information.
172
9
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
9
    if (KeyLength > 0)
174
9
      memcpy(StrBuffer, Key.data(), KeyLength);
175
9
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
9
    return NewItem;
177
9
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::Create<llvm::MallocAllocator, std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> >&&)
Line
Count
Source
156
140k
                                InitTy &&... InitVals) {
157
140k
    size_t KeyLength = Key.size();
158
140k
159
140k
    // Allocate a new item with space for the string at the end and a null
160
140k
    // terminator.
161
140k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
140k
    size_t Alignment = alignof(StringMapEntry);
163
140k
164
140k
    StringMapEntry *NewItem =
165
140k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
140k
    assert(NewItem && "Unhandled out-of-memory");
167
140k
168
140k
    // Construct the value.
169
140k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
140k
171
140k
    // Copy the string information.
172
140k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
140k
    if (KeyLength > 0)
174
140k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
140k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
140k
    return NewItem;
177
140k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
517k
                                InitTy &&... InitVals) {
157
517k
    size_t KeyLength = Key.size();
158
517k
159
517k
    // Allocate a new item with space for the string at the end and a null
160
517k
    // terminator.
161
517k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
517k
    size_t Alignment = alignof(StringMapEntry);
163
517k
164
517k
    StringMapEntry *NewItem =
165
517k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
517k
    assert(NewItem && "Unhandled out-of-memory");
167
517k
168
517k
    // Construct the value.
169
517k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
517k
171
517k
    // Copy the string information.
172
517k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
517k
    if (KeyLength > 0)
174
517k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
517k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
517k
    return NewItem;
177
517k
  }
llvm::StringMapEntry<void*>* llvm::StringMapEntry<void*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3
                                InitTy &&... InitVals) {
157
3
    size_t KeyLength = Key.size();
158
3
159
3
    // Allocate a new item with space for the string at the end and a null
160
3
    // terminator.
161
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3
    size_t Alignment = alignof(StringMapEntry);
163
3
164
3
    StringMapEntry *NewItem =
165
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3
    assert(NewItem && "Unhandled out-of-memory");
167
3
168
3
    // Construct the value.
169
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3
171
3
    // Copy the string information.
172
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3
    if (KeyLength > 0)
174
3
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3
    return NewItem;
177
3
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
36
                                InitTy &&... InitVals) {
157
36
    size_t KeyLength = Key.size();
158
36
159
36
    // Allocate a new item with space for the string at the end and a null
160
36
    // terminator.
161
36
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
36
    size_t Alignment = alignof(StringMapEntry);
163
36
164
36
    StringMapEntry *NewItem =
165
36
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
36
    assert(NewItem && "Unhandled out-of-memory");
167
36
168
36
    // Construct the value.
169
36
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
36
171
36
    // Copy the string information.
172
36
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
36
    if (KeyLength > 0)
174
36
      memcpy(StrBuffer, Key.data(), KeyLength);
175
36
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
36
    return NewItem;
177
36
  }
llvm::StringMapEntry<clang::IdentifierInfo*>* llvm::StringMapEntry<clang::IdentifierInfo*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::IdentifierInfo*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::IdentifierInfo*&&)
Line
Count
Source
156
160M
                                InitTy &&... InitVals) {
157
160M
    size_t KeyLength = Key.size();
158
160M
159
160M
    // Allocate a new item with space for the string at the end and a null
160
160M
    // terminator.
161
160M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
160M
    size_t Alignment = alignof(StringMapEntry);
163
160M
164
160M
    StringMapEntry *NewItem =
165
160M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
160M
    assert(NewItem && "Unhandled out-of-memory");
167
160M
168
160M
    // Construct the value.
169
160M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
160M
171
160M
    // Copy the string information.
172
160M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
160M
    if (KeyLength > 0)
174
160M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
160M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
160M
    return NewItem;
177
160M
  }
llvm::StringMapEntry<clang::DirectoryEntry*>* llvm::StringMapEntry<clang::DirectoryEntry*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::DirectoryEntry*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::DirectoryEntry*&&)
Line
Count
Source
156
411k
                                InitTy &&... InitVals) {
157
411k
    size_t KeyLength = Key.size();
158
411k
159
411k
    // Allocate a new item with space for the string at the end and a null
160
411k
    // terminator.
161
411k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
411k
    size_t Alignment = alignof(StringMapEntry);
163
411k
164
411k
    StringMapEntry *NewItem =
165
411k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
411k
    assert(NewItem && "Unhandled out-of-memory");
167
411k
168
411k
    // Construct the value.
169
411k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
411k
171
411k
    // Copy the string information.
172
411k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
411k
    if (KeyLength > 0)
174
411k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
411k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
411k
    return NewItem;
177
411k
  }
llvm::StringMapEntry<clang::FileEntry*>* llvm::StringMapEntry<clang::FileEntry*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::FileEntry*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::FileEntry*&&)
Line
Count
Source
156
1.39M
                                InitTy &&... InitVals) {
157
1.39M
    size_t KeyLength = Key.size();
158
1.39M
159
1.39M
    // Allocate a new item with space for the string at the end and a null
160
1.39M
    // terminator.
161
1.39M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.39M
    size_t Alignment = alignof(StringMapEntry);
163
1.39M
164
1.39M
    StringMapEntry *NewItem =
165
1.39M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.39M
    assert(NewItem && "Unhandled out-of-memory");
167
1.39M
168
1.39M
    // Construct the value.
169
1.39M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.39M
171
1.39M
    // Copy the string information.
172
1.39M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.39M
    if (KeyLength > 0)
174
1.39M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.39M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.39M
    return NewItem;
177
1.39M
  }
llvm::StringMapEntry<llvm::vfs::Status>* llvm::StringMapEntry<llvm::vfs::Status>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
19
                                InitTy &&... InitVals) {
157
19
    size_t KeyLength = Key.size();
158
19
159
19
    // Allocate a new item with space for the string at the end and a null
160
19
    // terminator.
161
19
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
19
    size_t Alignment = alignof(StringMapEntry);
163
19
164
19
    StringMapEntry *NewItem =
165
19
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
19
    assert(NewItem && "Unhandled out-of-memory");
167
19
168
19
    // Construct the value.
169
19
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
19
171
19
    // Copy the string information.
172
19
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
19
    if (KeyLength > 0)
174
19
      memcpy(StrBuffer, Key.data(), KeyLength);
175
19
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
19
    return NewItem;
177
19
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, unsigned long>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, unsigned long&&)
Line
Count
Source
156
117k
                                InitTy &&... InitVals) {
157
117k
    size_t KeyLength = Key.size();
158
117k
159
117k
    // Allocate a new item with space for the string at the end and a null
160
117k
    // terminator.
161
117k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
117k
    size_t Alignment = alignof(StringMapEntry);
163
117k
164
117k
    StringMapEntry *NewItem =
165
117k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
117k
    assert(NewItem && "Unhandled out-of-memory");
167
117k
168
117k
    // Construct the value.
169
117k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
117k
171
117k
    // Copy the string information.
172
117k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
117k
    if (KeyLength > 0)
174
117k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
117k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
117k
    return NewItem;
177
117k
  }
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >* llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
559
                                InitTy &&... InitVals) {
157
559
    size_t KeyLength = Key.size();
158
559
159
559
    // Allocate a new item with space for the string at the end and a null
160
559
    // terminator.
161
559
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
559
    size_t Alignment = alignof(StringMapEntry);
163
559
164
559
    StringMapEntry *NewItem =
165
559
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
559
    assert(NewItem && "Unhandled out-of-memory");
167
559
168
559
    // Construct the value.
169
559
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
559
171
559
    // Copy the string information.
172
559
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
559
    if (KeyLength > 0)
174
542
      memcpy(StrBuffer, Key.data(), KeyLength);
175
559
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
559
    return NewItem;
177
559
  }
llvm::StringMapEntry<llvm::Constant*>* llvm::StringMapEntry<llvm::Constant*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
47
                                InitTy &&... InitVals) {
157
47
    size_t KeyLength = Key.size();
158
47
159
47
    // Allocate a new item with space for the string at the end and a null
160
47
    // terminator.
161
47
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
47
    size_t Alignment = alignof(StringMapEntry);
163
47
164
47
    StringMapEntry *NewItem =
165
47
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
47
    assert(NewItem && "Unhandled out-of-memory");
167
47
168
47
    // Construct the value.
169
47
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
47
171
47
    // Copy the string information.
172
47
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
47
    if (KeyLength > 0)
174
47
      memcpy(StrBuffer, Key.data(), KeyLength);
175
47
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
47
    return NewItem;
177
47
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.11k
                                InitTy &&... InitVals) {
157
2.11k
    size_t KeyLength = Key.size();
158
2.11k
159
2.11k
    // Allocate a new item with space for the string at the end and a null
160
2.11k
    // terminator.
161
2.11k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.11k
    size_t Alignment = alignof(StringMapEntry);
163
2.11k
164
2.11k
    StringMapEntry *NewItem =
165
2.11k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.11k
    assert(NewItem && "Unhandled out-of-memory");
167
2.11k
168
2.11k
    // Construct the value.
169
2.11k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.11k
171
2.11k
    // Copy the string information.
172
2.11k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.11k
    if (KeyLength > 0)
174
1.94k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.11k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.11k
    return NewItem;
177
2.11k
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator, llvm::GlobalVariable*>(llvm::StringRef, llvm::MallocAllocator&, llvm::GlobalVariable*&&)
Line
Count
Source
156
313
                                InitTy &&... InitVals) {
157
313
    size_t KeyLength = Key.size();
158
313
159
313
    // Allocate a new item with space for the string at the end and a null
160
313
    // terminator.
161
313
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
313
    size_t Alignment = alignof(StringMapEntry);
163
313
164
313
    StringMapEntry *NewItem =
165
313
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
313
    assert(NewItem && "Unhandled out-of-memory");
167
313
168
313
    // Construct the value.
169
313
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
313
171
313
    // Copy the string information.
172
313
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
313
    if (KeyLength > 0)
174
279
      memcpy(StrBuffer, Key.data(), KeyLength);
175
313
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
313
    return NewItem;
177
313
  }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >* llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, std::nullptr_t>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, std::nullptr_t&&)
Line
Count
Source
156
229
                                InitTy &&... InitVals) {
157
229
    size_t KeyLength = Key.size();
158
229
159
229
    // Allocate a new item with space for the string at the end and a null
160
229
    // terminator.
161
229
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
229
    size_t Alignment = alignof(StringMapEntry);
163
229
164
229
    StringMapEntry *NewItem =
165
229
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
229
    assert(NewItem && "Unhandled out-of-memory");
167
229
168
229
    // Construct the value.
169
229
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
229
171
229
    // Copy the string information.
172
229
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
229
    if (KeyLength > 0)
174
229
      memcpy(StrBuffer, Key.data(), KeyLength);
175
229
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
229
    return NewItem;
177
229
  }
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >* llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.51k
                                InitTy &&... InitVals) {
157
3.51k
    size_t KeyLength = Key.size();
158
3.51k
159
3.51k
    // Allocate a new item with space for the string at the end and a null
160
3.51k
    // terminator.
161
3.51k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.51k
    size_t Alignment = alignof(StringMapEntry);
163
3.51k
164
3.51k
    StringMapEntry *NewItem =
165
3.51k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.51k
    assert(NewItem && "Unhandled out-of-memory");
167
3.51k
168
3.51k
    // Construct the value.
169
3.51k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.51k
171
3.51k
    // Copy the string information.
172
3.51k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.51k
    if (KeyLength > 0)
174
3.51k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.51k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.51k
    return NewItem;
177
3.51k
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator, unsigned int&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&)
Line
Count
Source
156
66
                                InitTy &&... InitVals) {
157
66
    size_t KeyLength = Key.size();
158
66
159
66
    // Allocate a new item with space for the string at the end and a null
160
66
    // terminator.
161
66
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
66
    size_t Alignment = alignof(StringMapEntry);
163
66
164
66
    StringMapEntry *NewItem =
165
66
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
66
    assert(NewItem && "Unhandled out-of-memory");
167
66
168
66
    // Construct the value.
169
66
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
66
171
66
    // Copy the string information.
172
66
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
66
    if (KeyLength > 0)
174
66
      memcpy(StrBuffer, Key.data(), KeyLength);
175
66
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
66
    return NewItem;
177
66
  }
Unexecuted instantiation: llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator, unsigned int&, llvm::Constant*&, clang::CharUnits&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&, llvm::GlobalValue::LinkageTypes&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&, llvm::Constant*&&&, clang::CharUnits&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&, llvm::GlobalValue::LinkageTypes&&&)
Line
Count
Source
156
80
                                InitTy &&... InitVals) {
157
80
    size_t KeyLength = Key.size();
158
80
159
80
    // Allocate a new item with space for the string at the end and a null
160
80
    // terminator.
161
80
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
80
    size_t Alignment = alignof(StringMapEntry);
163
80
164
80
    StringMapEntry *NewItem =
165
80
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
80
    assert(NewItem && "Unhandled out-of-memory");
167
80
168
80
    // Construct the value.
169
80
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
80
171
80
    // Copy the string information.
172
80
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
80
    if (KeyLength > 0)
174
80
      memcpy(StrBuffer, Key.data(), KeyLength);
175
80
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
80
    return NewItem;
177
80
  }
llvm::StringMapEntry<llvm::WeakTrackingVH>* llvm::StringMapEntry<llvm::WeakTrackingVH>::Create<llvm::MallocAllocator, llvm::Constant*&>(llvm::StringRef, llvm::MallocAllocator&, llvm::Constant*&&&)
Line
Count
Source
156
11
                                InitTy &&... InitVals) {
157
11
    size_t KeyLength = Key.size();
158
11
159
11
    // Allocate a new item with space for the string at the end and a null
160
11
    // terminator.
161
11
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
11
    size_t Alignment = alignof(StringMapEntry);
163
11
164
11
    StringMapEntry *NewItem =
165
11
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
11
    assert(NewItem && "Unhandled out-of-memory");
167
11
168
11
    // Construct the value.
169
11
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
11
171
11
    // Copy the string information.
172
11
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
11
    if (KeyLength > 0)
174
11
      memcpy(StrBuffer, Key.data(), KeyLength);
175
11
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
11
    return NewItem;
177
11
  }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >* llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
127
                                InitTy &&... InitVals) {
157
127
    size_t KeyLength = Key.size();
158
127
159
127
    // Allocate a new item with space for the string at the end and a null
160
127
    // terminator.
161
127
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
127
    size_t Alignment = alignof(StringMapEntry);
163
127
164
127
    StringMapEntry *NewItem =
165
127
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
127
    assert(NewItem && "Unhandled out-of-memory");
167
127
168
127
    // Construct the value.
169
127
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
127
171
127
    // Copy the string information.
172
127
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
127
    if (KeyLength > 0)
174
127
      memcpy(StrBuffer, Key.data(), KeyLength);
175
127
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
127
    return NewItem;
177
127
  }
llvm::StringMapEntry<clang::GlobalDecl>* llvm::StringMapEntry<clang::GlobalDecl>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::GlobalDecl>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::GlobalDecl&&)
Line
Count
Source
156
2.34M
                                InitTy &&... InitVals) {
157
2.34M
    size_t KeyLength = Key.size();
158
2.34M
159
2.34M
    // Allocate a new item with space for the string at the end and a null
160
2.34M
    // terminator.
161
2.34M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.34M
    size_t Alignment = alignof(StringMapEntry);
163
2.34M
164
2.34M
    StringMapEntry *NewItem =
165
2.34M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.34M
    assert(NewItem && "Unhandled out-of-memory");
167
2.34M
168
2.34M
    // Construct the value.
169
2.34M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.34M
171
2.34M
    // Copy the string information.
172
2.34M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.34M
    if (KeyLength > 0)
174
2.34M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.34M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.34M
    return NewItem;
177
2.34M
  }
llvm::StringMapEntry<clang::ASTContext::SectionInfo>* llvm::StringMapEntry<clang::ASTContext::SectionInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
194
                                InitTy &&... InitVals) {
157
194
    size_t KeyLength = Key.size();
158
194
159
194
    // Allocate a new item with space for the string at the end and a null
160
194
    // terminator.
161
194
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
194
    size_t Alignment = alignof(StringMapEntry);
163
194
164
194
    StringMapEntry *NewItem =
165
194
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
194
    assert(NewItem && "Unhandled out-of-memory");
167
194
168
194
    // Construct the value.
169
194
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
194
171
194
    // Copy the string information.
172
194
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
194
    if (KeyLength > 0)
174
194
      memcpy(StrBuffer, Key.data(), KeyLength);
175
194
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
194
    return NewItem;
177
194
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
14
                                InitTy &&... InitVals) {
157
14
    size_t KeyLength = Key.size();
158
14
159
14
    // Allocate a new item with space for the string at the end and a null
160
14
    // terminator.
161
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14
    size_t Alignment = alignof(StringMapEntry);
163
14
164
14
    StringMapEntry *NewItem =
165
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14
    assert(NewItem && "Unhandled out-of-memory");
167
14
168
14
    // Construct the value.
169
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14
171
14
    // Copy the string information.
172
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14
    if (KeyLength > 0)
174
14
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14
    return NewItem;
177
14
  }
llvm::StringMapEntry<clang::FrameworkCacheEntry>* llvm::StringMapEntry<clang::FrameworkCacheEntry>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
403
                                InitTy &&... InitVals) {
157
403
    size_t KeyLength = Key.size();
158
403
159
403
    // Allocate a new item with space for the string at the end and a null
160
403
    // terminator.
161
403
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
403
    size_t Alignment = alignof(StringMapEntry);
163
403
164
403
    StringMapEntry *NewItem =
165
403
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
403
    assert(NewItem && "Unhandled out-of-memory");
167
403
168
403
    // Construct the value.
169
403
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
403
171
403
    // Copy the string information.
172
403
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
403
    if (KeyLength > 0)
174
403
      memcpy(StrBuffer, Key.data(), KeyLength);
175
403
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
403
    return NewItem;
177
403
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
31.7k
                                InitTy &&... InitVals) {
157
31.7k
    size_t KeyLength = Key.size();
158
31.7k
159
31.7k
    // Allocate a new item with space for the string at the end and a null
160
31.7k
    // terminator.
161
31.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
31.7k
    size_t Alignment = alignof(StringMapEntry);
163
31.7k
164
31.7k
    StringMapEntry *NewItem =
165
31.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
31.7k
    assert(NewItem && "Unhandled out-of-memory");
167
31.7k
168
31.7k
    // Construct the value.
169
31.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
31.7k
171
31.7k
    // Copy the string information.
172
31.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
31.7k
    if (KeyLength > 0)
174
31.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
31.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
31.7k
    return NewItem;
177
31.7k
  }
llvm::StringMapEntry<char const*>* llvm::StringMapEntry<char const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
105
                                InitTy &&... InitVals) {
157
105
    size_t KeyLength = Key.size();
158
105
159
105
    // Allocate a new item with space for the string at the end and a null
160
105
    // terminator.
161
105
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
105
    size_t Alignment = alignof(StringMapEntry);
163
105
164
105
    StringMapEntry *NewItem =
165
105
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
105
    assert(NewItem && "Unhandled out-of-memory");
167
105
168
105
    // Construct the value.
169
105
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
105
171
105
    // Copy the string information.
172
105
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
105
    if (KeyLength > 0)
174
105
      memcpy(StrBuffer, Key.data(), KeyLength);
175
105
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
105
    return NewItem;
177
105
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
787k
                                InitTy &&... InitVals) {
157
787k
    size_t KeyLength = Key.size();
158
787k
159
787k
    // Allocate a new item with space for the string at the end and a null
160
787k
    // terminator.
161
787k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
787k
    size_t Alignment = alignof(StringMapEntry);
163
787k
164
787k
    StringMapEntry *NewItem =
165
787k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
787k
    assert(NewItem && "Unhandled out-of-memory");
167
787k
168
787k
    // Construct the value.
169
787k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
787k
171
787k
    // Copy the string information.
172
787k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
787k
    if (KeyLength > 0)
174
787k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
787k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
787k
    return NewItem;
177
787k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.24k
                                InitTy &&... InitVals) {
157
2.24k
    size_t KeyLength = Key.size();
158
2.24k
159
2.24k
    // Allocate a new item with space for the string at the end and a null
160
2.24k
    // terminator.
161
2.24k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.24k
    size_t Alignment = alignof(StringMapEntry);
163
2.24k
164
2.24k
    StringMapEntry *NewItem =
165
2.24k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.24k
    assert(NewItem && "Unhandled out-of-memory");
167
2.24k
168
2.24k
    // Construct the value.
169
2.24k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.24k
171
2.24k
    // Copy the string information.
172
2.24k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.24k
    if (KeyLength > 0)
174
2.24k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.24k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.24k
    return NewItem;
177
2.24k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, char>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, char&&)
Line
Count
Source
156
18.3k
                                InitTy &&... InitVals) {
157
18.3k
    size_t KeyLength = Key.size();
158
18.3k
159
18.3k
    // Allocate a new item with space for the string at the end and a null
160
18.3k
    // terminator.
161
18.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
18.3k
    size_t Alignment = alignof(StringMapEntry);
163
18.3k
164
18.3k
    StringMapEntry *NewItem =
165
18.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
18.3k
    assert(NewItem && "Unhandled out-of-memory");
167
18.3k
168
18.3k
    // Construct the value.
169
18.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
18.3k
171
18.3k
    // Copy the string information.
172
18.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
18.3k
    if (KeyLength > 0)
174
18.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
18.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
18.3k
    return NewItem;
177
18.3k
  }
llvm::StringMapEntry<clang::SourceLocation>* llvm::StringMapEntry<clang::SourceLocation>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
15
                                InitTy &&... InitVals) {
157
15
    size_t KeyLength = Key.size();
158
15
159
15
    // Allocate a new item with space for the string at the end and a null
160
15
    // terminator.
161
15
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
15
    size_t Alignment = alignof(StringMapEntry);
163
15
164
15
    StringMapEntry *NewItem =
165
15
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
15
    assert(NewItem && "Unhandled out-of-memory");
167
15
168
15
    // Construct the value.
169
15
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
15
171
15
    // Copy the string information.
172
15
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
15
    if (KeyLength > 0)
174
15
      memcpy(StrBuffer, Key.data(), KeyLength);
175
15
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
15
    return NewItem;
177
15
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&)
Line
Count
Source
156
3.01M
                                InitTy &&... InitVals) {
157
3.01M
    size_t KeyLength = Key.size();
158
3.01M
159
3.01M
    // Allocate a new item with space for the string at the end and a null
160
3.01M
    // terminator.
161
3.01M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.01M
    size_t Alignment = alignof(StringMapEntry);
163
3.01M
164
3.01M
    StringMapEntry *NewItem =
165
3.01M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.01M
    assert(NewItem && "Unhandled out-of-memory");
167
3.01M
168
3.01M
    // Construct the value.
169
3.01M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.01M
171
3.01M
    // Copy the string information.
172
3.01M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.01M
    if (KeyLength > 0)
174
3.01M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.01M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.01M
    return NewItem;
177
3.01M
  }
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>* llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
37
                                InitTy &&... InitVals) {
157
37
    size_t KeyLength = Key.size();
158
37
159
37
    // Allocate a new item with space for the string at the end and a null
160
37
    // terminator.
161
37
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
37
    size_t Alignment = alignof(StringMapEntry);
163
37
164
37
    StringMapEntry *NewItem =
165
37
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
37
    assert(NewItem && "Unhandled out-of-memory");
167
37
168
37
    // Construct the value.
169
37
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
37
171
37
    // Copy the string information.
172
37
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
37
    if (KeyLength > 0)
174
37
      memcpy(StrBuffer, Key.data(), KeyLength);
175
37
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
37
    return NewItem;
177
37
  }
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>* llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
157
                                InitTy &&... InitVals) {
157
157
    size_t KeyLength = Key.size();
158
157
159
157
    // Allocate a new item with space for the string at the end and a null
160
157
    // terminator.
161
157
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
157
    size_t Alignment = alignof(StringMapEntry);
163
157
164
157
    StringMapEntry *NewItem =
165
157
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
157
    assert(NewItem && "Unhandled out-of-memory");
167
157
168
157
    // Construct the value.
169
157
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
157
171
157
    // Copy the string information.
172
157
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
157
    if (KeyLength > 0)
174
157
      memcpy(StrBuffer, Key.data(), KeyLength);
175
157
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
157
    return NewItem;
177
157
  }
llvm::StringMapEntry<clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>* llvm::StringMapEntry<clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>::Create<llvm::MallocAllocator, clang::VerifyDiagnosticConsumer::MarkerTracker::Marker>(llvm::StringRef, llvm::MallocAllocator&, clang::VerifyDiagnosticConsumer::MarkerTracker::Marker&&)
Line
Count
Source
156
842
                                InitTy &&... InitVals) {
157
842
    size_t KeyLength = Key.size();
158
842
159
842
    // Allocate a new item with space for the string at the end and a null
160
842
    // terminator.
161
842
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
842
    size_t Alignment = alignof(StringMapEntry);
163
842
164
842
    StringMapEntry *NewItem =
165
842
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
842
    assert(NewItem && "Unhandled out-of-memory");
167
842
168
842
    // Construct the value.
169
842
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
842
171
842
    // Copy the string information.
172
842
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
842
    if (KeyLength > 0)
174
842
      memcpy(StrBuffer, Key.data(), KeyLength);
175
842
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
842
    return NewItem;
177
842
  }
VerifyDiagnosticConsumer.cpp:llvm::StringMapEntry<llvm::SmallVector<(anonymous namespace)::UnattachedDirective, 2u> >* llvm::StringMapEntry<llvm::SmallVector<(anonymous namespace)::UnattachedDirective, 2u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
11
                                InitTy &&... InitVals) {
157
11
    size_t KeyLength = Key.size();
158
11
159
11
    // Allocate a new item with space for the string at the end and a null
160
11
    // terminator.
161
11
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
11
    size_t Alignment = alignof(StringMapEntry);
163
11
164
11
    StringMapEntry *NewItem =
165
11
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
11
    assert(NewItem && "Unhandled out-of-memory");
167
11
168
11
    // Construct the value.
169
11
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
11
171
11
    // Copy the string information.
172
11
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
11
    if (KeyLength > 0)
174
11
      memcpy(StrBuffer, Key.data(), KeyLength);
175
11
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
11
    return NewItem;
177
11
  }
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >* llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.95k
                                InitTy &&... InitVals) {
157
3.95k
    size_t KeyLength = Key.size();
158
3.95k
159
3.95k
    // Allocate a new item with space for the string at the end and a null
160
3.95k
    // terminator.
161
3.95k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.95k
    size_t Alignment = alignof(StringMapEntry);
163
3.95k
164
3.95k
    StringMapEntry *NewItem =
165
3.95k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.95k
    assert(NewItem && "Unhandled out-of-memory");
167
3.95k
168
3.95k
    // Construct the value.
169
3.95k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.95k
171
3.95k
    // Copy the string information.
172
3.95k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.95k
    if (KeyLength > 0)
174
3.95k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.95k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.95k
    return NewItem;
177
3.95k
  }
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >* llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::Create<llvm::MallocAllocator, std::__1::shared_ptr<clang::ModuleFileExtension> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::shared_ptr<clang::ModuleFileExtension>&&)
Line
Count
Source
156
27
                                InitTy &&... InitVals) {
157
27
    size_t KeyLength = Key.size();
158
27
159
27
    // Allocate a new item with space for the string at the end and a null
160
27
    // terminator.
161
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
27
    size_t Alignment = alignof(StringMapEntry);
163
27
164
27
    StringMapEntry *NewItem =
165
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
27
    assert(NewItem && "Unhandled out-of-memory");
167
27
168
27
    // Construct the value.
169
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
27
171
27
    // Copy the string information.
172
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
27
    if (KeyLength > 0)
174
27
      memcpy(StrBuffer, Key.data(), KeyLength);
175
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
27
    return NewItem;
177
27
  }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >* llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
89.9k
                                InitTy &&... InitVals) {
157
89.9k
    size_t KeyLength = Key.size();
158
89.9k
159
89.9k
    // Allocate a new item with space for the string at the end and a null
160
89.9k
    // terminator.
161
89.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
89.9k
    size_t Alignment = alignof(StringMapEntry);
163
89.9k
164
89.9k
    StringMapEntry *NewItem =
165
89.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
89.9k
    assert(NewItem && "Unhandled out-of-memory");
167
89.9k
168
89.9k
    // Construct the value.
169
89.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
89.9k
171
89.9k
    // Copy the string information.
172
89.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
89.9k
    if (KeyLength > 0)
174
89.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
89.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
89.9k
    return NewItem;
177
89.9k
  }
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>* llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::Create<llvm::MallocAllocator, clang::InMemoryModuleCache::PCM>(llvm::StringRef, llvm::MallocAllocator&, clang::InMemoryModuleCache::PCM&&)
Line
Count
Source
156
4.25k
                                InitTy &&... InitVals) {
157
4.25k
    size_t KeyLength = Key.size();
158
4.25k
159
4.25k
    // Allocate a new item with space for the string at the end and a null
160
4.25k
    // terminator.
161
4.25k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.25k
    size_t Alignment = alignof(StringMapEntry);
163
4.25k
164
4.25k
    StringMapEntry *NewItem =
165
4.25k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.25k
    assert(NewItem && "Unhandled out-of-memory");
167
4.25k
168
4.25k
    // Construct the value.
169
4.25k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.25k
171
4.25k
    // Copy the string information.
172
4.25k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.25k
    if (KeyLength > 0)
174
4.25k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.25k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.25k
    return NewItem;
177
4.25k
  }
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>* llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.27k
                                InitTy &&... InitVals) {
157
1.27k
    size_t KeyLength = Key.size();
158
1.27k
159
1.27k
    // Allocate a new item with space for the string at the end and a null
160
1.27k
    // terminator.
161
1.27k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.27k
    size_t Alignment = alignof(StringMapEntry);
163
1.27k
164
1.27k
    StringMapEntry *NewItem =
165
1.27k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.27k
    assert(NewItem && "Unhandled out-of-memory");
167
1.27k
168
1.27k
    // Construct the value.
169
1.27k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.27k
171
1.27k
    // Copy the string information.
172
1.27k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.27k
    if (KeyLength > 0)
174
1.27k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.27k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.27k
    return NewItem;
177
1.27k
  }
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >* llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
85
                                InitTy &&... InitVals) {
157
85
    size_t KeyLength = Key.size();
158
85
159
85
    // Allocate a new item with space for the string at the end and a null
160
85
    // terminator.
161
85
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
85
    size_t Alignment = alignof(StringMapEntry);
163
85
164
85
    StringMapEntry *NewItem =
165
85
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
85
    assert(NewItem && "Unhandled out-of-memory");
167
85
168
85
    // Construct the value.
169
85
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
85
171
85
    // Copy the string information.
172
85
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
85
    if (KeyLength > 0)
174
85
      memcpy(StrBuffer, Key.data(), KeyLength);
175
85
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
85
    return NewItem;
177
85
  }
llvm::StringMapEntry<unsigned int const*>* llvm::StringMapEntry<unsigned int const*>::Create<llvm::MallocAllocator, unsigned int const*>(llvm::StringRef, llvm::MallocAllocator&, unsigned int const*&&)
Line
Count
Source
156
7.40k
                                InitTy &&... InitVals) {
157
7.40k
    size_t KeyLength = Key.size();
158
7.40k
159
7.40k
    // Allocate a new item with space for the string at the end and a null
160
7.40k
    // terminator.
161
7.40k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
7.40k
    size_t Alignment = alignof(StringMapEntry);
163
7.40k
164
7.40k
    StringMapEntry *NewItem =
165
7.40k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
7.40k
    assert(NewItem && "Unhandled out-of-memory");
167
7.40k
168
7.40k
    // Construct the value.
169
7.40k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
7.40k
171
7.40k
    // Copy the string information.
172
7.40k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
7.40k
    if (KeyLength > 0)
174
7.40k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
7.40k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
7.40k
    return NewItem;
177
7.40k
  }
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>* llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::Create<llvm::MallocAllocator, llvm::MachineMemOperand::Flags>(llvm::StringRef, llvm::MallocAllocator&, llvm::MachineMemOperand::Flags&&)
Line
Count
Source
156
6
                                InitTy &&... InitVals) {
157
6
    size_t KeyLength = Key.size();
158
6
159
6
    // Allocate a new item with space for the string at the end and a null
160
6
    // terminator.
161
6
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
6
    size_t Alignment = alignof(StringMapEntry);
163
6
164
6
    StringMapEntry *NewItem =
165
6
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
6
    assert(NewItem && "Unhandled out-of-memory");
167
6
168
6
    // Construct the value.
169
6
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
6
171
6
    // Copy the string information.
172
6
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
6
    if (KeyLength > 0)
174
6
      memcpy(StrBuffer, Key.data(), KeyLength);
175
6
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
6
    return NewItem;
177
6
  }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>* llvm::StringMapEntry<llvm::TargetRegisterClass const*>::Create<llvm::MallocAllocator, llvm::TargetRegisterClass const*>(llvm::StringRef, llvm::MallocAllocator&, llvm::TargetRegisterClass const*&&)
Line
Count
Source
156
232k
                                InitTy &&... InitVals) {
157
232k
    size_t KeyLength = Key.size();
158
232k
159
232k
    // Allocate a new item with space for the string at the end and a null
160
232k
    // terminator.
161
232k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
232k
    size_t Alignment = alignof(StringMapEntry);
163
232k
164
232k
    StringMapEntry *NewItem =
165
232k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
232k
    assert(NewItem && "Unhandled out-of-memory");
167
232k
168
232k
    // Construct the value.
169
232k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
232k
171
232k
    // Copy the string information.
172
232k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
232k
    if (KeyLength > 0)
174
232k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
232k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
232k
    return NewItem;
177
232k
  }
llvm::StringMapEntry<llvm::RegisterBank const*>* llvm::StringMapEntry<llvm::RegisterBank const*>::Create<llvm::MallocAllocator, llvm::RegisterBank const*>(llvm::StringRef, llvm::MallocAllocator&, llvm::RegisterBank const*&&)
Line
Count
Source
156
6.12k
                                InitTy &&... InitVals) {
157
6.12k
    size_t KeyLength = Key.size();
158
6.12k
159
6.12k
    // Allocate a new item with space for the string at the end and a null
160
6.12k
    // terminator.
161
6.12k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
6.12k
    size_t Alignment = alignof(StringMapEntry);
163
6.12k
164
6.12k
    StringMapEntry *NewItem =
165
6.12k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
6.12k
    assert(NewItem && "Unhandled out-of-memory");
167
6.12k
168
6.12k
    // Construct the value.
169
6.12k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
6.12k
171
6.12k
    // Copy the string information.
172
6.12k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
6.12k
    if (KeyLength > 0)
174
6.12k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
6.12k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
6.12k
    return NewItem;
177
6.12k
  }
llvm::StringMapEntry<llvm::VRegInfo*>* llvm::StringMapEntry<llvm::VRegInfo*>::Create<llvm::MallocAllocator, llvm::VRegInfo*>(llvm::StringRef, llvm::MallocAllocator&, llvm::VRegInfo*&&)
Line
Count
Source
156
27
                                InitTy &&... InitVals) {
157
27
    size_t KeyLength = Key.size();
158
27
159
27
    // Allocate a new item with space for the string at the end and a null
160
27
    // terminator.
161
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
27
    size_t Alignment = alignof(StringMapEntry);
163
27
164
27
    StringMapEntry *NewItem =
165
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
27
    assert(NewItem && "Unhandled out-of-memory");
167
27
168
27
    // Construct the value.
169
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
27
171
27
    // Copy the string information.
172
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
27
    if (KeyLength > 0)
174
27
      memcpy(StrBuffer, Key.data(), KeyLength);
175
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
27
    return NewItem;
177
27
  }
llvm::StringMapEntry<llvm::DIE const*>* llvm::StringMapEntry<llvm::DIE const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
70.3k
                                InitTy &&... InitVals) {
157
70.3k
    size_t KeyLength = Key.size();
158
70.3k
159
70.3k
    // Allocate a new item with space for the string at the end and a null
160
70.3k
    // terminator.
161
70.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
70.3k
    size_t Alignment = alignof(StringMapEntry);
163
70.3k
164
70.3k
    StringMapEntry *NewItem =
165
70.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
70.3k
    assert(NewItem && "Unhandled out-of-memory");
167
70.3k
168
70.3k
    // Construct the value.
169
70.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
70.3k
171
70.3k
    // Copy the string information.
172
70.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
70.3k
    if (KeyLength > 0)
174
70.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
70.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
70.3k
    return NewItem;
177
70.3k
  }
llvm::StringMapEntry<llvm::DIE const*>* llvm::StringMapEntry<llvm::DIE const*>::Create<llvm::MallocAllocator, llvm::DIE const*>(llvm::StringRef, llvm::MallocAllocator&, llvm::DIE const*&&)
Line
Count
Source
156
18
                                InitTy &&... InitVals) {
157
18
    size_t KeyLength = Key.size();
158
18
159
18
    // Allocate a new item with space for the string at the end and a null
160
18
    // terminator.
161
18
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
18
    size_t Alignment = alignof(StringMapEntry);
163
18
164
18
    StringMapEntry *NewItem =
165
18
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
18
    assert(NewItem && "Unhandled out-of-memory");
167
18
168
18
    // Construct the value.
169
18
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
18
171
18
    // Copy the string information.
172
18
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
18
    if (KeyLength > 0)
174
18
      memcpy(StrBuffer, Key.data(), KeyLength);
175
18
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
18
    return NewItem;
177
18
  }
llvm::StringMapEntry<llvm::AccelTableBase::HashData>* llvm::StringMapEntry<llvm::AccelTableBase::HashData>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, llvm::DwarfStringPoolEntryRef&, unsigned int (*&)(llvm::StringRef)>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, llvm::DwarfStringPoolEntryRef&&&, unsigned int (*&&&)(llvm::StringRef))
Line
Count
Source
156
71.8k
                                InitTy &&... InitVals) {
157
71.8k
    size_t KeyLength = Key.size();
158
71.8k
159
71.8k
    // Allocate a new item with space for the string at the end and a null
160
71.8k
    // terminator.
161
71.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
71.8k
    size_t Alignment = alignof(StringMapEntry);
163
71.8k
164
71.8k
    StringMapEntry *NewItem =
165
71.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
71.8k
    assert(NewItem && "Unhandled out-of-memory");
167
71.8k
168
71.8k
    // Construct the value.
169
71.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
71.8k
171
71.8k
    // Copy the string information.
172
71.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
71.8k
    if (KeyLength > 0)
174
71.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
71.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
71.8k
    return NewItem;
177
71.8k
  }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>* llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, llvm::DwarfStringPoolEntry>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
156
85.0k
                                InitTy &&... InitVals) {
157
85.0k
    size_t KeyLength = Key.size();
158
85.0k
159
85.0k
    // Allocate a new item with space for the string at the end and a null
160
85.0k
    // terminator.
161
85.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
85.0k
    size_t Alignment = alignof(StringMapEntry);
163
85.0k
164
85.0k
    StringMapEntry *NewItem =
165
85.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
85.0k
    assert(NewItem && "Unhandled out-of-memory");
167
85.0k
168
85.0k
    // Construct the value.
169
85.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
85.0k
171
85.0k
    // Copy the string information.
172
85.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
85.0k
    if (KeyLength > 0)
174
84.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
85.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
85.0k
    return NewItem;
177
85.0k
  }
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >* llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
9
                                InitTy &&... InitVals) {
157
9
    size_t KeyLength = Key.size();
158
9
159
9
    // Allocate a new item with space for the string at the end and a null
160
9
    // terminator.
161
9
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
9
    size_t Alignment = alignof(StringMapEntry);
163
9
164
9
    StringMapEntry *NewItem =
165
9
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
9
    assert(NewItem && "Unhandled out-of-memory");
167
9
168
9
    // Construct the value.
169
9
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
9
171
9
    // Copy the string information.
172
9
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
9
    if (KeyLength > 0)
174
9
      memcpy(StrBuffer, Key.data(), KeyLength);
175
9
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
9
    return NewItem;
177
9
  }
llvm::StringMapEntry<unsigned short>* llvm::StringMapEntry<unsigned short>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
47
                                InitTy &&... InitVals) {
157
47
    size_t KeyLength = Key.size();
158
47
159
47
    // Allocate a new item with space for the string at the end and a null
160
47
    // terminator.
161
47
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
47
    size_t Alignment = alignof(StringMapEntry);
163
47
164
47
    StringMapEntry *NewItem =
165
47
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
47
    assert(NewItem && "Unhandled out-of-memory");
167
47
168
47
    // Construct the value.
169
47
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
47
171
47
    // Copy the string information.
172
47
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
47
    if (KeyLength > 0)
174
47
      memcpy(StrBuffer, Key.data(), KeyLength);
175
47
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
47
    return NewItem;
177
47
  }
llvm::StringMapEntry<llvm::SDNode*>* llvm::StringMapEntry<llvm::SDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
14.8k
                                InitTy &&... InitVals) {
157
14.8k
    size_t KeyLength = Key.size();
158
14.8k
159
14.8k
    // Allocate a new item with space for the string at the end and a null
160
14.8k
    // terminator.
161
14.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14.8k
    size_t Alignment = alignof(StringMapEntry);
163
14.8k
164
14.8k
    StringMapEntry *NewItem =
165
14.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14.8k
    assert(NewItem && "Unhandled out-of-memory");
167
14.8k
168
14.8k
    // Construct the value.
169
14.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14.8k
171
14.8k
    // Copy the string information.
172
14.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14.8k
    if (KeyLength > 0)
174
14.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14.8k
    return NewItem;
177
14.8k
  }
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>* llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.06k
                                InitTy &&... InitVals) {
157
1.06k
    size_t KeyLength = Key.size();
158
1.06k
159
1.06k
    // Allocate a new item with space for the string at the end and a null
160
1.06k
    // terminator.
161
1.06k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.06k
    size_t Alignment = alignof(StringMapEntry);
163
1.06k
164
1.06k
    StringMapEntry *NewItem =
165
1.06k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.06k
    assert(NewItem && "Unhandled out-of-memory");
167
1.06k
168
1.06k
    // Construct the value.
169
1.06k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.06k
171
1.06k
    // Copy the string information.
172
1.06k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.06k
    if (KeyLength > 0)
174
1.06k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.06k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.06k
    return NewItem;
177
1.06k
  }
llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >* llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
431
                                InitTy &&... InitVals) {
157
431
    size_t KeyLength = Key.size();
158
431
159
431
    // Allocate a new item with space for the string at the end and a null
160
431
    // terminator.
161
431
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
431
    size_t Alignment = alignof(StringMapEntry);
163
431
164
431
    StringMapEntry *NewItem =
165
431
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
431
    assert(NewItem && "Unhandled out-of-memory");
167
431
168
431
    // Construct the value.
169
431
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
431
171
431
    // Copy the string information.
172
431
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
431
    if (KeyLength > 0)
174
428
      memcpy(StrBuffer, Key.data(), KeyLength);
175
431
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
431
    return NewItem;
177
431
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator, clang::Stmt*>(llvm::StringRef, llvm::MallocAllocator&, clang::Stmt*&&)
Line
Count
Source
156
2
                                InitTy &&... InitVals) {
157
2
    size_t KeyLength = Key.size();
158
2
159
2
    // Allocate a new item with space for the string at the end and a null
160
2
    // terminator.
161
2
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2
    size_t Alignment = alignof(StringMapEntry);
163
2
164
2
    StringMapEntry *NewItem =
165
2
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2
    assert(NewItem && "Unhandled out-of-memory");
167
2
168
2
    // Construct the value.
169
2
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2
171
2
    // Copy the string information.
172
2
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2
    if (KeyLength > 0)
174
2
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2
    return NewItem;
177
2
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
13.0k
                                InitTy &&... InitVals) {
157
13.0k
    size_t KeyLength = Key.size();
158
13.0k
159
13.0k
    // Allocate a new item with space for the string at the end and a null
160
13.0k
    // terminator.
161
13.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
13.0k
    size_t Alignment = alignof(StringMapEntry);
163
13.0k
164
13.0k
    StringMapEntry *NewItem =
165
13.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
13.0k
    assert(NewItem && "Unhandled out-of-memory");
167
13.0k
168
13.0k
    // Construct the value.
169
13.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
13.0k
171
13.0k
    // Copy the string information.
172
13.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
13.0k
    if (KeyLength > 0)
174
13.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
13.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
13.0k
    return NewItem;
177
13.0k
  }
llvm::StringMapEntry<FoundationClass>* llvm::StringMapEntry<FoundationClass>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
91
                                InitTy &&... InitVals) {
157
91
    size_t KeyLength = Key.size();
158
91
159
91
    // Allocate a new item with space for the string at the end and a null
160
91
    // terminator.
161
91
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
91
    size_t Alignment = alignof(StringMapEntry);
163
91
164
91
    StringMapEntry *NewItem =
165
91
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
91
    assert(NewItem && "Unhandled out-of-memory");
167
91
168
91
    // Construct the value.
169
91
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
91
171
91
    // Copy the string information.
172
91
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
91
    if (KeyLength > 0)
174
91
      memcpy(StrBuffer, Key.data(), KeyLength);
175
91
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
91
    return NewItem;
177
91
  }
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >* llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
20
                                InitTy &&... InitVals) {
157
20
    size_t KeyLength = Key.size();
158
20
159
20
    // Allocate a new item with space for the string at the end and a null
160
20
    // terminator.
161
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
20
    size_t Alignment = alignof(StringMapEntry);
163
20
164
20
    StringMapEntry *NewItem =
165
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
20
    assert(NewItem && "Unhandled out-of-memory");
167
20
168
20
    // Construct the value.
169
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
20
171
20
    // Copy the string information.
172
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
20
    if (KeyLength > 0)
174
20
      memcpy(StrBuffer, Key.data(), KeyLength);
175
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
20
    return NewItem;
177
20
  }
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >* llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::Create<llvm::MallocAllocator, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> >&&)
Line
Count
Source
156
286
                                InitTy &&... InitVals) {
157
286
    size_t KeyLength = Key.size();
158
286
159
286
    // Allocate a new item with space for the string at the end and a null
160
286
    // terminator.
161
286
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
286
    size_t Alignment = alignof(StringMapEntry);
163
286
164
286
    StringMapEntry *NewItem =
165
286
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
286
    assert(NewItem && "Unhandled out-of-memory");
167
286
168
286
    // Construct the value.
169
286
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
286
171
286
    // Copy the string information.
172
286
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
286
    if (KeyLength > 0)
174
286
      memcpy(StrBuffer, Key.data(), KeyLength);
175
286
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
286
    return NewItem;
177
286
  }
llvm::StringMapEntry<clang::ento::BugType*>* llvm::StringMapEntry<clang::ento::BugType*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
709
                                InitTy &&... InitVals) {
157
709
    size_t KeyLength = Key.size();
158
709
159
709
    // Allocate a new item with space for the string at the end and a null
160
709
    // terminator.
161
709
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
709
    size_t Alignment = alignof(StringMapEntry);
163
709
164
709
    StringMapEntry *NewItem =
165
709
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
709
    assert(NewItem && "Unhandled out-of-memory");
167
709
168
709
    // Construct the value.
169
709
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
709
171
709
    // Copy the string information.
172
709
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
709
    if (KeyLength > 0)
174
709
      memcpy(StrBuffer, Key.data(), KeyLength);
175
709
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
709
    return NewItem;
177
709
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(llvm::StringRef, llvm::MallocAllocator&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&&)
Line
Count
Source
156
119
                                InitTy &&... InitVals) {
157
119
    size_t KeyLength = Key.size();
158
119
159
119
    // Allocate a new item with space for the string at the end and a null
160
119
    // terminator.
161
119
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
119
    size_t Alignment = alignof(StringMapEntry);
163
119
164
119
    StringMapEntry *NewItem =
165
119
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
119
    assert(NewItem && "Unhandled out-of-memory");
167
119
168
119
    // Construct the value.
169
119
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
119
171
119
    // Copy the string information.
172
119
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
119
    if (KeyLength > 0)
174
119
      memcpy(StrBuffer, Key.data(), KeyLength);
175
119
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
119
    return NewItem;
177
119
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
32
                                InitTy &&... InitVals) {
157
32
    size_t KeyLength = Key.size();
158
32
159
32
    // Allocate a new item with space for the string at the end and a null
160
32
    // terminator.
161
32
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
32
    size_t Alignment = alignof(StringMapEntry);
163
32
164
32
    StringMapEntry *NewItem =
165
32
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
32
    assert(NewItem && "Unhandled out-of-memory");
167
32
168
32
    // Construct the value.
169
32
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
32
171
32
    // Copy the string information.
172
32
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
32
    if (KeyLength > 0)
174
32
      memcpy(StrBuffer, Key.data(), KeyLength);
175
32
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
32
    return NewItem;
177
32
  }
llvm::StringMapEntry<clang::ASTUnit*>* llvm::StringMapEntry<clang::ASTUnit*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
57
                                InitTy &&... InitVals) {
157
57
    size_t KeyLength = Key.size();
158
57
159
57
    // Allocate a new item with space for the string at the end and a null
160
57
    // terminator.
161
57
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
57
    size_t Alignment = alignof(StringMapEntry);
163
57
164
57
    StringMapEntry *NewItem =
165
57
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
57
    assert(NewItem && "Unhandled out-of-memory");
167
57
168
57
    // Construct the value.
169
57
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
57
171
57
    // Copy the string information.
172
57
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
57
    if (KeyLength > 0)
174
57
      memcpy(StrBuffer, Key.data(), KeyLength);
175
57
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
57
    return NewItem;
177
57
  }
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >* llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
10.2k
                                InitTy &&... InitVals) {
157
10.2k
    size_t KeyLength = Key.size();
158
10.2k
159
10.2k
    // Allocate a new item with space for the string at the end and a null
160
10.2k
    // terminator.
161
10.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
10.2k
    size_t Alignment = alignof(StringMapEntry);
163
10.2k
164
10.2k
    StringMapEntry *NewItem =
165
10.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
10.2k
    assert(NewItem && "Unhandled out-of-memory");
167
10.2k
168
10.2k
    // Construct the value.
169
10.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
10.2k
171
10.2k
    // Copy the string information.
172
10.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
10.2k
    if (KeyLength > 0)
174
10.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
10.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
10.2k
    return NewItem;
177
10.2k
  }
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >* llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3
                                InitTy &&... InitVals) {
157
3
    size_t KeyLength = Key.size();
158
3
159
3
    // Allocate a new item with space for the string at the end and a null
160
3
    // terminator.
161
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3
    size_t Alignment = alignof(StringMapEntry);
163
3
164
3
    StringMapEntry *NewItem =
165
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3
    assert(NewItem && "Unhandled out-of-memory");
167
3
168
3
    // Construct the value.
169
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3
171
3
    // Copy the string information.
172
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3
    if (KeyLength > 0)
174
3
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3
    return NewItem;
177
3
  }
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >* llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::Create<llvm::MallocAllocator, clang::OMPCriticalDirective const*&, llvm::APSInt&>(llvm::StringRef, llvm::MallocAllocator&, clang::OMPCriticalDirective const*&&&, llvm::APSInt&&&)
Line
Count
Source
156
38
                                InitTy &&... InitVals) {
157
38
    size_t KeyLength = Key.size();
158
38
159
38
    // Allocate a new item with space for the string at the end and a null
160
38
    // terminator.
161
38
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
38
    size_t Alignment = alignof(StringMapEntry);
163
38
164
38
    StringMapEntry *NewItem =
165
38
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
38
    assert(NewItem && "Unhandled out-of-memory");
167
38
168
38
    // Construct the value.
169
38
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
38
171
38
    // Copy the string information.
172
38
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
38
    if (KeyLength > 0)
174
38
      memcpy(StrBuffer, Key.data(), KeyLength);
175
38
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
38
    return NewItem;
177
38
  }
llvm::StringMapEntry<llvm::TimeRecord>* llvm::StringMapEntry<llvm::TimeRecord>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1
                                InitTy &&... InitVals) {
157
1
    size_t KeyLength = Key.size();
158
1
159
1
    // Allocate a new item with space for the string at the end and a null
160
1
    // terminator.
161
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1
    size_t Alignment = alignof(StringMapEntry);
163
1
164
1
    StringMapEntry *NewItem =
165
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1
    assert(NewItem && "Unhandled out-of-memory");
167
1
168
1
    // Construct the value.
169
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1
171
1
    // Copy the string information.
172
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1
    if (KeyLength > 0)
174
1
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1
    return NewItem;
177
1
  }
llvm::StringMapEntry<clang::StringLiteral*>* llvm::StringMapEntry<clang::StringLiteral*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
65
                                InitTy &&... InitVals) {
157
65
    size_t KeyLength = Key.size();
158
65
159
65
    // Allocate a new item with space for the string at the end and a null
160
65
    // terminator.
161
65
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
65
    size_t Alignment = alignof(StringMapEntry);
163
65
164
65
    StringMapEntry *NewItem =
165
65
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
65
    assert(NewItem && "Unhandled out-of-memory");
167
65
168
65
    // Construct the value.
169
65
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
65
171
65
    // Copy the string information.
172
65
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
65
    if (KeyLength > 0)
174
60
      memcpy(StrBuffer, Key.data(), KeyLength);
175
65
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
65
    return NewItem;
177
65
  }
llvm::StringMapEntry<clang::comments::TParamCommandComment*>* llvm::StringMapEntry<clang::comments::TParamCommandComment*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
90
                                InitTy &&... InitVals) {
157
90
    size_t KeyLength = Key.size();
158
90
159
90
    // Allocate a new item with space for the string at the end and a null
160
90
    // terminator.
161
90
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
90
    size_t Alignment = alignof(StringMapEntry);
163
90
164
90
    StringMapEntry *NewItem =
165
90
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
90
    assert(NewItem && "Unhandled out-of-memory");
167
90
168
90
    // Construct the value.
169
90
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
90
171
90
    // Copy the string information.
172
90
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
90
    if (KeyLength > 0)
174
90
      memcpy(StrBuffer, Key.data(), KeyLength);
175
90
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
90
    return NewItem;
177
90
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
156
3
                                InitTy &&... InitVals) {
157
3
    size_t KeyLength = Key.size();
158
3
159
3
    // Allocate a new item with space for the string at the end and a null
160
3
    // terminator.
161
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3
    size_t Alignment = alignof(StringMapEntry);
163
3
164
3
    StringMapEntry *NewItem =
165
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3
    assert(NewItem && "Unhandled out-of-memory");
167
3
168
3
    // Construct the value.
169
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3
171
3
    // Copy the string information.
172
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3
    if (KeyLength > 0)
174
3
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3
    return NewItem;
177
3
  }
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>* llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
374k
                                InitTy &&... InitVals) {
157
374k
    size_t KeyLength = Key.size();
158
374k
159
374k
    // Allocate a new item with space for the string at the end and a null
160
374k
    // terminator.
161
374k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
374k
    size_t Alignment = alignof(StringMapEntry);
163
374k
164
374k
    StringMapEntry *NewItem =
165
374k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
374k
    assert(NewItem && "Unhandled out-of-memory");
167
374k
168
374k
    // Construct the value.
169
374k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
374k
171
374k
    // Copy the string information.
172
374k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
374k
    if (KeyLength > 0)
174
374k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
374k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
374k
    return NewItem;
177
374k
  }
Unexecuted instantiation: llvm::StringMapEntry<clang::FrameworkCacheEntry>* llvm::StringMapEntry<clang::FrameworkCacheEntry>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::FrameworkCacheEntry>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::FrameworkCacheEntry&&)
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
14
                                InitTy &&... InitVals) {
157
14
    size_t KeyLength = Key.size();
158
14
159
14
    // Allocate a new item with space for the string at the end and a null
160
14
    // terminator.
161
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14
    size_t Alignment = alignof(StringMapEntry);
163
14
164
14
    StringMapEntry *NewItem =
165
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14
    assert(NewItem && "Unhandled out-of-memory");
167
14
168
14
    // Construct the value.
169
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14
171
14
    // Copy the string information.
172
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14
    if (KeyLength > 0)
174
14
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14
    return NewItem;
177
14
  }
llvm::StringMapEntry<clang::Module*>* llvm::StringMapEntry<clang::Module*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
74.0k
                                InitTy &&... InitVals) {
157
74.0k
    size_t KeyLength = Key.size();
158
74.0k
159
74.0k
    // Allocate a new item with space for the string at the end and a null
160
74.0k
    // terminator.
161
74.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
74.0k
    size_t Alignment = alignof(StringMapEntry);
163
74.0k
164
74.0k
    StringMapEntry *NewItem =
165
74.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
74.0k
    assert(NewItem && "Unhandled out-of-memory");
167
74.0k
168
74.0k
    // Construct the value.
169
74.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
74.0k
171
74.0k
    // Copy the string information.
172
74.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
74.0k
    if (KeyLength > 0)
174
74.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
74.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
74.0k
    return NewItem;
177
74.0k
  }
llvm::StringMapEntry<clang::PragmaHandler*>* llvm::StringMapEntry<clang::PragmaHandler*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.25M
                                InitTy &&... InitVals) {
157
2.25M
    size_t KeyLength = Key.size();
158
2.25M
159
2.25M
    // Allocate a new item with space for the string at the end and a null
160
2.25M
    // terminator.
161
2.25M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.25M
    size_t Alignment = alignof(StringMapEntry);
163
2.25M
164
2.25M
    StringMapEntry *NewItem =
165
2.25M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.25M
    assert(NewItem && "Unhandled out-of-memory");
167
2.25M
168
2.25M
    // Construct the value.
169
2.25M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.25M
171
2.25M
    // Copy the string information.
172
2.25M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.25M
    if (KeyLength > 0)
174
2.20M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.25M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.25M
    return NewItem;
177
2.25M
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >* llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::Create<llvm::MallocAllocator, std::__1::pair<llvm::Type*, llvm::SMLoc> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::pair<llvm::Type*, llvm::SMLoc>&&)
Line
Count
Source
156
55
                                InitTy &&... InitVals) {
157
55
    size_t KeyLength = Key.size();
158
55
159
55
    // Allocate a new item with space for the string at the end and a null
160
55
    // terminator.
161
55
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
55
    size_t Alignment = alignof(StringMapEntry);
163
55
164
55
    StringMapEntry *NewItem =
165
55
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
55
    assert(NewItem && "Unhandled out-of-memory");
167
55
168
55
    // Construct the value.
169
55
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
55
171
55
    // Copy the string information.
172
55
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
55
    if (KeyLength > 0)
174
55
      memcpy(StrBuffer, Key.data(), KeyLength);
175
55
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
55
    return NewItem;
177
55
  }
llvm::StringMapEntry<llvm::Type*>* llvm::StringMapEntry<llvm::Type*>::Create<llvm::MallocAllocator, llvm::Type*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Type*&&)
Line
Count
Source
156
91
                                InitTy &&... InitVals) {
157
91
    size_t KeyLength = Key.size();
158
91
159
91
    // Allocate a new item with space for the string at the end and a null
160
91
    // terminator.
161
91
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
91
    size_t Alignment = alignof(StringMapEntry);
163
91
164
91
    StringMapEntry *NewItem =
165
91
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
91
    assert(NewItem && "Unhandled out-of-memory");
167
91
168
91
    // Construct the value.
169
91
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
91
171
91
    // Copy the string information.
172
91
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
91
    if (KeyLength > 0)
174
91
      memcpy(StrBuffer, Key.data(), KeyLength);
175
91
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
91
    return NewItem;
177
91
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >* llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
12.6k
                                InitTy &&... InitVals) {
157
12.6k
    size_t KeyLength = Key.size();
158
12.6k
159
12.6k
    // Allocate a new item with space for the string at the end and a null
160
12.6k
    // terminator.
161
12.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
12.6k
    size_t Alignment = alignof(StringMapEntry);
163
12.6k
164
12.6k
    StringMapEntry *NewItem =
165
12.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
12.6k
    assert(NewItem && "Unhandled out-of-memory");
167
12.6k
168
12.6k
    // Construct the value.
169
12.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
12.6k
171
12.6k
    // Copy the string information.
172
12.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
12.6k
    if (KeyLength > 0)
174
12.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
12.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
12.6k
    return NewItem;
177
12.6k
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>* llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
340
                                InitTy &&... InitVals) {
157
340
    size_t KeyLength = Key.size();
158
340
159
340
    // Allocate a new item with space for the string at the end and a null
160
340
    // terminator.
161
340
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
340
    size_t Alignment = alignof(StringMapEntry);
163
340
164
340
    StringMapEntry *NewItem =
165
340
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
340
    assert(NewItem && "Unhandled out-of-memory");
167
340
168
340
    // Construct the value.
169
340
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
340
171
340
    // Copy the string information.
172
340
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
340
    if (KeyLength > 0)
174
340
      memcpy(StrBuffer, Key.data(), KeyLength);
175
340
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
340
    return NewItem;
177
340
  }
llvm::StringMapEntry<llvm::RecordStreamer::State>* llvm::StringMapEntry<llvm::RecordStreamer::State>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
264
                                InitTy &&... InitVals) {
157
264
    size_t KeyLength = Key.size();
158
264
159
264
    // Allocate a new item with space for the string at the end and a null
160
264
    // terminator.
161
264
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
264
    size_t Alignment = alignof(StringMapEntry);
163
264
164
264
    StringMapEntry *NewItem =
165
264
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
264
    assert(NewItem && "Unhandled out-of-memory");
167
264
168
264
    // Construct the value.
169
264
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
264
171
264
    // Copy the string information.
172
264
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
264
    if (KeyLength > 0)
174
264
      memcpy(StrBuffer, Key.data(), KeyLength);
175
264
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
264
    return NewItem;
177
264
  }
llvm::StringMapEntry<llvm::GlobalValue const*>* llvm::StringMapEntry<llvm::GlobalValue const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
255
                                InitTy &&... InitVals) {
157
255
    size_t KeyLength = Key.size();
158
255
159
255
    // Allocate a new item with space for the string at the end and a null
160
255
    // terminator.
161
255
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
255
    size_t Alignment = alignof(StringMapEntry);
163
255
164
255
    StringMapEntry *NewItem =
165
255
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
255
    assert(NewItem && "Unhandled out-of-memory");
167
255
168
255
    // Construct the value.
169
255
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
255
171
255
    // Copy the string information.
172
255
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
255
    if (KeyLength > 0)
174
255
      memcpy(StrBuffer, Key.data(), KeyLength);
175
255
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
255
    return NewItem;
177
255
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, unsigned int>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, unsigned int&&)
Line
Count
Source
156
16
                                InitTy &&... InitVals) {
157
16
    size_t KeyLength = Key.size();
158
16
159
16
    // Allocate a new item with space for the string at the end and a null
160
16
    // terminator.
161
16
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
16
    size_t Alignment = alignof(StringMapEntry);
163
16
164
16
    StringMapEntry *NewItem =
165
16
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
16
    assert(NewItem && "Unhandled out-of-memory");
167
16
168
16
    // Construct the value.
169
16
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
16
171
16
    // Copy the string information.
172
16
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
16
    if (KeyLength > 0)
174
16
      memcpy(StrBuffer, Key.data(), KeyLength);
175
16
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
16
    return NewItem;
177
16
  }
178
179
  /// Create - Create a StringMapEntry with normal malloc/free.
180
  template <typename... InitType>
181
2.51M
  static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
182
2.51M
    MallocAllocator A;
183
2.51M
    return Create(Key, A, std::forward<InitType>(InitVal)...);
184
2.51M
  }
185
186
2.51M
  static StringMapEntry *Create(StringRef Key) {
187
2.51M
    return Create(Key, ValueTy());
188
2.51M
  }
189
190
  /// GetStringMapEntryFromKeyData - Given key data that is known to be embedded
191
  /// into a StringMapEntry, return the StringMapEntry itself.
192
  static StringMapEntry &GetStringMapEntryFromKeyData(const char *KeyData) {
193
    char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>);
194
    return *reinterpret_cast<StringMapEntry*>(Ptr);
195
  }
196
197
  /// Destroy - Destroy this StringMapEntry, releasing memory back to the
198
  /// specified allocator.
199
  template<typename AllocatorTy>
200
374M
  void Destroy(AllocatorTy &Allocator) {
201
374M
    // Free memory referenced by the item.
202
374M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
374M
    this->~StringMapEntry();
204
374M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
374M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
31.7k
  void Destroy(AllocatorTy &Allocator) {
201
31.7k
    // Free memory referenced by the item.
202
31.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
31.7k
    this->~StringMapEntry();
204
31.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
31.7k
  }
void llvm::StringMapEntry<llvm::cl::Option*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
150M
  void Destroy(AllocatorTy &Allocator) {
201
150M
    // Free memory referenced by the item.
202
150M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
150M
    this->~StringMapEntry();
204
150M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
150M
  }
void llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.24M
  void Destroy(AllocatorTy &Allocator) {
201
2.24M
    // Free memory referenced by the item.
202
2.24M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.24M
    this->~StringMapEntry();
204
2.24M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.24M
  }
void llvm::StringMapEntry<char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
475k
  void Destroy(AllocatorTy &Allocator) {
201
475k
    // Free memory referenced by the item.
202
475k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
475k
    this->~StringMapEntry();
204
475k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
475k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
56.9k
  void Destroy(AllocatorTy &Allocator) {
201
56.9k
    // Free memory referenced by the item.
202
56.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
56.9k
    this->~StringMapEntry();
204
56.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
56.9k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
56.9k
  void Destroy(AllocatorTy &Allocator) {
201
56.9k
    // Free memory referenced by the item.
202
56.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
56.9k
    this->~StringMapEntry();
204
56.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
56.9k
  }
void llvm::StringMapEntry<clang::OpenCLOptions::Info>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
4.04M
  void Destroy(AllocatorTy &Allocator) {
201
4.04M
    // Free memory referenced by the item.
202
4.04M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.04M
    this->~StringMapEntry();
204
4.04M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.04M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.29k
  void Destroy(AllocatorTy &Allocator) {
201
1.29k
    // Free memory referenced by the item.
202
1.29k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.29k
    this->~StringMapEntry();
204
1.29k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.29k
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
33.1M
  void Destroy(AllocatorTy &Allocator) {
201
33.1M
    // Free memory referenced by the item.
202
33.1M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
33.1M
    this->~StringMapEntry();
204
33.1M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
33.1M
  }
void llvm::StringMapEntry<llvm::MCAsmMacro>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
293
  void Destroy(AllocatorTy &Allocator) {
201
293
    // Free memory referenced by the item.
202
293
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
293
    this->~StringMapEntry();
204
293
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
293
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
514k
  void Destroy(AllocatorTy &Allocator) {
201
514k
    // Free memory referenced by the item.
202
514k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
514k
    this->~StringMapEntry();
204
514k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
514k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.96k
  void Destroy(AllocatorTy &Allocator) {
201
1.96k
    // Free memory referenced by the item.
202
1.96k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.96k
    this->~StringMapEntry();
204
1.96k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.96k
  }
AArch64AsmParser.cpp:void llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
17
  void Destroy(AllocatorTy &Allocator) {
201
17
    // Free memory referenced by the item.
202
17
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
17
    this->~StringMapEntry();
204
17
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
17
  }
void llvm::StringMapEntry<llvm::Value*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
11.1M
  void Destroy(AllocatorTy &Allocator) {
201
11.1M
    // Free memory referenced by the item.
202
11.1M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
11.1M
    this->~StringMapEntry();
204
11.1M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
11.1M
  }
void llvm::StringMapEntry<int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
790k
  void Destroy(AllocatorTy &Allocator) {
201
790k
    // Free memory referenced by the item.
202
790k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
790k
    this->~StringMapEntry();
204
790k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
790k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
289
  void Destroy(AllocatorTy &Allocator) {
201
289
    // Free memory referenced by the item.
202
289
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
289
    this->~StringMapEntry();
204
289
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
289
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3.61k
  void Destroy(AllocatorTy &Allocator) {
201
3.61k
    // Free memory referenced by the item.
202
3.61k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.61k
    this->~StringMapEntry();
204
3.61k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.61k
  }
void llvm::StringMapEntry<unsigned int const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
7.11k
  void Destroy(AllocatorTy &Allocator) {
201
7.11k
    // Free memory referenced by the item.
202
7.11k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
7.11k
    this->~StringMapEntry();
204
7.11k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
7.11k
  }
void llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
6
  void Destroy(AllocatorTy &Allocator) {
201
6
    // Free memory referenced by the item.
202
6
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
6
    this->~StringMapEntry();
204
6
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
6
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
36
  void Destroy(AllocatorTy &Allocator) {
201
36
    // Free memory referenced by the item.
202
36
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
36
    this->~StringMapEntry();
204
36
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
36
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3.48k
  void Destroy(AllocatorTy &Allocator) {
201
3.48k
    // Free memory referenced by the item.
202
3.48k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.48k
    this->~StringMapEntry();
204
3.48k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.48k
  }
void llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
62
  void Destroy(AllocatorTy &Allocator) {
201
62
    // Free memory referenced by the item.
202
62
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
62
    this->~StringMapEntry();
204
62
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
62
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.00k
  void Destroy(AllocatorTy &Allocator) {
201
1.00k
    // Free memory referenced by the item.
202
1.00k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.00k
    this->~StringMapEntry();
204
1.00k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.00k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.16k
  void Destroy(AllocatorTy &Allocator) {
201
2.16k
    // Free memory referenced by the item.
202
2.16k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.16k
    this->~StringMapEntry();
204
2.16k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.16k
  }
void llvm::StringMapEntry<llvm::AsmToken>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1
  void Destroy(AllocatorTy &Allocator) {
201
1
    // Free memory referenced by the item.
202
1
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1
    this->~StringMapEntry();
204
1
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.84k
  void Destroy(AllocatorTy &Allocator) {
201
1.84k
    // Free memory referenced by the item.
202
1.84k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.84k
    this->~StringMapEntry();
204
1.84k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.84k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
194
  void Destroy(AllocatorTy &Allocator) {
201
194
    // Free memory referenced by the item.
202
194
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
194
    this->~StringMapEntry();
204
194
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
194
  }
void llvm::StringMapEntry<llvm::Function*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
346
  void Destroy(AllocatorTy &Allocator) {
201
346
    // Free memory referenced by the item.
202
346
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
346
    this->~StringMapEntry();
204
346
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
346
  }
void llvm::StringMapEntry<llvm::RTLIB::Libcall>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
4.87k
  void Destroy(AllocatorTy &Allocator) {
201
4.87k
    // Free memory referenced by the item.
202
4.87k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.87k
    this->~StringMapEntry();
204
4.87k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.87k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
533
  void Destroy(AllocatorTy &Allocator) {
201
533
    // Free memory referenced by the item.
202
533
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
533
    this->~StringMapEntry();
204
533
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
533
  }
void llvm::StringMapEntry<unsigned long long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.14k
  void Destroy(AllocatorTy &Allocator) {
201
1.14k
    // Free memory referenced by the item.
202
1.14k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.14k
    this->~StringMapEntry();
204
1.14k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.14k
  }
void llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
332
  void Destroy(AllocatorTy &Allocator) {
201
332
    // Free memory referenced by the item.
202
332
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
332
    this->~StringMapEntry();
204
332
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
332
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
11.6k
  void Destroy(AllocatorTy &Allocator) {
201
11.6k
    // Free memory referenced by the item.
202
11.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
11.6k
    this->~StringMapEntry();
204
11.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
11.6k
  }
void llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
155
  void Destroy(AllocatorTy &Allocator) {
201
155
    // Free memory referenced by the item.
202
155
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
155
    this->~StringMapEntry();
204
155
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
155
  }
void llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
917
  void Destroy(AllocatorTy &Allocator) {
201
917
    // Free memory referenced by the item.
202
917
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
917
    this->~StringMapEntry();
204
917
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
917
  }
void llvm::StringMapEntry<llvm::GCStrategy*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
26
  void Destroy(AllocatorTy &Allocator) {
201
26
    // Free memory referenced by the item.
202
26
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
26
    this->~StringMapEntry();
204
26
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
26
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
614
  void Destroy(AllocatorTy &Allocator) {
201
614
    // Free memory referenced by the item.
202
614
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
614
    this->~StringMapEntry();
204
614
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
614
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
71.3k
  void Destroy(AllocatorTy &Allocator) {
201
71.3k
    // Free memory referenced by the item.
202
71.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
71.3k
    this->~StringMapEntry();
204
71.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
71.3k
  }
void llvm::StringMapEntry<llvm::ConstantDataSequential*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
84.9k
  void Destroy(AllocatorTy &Allocator) {
201
84.9k
    // Free memory referenced by the item.
202
84.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
84.9k
    this->~StringMapEntry();
204
84.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
84.9k
  }
void llvm::StringMapEntry<llvm::MDString>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
113k
  void Destroy(AllocatorTy &Allocator) {
201
113k
    // Free memory referenced by the item.
202
113k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
113k
    this->~StringMapEntry();
204
113k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
113k
  }
void llvm::StringMapEntry<llvm::StructType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
61.3k
  void Destroy(AllocatorTy &Allocator) {
201
61.3k
    // Free memory referenced by the item.
202
61.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
61.3k
    this->~StringMapEntry();
204
61.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
61.3k
  }
void llvm::StringMapEntry<unsigned char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
207k
  void Destroy(AllocatorTy &Allocator) {
201
207k
    // Free memory referenced by the item.
202
207k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
207k
    this->~StringMapEntry();
204
207k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
207k
  }
void llvm::StringMapEntry<llvm::Comdat>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
30.7k
  void Destroy(AllocatorTy &Allocator) {
201
30.7k
    // Free memory referenced by the item.
202
30.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
30.7k
    this->~StringMapEntry();
204
30.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
30.7k
  }
void llvm::StringMapEntry<llvm::NamedMDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
32.5k
  void Destroy(AllocatorTy &Allocator) {
201
32.5k
    // Free memory referenced by the item.
202
32.5k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
32.5k
    this->~StringMapEntry();
204
32.5k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
32.5k
  }
void llvm::StringMapEntry<llvm::PassInfo const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
32.3M
  void Destroy(AllocatorTy &Allocator) {
201
32.3M
    // Free memory referenced by the item.
202
32.3M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
32.3M
    this->~StringMapEntry();
204
32.3M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
32.3M
  }
void llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
657
  void Destroy(AllocatorTy &Allocator) {
201
657
    // Free memory referenced by the item.
202
657
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
657
    this->~StringMapEntry();
204
657
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
657
  }
void llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
297
  void Destroy(AllocatorTy &Allocator) {
201
297
    // Free memory referenced by the item.
202
297
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
297
    this->~StringMapEntry();
204
297
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
297
  }
void llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
322
  void Destroy(AllocatorTy &Allocator) {
201
322
    // Free memory referenced by the item.
202
322
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
322
    this->~StringMapEntry();
204
322
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
322
  }
GCOVProfiling.cpp:void llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
84
  void Destroy(AllocatorTy &Allocator) {
201
84
    // Free memory referenced by the item.
202
84
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
84
    this->~StringMapEntry();
204
84
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
84
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.16M
  void Destroy(AllocatorTy &Allocator) {
201
1.16M
    // Free memory referenced by the item.
202
1.16M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.16M
    this->~StringMapEntry();
204
1.16M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.16M
  }
void llvm::StringMapEntry<llvm::MCSymbol*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
4.65M
  void Destroy(AllocatorTy &Allocator) {
201
4.65M
    // Free memory referenced by the item.
202
4.65M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.65M
    this->~StringMapEntry();
204
4.65M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.65M
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
5.06M
  void Destroy(AllocatorTy &Allocator) {
201
5.06M
    // Free memory referenced by the item.
202
5.06M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
5.06M
    this->~StringMapEntry();
204
5.06M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
5.06M
  }
void llvm::StringMapEntry<llvm::MCSectionMachO*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
889k
  void Destroy(AllocatorTy &Allocator) {
201
889k
    // Free memory referenced by the item.
202
889k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
889k
    this->~StringMapEntry();
204
889k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
889k
  }
AsmParser.cpp:void llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.95M
  void Destroy(AllocatorTy &Allocator) {
201
2.95M
    // Free memory referenced by the item.
202
2.95M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.95M
    this->~StringMapEntry();
204
2.95M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.95M
  }
void llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
704k
  void Destroy(AllocatorTy &Allocator) {
201
704k
    // Free memory referenced by the item.
202
704k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
704k
    this->~StringMapEntry();
204
704k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
704k
  }
void llvm::StringMapEntry<unsigned long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
38.4k
  void Destroy(AllocatorTy &Allocator) {
201
38.4k
    // Free memory referenced by the item.
202
38.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
38.4k
    this->~StringMapEntry();
204
38.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
38.4k
  }
void llvm::StringMapEntry<std::__1::pair<unsigned long, std::__1::chrono::duration<long long, std::__1::ratio<1l, 1000000000l> > > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
10
  void Destroy(AllocatorTy &Allocator) {
201
10
    // Free memory referenced by the item.
202
10
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
10
    this->~StringMapEntry();
204
10
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
10
  }
void llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
9
  void Destroy(AllocatorTy &Allocator) {
201
9
    // Free memory referenced by the item.
202
9
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
9
    this->~StringMapEntry();
204
9
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
9
  }
void llvm::StringMapEntry<llvm::Timer>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
9
  void Destroy(AllocatorTy &Allocator) {
201
9
    // Free memory referenced by the item.
202
9
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
9
    this->~StringMapEntry();
204
9
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
9
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
140k
  void Destroy(AllocatorTy &Allocator) {
201
140k
    // Free memory referenced by the item.
202
140k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
140k
    this->~StringMapEntry();
204
140k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
140k
  }
void llvm::StringMapEntry<void*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3
  void Destroy(AllocatorTy &Allocator) {
201
3
    // Free memory referenced by the item.
202
3
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3
    this->~StringMapEntry();
204
3
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3
  }
void llvm::StringMapEntry<clang::DirectoryEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
202k
  void Destroy(AllocatorTy &Allocator) {
201
202k
    // Free memory referenced by the item.
202
202k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
202k
    this->~StringMapEntry();
204
202k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
202k
  }
void llvm::StringMapEntry<clang::FileEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
196k
  void Destroy(AllocatorTy &Allocator) {
201
196k
    // Free memory referenced by the item.
202
196k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
196k
    this->~StringMapEntry();
204
196k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
196k
  }
void llvm::StringMapEntry<llvm::vfs::Status>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
19
  void Destroy(AllocatorTy &Allocator) {
201
19
    // Free memory referenced by the item.
202
19
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
19
    this->~StringMapEntry();
204
19
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
19
  }
void llvm::StringMapEntry<clang::IdentifierInfo*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
116M
  void Destroy(AllocatorTy &Allocator) {
201
116M
    // Free memory referenced by the item.
202
116M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
116M
    this->~StringMapEntry();
204
116M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
116M
  }
void llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
559
  void Destroy(AllocatorTy &Allocator) {
201
559
    // Free memory referenced by the item.
202
559
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
559
    this->~StringMapEntry();
204
559
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
559
  }
void llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3.51k
  void Destroy(AllocatorTy &Allocator) {
201
3.51k
    // Free memory referenced by the item.
202
3.51k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.51k
    this->~StringMapEntry();
204
3.51k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.51k
  }
void llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
146
  void Destroy(AllocatorTy &Allocator) {
201
146
    // Free memory referenced by the item.
202
146
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
146
    this->~StringMapEntry();
204
146
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
146
  }
void llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
229
  void Destroy(AllocatorTy &Allocator) {
201
229
    // Free memory referenced by the item.
202
229
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
229
    this->~StringMapEntry();
204
229
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
229
  }
void llvm::StringMapEntry<llvm::WeakTrackingVH>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
11
  void Destroy(AllocatorTy &Allocator) {
201
11
    // Free memory referenced by the item.
202
11
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
11
    this->~StringMapEntry();
204
11
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
11
  }
void llvm::StringMapEntry<llvm::Constant*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
47
  void Destroy(AllocatorTy &Allocator) {
201
47
    // Free memory referenced by the item.
202
47
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
47
    this->~StringMapEntry();
204
47
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
47
  }
void llvm::StringMapEntry<llvm::GlobalVariable*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.42k
  void Destroy(AllocatorTy &Allocator) {
201
2.42k
    // Free memory referenced by the item.
202
2.42k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.42k
    this->~StringMapEntry();
204
2.42k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.42k
  }
void llvm::StringMapEntry<clang::PragmaHandler*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.96M
  void Destroy(AllocatorTy &Allocator) {
201
1.96M
    // Free memory referenced by the item.
202
1.96M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.96M
    this->~StringMapEntry();
204
1.96M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.96M
  }
void llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
127
  void Destroy(AllocatorTy &Allocator) {
201
127
    // Free memory referenced by the item.
202
127
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
127
    this->~StringMapEntry();
204
127
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
127
  }
void llvm::StringMapEntry<clang::GlobalDecl>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
2.34M
  void Destroy(AllocatorTy &Allocator) {
201
2.34M
    // Free memory referenced by the item.
202
2.34M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.34M
    this->~StringMapEntry();
204
2.34M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.34M
  }
Unexecuted instantiation: void llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
void llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
14
  void Destroy(AllocatorTy &Allocator) {
201
14
    // Free memory referenced by the item.
202
14
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
14
    this->~StringMapEntry();
204<