Coverage Report

Created: 2019-03-24 22:13

/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
425M
  explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
43
44
2.38G
  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.4M
      : ItemSize(itemSize) {}
63
  StringMapImpl(StringMapImpl &&RHS)
64
      : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),
65
        NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),
66
150k
        ItemSize(RHS.ItemSize) {
67
150k
    RHS.TheTable = nullptr;
68
150k
    RHS.NumBuckets = 0;
69
150k
    RHS.NumItems = 0;
70
150k
    RHS.NumTombstones = 0;
71
150k
  }
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.30G
  static StringMapEntryBase *getTombstoneVal() {
102
4.30G
    uintptr_t Val = static_cast<uintptr_t>(-1);
103
4.30G
    Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
104
4.30G
    return reinterpret_cast<StringMapEntryBase *>(Val);
105
4.30G
  }
106
107
11
  unsigned getNumBuckets() const { return NumBuckets; }
108
3
  unsigned getNumItems() const { return NumItems; }
109
110
23.1M
  bool empty() const { return NumItems == 0; }
111
5.23M
  unsigned size() const { return NumItems; }
112
113
75.2k
  void swap(StringMapImpl &Other) {
114
75.2k
    std::swap(TheTable, Other.TheTable);
115
75.2k
    std::swap(NumBuckets, Other.NumBuckets);
116
75.2k
    std::swap(NumItems, Other.NumItems);
117
75.2k
    std::swap(NumTombstones, Other.NumTombstones);
118
75.2k
  }
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
50.5M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
83.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
83.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
8.90k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned int>::StringMapEntry(unsigned long)
Line
Count
Source
130
3.36M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
288
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
2.99k
    : 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.06k
    : 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
41
    : 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.09k
    : 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.74k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
194
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry(unsigned long)
Line
Count
Source
130
297
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::StringMapEntry(unsigned long)
Line
Count
Source
130
3.33k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
433
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
14.7k
    : 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.23k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GCStrategy*>::StringMapEntry(unsigned long)
Line
Count
Source
130
25
    : 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
423k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::NamedMDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
130
57.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::PassInfo const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
28.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
613
    : 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
486
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<bool>::StringMapEntry(unsigned long)
Line
Count
Source
130
1.08M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSymbol*>::StringMapEntry(unsigned long)
Line
Count
Source
130
4.22M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSectionMachO*>::StringMapEntry(unsigned long)
Line
Count
Source
130
863k
    : StringMapEntryBase(strLen), second() {}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.54M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::StringMapEntry(unsigned long)
Line
Count
Source
130
632k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long>::StringMapEntry(unsigned long)
Line
Count
Source
130
34.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
301
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::StringMapEntry(unsigned long)
Line
Count
Source
130
326
    : 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
394k
    : 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
3.85M
    : 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
521
    : 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.08k
    : 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.47k
    : 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
114
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
193
    : 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
30.6k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<char const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
104
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<int>::StringMapEntry(unsigned long)
Line
Count
Source
130
776k
    : 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.16k
    : 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
151
    : 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
72.9k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::StringMapEntry(unsigned long)
Line
Count
Source
130
1.25k
    : 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
68.9k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::StringMapEntry(unsigned long)
Line
Count
Source
130
8
    : 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.6k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::StringMapEntry(unsigned long)
Line
Count
Source
130
969
    : 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
395
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry(unsigned long)
Line
Count
Source
130
12.6k
    : 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
702
    : 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
33
    : 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
9.67k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::TimeRecord>::StringMapEntry(unsigned long)
Line
Count
Source
130
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::StringMapEntry(unsigned long)
Line
Count
Source
130
88
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::FrameworkCacheEntry>::StringMapEntry(unsigned long)
Line
Count
Source
130
401
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
366k
    : 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
72.4k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PragmaHandler*>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.16M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry(unsigned long)
Line
Count
Source
130
12.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry(unsigned long)
Line
Count
Source
130
565
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::StringMapEntry(unsigned long)
Line
Count
Source
130
289
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RecordStreamer::State>::StringMapEntry(unsigned long)
Line
Count
Source
130
258
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalValue const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
256
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::elf::OutputSection*>::StringMapEntry(unsigned long)
Line
Count
Source
130
372k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
43
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
18
    : StringMapEntryBase(strLen), second() {}
Unexecuted instantiation: llvm::StringMapEntry<lld::wasm::SectionSymbol*>::StringMapEntry(unsigned long)
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::StringMapEntry(unsigned long)
Line
Count
Source
130
231
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
5
    : StringMapEntryBase(strLen), second() {}
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
113
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::Atom const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
395
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::FileInfo::LineData>::StringMapEntry(unsigned long)
Line
Count
Source
130
46
    : StringMapEntryBase(strLen), second() {}
131
  template <typename... InitTy>
132
  StringMapEntry(size_t strLen, InitTy &&... InitVals)
133
365M
      : 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
19.4M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char>(unsigned long, char&&)
Line
Count
Source
133
901k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int>(unsigned long, unsigned int&&)
Line
Count
Source
133
19.3M
      : 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
195
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::StringMapEntry<llvm::ConstantDataSequential*>(unsigned long, llvm::ConstantDataSequential*&&)
Line
Count
Source
133
487k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned char>::StringMapEntry<unsigned char>(unsigned long, unsigned char&&)
Line
Count
Source
133
204k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Comdat>::StringMapEntry<llvm::Comdat>(unsigned long, llvm::Comdat&&)
Line
Count
Source
133
31.5k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::StructType*>::StringMapEntry<llvm::StructType*>(unsigned long, llvm::StructType*&&)
Line
Count
Source
133
241k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Value*>::StringMapEntry<llvm::Value*>(unsigned long, llvm::Value*&&)
Line
Count
Source
133
17.0M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char&>(unsigned long, char&&&)
Line
Count
Source
133
7.27k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry<llvm::Function*>(unsigned long, llvm::Function*&&)
Line
Count
Source
133
24
      : 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
4.61M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MCAsmMacro>::StringMapEntry<llvm::MCAsmMacro>(unsigned long, llvm::MCAsmMacro&&)
Line
Count
Source
133
239
      : 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
142M
      : 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
132k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::IdentifierInfo*>::StringMapEntry<clang::IdentifierInfo*>(unsigned long, clang::IdentifierInfo*&&)
Line
Count
Source
133
152M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::DirectoryEntry*>::StringMapEntry<clang::DirectoryEntry*>(unsigned long, clang::DirectoryEntry*&&)
Line
Count
Source
133
386k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::FileEntry*>::StringMapEntry<clang::FileEntry*>(unsigned long, clang::FileEntry*&&)
Line
Count
Source
133
1.36M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned long>(unsigned long, unsigned long&&)
Line
Count
Source
133
112k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry<llvm::GlobalVariable*>(unsigned long, llvm::GlobalVariable*&&)
Line
Count
Source
133
312
      : 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
223
      : 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
60
      : 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
68
      : 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.15M
      : 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
461k
      : 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
2.70M
      : 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.16k
      : 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
5.93k
      : 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
146k
      : 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
4.36k
      : 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
20
      : 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
70.5k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::StringMapEntry<llvm::DwarfStringPoolEntry>(unsigned long, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
133
83.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
71
      : 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)...) {}
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
870
      : 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
88
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&>(unsigned long, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&&&)
Line
Count
Source
133
29
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int&>(unsigned long, unsigned int&&&)
Line
Count
Source
133
367
      : 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
359
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
134
  StringMapEntry(StringMapEntry &E) = delete;
135
136
485M
  StringRef getKey() const {
137
485M
    return StringRef(getKeyData(), getKeyLength());
138
485M
  }
llvm::StringMapEntry<unsigned long long>::getKey() const
Line
Count
Source
136
118
  StringRef getKey() const {
137
118
    return StringRef(getKeyData(), getKeyLength());
138
118
  }
llvm::StringMapEntry<unsigned int>::getKey() const
Line
Count
Source
136
2.34M
  StringRef getKey() const {
137
2.34M
    return StringRef(getKeyData(), getKeyLength());
138
2.34M
  }
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.31M
  StringRef getKey() const {
137
1.31M
    return StringRef(getKeyData(), getKeyLength());
138
1.31M
  }
llvm::StringMapEntry<llvm::Value*>::getKey() const
Line
Count
Source
136
462M
  StringRef getKey() const {
137
462M
    return StringRef(getKeyData(), getKeyLength());
138
462M
  }
llvm::StringMapEntry<char>::getKey() const
Line
Count
Source
136
6.16M
  StringRef getKey() const {
137
6.16M
    return StringRef(getKeyData(), getKeyLength());
138
6.16M
  }
Unexecuted instantiation: GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKey() const
llvm::StringMapEntry<bool>::getKey() const
Line
Count
Source
136
739k
  StringRef getKey() const {
137
739k
    return StringRef(getKeyData(), getKeyLength());
138
739k
  }
llvm::StringMapEntry<llvm::cl::Option*>::getKey() const
Line
Count
Source
136
27.6k
  StringRef getKey() const {
137
27.6k
    return StringRef(getKeyData(), getKeyLength());
138
27.6k
  }
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
125
  StringRef getKey() const {
137
125
    return StringRef(getKeyData(), getKeyLength());
138
125
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKey() const
Line
Count
Source
136
494k
  StringRef getKey() const {
137
494k
    return StringRef(getKeyData(), getKeyLength());
138
494k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKey() const
Line
Count
Source
136
42.5k
  StringRef getKey() const {
137
42.5k
    return StringRef(getKeyData(), getKeyLength());
138
42.5k
  }
llvm::StringMapEntry<clang::IdentifierInfo*>::getKey() const
Line
Count
Source
136
11.0M
  StringRef getKey() const {
137
11.0M
    return StringRef(getKeyData(), getKeyLength());
138
11.0M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKey() const
Line
Count
Source
136
347
  StringRef getKey() const {
137
347
    return StringRef(getKeyData(), getKeyLength());
138
347
  }
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
90
  StringRef getKey() const {
137
90
    return StringRef(getKeyData(), getKeyLength());
138
90
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKey() const
Line
Count
Source
136
77
  StringRef getKey() const {
137
77
    return StringRef(getKeyData(), getKeyLength());
138
77
  }
139
140
3.52M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned int>::getValue() const
Line
Count
Source
140
4.15k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::MCSymbol*>::getValue() const
Line
Count
Source
140
9.28k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long long>::getValue() const
Line
Count
Source
140
42
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Comdat>::getValue() const
Line
Count
Source
140
27.3k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue() const
Line
Count
Source
140
212k
  const ValueTy &getValue() const { return second; }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getValue() const
Line
Count
Source
140
253k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getValue() const
Line
Count
Source
140
489
  const ValueTy &getValue() const { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::TimeRecord>::getValue() const
llvm::StringMapEntry<clang::FileEntry*>::getValue() const
Line
Count
Source
140
211k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<bool>::getValue() const
Line
Count
Source
140
758k
  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
125
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::GlobalDecl>::getValue() const
Line
Count
Source
140
2.12k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue() const
Line
Count
Source
140
43.2k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue() const
Line
Count
Source
140
1.39M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long>::getValue() const
Line
Count
Source
140
904
  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
341
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::IdentifierInfo*>::getValue() const
Line
Count
Source
140
552k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::Module*>::getValue() const
Line
Count
Source
140
53.3k
  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
347
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::getValue() const
Line
Count
Source
140
11
  const ValueTy &getValue() const { return second; }
141
1.72M
  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
139
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int>::getValue()
Line
Count
Source
141
148k
  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
685k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<char>::getValue()
Line
Count
Source
141
7.27k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Function*>::getValue()
Line
Count
Source
141
60
  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::MCAsmMacro>::getValue()
Line
Count
Source
141
197k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<bool>::getValue()
Line
Count
Source
141
118k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Constant*>::getValue()
Line
Count
Source
141
3
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue()
Line
Count
Source
141
461k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<int>::getValue()
Line
Count
Source
141
9.59k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::SourceLocation>::getValue()
Line
Count
Source
141
70
  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
76
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int const*>::getValue()
Line
Count
Source
141
279
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue()
Line
Count
Source
141
9.59k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue()
Line
Count
Source
141
6.83k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue()
Line
Count
Source
141
2.11k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::Module*>::getValue()
Line
Count
Source
141
72.0k
  ValueTy &getValue() { return second; }
142
143
2.74M
  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.68G
  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
83.0k
  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
83.0k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<bool>::getKeyData() const
Line
Count
Source
148
18.3M
  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
8.90k
  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<unsigned int>::getKeyData() const
Line
Count
Source
148
25.5M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<int>::getKeyData() const
Line
Count
Source
148
20.2M
  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
288
  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
2.99k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char>::getKeyData() const
Line
Count
Source
148
7.11M
  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.06k
  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
41
  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.09k
  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.74k
  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
194
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Function*>::getKeyData() const
Line
Count
Source
148
321
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::getKeyData() const
Line
Count
Source
148
3.33k
  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
433
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long long>::getKeyData() const
Line
Count
Source
148
1.32k
  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
14.7k
  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.23k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GCStrategy*>::getKeyData() const
Line
Count
Source
148
25
  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<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKeyData() const
Line
Count
Source
148
2.91k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Comdat>::getKeyData() const
Line
Count
Source
148
123k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::getKeyData() const
Line
Count
Source
148
983k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned char>::getKeyData() const
Line
Count
Source
148
214k
  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
38.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::NamedMDNode*>::getKeyData() const
Line
Count
Source
148
57.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::PassInfo const*>::getKeyData() const
Line
Count
Source
148
28.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StructType*>::getKeyData() const
Line
Count
Source
148
1.56M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Value*>::getKeyData() const
Line
Count
Source
148
479M
  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.05k
  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.47k
  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
486
  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.22M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSectionMachO*>::getKeyData() const
Line
Count
Source
148
863k
  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.54M
  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
632k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCAsmMacro>::getKeyData() const
Line
Count
Source
148
239
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::cl::Option*>::getKeyData() const
Line
Count
Source
148
142M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long>::getKeyData() const
Line
Count
Source
148
34.2k
  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
301
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getKeyData() const
Line
Count
Source
148
326
  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
132k
  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
793k
  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
891M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::DirectoryEntry*>::getKeyData() const
Line
Count
Source
148
773k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileEntry*>::getKeyData() const
Line
Count
Source
148
2.73M
  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<clang::OpenCLOptions::Info>::getKeyData() const
Line
Count
Source
148
4.80M
  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.72k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
148
446
  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.50k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKeyData() const
Line
Count
Source
148
253
  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
228
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::GlobalDecl>::getKeyData() const
Line
Count
Source
148
4.31M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::getKeyData() const
Line
Count
Source
148
193
  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
30.6k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char const*>::getKeyData() const
Line
Count
Source
148
104
  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
2.75M
  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
603
  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
145k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::getKeyData() const
Line
Count
Source
148
5.42k
  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
5.93k
  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
146k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RegisterBank const*>::getKeyData() const
Line
Count
Source
148
4.36k
  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::DwarfStringPoolEntry>::getKeyData() const
Line
Count
Source
148
613k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DIE const*>::getKeyData() const
Line
Count
Source
148
137k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::getKeyData() const
Line
Count
Source
148
70.5k
  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
8
  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.6k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::getKeyData() const
Line
Count
Source
148
969
  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
395
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Stmt*>::getKeyData() const
Line
Count
Source
148
12.6k
  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
702
  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
33
  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<llvm::SmallVector<clang::TypoCorrection, 1u> >::getKeyData() const
Line
Count
Source
148
9.67k
  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::comments::TParamCommandComment*>::getKeyData() const
Line
Count
Source
148
88
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FrameworkCacheEntry>::getKeyData() const
Line
Count
Source
148
405
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::getKeyData() const
Line
Count
Source
148
366k
  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
72.4k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PragmaHandler*>::getKeyData() const
Line
Count
Source
148
2.16M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Type*>::getKeyData() const
Line
Count
Source
148
143
  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.4k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKeyData() const
Line
Count
Source
148
400
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RecordStreamer::State>::getKeyData() const
Line
Count
Source
148
516
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalValue const*>::getKeyData() const
Line
Count
Source
148
256
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::elf::OutputSection*>::getKeyData() const
Line
Count
Source
148
372k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::getKeyData() const
Line
Count
Source
148
85
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::getKeyData() const
Line
Count
Source
148
36
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
Unexecuted instantiation: llvm::StringMapEntry<lld::wasm::SectionSymbol*>::getKeyData() const
llvm::StringMapEntry<lld::Atom const*>::getKeyData() const
Line
Count
Source
148
395
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::getKeyData() const
Line
Count
Source
148
231
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::getKeyData() const
Line
Count
Source
148
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::getKeyData() const
Line
Count
Source
148
113
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::FileInfo::LineData>::getKeyData() const
Line
Count
Source
148
92
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
149
150
56.1M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<bool>::first() const
Line
Count
Source
150
11.9M
  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.70k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::Comdat>::first() const
Line
Count
Source
150
91.6k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::ConstantDataSequential*>::first() const
Line
Count
Source
150
496k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<char>::first() const
Line
Count
Source
150
36.0k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned int>::first() const
Line
Count
Source
150
334k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned char>::first() const
Line
Count
Source
150
10.0k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::MDString>::first() const
Line
Count
Source
150
38.4M
  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
954
  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
439
  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
399k
  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
386k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FileEntry*>::first() const
Line
Count
Source
150
1.36M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::GlobalVariable*>::first() const
Line
Count
Source
150
331
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::first() const
Line
Count
Source
150
223
  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.02k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::first() const
Line
Count
Source
150
114
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::GlobalDecl>::first() const
Line
Count
Source
150
2.15M
  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
452
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::first() const
Line
Count
Source
150
72.8k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::first() const
Line
Count
Source
150
449k
  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<clang::FrameworkCacheEntry>::first() const
Line
Count
Source
150
4
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned long long>::first() const
Line
Count
Source
150
90
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::first() const
Line
Count
Source
150
34
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::RecordStreamer::State>::first() const
Line
Count
Source
150
258
  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()); }
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::first() const
Line
Count
Source
150
42
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::first() const
Line
Count
Source
150
18
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::FileInfo::LineData>::first() const
Line
Count
Source
150
46
  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
415M
                                InitTy &&... InitVals) {
157
415M
    size_t KeyLength = Key.size();
158
415M
159
415M
    // Allocate a new item with space for the string at the end and a null
160
415M
    // terminator.
161
415M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
415M
    size_t Alignment = alignof(StringMapEntry);
163
415M
164
415M
    StringMapEntry *NewItem =
165
415M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
415M
    assert(NewItem && "Unhandled out-of-memory");
167
415M
168
415M
    // Construct the value.
169
415M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
415M
171
415M
    // Copy the string information.
172
415M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
415M
    if (KeyLength > 0)
174
415M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
415M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
415M
    return NewItem;
177
415M
  }
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
83.0k
                                InitTy &&... InitVals) {
157
83.0k
    size_t KeyLength = Key.size();
158
83.0k
159
83.0k
    // Allocate a new item with space for the string at the end and a null
160
83.0k
    // terminator.
161
83.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
83.0k
    size_t Alignment = alignof(StringMapEntry);
163
83.0k
164
83.0k
    StringMapEntry *NewItem =
165
83.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
83.0k
    assert(NewItem && "Unhandled out-of-memory");
167
83.0k
168
83.0k
    // Construct the value.
169
83.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
83.0k
171
83.0k
    // Copy the string information.
172
83.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
83.0k
    if (KeyLength > 0)
174
83.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
83.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
83.0k
    return NewItem;
177
83.0k
  }
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
83.0k
                                InitTy &&... InitVals) {
157
83.0k
    size_t KeyLength = Key.size();
158
83.0k
159
83.0k
    // Allocate a new item with space for the string at the end and a null
160
83.0k
    // terminator.
161
83.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
83.0k
    size_t Alignment = alignof(StringMapEntry);
163
83.0k
164
83.0k
    StringMapEntry *NewItem =
165
83.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
83.0k
    assert(NewItem && "Unhandled out-of-memory");
167
83.0k
168
83.0k
    // Construct the value.
169
83.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
83.0k
171
83.0k
    // Copy the string information.
172
83.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
83.0k
    if (KeyLength > 0)
174
83.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
83.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
83.0k
    return NewItem;
177
83.0k
  }
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
8.90k
                                InitTy &&... InitVals) {
157
8.90k
    size_t KeyLength = Key.size();
158
8.90k
159
8.90k
    // Allocate a new item with space for the string at the end and a null
160
8.90k
    // terminator.
161
8.90k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
8.90k
    size_t Alignment = alignof(StringMapEntry);
163
8.90k
164
8.90k
    StringMapEntry *NewItem =
165
8.90k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
8.90k
    assert(NewItem && "Unhandled out-of-memory");
167
8.90k
168
8.90k
    // Construct the value.
169
8.90k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
8.90k
171
8.90k
    // Copy the string information.
172
8.90k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
8.90k
    if (KeyLength > 0)
174
7.62k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
8.90k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
8.90k
    return NewItem;
177
8.90k
  }
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<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.36M
                                InitTy &&... InitVals) {
157
3.36M
    size_t KeyLength = Key.size();
158
3.36M
159
3.36M
    // Allocate a new item with space for the string at the end and a null
160
3.36M
    // terminator.
161
3.36M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.36M
    size_t Alignment = alignof(StringMapEntry);
163
3.36M
164
3.36M
    StringMapEntry *NewItem =
165
3.36M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.36M
    assert(NewItem && "Unhandled out-of-memory");
167
3.36M
168
3.36M
    // Construct the value.
169
3.36M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.36M
171
3.36M
    // Copy the string information.
172
3.36M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.36M
    if (KeyLength > 0)
174
3.36M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.36M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.36M
    return NewItem;
177
3.36M
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
156
19.4M
                                InitTy &&... InitVals) {
157
19.4M
    size_t KeyLength = Key.size();
158
19.4M
159
19.4M
    // Allocate a new item with space for the string at the end and a null
160
19.4M
    // terminator.
161
19.4M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
19.4M
    size_t Alignment = alignof(StringMapEntry);
163
19.4M
164
19.4M
    StringMapEntry *NewItem =
165
19.4M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
19.4M
    assert(NewItem && "Unhandled out-of-memory");
167
19.4M
168
19.4M
    // Construct the value.
169
19.4M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
19.4M
171
19.4M
    // Copy the string information.
172
19.4M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
19.4M
    if (KeyLength > 0)
174
19.3M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
19.4M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
19.4M
    return NewItem;
177
19.4M
  }
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
288
                                InitTy &&... InitVals) {
157
288
    size_t KeyLength = Key.size();
158
288
159
288
    // Allocate a new item with space for the string at the end and a null
160
288
    // terminator.
161
288
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
288
    size_t Alignment = alignof(StringMapEntry);
163
288
164
288
    StringMapEntry *NewItem =
165
288
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
288
    assert(NewItem && "Unhandled out-of-memory");
167
288
168
288
    // Construct the value.
169
288
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
288
171
288
    // Copy the string information.
172
288
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
288
    if (KeyLength > 0)
174
288
      memcpy(StrBuffer, Key.data(), KeyLength);
175
288
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
288
    return NewItem;
177
288
  }
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
2.99k
                                InitTy &&... InitVals) {
157
2.99k
    size_t KeyLength = Key.size();
158
2.99k
159
2.99k
    // Allocate a new item with space for the string at the end and a null
160
2.99k
    // terminator.
161
2.99k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.99k
    size_t Alignment = alignof(StringMapEntry);
163
2.99k
164
2.99k
    StringMapEntry *NewItem =
165
2.99k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.99k
    assert(NewItem && "Unhandled out-of-memory");
167
2.99k
168
2.99k
    // Construct the value.
169
2.99k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.99k
171
2.99k
    // Copy the string information.
172
2.99k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.99k
    if (KeyLength > 0)
174
2.99k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.99k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.99k
    return NewItem;
177
2.99k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char>(llvm::StringRef, llvm::MallocAllocator&, char&&)
Line
Count
Source
156
883k
                                InitTy &&... InitVals) {
157
883k
    size_t KeyLength = Key.size();
158
883k
159
883k
    // Allocate a new item with space for the string at the end and a null
160
883k
    // terminator.
161
883k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
883k
    size_t Alignment = alignof(StringMapEntry);
163
883k
164
883k
    StringMapEntry *NewItem =
165
883k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
883k
    assert(NewItem && "Unhandled out-of-memory");
167
883k
168
883k
    // Construct the value.
169
883k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
883k
171
883k
    // Copy the string information.
172
883k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
883k
    if (KeyLength > 0)
174
883k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
883k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
883k
    return NewItem;
177
883k
  }
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.06k
                                InitTy &&... InitVals) {
157
5.06k
    size_t KeyLength = Key.size();
158
5.06k
159
5.06k
    // Allocate a new item with space for the string at the end and a null
160
5.06k
    // terminator.
161
5.06k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5.06k
    size_t Alignment = alignof(StringMapEntry);
163
5.06k
164
5.06k
    StringMapEntry *NewItem =
165
5.06k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5.06k
    assert(NewItem && "Unhandled out-of-memory");
167
5.06k
168
5.06k
    // Construct the value.
169
5.06k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5.06k
171
5.06k
    // Copy the string information.
172
5.06k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5.06k
    if (KeyLength > 0)
174
3.40k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5.06k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5.06k
    return NewItem;
177
5.06k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&)
Line
Count
Source
156
19.3M
                                InitTy &&... InitVals) {
157
19.3M
    size_t KeyLength = Key.size();
158
19.3M
159
19.3M
    // Allocate a new item with space for the string at the end and a null
160
19.3M
    // terminator.
161
19.3M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
19.3M
    size_t Alignment = alignof(StringMapEntry);
163
19.3M
164
19.3M
    StringMapEntry *NewItem =
165
19.3M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
19.3M
    assert(NewItem && "Unhandled out-of-memory");
167
19.3M
168
19.3M
    // Construct the value.
169
19.3M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
19.3M
171
19.3M
    // Copy the string information.
172
19.3M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
19.3M
    if (KeyLength > 0)
174
19.3M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
19.3M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
19.3M
    return NewItem;
177
19.3M
  }
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
41
                                InitTy &&... InitVals) {
157
41
    size_t KeyLength = Key.size();
158
41
159
41
    // Allocate a new item with space for the string at the end and a null
160
41
    // terminator.
161
41
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
41
    size_t Alignment = alignof(StringMapEntry);
163
41
164
41
    StringMapEntry *NewItem =
165
41
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
41
    assert(NewItem && "Unhandled out-of-memory");
167
41
168
41
    // Construct the value.
169
41
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
41
171
41
    // Copy the string information.
172
41
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
41
    if (KeyLength > 0)
174
41
      memcpy(StrBuffer, Key.data(), KeyLength);
175
41
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
41
    return NewItem;
177
41
  }
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
495
      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.09k
                                InitTy &&... InitVals) {
157
2.09k
    size_t KeyLength = Key.size();
158
2.09k
159
2.09k
    // Allocate a new item with space for the string at the end and a null
160
2.09k
    // terminator.
161
2.09k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.09k
    size_t Alignment = alignof(StringMapEntry);
163
2.09k
164
2.09k
    StringMapEntry *NewItem =
165
2.09k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.09k
    assert(NewItem && "Unhandled out-of-memory");
167
2.09k
168
2.09k
    // Construct the value.
169
2.09k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.09k
171
2.09k
    // Copy the string information.
172
2.09k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.09k
    if (KeyLength > 0)
174
1.65k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.09k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.09k
    return NewItem;
177
2.09k
  }
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.74k
                                InitTy &&... InitVals) {
157
1.74k
    size_t KeyLength = Key.size();
158
1.74k
159
1.74k
    // Allocate a new item with space for the string at the end and a null
160
1.74k
    // terminator.
161
1.74k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.74k
    size_t Alignment = alignof(StringMapEntry);
163
1.74k
164
1.74k
    StringMapEntry *NewItem =
165
1.74k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.74k
    assert(NewItem && "Unhandled out-of-memory");
167
1.74k
168
1.74k
    // Construct the value.
169
1.74k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.74k
171
1.74k
    // Copy the string information.
172
1.74k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.74k
    if (KeyLength > 0)
174
1.73k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.74k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.74k
    return NewItem;
177
1.74k
  }
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
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
58
      memcpy(StrBuffer, Key.data(), KeyLength);
175
194
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
194
    return NewItem;
177
194
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
297
                                InitTy &&... InitVals) {
157
297
    size_t KeyLength = Key.size();
158
297
159
297
    // Allocate a new item with space for the string at the end and a null
160
297
    // terminator.
161
297
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
297
    size_t Alignment = alignof(StringMapEntry);
163
297
164
297
    StringMapEntry *NewItem =
165
297
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
297
    assert(NewItem && "Unhandled out-of-memory");
167
297
168
297
    // Construct the value.
169
297
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
297
171
297
    // Copy the string information.
172
297
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
297
    if (KeyLength > 0)
174
297
      memcpy(StrBuffer, Key.data(), KeyLength);
175
297
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
297
    return NewItem;
177
297
  }
llvm::StringMapEntry<llvm::RTLIB::Libcall>* llvm::StringMapEntry<llvm::RTLIB::Libcall>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.33k
                                InitTy &&... InitVals) {
157
3.33k
    size_t KeyLength = Key.size();
158
3.33k
159
3.33k
    // Allocate a new item with space for the string at the end and a null
160
3.33k
    // terminator.
161
3.33k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.33k
    size_t Alignment = alignof(StringMapEntry);
163
3.33k
164
3.33k
    StringMapEntry *NewItem =
165
3.33k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.33k
    assert(NewItem && "Unhandled out-of-memory");
167
3.33k
168
3.33k
    // Construct the value.
169
3.33k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.33k
171
3.33k
    // Copy the string information.
172
3.33k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.33k
    if (KeyLength > 0)
174
3.33k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.33k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.33k
    return NewItem;
177
3.33k
  }
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
433
                                InitTy &&... InitVals) {
157
433
    size_t KeyLength = Key.size();
158
433
159
433
    // Allocate a new item with space for the string at the end and a null
160
433
    // terminator.
161
433
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
433
    size_t Alignment = alignof(StringMapEntry);
163
433
164
433
    StringMapEntry *NewItem =
165
433
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
433
    assert(NewItem && "Unhandled out-of-memory");
167
433
168
433
    // Construct the value.
169
433
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
433
171
433
    // Copy the string information.
172
433
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
433
    if (KeyLength > 0)
174
91
      memcpy(StrBuffer, Key.data(), KeyLength);
175
433
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
433
    return NewItem;
177
433
  }
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
195
                                InitTy &&... InitVals) {
157
195
    size_t KeyLength = Key.size();
158
195
159
195
    // Allocate a new item with space for the string at the end and a null
160
195
    // terminator.
161
195
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
195
    size_t Alignment = alignof(StringMapEntry);
163
195
164
195
    StringMapEntry *NewItem =
165
195
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
195
    assert(NewItem && "Unhandled out-of-memory");
167
195
168
195
    // Construct the value.
169
195
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
195
171
195
    // Copy the string information.
172
195
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
195
    if (KeyLength > 0)
174
195
      memcpy(StrBuffer, Key.data(), KeyLength);
175
195
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
195
    return NewItem;
177
195
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
565
                                InitTy &&... InitVals) {
157
565
    size_t KeyLength = Key.size();
158
565
159
565
    // Allocate a new item with space for the string at the end and a null
160
565
    // terminator.
161
565
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
565
    size_t Alignment = alignof(StringMapEntry);
163
565
164
565
    StringMapEntry *NewItem =
165
565
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
565
    assert(NewItem && "Unhandled out-of-memory");
167
565
168
565
    // Construct the value.
169
565
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
565
171
565
    // Copy the string information.
172
565
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
565
    if (KeyLength > 0)
174
565
      memcpy(StrBuffer, Key.data(), KeyLength);
175
565
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
565
    return NewItem;
177
565
  }
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
14.7k
                                InitTy &&... InitVals) {
157
14.7k
    size_t KeyLength = Key.size();
158
14.7k
159
14.7k
    // Allocate a new item with space for the string at the end and a null
160
14.7k
    // terminator.
161
14.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14.7k
    size_t Alignment = alignof(StringMapEntry);
163
14.7k
164
14.7k
    StringMapEntry *NewItem =
165
14.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14.7k
    assert(NewItem && "Unhandled out-of-memory");
167
14.7k
168
14.7k
    // Construct the value.
169
14.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14.7k
171
14.7k
    // Copy the string information.
172
14.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14.7k
    if (KeyLength > 0)
174
10.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14.7k
    return NewItem;
177
14.7k
  }
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.23k
                                InitTy &&... InitVals) {
157
1.23k
    size_t KeyLength = Key.size();
158
1.23k
159
1.23k
    // Allocate a new item with space for the string at the end and a null
160
1.23k
    // terminator.
161
1.23k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.23k
    size_t Alignment = alignof(StringMapEntry);
163
1.23k
164
1.23k
    StringMapEntry *NewItem =
165
1.23k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.23k
    assert(NewItem && "Unhandled out-of-memory");
167
1.23k
168
1.23k
    // Construct the value.
169
1.23k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.23k
171
1.23k
    // Copy the string information.
172
1.23k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.23k
    if (KeyLength > 0)
174
1.23k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.23k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.23k
    return NewItem;
177
1.23k
  }
llvm::StringMapEntry<llvm::GCStrategy*>* llvm::StringMapEntry<llvm::GCStrategy*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
25
                                InitTy &&... InitVals) {
157
25
    size_t KeyLength = Key.size();
158
25
159
25
    // Allocate a new item with space for the string at the end and a null
160
25
    // terminator.
161
25
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
25
    size_t Alignment = alignof(StringMapEntry);
163
25
164
25
    StringMapEntry *NewItem =
165
25
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
25
    assert(NewItem && "Unhandled out-of-memory");
167
25
168
25
    // Construct the value.
169
25
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
25
171
25
    // Copy the string information.
172
25
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
25
    if (KeyLength > 0)
174
25
      memcpy(StrBuffer, Key.data(), KeyLength);
175
25
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
25
    return NewItem;
177
25
  }
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
487k
                                InitTy &&... InitVals) {
157
487k
    size_t KeyLength = Key.size();
158
487k
159
487k
    // Allocate a new item with space for the string at the end and a null
160
487k
    // terminator.
161
487k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
487k
    size_t Alignment = alignof(StringMapEntry);
163
487k
164
487k
    StringMapEntry *NewItem =
165
487k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
487k
    assert(NewItem && "Unhandled out-of-memory");
167
487k
168
487k
    // Construct the value.
169
487k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
487k
171
487k
    // Copy the string information.
172
487k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
487k
    if (KeyLength > 0)
174
487k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
487k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
487k
    return NewItem;
177
487k
  }
llvm::StringMapEntry<unsigned char>* llvm::StringMapEntry<unsigned char>::Create<llvm::MallocAllocator, unsigned char>(llvm::StringRef, llvm::MallocAllocator&, unsigned char&&)
Line
Count
Source
156
204k
                                InitTy &&... InitVals) {
157
204k
    size_t KeyLength = Key.size();
158
204k
159
204k
    // Allocate a new item with space for the string at the end and a null
160
204k
    // terminator.
161
204k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
204k
    size_t Alignment = alignof(StringMapEntry);
163
204k
164
204k
    StringMapEntry *NewItem =
165
204k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
204k
    assert(NewItem && "Unhandled out-of-memory");
167
204k
168
204k
    // Construct the value.
169
204k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
204k
171
204k
    // Copy the string information.
172
204k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
204k
    if (KeyLength > 0)
174
105k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
204k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
204k
    return NewItem;
177
204k
  }
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
423k
                                InitTy &&... InitVals) {
157
423k
    size_t KeyLength = Key.size();
158
423k
159
423k
    // Allocate a new item with space for the string at the end and a null
160
423k
    // terminator.
161
423k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
423k
    size_t Alignment = alignof(StringMapEntry);
163
423k
164
423k
    StringMapEntry *NewItem =
165
423k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
423k
    assert(NewItem && "Unhandled out-of-memory");
167
423k
168
423k
    // Construct the value.
169
423k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
423k
171
423k
    // Copy the string information.
172
423k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
423k
    if (KeyLength > 0)
174
418k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
423k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
423k
    return NewItem;
177
423k
  }
llvm::StringMapEntry<llvm::NamedMDNode*>* llvm::StringMapEntry<llvm::NamedMDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
57.8k
                                InitTy &&... InitVals) {
157
57.8k
    size_t KeyLength = Key.size();
158
57.8k
159
57.8k
    // Allocate a new item with space for the string at the end and a null
160
57.8k
    // terminator.
161
57.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
57.8k
    size_t Alignment = alignof(StringMapEntry);
163
57.8k
164
57.8k
    StringMapEntry *NewItem =
165
57.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
57.8k
    assert(NewItem && "Unhandled out-of-memory");
167
57.8k
168
57.8k
    // Construct the value.
169
57.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
57.8k
171
57.8k
    // Copy the string information.
172
57.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
57.8k
    if (KeyLength > 0)
174
57.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
57.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
57.8k
    return NewItem;
177
57.8k
  }
llvm::StringMapEntry<llvm::Comdat>* llvm::StringMapEntry<llvm::Comdat>::Create<llvm::MallocAllocator, llvm::Comdat>(llvm::StringRef, llvm::MallocAllocator&, llvm::Comdat&&)
Line
Count
Source
156
31.5k
                                InitTy &&... InitVals) {
157
31.5k
    size_t KeyLength = Key.size();
158
31.5k
159
31.5k
    // Allocate a new item with space for the string at the end and a null
160
31.5k
    // terminator.
161
31.5k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
31.5k
    size_t Alignment = alignof(StringMapEntry);
163
31.5k
164
31.5k
    StringMapEntry *NewItem =
165
31.5k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
31.5k
    assert(NewItem && "Unhandled out-of-memory");
167
31.5k
168
31.5k
    // Construct the value.
169
31.5k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
31.5k
171
31.5k
    // Copy the string information.
172
31.5k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
31.5k
    if (KeyLength > 0)
174
31.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
31.5k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
31.5k
    return NewItem;
177
31.5k
  }
llvm::StringMapEntry<llvm::PassInfo const*>* llvm::StringMapEntry<llvm::PassInfo const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
28.8M
                                InitTy &&... InitVals) {
157
28.8M
    size_t KeyLength = Key.size();
158
28.8M
159
28.8M
    // Allocate a new item with space for the string at the end and a null
160
28.8M
    // terminator.
161
28.8M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
28.8M
    size_t Alignment = alignof(StringMapEntry);
163
28.8M
164
28.8M
    StringMapEntry *NewItem =
165
28.8M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
28.8M
    assert(NewItem && "Unhandled out-of-memory");
167
28.8M
168
28.8M
    // Construct the value.
169
28.8M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
28.8M
171
28.8M
    // Copy the string information.
172
28.8M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
28.8M
    if (KeyLength > 0)
174
28.8M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
28.8M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
28.8M
    return NewItem;
177
28.8M
  }
llvm::StringMapEntry<llvm::StructType*>* llvm::StringMapEntry<llvm::StructType*>::Create<llvm::MallocAllocator, llvm::StructType*>(llvm::StringRef, llvm::MallocAllocator&, llvm::StructType*&&)
Line
Count
Source
156
241k
                                InitTy &&... InitVals) {
157
241k
    size_t KeyLength = Key.size();
158
241k
159
241k
    // Allocate a new item with space for the string at the end and a null
160
241k
    // terminator.
161
241k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
241k
    size_t Alignment = alignof(StringMapEntry);
163
241k
164
241k
    StringMapEntry *NewItem =
165
241k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
241k
    assert(NewItem && "Unhandled out-of-memory");
167
241k
168
241k
    // Construct the value.
169
241k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
241k
171
241k
    // Copy the string information.
172
241k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
241k
    if (KeyLength > 0)
174
241k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
241k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
241k
    return NewItem;
177
241k
  }
llvm::StringMapEntry<llvm::Value*>* llvm::StringMapEntry<llvm::Value*>::Create<llvm::MallocAllocator, llvm::Value*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Value*&&)
Line
Count
Source
156
17.0M
                                InitTy &&... InitVals) {
157
17.0M
    size_t KeyLength = Key.size();
158
17.0M
159
17.0M
    // Allocate a new item with space for the string at the end and a null
160
17.0M
    // terminator.
161
17.0M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
17.0M
    size_t Alignment = alignof(StringMapEntry);
163
17.0M
164
17.0M
    StringMapEntry *NewItem =
165
17.0M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
17.0M
    assert(NewItem && "Unhandled out-of-memory");
167
17.0M
168
17.0M
    // Construct the value.
169
17.0M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
17.0M
171
17.0M
    // Copy the string information.
172
17.0M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
17.0M
    if (KeyLength > 0)
174
17.0M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
17.0M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
17.0M
    return NewItem;
177
17.0M
  }
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
613
                                InitTy &&... InitVals) {
157
613
    size_t KeyLength = Key.size();
158
613
159
613
    // Allocate a new item with space for the string at the end and a null
160
613
    // terminator.
161
613
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
613
    size_t Alignment = alignof(StringMapEntry);
163
613
164
613
    StringMapEntry *NewItem =
165
613
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
613
    assert(NewItem && "Unhandled out-of-memory");
167
613
168
613
    // Construct the value.
169
613
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
613
171
613
    // Copy the string information.
172
613
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
613
    if (KeyLength > 0)
174
613
      memcpy(StrBuffer, Key.data(), KeyLength);
175
613
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
613
    return NewItem;
177
613
  }
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
486
                                InitTy &&... InitVals) {
157
486
    size_t KeyLength = Key.size();
158
486
159
486
    // Allocate a new item with space for the string at the end and a null
160
486
    // terminator.
161
486
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
486
    size_t Alignment = alignof(StringMapEntry);
163
486
164
486
    StringMapEntry *NewItem =
165
486
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
486
    assert(NewItem && "Unhandled out-of-memory");
167
486
168
486
    // Construct the value.
169
486
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
486
171
486
    // Copy the string information.
172
486
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
486
    if (KeyLength > 0)
174
472
      memcpy(StrBuffer, Key.data(), KeyLength);
175
486
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
486
    return NewItem;
177
486
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char&>(llvm::StringRef, llvm::MallocAllocator&, char&&&)
Line
Count
Source
156
7.27k
                                InitTy &&... InitVals) {
157
7.27k
    size_t KeyLength = Key.size();
158
7.27k
159
7.27k
    // Allocate a new item with space for the string at the end and a null
160
7.27k
    // terminator.
161
7.27k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
7.27k
    size_t Alignment = alignof(StringMapEntry);
163
7.27k
164
7.27k
    StringMapEntry *NewItem =
165
7.27k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
7.27k
    assert(NewItem && "Unhandled out-of-memory");
167
7.27k
168
7.27k
    // Construct the value.
169
7.27k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
7.27k
171
7.27k
    // Copy the string information.
172
7.27k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
7.27k
    if (KeyLength > 0)
174
7.27k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
7.27k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
7.27k
    return NewItem;
177
7.27k
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator, llvm::Function*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Function*&&)
Line
Count
Source
156
24
                                InitTy &&... InitVals) {
157
24
    size_t KeyLength = Key.size();
158
24
159
24
    // Allocate a new item with space for the string at the end and a null
160
24
    // terminator.
161
24
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
24
    size_t Alignment = alignof(StringMapEntry);
163
24
164
24
    StringMapEntry *NewItem =
165
24
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
24
    assert(NewItem && "Unhandled out-of-memory");
167
24
168
24
    // Construct the value.
169
24
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
24
171
24
    // Copy the string information.
172
24
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
24
    if (KeyLength > 0)
174
24
      memcpy(StrBuffer, Key.data(), KeyLength);
175
24
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
24
    return NewItem;
177
24
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.08M
                                InitTy &&... InitVals) {
157
1.08M
    size_t KeyLength = Key.size();
158
1.08M
159
1.08M
    // Allocate a new item with space for the string at the end and a null
160
1.08M
    // terminator.
161
1.08M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.08M
    size_t Alignment = alignof(StringMapEntry);
163
1.08M
164
1.08M
    StringMapEntry *NewItem =
165
1.08M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.08M
    assert(NewItem && "Unhandled out-of-memory");
167
1.08M
168
1.08M
    // Construct the value.
169
1.08M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.08M
171
1.08M
    // Copy the string information.
172
1.08M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.08M
    if (KeyLength > 0)
174
1.08M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.08M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.08M
    return NewItem;
177
1.08M
  }
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.22M
                                InitTy &&... InitVals) {
157
4.22M
    size_t KeyLength = Key.size();
158
4.22M
159
4.22M
    // Allocate a new item with space for the string at the end and a null
160
4.22M
    // terminator.
161
4.22M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.22M
    size_t Alignment = alignof(StringMapEntry);
163
4.22M
164
4.22M
    StringMapEntry *NewItem =
165
4.22M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.22M
    assert(NewItem && "Unhandled out-of-memory");
167
4.22M
168
4.22M
    // Construct the value.
169
4.22M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.22M
171
4.22M
    // Copy the string information.
172
4.22M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.22M
    if (KeyLength > 0)
174
4.22M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.22M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.22M
    return NewItem;
177
4.22M
  }
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
4.60M
                                InitTy &&... InitVals) {
157
4.60M
    size_t KeyLength = Key.size();
158
4.60M
159
4.60M
    // Allocate a new item with space for the string at the end and a null
160
4.60M
    // terminator.
161
4.60M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.60M
    size_t Alignment = alignof(StringMapEntry);
163
4.60M
164
4.60M
    StringMapEntry *NewItem =
165
4.60M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.60M
    assert(NewItem && "Unhandled out-of-memory");
167
4.60M
168
4.60M
    // Construct the value.
169
4.60M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.60M
171
4.60M
    // Copy the string information.
172
4.60M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.60M
    if (KeyLength > 0)
174
4.60M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.60M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.60M
    return NewItem;
177
4.60M
  }
llvm::StringMapEntry<llvm::MCSectionMachO*>* llvm::StringMapEntry<llvm::MCSectionMachO*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
863k
                                InitTy &&... InitVals) {
157
863k
    size_t KeyLength = Key.size();
158
863k
159
863k
    // Allocate a new item with space for the string at the end and a null
160
863k
    // terminator.
161
863k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
863k
    size_t Alignment = alignof(StringMapEntry);
163
863k
164
863k
    StringMapEntry *NewItem =
165
863k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
863k
    assert(NewItem && "Unhandled out-of-memory");
167
863k
168
863k
    // Construct the value.
169
863k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
863k
171
863k
    // Copy the string information.
172
863k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
863k
    if (KeyLength > 0)
174
863k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
863k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
863k
    return NewItem;
177
863k
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator, bool>(llvm::StringRef, llvm::MallocAllocator&, bool&&)
Line
Count
Source
156
4.40k
                                InitTy &&... InitVals) {
157
4.40k
    size_t KeyLength = Key.size();
158
4.40k
159
4.40k
    // Allocate a new item with space for the string at the end and a null
160
4.40k
    // terminator.
161
4.40k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.40k
    size_t Alignment = alignof(StringMapEntry);
163
4.40k
164
4.40k
    StringMapEntry *NewItem =
165
4.40k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.40k
    assert(NewItem && "Unhandled out-of-memory");
167
4.40k
168
4.40k
    // Construct the value.
169
4.40k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.40k
171
4.40k
    // Copy the string information.
172
4.40k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.40k
    if (KeyLength > 0)
174
4.40k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.40k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.40k
    return NewItem;
177
4.40k
  }
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.54M
                                InitTy &&... InitVals) {
157
2.54M
    size_t KeyLength = Key.size();
158
2.54M
159
2.54M
    // Allocate a new item with space for the string at the end and a null
160
2.54M
    // terminator.
161
2.54M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.54M
    size_t Alignment = alignof(StringMapEntry);
163
2.54M
164
2.54M
    StringMapEntry *NewItem =
165
2.54M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.54M
    assert(NewItem && "Unhandled out-of-memory");
167
2.54M
168
2.54M
    // Construct the value.
169
2.54M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.54M
171
2.54M
    // Copy the string information.
172
2.54M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.54M
    if (KeyLength > 0)
174
2.54M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.54M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.54M
    return NewItem;
177
2.54M
  }
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
632k
                                InitTy &&... InitVals) {
157
632k
    size_t KeyLength = Key.size();
158
632k
159
632k
    // Allocate a new item with space for the string at the end and a null
160
632k
    // terminator.
161
632k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
632k
    size_t Alignment = alignof(StringMapEntry);
163
632k
164
632k
    StringMapEntry *NewItem =
165
632k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
632k
    assert(NewItem && "Unhandled out-of-memory");
167
632k
168
632k
    // Construct the value.
169
632k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
632k
171
632k
    // Copy the string information.
172
632k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
632k
    if (KeyLength > 0)
174
632k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
632k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
632k
    return NewItem;
177
632k
  }
llvm::StringMapEntry<llvm::MCAsmMacro>* llvm::StringMapEntry<llvm::MCAsmMacro>::Create<llvm::MallocAllocator, llvm::MCAsmMacro>(llvm::StringRef, llvm::MallocAllocator&, llvm::MCAsmMacro&&)
Line
Count
Source
156
239
                                InitTy &&... InitVals) {
157
239
    size_t KeyLength = Key.size();
158
239
159
239
    // Allocate a new item with space for the string at the end and a null
160
239
    // terminator.
161
239
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
239
    size_t Alignment = alignof(StringMapEntry);
163
239
164
239
    StringMapEntry *NewItem =
165
239
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
239
    assert(NewItem && "Unhandled out-of-memory");
167
239
168
239
    // Construct the value.
169
239
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
239
171
239
    // Copy the string information.
172
239
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
239
    if (KeyLength > 0)
174
239
      memcpy(StrBuffer, Key.data(), KeyLength);
175
239
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
239
    return NewItem;
177
239
  }
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
142M
                                InitTy &&... InitVals) {
157
142M
    size_t KeyLength = Key.size();
158
142M
159
142M
    // Allocate a new item with space for the string at the end and a null
160
142M
    // terminator.
161
142M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
142M
    size_t Alignment = alignof(StringMapEntry);
163
142M
164
142M
    StringMapEntry *NewItem =
165
142M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
142M
    assert(NewItem && "Unhandled out-of-memory");
167
142M
168
142M
    // Construct the value.
169
142M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
142M
171
142M
    // Copy the string information.
172
142M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
142M
    if (KeyLength > 0)
174
142M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
142M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
142M
    return NewItem;
177
142M
  }
llvm::StringMapEntry<unsigned long>* llvm::StringMapEntry<unsigned long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
34.2k
                                InitTy &&... InitVals) {
157
34.2k
    size_t KeyLength = Key.size();
158
34.2k
159
34.2k
    // Allocate a new item with space for the string at the end and a null
160
34.2k
    // terminator.
161
34.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
34.2k
    size_t Alignment = alignof(StringMapEntry);
163
34.2k
164
34.2k
    StringMapEntry *NewItem =
165
34.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
34.2k
    assert(NewItem && "Unhandled out-of-memory");
167
34.2k
168
34.2k
    // Construct the value.
169
34.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
34.2k
171
34.2k
    // Copy the string information.
172
34.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
34.2k
    if (KeyLength > 0)
174
34.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
34.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
34.2k
    return NewItem;
177
34.2k
  }
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
301
                                InitTy &&... InitVals) {
157
301
    size_t KeyLength = Key.size();
158
301
159
301
    // Allocate a new item with space for the string at the end and a null
160
301
    // terminator.
161
301
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
301
    size_t Alignment = alignof(StringMapEntry);
163
301
164
301
    StringMapEntry *NewItem =
165
301
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
301
    assert(NewItem && "Unhandled out-of-memory");
167
301
168
301
    // Construct the value.
169
301
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
301
171
301
    // Copy the string information.
172
301
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
301
    if (KeyLength > 0)
174
301
      memcpy(StrBuffer, Key.data(), KeyLength);
175
301
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
301
    return NewItem;
177
301
  }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>* llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
326
                                InitTy &&... InitVals) {
157
326
    size_t KeyLength = Key.size();
158
326
159
326
    // Allocate a new item with space for the string at the end and a null
160
326
    // terminator.
161
326
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
326
    size_t Alignment = alignof(StringMapEntry);
163
326
164
326
    StringMapEntry *NewItem =
165
326
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
326
    assert(NewItem && "Unhandled out-of-memory");
167
326
168
326
    // Construct the value.
169
326
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
326
171
326
    // Copy the string information.
172
326
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
326
    if (KeyLength > 0)
174
44
      memcpy(StrBuffer, Key.data(), KeyLength);
175
326
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
326
    return NewItem;
177
326
  }
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
132k
                                InitTy &&... InitVals) {
157
132k
    size_t KeyLength = Key.size();
158
132k
159
132k
    // Allocate a new item with space for the string at the end and a null
160
132k
    // terminator.
161
132k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
132k
    size_t Alignment = alignof(StringMapEntry);
163
132k
164
132k
    StringMapEntry *NewItem =
165
132k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
132k
    assert(NewItem && "Unhandled out-of-memory");
167
132k
168
132k
    // Construct the value.
169
132k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
132k
171
132k
    // Copy the string information.
172
132k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
132k
    if (KeyLength > 0)
174
132k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
132k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
132k
    return NewItem;
177
132k
  }
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
394k
                                InitTy &&... InitVals) {
157
394k
    size_t KeyLength = Key.size();
158
394k
159
394k
    // Allocate a new item with space for the string at the end and a null
160
394k
    // terminator.
161
394k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
394k
    size_t Alignment = alignof(StringMapEntry);
163
394k
164
394k
    StringMapEntry *NewItem =
165
394k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
394k
    assert(NewItem && "Unhandled out-of-memory");
167
394k
168
394k
    // Construct the value.
169
394k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
394k
171
394k
    // Copy the string information.
172
394k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
394k
    if (KeyLength > 0)
174
394k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
394k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
394k
    return NewItem;
177
394k
  }
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
152M
                                InitTy &&... InitVals) {
157
152M
    size_t KeyLength = Key.size();
158
152M
159
152M
    // Allocate a new item with space for the string at the end and a null
160
152M
    // terminator.
161
152M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
152M
    size_t Alignment = alignof(StringMapEntry);
163
152M
164
152M
    StringMapEntry *NewItem =
165
152M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
152M
    assert(NewItem && "Unhandled out-of-memory");
167
152M
168
152M
    // Construct the value.
169
152M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
152M
171
152M
    // Copy the string information.
172
152M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
152M
    if (KeyLength > 0)
174
152M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
152M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
152M
    return NewItem;
177
152M
  }
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
386k
                                InitTy &&... InitVals) {
157
386k
    size_t KeyLength = Key.size();
158
386k
159
386k
    // Allocate a new item with space for the string at the end and a null
160
386k
    // terminator.
161
386k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
386k
    size_t Alignment = alignof(StringMapEntry);
163
386k
164
386k
    StringMapEntry *NewItem =
165
386k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
386k
    assert(NewItem && "Unhandled out-of-memory");
167
386k
168
386k
    // Construct the value.
169
386k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
386k
171
386k
    // Copy the string information.
172
386k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
386k
    if (KeyLength > 0)
174
386k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
386k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
386k
    return NewItem;
177
386k
  }
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.36M
                                InitTy &&... InitVals) {
157
1.36M
    size_t KeyLength = Key.size();
158
1.36M
159
1.36M
    // Allocate a new item with space for the string at the end and a null
160
1.36M
    // terminator.
161
1.36M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.36M
    size_t Alignment = alignof(StringMapEntry);
163
1.36M
164
1.36M
    StringMapEntry *NewItem =
165
1.36M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.36M
    assert(NewItem && "Unhandled out-of-memory");
167
1.36M
168
1.36M
    // Construct the value.
169
1.36M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.36M
171
1.36M
    // Copy the string information.
172
1.36M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.36M
    if (KeyLength > 0)
174
1.36M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.36M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.36M
    return NewItem;
177
1.36M
  }
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
112k
                                InitTy &&... InitVals) {
157
112k
    size_t KeyLength = Key.size();
158
112k
159
112k
    // Allocate a new item with space for the string at the end and a null
160
112k
    // terminator.
161
112k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
112k
    size_t Alignment = alignof(StringMapEntry);
163
112k
164
112k
    StringMapEntry *NewItem =
165
112k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
112k
    assert(NewItem && "Unhandled out-of-memory");
167
112k
168
112k
    // Construct the value.
169
112k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
112k
171
112k
    // Copy the string information.
172
112k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
112k
    if (KeyLength > 0)
174
112k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
112k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
112k
    return NewItem;
177
112k
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.85M
                                InitTy &&... InitVals) {
157
3.85M
    size_t KeyLength = Key.size();
158
3.85M
159
3.85M
    // Allocate a new item with space for the string at the end and a null
160
3.85M
    // terminator.
161
3.85M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.85M
    size_t Alignment = alignof(StringMapEntry);
163
3.85M
164
3.85M
    StringMapEntry *NewItem =
165
3.85M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.85M
    assert(NewItem && "Unhandled out-of-memory");
167
3.85M
168
3.85M
    // Construct the value.
169
3.85M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.85M
171
3.85M
    // Copy the string information.
172
3.85M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.85M
    if (KeyLength > 0)
174
3.85M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.85M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.85M
    return NewItem;
177
3.85M
  }
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
461k
                                InitTy &&... InitVals) {
157
461k
    size_t KeyLength = Key.size();
158
461k
159
461k
    // Allocate a new item with space for the string at the end and a null
160
461k
    // terminator.
161
461k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
461k
    size_t Alignment = alignof(StringMapEntry);
163
461k
164
461k
    StringMapEntry *NewItem =
165
461k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
461k
    assert(NewItem && "Unhandled out-of-memory");
167
461k
168
461k
    // Construct the value.
169
461k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
461k
171
461k
    // Copy the string information.
172
461k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
461k
    if (KeyLength > 0)
174
461k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
461k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
461k
    return NewItem;
177
461k
  }
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
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
506
      memcpy(StrBuffer, Key.data(), KeyLength);
175
521
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
521
    return NewItem;
177
521
  }
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.08k
                                InitTy &&... InitVals) {
157
2.08k
    size_t KeyLength = Key.size();
158
2.08k
159
2.08k
    // Allocate a new item with space for the string at the end and a null
160
2.08k
    // terminator.
161
2.08k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.08k
    size_t Alignment = alignof(StringMapEntry);
163
2.08k
164
2.08k
    StringMapEntry *NewItem =
165
2.08k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.08k
    assert(NewItem && "Unhandled out-of-memory");
167
2.08k
168
2.08k
    // Construct the value.
169
2.08k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.08k
171
2.08k
    // Copy the string information.
172
2.08k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.08k
    if (KeyLength > 0)
174
1.92k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.08k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.08k
    return NewItem;
177
2.08k
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator, llvm::GlobalVariable*>(llvm::StringRef, llvm::MallocAllocator&, llvm::GlobalVariable*&&)
Line
Count
Source
156
312
                                InitTy &&... InitVals) {
157
312
    size_t KeyLength = Key.size();
158
312
159
312
    // Allocate a new item with space for the string at the end and a null
160
312
    // terminator.
161
312
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
312
    size_t Alignment = alignof(StringMapEntry);
163
312
164
312
    StringMapEntry *NewItem =
165
312
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
312
    assert(NewItem && "Unhandled out-of-memory");
167
312
168
312
    // Construct the value.
169
312
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
312
171
312
    // Copy the string information.
172
312
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
312
    if (KeyLength > 0)
174
278
      memcpy(StrBuffer, Key.data(), KeyLength);
175
312
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
312
    return NewItem;
177
312
  }
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
223
                                InitTy &&... InitVals) {
157
223
    size_t KeyLength = Key.size();
158
223
159
223
    // Allocate a new item with space for the string at the end and a null
160
223
    // terminator.
161
223
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
223
    size_t Alignment = alignof(StringMapEntry);
163
223
164
223
    StringMapEntry *NewItem =
165
223
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
223
    assert(NewItem && "Unhandled out-of-memory");
167
223
168
223
    // Construct the value.
169
223
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
223
171
223
    // Copy the string information.
172
223
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
223
    if (KeyLength > 0)
174
223
      memcpy(StrBuffer, Key.data(), KeyLength);
175
223
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
223
    return NewItem;
177
223
  }
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.47k
                                InitTy &&... InitVals) {
157
3.47k
    size_t KeyLength = Key.size();
158
3.47k
159
3.47k
    // Allocate a new item with space for the string at the end and a null
160
3.47k
    // terminator.
161
3.47k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.47k
    size_t Alignment = alignof(StringMapEntry);
163
3.47k
164
3.47k
    StringMapEntry *NewItem =
165
3.47k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.47k
    assert(NewItem && "Unhandled out-of-memory");
167
3.47k
168
3.47k
    // Construct the value.
169
3.47k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.47k
171
3.47k
    // Copy the string information.
172
3.47k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.47k
    if (KeyLength > 0)
174
3.47k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.47k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.47k
    return NewItem;
177
3.47k
  }
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
60
                                InitTy &&... InitVals) {
157
60
    size_t KeyLength = Key.size();
158
60
159
60
    // Allocate a new item with space for the string at the end and a null
160
60
    // terminator.
161
60
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
60
    size_t Alignment = alignof(StringMapEntry);
163
60
164
60
    StringMapEntry *NewItem =
165
60
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
60
    assert(NewItem && "Unhandled out-of-memory");
167
60
168
60
    // Construct the value.
169
60
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
60
171
60
    // Copy the string information.
172
60
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
60
    if (KeyLength > 0)
174
60
      memcpy(StrBuffer, Key.data(), KeyLength);
175
60
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
60
    return NewItem;
177
60
  }
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
68
                                InitTy &&... InitVals) {
157
68
    size_t KeyLength = Key.size();
158
68
159
68
    // Allocate a new item with space for the string at the end and a null
160
68
    // terminator.
161
68
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
68
    size_t Alignment = alignof(StringMapEntry);
163
68
164
68
    StringMapEntry *NewItem =
165
68
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
68
    assert(NewItem && "Unhandled out-of-memory");
167
68
168
68
    // Construct the value.
169
68
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
68
171
68
    // Copy the string information.
172
68
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
68
    if (KeyLength > 0)
174
68
      memcpy(StrBuffer, Key.data(), KeyLength);
175
68
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
68
    return NewItem;
177
68
  }
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
114
                                InitTy &&... InitVals) {
157
114
    size_t KeyLength = Key.size();
158
114
159
114
    // Allocate a new item with space for the string at the end and a null
160
114
    // terminator.
161
114
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
114
    size_t Alignment = alignof(StringMapEntry);
163
114
164
114
    StringMapEntry *NewItem =
165
114
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
114
    assert(NewItem && "Unhandled out-of-memory");
167
114
168
114
    // Construct the value.
169
114
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
114
171
114
    // Copy the string information.
172
114
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
114
    if (KeyLength > 0)
174
114
      memcpy(StrBuffer, Key.data(), KeyLength);
175
114
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
114
    return NewItem;
177
114
  }
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.15M
                                InitTy &&... InitVals) {
157
2.15M
    size_t KeyLength = Key.size();
158
2.15M
159
2.15M
    // Allocate a new item with space for the string at the end and a null
160
2.15M
    // terminator.
161
2.15M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.15M
    size_t Alignment = alignof(StringMapEntry);
163
2.15M
164
2.15M
    StringMapEntry *NewItem =
165
2.15M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.15M
    assert(NewItem && "Unhandled out-of-memory");
167
2.15M
168
2.15M
    // Construct the value.
169
2.15M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.15M
171
2.15M
    // Copy the string information.
172
2.15M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.15M
    if (KeyLength > 0)
174
2.15M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.15M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.15M
    return NewItem;
177
2.15M
  }
llvm::StringMapEntry<clang::ASTContext::SectionInfo>* llvm::StringMapEntry<clang::ASTContext::SectionInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
193
                                InitTy &&... InitVals) {
157
193
    size_t KeyLength = Key.size();
158
193
159
193
    // Allocate a new item with space for the string at the end and a null
160
193
    // terminator.
161
193
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
193
    size_t Alignment = alignof(StringMapEntry);
163
193
164
193
    StringMapEntry *NewItem =
165
193
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
193
    assert(NewItem && "Unhandled out-of-memory");
167
193
168
193
    // Construct the value.
169
193
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
193
171
193
    // Copy the string information.
172
193
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
193
    if (KeyLength > 0)
174
193
      memcpy(StrBuffer, Key.data(), KeyLength);
175
193
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
193
    return NewItem;
177
193
  }
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
30.6k
                                InitTy &&... InitVals) {
157
30.6k
    size_t KeyLength = Key.size();
158
30.6k
159
30.6k
    // Allocate a new item with space for the string at the end and a null
160
30.6k
    // terminator.
161
30.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
30.6k
    size_t Alignment = alignof(StringMapEntry);
163
30.6k
164
30.6k
    StringMapEntry *NewItem =
165
30.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
30.6k
    assert(NewItem && "Unhandled out-of-memory");
167
30.6k
168
30.6k
    // Construct the value.
169
30.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
30.6k
171
30.6k
    // Copy the string information.
172
30.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
30.6k
    if (KeyLength > 0)
174
30.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
30.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
30.6k
    return NewItem;
177
30.6k
  }
llvm::StringMapEntry<char const*>* llvm::StringMapEntry<char const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
104
                                InitTy &&... InitVals) {
157
104
    size_t KeyLength = Key.size();
158
104
159
104
    // Allocate a new item with space for the string at the end and a null
160
104
    // terminator.
161
104
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
104
    size_t Alignment = alignof(StringMapEntry);
163
104
164
104
    StringMapEntry *NewItem =
165
104
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
104
    assert(NewItem && "Unhandled out-of-memory");
167
104
168
104
    // Construct the value.
169
104
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
104
171
104
    // Copy the string information.
172
104
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
104
    if (KeyLength > 0)
174
104
      memcpy(StrBuffer, Key.data(), KeyLength);
175
104
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
104
    return NewItem;
177
104
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
776k
                                InitTy &&... InitVals) {
157
776k
    size_t KeyLength = Key.size();
158
776k
159
776k
    // Allocate a new item with space for the string at the end and a null
160
776k
    // terminator.
161
776k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
776k
    size_t Alignment = alignof(StringMapEntry);
163
776k
164
776k
    StringMapEntry *NewItem =
165
776k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
776k
    assert(NewItem && "Unhandled out-of-memory");
167
776k
168
776k
    // Construct the value.
169
776k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
776k
171
776k
    // Copy the string information.
172
776k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
776k
    if (KeyLength > 0)
174
776k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
776k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
776k
    return NewItem;
177
776k
  }
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.14k
                                InitTy &&... InitVals) {
157
2.14k
    size_t KeyLength = Key.size();
158
2.14k
159
2.14k
    // Allocate a new item with space for the string at the end and a null
160
2.14k
    // terminator.
161
2.14k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.14k
    size_t Alignment = alignof(StringMapEntry);
163
2.14k
164
2.14k
    StringMapEntry *NewItem =
165
2.14k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.14k
    assert(NewItem && "Unhandled out-of-memory");
167
2.14k
168
2.14k
    // Construct the value.
169
2.14k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.14k
171
2.14k
    // Copy the string information.
172
2.14k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.14k
    if (KeyLength > 0)
174
2.14k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.14k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.14k
    return NewItem;
177
2.14k
  }
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
17.9k
                                InitTy &&... InitVals) {
157
17.9k
    size_t KeyLength = Key.size();
158
17.9k
159
17.9k
    // Allocate a new item with space for the string at the end and a null
160
17.9k
    // terminator.
161
17.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
17.9k
    size_t Alignment = alignof(StringMapEntry);
163
17.9k
164
17.9k
    StringMapEntry *NewItem =
165
17.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
17.9k
    assert(NewItem && "Unhandled out-of-memory");
167
17.9k
168
17.9k
    // Construct the value.
169
17.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
17.9k
171
17.9k
    // Copy the string information.
172
17.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
17.9k
    if (KeyLength > 0)
174
17.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
17.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
17.9k
    return NewItem;
177
17.9k
  }
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
2.70M
                                InitTy &&... InitVals) {
157
2.70M
    size_t KeyLength = Key.size();
158
2.70M
159
2.70M
    // Allocate a new item with space for the string at the end and a null
160
2.70M
    // terminator.
161
2.70M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.70M
    size_t Alignment = alignof(StringMapEntry);
163
2.70M
164
2.70M
    StringMapEntry *NewItem =
165
2.70M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.70M
    assert(NewItem && "Unhandled out-of-memory");
167
2.70M
168
2.70M
    // Construct the value.
169
2.70M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.70M
171
2.70M
    // Copy the string information.
172
2.70M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.70M
    if (KeyLength > 0)
174
2.70M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.70M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.70M
    return NewItem;
177
2.70M
  }
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::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
151
                                InitTy &&... InitVals) {
157
151
    size_t KeyLength = Key.size();
158
151
159
151
    // Allocate a new item with space for the string at the end and a null
160
151
    // terminator.
161
151
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
151
    size_t Alignment = alignof(StringMapEntry);
163
151
164
151
    StringMapEntry *NewItem =
165
151
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
151
    assert(NewItem && "Unhandled out-of-memory");
167
151
168
151
    // Construct the value.
169
151
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
151
171
151
    // Copy the string information.
172
151
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
151
    if (KeyLength > 0)
174
151
      memcpy(StrBuffer, Key.data(), KeyLength);
175
151
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
151
    return NewItem;
177
151
  }
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
72.9k
                                InitTy &&... InitVals) {
157
72.9k
    size_t KeyLength = Key.size();
158
72.9k
159
72.9k
    // Allocate a new item with space for the string at the end and a null
160
72.9k
    // terminator.
161
72.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
72.9k
    size_t Alignment = alignof(StringMapEntry);
163
72.9k
164
72.9k
    StringMapEntry *NewItem =
165
72.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
72.9k
    assert(NewItem && "Unhandled out-of-memory");
167
72.9k
168
72.9k
    // Construct the value.
169
72.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
72.9k
171
72.9k
    // Copy the string information.
172
72.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
72.9k
    if (KeyLength > 0)
174
72.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
72.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
72.9k
    return NewItem;
177
72.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.16k
                                InitTy &&... InitVals) {
157
4.16k
    size_t KeyLength = Key.size();
158
4.16k
159
4.16k
    // Allocate a new item with space for the string at the end and a null
160
4.16k
    // terminator.
161
4.16k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.16k
    size_t Alignment = alignof(StringMapEntry);
163
4.16k
164
4.16k
    StringMapEntry *NewItem =
165
4.16k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.16k
    assert(NewItem && "Unhandled out-of-memory");
167
4.16k
168
4.16k
    // Construct the value.
169
4.16k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.16k
171
4.16k
    // Copy the string information.
172
4.16k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.16k
    if (KeyLength > 0)
174
4.16k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.16k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.16k
    return NewItem;
177
4.16k
  }
llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>* llvm::StringMapEntry<clang::InMemoryModuleCache::PCM>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.25k
                                InitTy &&... InitVals) {
157
1.25k
    size_t KeyLength = Key.size();
158
1.25k
159
1.25k
    // Allocate a new item with space for the string at the end and a null
160
1.25k
    // terminator.
161
1.25k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.25k
    size_t Alignment = alignof(StringMapEntry);
163
1.25k
164
1.25k
    StringMapEntry *NewItem =
165
1.25k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.25k
    assert(NewItem && "Unhandled out-of-memory");
167
1.25k
168
1.25k
    // Construct the value.
169
1.25k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.25k
171
1.25k
    // Copy the string information.
172
1.25k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.25k
    if (KeyLength > 0)
174
1.25k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.25k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.25k
    return NewItem;
177
1.25k
  }
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
5.93k
                                InitTy &&... InitVals) {
157
5.93k
    size_t KeyLength = Key.size();
158
5.93k
159
5.93k
    // Allocate a new item with space for the string at the end and a null
160
5.93k
    // terminator.
161
5.93k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5.93k
    size_t Alignment = alignof(StringMapEntry);
163
5.93k
164
5.93k
    StringMapEntry *NewItem =
165
5.93k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5.93k
    assert(NewItem && "Unhandled out-of-memory");
167
5.93k
168
5.93k
    // Construct the value.
169
5.93k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5.93k
171
5.93k
    // Copy the string information.
172
5.93k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5.93k
    if (KeyLength > 0)
174
5.93k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5.93k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5.93k
    return NewItem;
177
5.93k
  }
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
146k
                                InitTy &&... InitVals) {
157
146k
    size_t KeyLength = Key.size();
158
146k
159
146k
    // Allocate a new item with space for the string at the end and a null
160
146k
    // terminator.
161
146k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
146k
    size_t Alignment = alignof(StringMapEntry);
163
146k
164
146k
    StringMapEntry *NewItem =
165
146k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
146k
    assert(NewItem && "Unhandled out-of-memory");
167
146k
168
146k
    // Construct the value.
169
146k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
146k
171
146k
    // Copy the string information.
172
146k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
146k
    if (KeyLength > 0)
174
146k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
146k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
146k
    return NewItem;
177
146k
  }
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
4.36k
                                InitTy &&... InitVals) {
157
4.36k
    size_t KeyLength = Key.size();
158
4.36k
159
4.36k
    // Allocate a new item with space for the string at the end and a null
160
4.36k
    // terminator.
161
4.36k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.36k
    size_t Alignment = alignof(StringMapEntry);
163
4.36k
164
4.36k
    StringMapEntry *NewItem =
165
4.36k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.36k
    assert(NewItem && "Unhandled out-of-memory");
167
4.36k
168
4.36k
    // Construct the value.
169
4.36k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.36k
171
4.36k
    // Copy the string information.
172
4.36k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.36k
    if (KeyLength > 0)
174
4.36k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.36k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.36k
    return NewItem;
177
4.36k
  }
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
68.9k
                                InitTy &&... InitVals) {
157
68.9k
    size_t KeyLength = Key.size();
158
68.9k
159
68.9k
    // Allocate a new item with space for the string at the end and a null
160
68.9k
    // terminator.
161
68.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
68.9k
    size_t Alignment = alignof(StringMapEntry);
163
68.9k
164
68.9k
    StringMapEntry *NewItem =
165
68.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
68.9k
    assert(NewItem && "Unhandled out-of-memory");
167
68.9k
168
68.9k
    // Construct the value.
169
68.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
68.9k
171
68.9k
    // Copy the string information.
172
68.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
68.9k
    if (KeyLength > 0)
174
68.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
68.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
68.9k
    return NewItem;
177
68.9k
  }
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
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
  }
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
70.5k
                                InitTy &&... InitVals) {
157
70.5k
    size_t KeyLength = Key.size();
158
70.5k
159
70.5k
    // Allocate a new item with space for the string at the end and a null
160
70.5k
    // terminator.
161
70.5k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
70.5k
    size_t Alignment = alignof(StringMapEntry);
163
70.5k
164
70.5k
    StringMapEntry *NewItem =
165
70.5k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
70.5k
    assert(NewItem && "Unhandled out-of-memory");
167
70.5k
168
70.5k
    // Construct the value.
169
70.5k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
70.5k
171
70.5k
    // Copy the string information.
172
70.5k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
70.5k
    if (KeyLength > 0)
174
70.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
70.5k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
70.5k
    return NewItem;
177
70.5k
  }
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
82.9k
                                InitTy &&... InitVals) {
157
82.9k
    size_t KeyLength = Key.size();
158
82.9k
159
82.9k
    // Allocate a new item with space for the string at the end and a null
160
82.9k
    // terminator.
161
82.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
82.9k
    size_t Alignment = alignof(StringMapEntry);
163
82.9k
164
82.9k
    StringMapEntry *NewItem =
165
82.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
82.9k
    assert(NewItem && "Unhandled out-of-memory");
167
82.9k
168
82.9k
    // Construct the value.
169
82.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
82.9k
171
82.9k
    // Copy the string information.
172
82.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
82.9k
    if (KeyLength > 0)
174
82.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
82.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
82.9k
    return NewItem;
177
82.9k
  }
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
8
                                InitTy &&... InitVals) {
157
8
    size_t KeyLength = Key.size();
158
8
159
8
    // Allocate a new item with space for the string at the end and a null
160
8
    // terminator.
161
8
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
8
    size_t Alignment = alignof(StringMapEntry);
163
8
164
8
    StringMapEntry *NewItem =
165
8
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
8
    assert(NewItem && "Unhandled out-of-memory");
167
8
168
8
    // Construct the value.
169
8
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
8
171
8
    // Copy the string information.
172
8
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
8
    if (KeyLength > 0)
174
8
      memcpy(StrBuffer, Key.data(), KeyLength);
175
8
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
8
    return NewItem;
177
8
  }
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.6k
                                InitTy &&... InitVals) {
157
14.6k
    size_t KeyLength = Key.size();
158
14.6k
159
14.6k
    // Allocate a new item with space for the string at the end and a null
160
14.6k
    // terminator.
161
14.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14.6k
    size_t Alignment = alignof(StringMapEntry);
163
14.6k
164
14.6k
    StringMapEntry *NewItem =
165
14.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14.6k
    assert(NewItem && "Unhandled out-of-memory");
167
14.6k
168
14.6k
    // Construct the value.
169
14.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14.6k
171
14.6k
    // Copy the string information.
172
14.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14.6k
    if (KeyLength > 0)
174
14.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14.6k
    return NewItem;
177
14.6k
  }
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>* llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
969
                                InitTy &&... InitVals) {
157
969
    size_t KeyLength = Key.size();
158
969
159
969
    // Allocate a new item with space for the string at the end and a null
160
969
    // terminator.
161
969
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
969
    size_t Alignment = alignof(StringMapEntry);
163
969
164
969
    StringMapEntry *NewItem =
165
969
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
969
    assert(NewItem && "Unhandled out-of-memory");
167
969
168
969
    // Construct the value.
169
969
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
969
171
969
    // Copy the string information.
172
969
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
969
    if (KeyLength > 0)
174
969
      memcpy(StrBuffer, Key.data(), KeyLength);
175
969
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
969
    return NewItem;
177
969
  }
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
395
                                InitTy &&... InitVals) {
157
395
    size_t KeyLength = Key.size();
158
395
159
395
    // Allocate a new item with space for the string at the end and a null
160
395
    // terminator.
161
395
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
395
    size_t Alignment = alignof(StringMapEntry);
163
395
164
395
    StringMapEntry *NewItem =
165
395
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
395
    assert(NewItem && "Unhandled out-of-memory");
167
395
168
395
    // Construct the value.
169
395
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
395
171
395
    // Copy the string information.
172
395
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
395
    if (KeyLength > 0)
174
392
      memcpy(StrBuffer, Key.data(), KeyLength);
175
395
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
395
    return NewItem;
177
395
  }
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
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<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
702
                                InitTy &&... InitVals) {
157
702
    size_t KeyLength = Key.size();
158
702
159
702
    // Allocate a new item with space for the string at the end and a null
160
702
    // terminator.
161
702
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
702
    size_t Alignment = alignof(StringMapEntry);
163
702
164
702
    StringMapEntry *NewItem =
165
702
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
702
    assert(NewItem && "Unhandled out-of-memory");
167
702
168
702
    // Construct the value.
169
702
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
702
171
702
    // Copy the string information.
172
702
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
702
    if (KeyLength > 0)
174
702
      memcpy(StrBuffer, Key.data(), KeyLength);
175
702
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
702
    return NewItem;
177
702
  }
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
71
                                InitTy &&... InitVals) {
157
71
    size_t KeyLength = Key.size();
158
71
159
71
    // Allocate a new item with space for the string at the end and a null
160
71
    // terminator.
161
71
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
71
    size_t Alignment = alignof(StringMapEntry);
163
71
164
71
    StringMapEntry *NewItem =
165
71
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
71
    assert(NewItem && "Unhandled out-of-memory");
167
71
168
71
    // Construct the value.
169
71
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
71
171
71
    // Copy the string information.
172
71
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
71
    if (KeyLength > 0)
174
71
      memcpy(StrBuffer, Key.data(), KeyLength);
175
71
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
71
    return NewItem;
177
71
  }
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
33
                                InitTy &&... InitVals) {
157
33
    size_t KeyLength = Key.size();
158
33
159
33
    // Allocate a new item with space for the string at the end and a null
160
33
    // terminator.
161
33
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
33
    size_t Alignment = alignof(StringMapEntry);
163
33
164
33
    StringMapEntry *NewItem =
165
33
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
33
    assert(NewItem && "Unhandled out-of-memory");
167
33
168
33
    // Construct the value.
169
33
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
33
171
33
    // Copy the string information.
172
33
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
33
    if (KeyLength > 0)
174
33
      memcpy(StrBuffer, Key.data(), KeyLength);
175
33
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
33
    return NewItem;
177
33
  }
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<llvm::SmallVector<clang::TypoCorrection, 1u> >* llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
9.67k
                                InitTy &&... InitVals) {
157
9.67k
    size_t KeyLength = Key.size();
158
9.67k
159
9.67k
    // Allocate a new item with space for the string at the end and a null
160
9.67k
    // terminator.
161
9.67k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
9.67k
    size_t Alignment = alignof(StringMapEntry);
163
9.67k
164
9.67k
    StringMapEntry *NewItem =
165
9.67k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
9.67k
    assert(NewItem && "Unhandled out-of-memory");
167
9.67k
168
9.67k
    // Construct the value.
169
9.67k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
9.67k
171
9.67k
    // Copy the string information.
172
9.67k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
9.67k
    if (KeyLength > 0)
174
9.67k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
9.67k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
9.67k
    return NewItem;
177
9.67k
  }
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::comments::TParamCommandComment*>* llvm::StringMapEntry<clang::comments::TParamCommandComment*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
88
                                InitTy &&... InitVals) {
157
88
    size_t KeyLength = Key.size();
158
88
159
88
    // Allocate a new item with space for the string at the end and a null
160
88
    // terminator.
161
88
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
88
    size_t Alignment = alignof(StringMapEntry);
163
88
164
88
    StringMapEntry *NewItem =
165
88
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
88
    assert(NewItem && "Unhandled out-of-memory");
167
88
168
88
    // Construct the value.
169
88
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
88
171
88
    // Copy the string information.
172
88
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
88
    if (KeyLength > 0)
174
88
      memcpy(StrBuffer, Key.data(), KeyLength);
175
88
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
88
    return NewItem;
177
88
  }
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
401
                                InitTy &&... InitVals) {
157
401
    size_t KeyLength = Key.size();
158
401
159
401
    // Allocate a new item with space for the string at the end and a null
160
401
    // terminator.
161
401
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
401
    size_t Alignment = alignof(StringMapEntry);
163
401
164
401
    StringMapEntry *NewItem =
165
401
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
401
    assert(NewItem && "Unhandled out-of-memory");
167
401
168
401
    // Construct the value.
169
401
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
401
171
401
    // Copy the string information.
172
401
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
401
    if (KeyLength > 0)
174
401
      memcpy(StrBuffer, Key.data(), KeyLength);
175
401
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
401
    return NewItem;
177
401
  }
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
366k
                                InitTy &&... InitVals) {
157
366k
    size_t KeyLength = Key.size();
158
366k
159
366k
    // Allocate a new item with space for the string at the end and a null
160
366k
    // terminator.
161
366k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
366k
    size_t Alignment = alignof(StringMapEntry);
163
366k
164
366k
    StringMapEntry *NewItem =
165
366k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
366k
    assert(NewItem && "Unhandled out-of-memory");
167
366k
168
366k
    // Construct the value.
169
366k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
366k
171
366k
    // Copy the string information.
172
366k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
366k
    if (KeyLength > 0)
174
366k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
366k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
366k
    return NewItem;
177
366k
  }
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
72.4k
                                InitTy &&... InitVals) {
157
72.4k
    size_t KeyLength = Key.size();
158
72.4k
159
72.4k
    // Allocate a new item with space for the string at the end and a null
160
72.4k
    // terminator.
161
72.4k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
72.4k
    size_t Alignment = alignof(StringMapEntry);
163
72.4k
164
72.4k
    StringMapEntry *NewItem =
165
72.4k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
72.4k
    assert(NewItem && "Unhandled out-of-memory");
167
72.4k
168
72.4k
    // Construct the value.
169
72.4k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
72.4k
171
72.4k
    // Copy the string information.
172
72.4k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
72.4k
    if (KeyLength > 0)
174
72.4k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
72.4k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
72.4k
    return NewItem;
177
72.4k
  }
llvm::StringMapEntry<clang::PragmaHandler*>* llvm::StringMapEntry<clang::PragmaHandler*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.16M
                                InitTy &&... InitVals) {
157
2.16M
    size_t KeyLength = Key.size();
158
2.16M
159
2.16M
    // Allocate a new item with space for the string at the end and a null
160
2.16M
    // terminator.
161
2.16M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.16M
    size_t Alignment = alignof(StringMapEntry);
163
2.16M
164
2.16M
    StringMapEntry *NewItem =
165
2.16M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.16M
    assert(NewItem && "Unhandled out-of-memory");
167
2.16M
168
2.16M
    // Construct the value.
169
2.16M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.16M
171
2.16M
    // Copy the string information.
172
2.16M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.16M
    if (KeyLength > 0)
174
2.11M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.16M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.16M
    return NewItem;
177
2.16M
  }
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
870
                                InitTy &&... InitVals) {
157
870
    size_t KeyLength = Key.size();
158
870
159
870
    // Allocate a new item with space for the string at the end and a null
160
870
    // terminator.
161
870
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
870
    size_t Alignment = alignof(StringMapEntry);
163
870
164
870
    StringMapEntry *NewItem =
165
870
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
870
    assert(NewItem && "Unhandled out-of-memory");
167
870
168
870
    // Construct the value.
169
870
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
870
171
870
    // Copy the string information.
172
870
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
870
    if (KeyLength > 0)
174
847
      memcpy(StrBuffer, Key.data(), KeyLength);
175
870
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
870
    return NewItem;
177
870
  }
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
88
                                InitTy &&... InitVals) {
157
88
    size_t KeyLength = Key.size();
158
88
159
88
    // Allocate a new item with space for the string at the end and a null
160
88
    // terminator.
161
88
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
88
    size_t Alignment = alignof(StringMapEntry);
163
88
164
88
    StringMapEntry *NewItem =
165
88
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
88
    assert(NewItem && "Unhandled out-of-memory");
167
88
168
88
    // Construct the value.
169
88
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
88
171
88
    // Copy the string information.
172
88
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
88
    if (KeyLength > 0)
174
88
      memcpy(StrBuffer, Key.data(), KeyLength);
175
88
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
88
    return NewItem;
177
88
  }
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.3k
                                InitTy &&... InitVals) {
157
12.3k
    size_t KeyLength = Key.size();
158
12.3k
159
12.3k
    // Allocate a new item with space for the string at the end and a null
160
12.3k
    // terminator.
161
12.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
12.3k
    size_t Alignment = alignof(StringMapEntry);
163
12.3k
164
12.3k
    StringMapEntry *NewItem =
165
12.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
12.3k
    assert(NewItem && "Unhandled out-of-memory");
167
12.3k
168
12.3k
    // Construct the value.
169
12.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
12.3k
171
12.3k
    // Copy the string information.
172
12.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
12.3k
    if (KeyLength > 0)
174
12.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
12.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
12.3k
    return NewItem;
177
12.3k
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>* llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
289
                                InitTy &&... InitVals) {
157
289
    size_t KeyLength = Key.size();
158
289
159
289
    // Allocate a new item with space for the string at the end and a null
160
289
    // terminator.
161
289
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
289
    size_t Alignment = alignof(StringMapEntry);
163
289
164
289
    StringMapEntry *NewItem =
165
289
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
289
    assert(NewItem && "Unhandled out-of-memory");
167
289
168
289
    // Construct the value.
169
289
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
289
171
289
    // Copy the string information.
172
289
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
289
    if (KeyLength > 0)
174
289
      memcpy(StrBuffer, Key.data(), KeyLength);
175
289
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
289
    return NewItem;
177
289
  }
llvm::StringMapEntry<llvm::RecordStreamer::State>* llvm::StringMapEntry<llvm::RecordStreamer::State>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
258
                                InitTy &&... InitVals) {
157
258
    size_t KeyLength = Key.size();
158
258
159
258
    // Allocate a new item with space for the string at the end and a null
160
258
    // terminator.
161
258
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
258
    size_t Alignment = alignof(StringMapEntry);
163
258
164
258
    StringMapEntry *NewItem =
165
258
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
258
    assert(NewItem && "Unhandled out-of-memory");
167
258
168
258
    // Construct the value.
169
258
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
258
171
258
    // Copy the string information.
172
258
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
258
    if (KeyLength > 0)
174
258
      memcpy(StrBuffer, Key.data(), KeyLength);
175
258
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
258
    return NewItem;
177
258
  }
llvm::StringMapEntry<llvm::GlobalValue const*>* llvm::StringMapEntry<llvm::GlobalValue const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
256
                                InitTy &&... InitVals) {
157
256
    size_t KeyLength = Key.size();
158
256
159
256
    // Allocate a new item with space for the string at the end and a null
160
256
    // terminator.
161
256
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
256
    size_t Alignment = alignof(StringMapEntry);
163
256
164
256
    StringMapEntry *NewItem =
165
256
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
256
    assert(NewItem && "Unhandled out-of-memory");
167
256
168
256
    // Construct the value.
169
256
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
256
171
256
    // Copy the string information.
172
256
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
256
    if (KeyLength > 0)
174
256
      memcpy(StrBuffer, Key.data(), KeyLength);
175
256
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
256
    return NewItem;
177
256
  }
llvm::StringMapEntry<lld::elf::OutputSection*>* llvm::StringMapEntry<lld::elf::OutputSection*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
372k
                                InitTy &&... InitVals) {
157
372k
    size_t KeyLength = Key.size();
158
372k
159
372k
    // Allocate a new item with space for the string at the end and a null
160
372k
    // terminator.
161
372k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
372k
    size_t Alignment = alignof(StringMapEntry);
163
372k
164
372k
    StringMapEntry *NewItem =
165
372k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
372k
    assert(NewItem && "Unhandled out-of-memory");
167
372k
168
372k
    // Construct the value.
169
372k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
372k
171
372k
    // Copy the string information.
172
372k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
372k
    if (KeyLength > 0)
174
372k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
372k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
372k
    return NewItem;
177
372k
  }
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >* llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
43
                                InitTy &&... InitVals) {
157
43
    size_t KeyLength = Key.size();
158
43
159
43
    // Allocate a new item with space for the string at the end and a null
160
43
    // terminator.
161
43
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
43
    size_t Alignment = alignof(StringMapEntry);
163
43
164
43
    StringMapEntry *NewItem =
165
43
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
43
    assert(NewItem && "Unhandled out-of-memory");
167
43
168
43
    // Construct the value.
169
43
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
43
171
43
    // Copy the string information.
172
43
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
43
    if (KeyLength > 0)
174
43
      memcpy(StrBuffer, Key.data(), KeyLength);
175
43
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
43
    return NewItem;
177
43
  }
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >* llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
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
  }
Unexecuted instantiation: llvm::StringMapEntry<lld::wasm::SectionSymbol*>* llvm::StringMapEntry<lld::wasm::SectionSymbol*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
llvm::StringMapEntry<lld::Atom const*>* llvm::StringMapEntry<lld::Atom const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
395
                                InitTy &&... InitVals) {
157
395
    size_t KeyLength = Key.size();
158
395
159
395
    // Allocate a new item with space for the string at the end and a null
160
395
    // terminator.
161
395
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
395
    size_t Alignment = alignof(StringMapEntry);
163
395
164
395
    StringMapEntry *NewItem =
165
395
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
395
    assert(NewItem && "Unhandled out-of-memory");
167
395
168
395
    // Construct the value.
169
395
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
395
171
395
    // Copy the string information.
172
395
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
395
    if (KeyLength > 0)
174
395
      memcpy(StrBuffer, Key.data(), KeyLength);
175
395
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
395
    return NewItem;
177
395
  }
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>* llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
231
                                InitTy &&... InitVals) {
157
231
    size_t KeyLength = Key.size();
158
231
159
231
    // Allocate a new item with space for the string at the end and a null
160
231
    // terminator.
161
231
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
231
    size_t Alignment = alignof(StringMapEntry);
163
231
164
231
    StringMapEntry *NewItem =
165
231
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
231
    assert(NewItem && "Unhandled out-of-memory");
167
231
168
231
    // Construct the value.
169
231
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
231
171
231
    // Copy the string information.
172
231
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
231
    if (KeyLength > 0)
174
231
      memcpy(StrBuffer, Key.data(), KeyLength);
175
231
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
231
    return NewItem;
177
231
  }
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >* llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
5
                                InitTy &&... InitVals) {
157
5
    size_t KeyLength = Key.size();
158
5
159
5
    // Allocate a new item with space for the string at the end and a null
160
5
    // terminator.
161
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5
    size_t Alignment = alignof(StringMapEntry);
163
5
164
5
    StringMapEntry *NewItem =
165
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5
    assert(NewItem && "Unhandled out-of-memory");
167
5
168
5
    // Construct the value.
169
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5
171
5
    // Copy the string information.
172
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5
    if (KeyLength > 0)
174
5
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5
    return NewItem;
177
5
  }
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>* llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
113
                                InitTy &&... InitVals) {
157
113
    size_t KeyLength = Key.size();
158
113
159
113
    // Allocate a new item with space for the string at the end and a null
160
113
    // terminator.
161
113
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
113
    size_t Alignment = alignof(StringMapEntry);
163
113
164
113
    StringMapEntry *NewItem =
165
113
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
113
    assert(NewItem && "Unhandled out-of-memory");
167
113
168
113
    // Construct the value.
169
113
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
113
171
113
    // Copy the string information.
172
113
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
113
    if (KeyLength > 0)
174
113
      memcpy(StrBuffer, Key.data(), KeyLength);
175
113
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
113
    return NewItem;
177
113
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&>(llvm::StringRef, llvm::MallocAllocator&, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&&&)
Line
Count
Source
156
29
                                InitTy &&... InitVals) {
157
29
    size_t KeyLength = Key.size();
158
29
159
29
    // Allocate a new item with space for the string at the end and a null
160
29
    // terminator.
161
29
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
29
    size_t Alignment = alignof(StringMapEntry);
163
29
164
29
    StringMapEntry *NewItem =
165
29
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
29
    assert(NewItem && "Unhandled out-of-memory");
167
29
168
29
    // Construct the value.
169
29
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
29
171
29
    // Copy the string information.
172
29
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
29
    if (KeyLength > 0)
174
29
      memcpy(StrBuffer, Key.data(), KeyLength);
175
29
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
29
    return NewItem;
177
29
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&)
Line
Count
Source
156
367
                                InitTy &&... InitVals) {
157
367
    size_t KeyLength = Key.size();
158
367
159
367
    // Allocate a new item with space for the string at the end and a null
160
367
    // terminator.
161
367
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
367
    size_t Alignment = alignof(StringMapEntry);
163
367
164
367
    StringMapEntry *NewItem =
165
367
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
367
    assert(NewItem && "Unhandled out-of-memory");
167
367
168
367
    // Construct the value.
169
367
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
367
171
367
    // Copy the string information.
172
367
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
367
    if (KeyLength > 0)
174
262
      memcpy(StrBuffer, Key.data(), KeyLength);
175
367
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
367
    return NewItem;
177
367
  }
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
359
                                InitTy &&... InitVals) {
157
359
    size_t KeyLength = Key.size();
158
359
159
359
    // Allocate a new item with space for the string at the end and a null
160
359
    // terminator.
161
359
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
359
    size_t Alignment = alignof(StringMapEntry);
163
359
164
359
    StringMapEntry *NewItem =
165
359
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
359
    assert(NewItem && "Unhandled out-of-memory");
167
359
168
359
    // Construct the value.
169
359
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
359
171
359
    // Copy the string information.
172
359
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
359
    if (KeyLength > 0)
174
359
      memcpy(StrBuffer, Key.data(), KeyLength);
175
359
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
359
    return NewItem;
177
359
  }
llvm::StringMapEntry<llvm::FileInfo::LineData>* llvm::StringMapEntry<llvm::FileInfo::LineData>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
46
                                InitTy &&... InitVals) {
157
46
    size_t KeyLength = Key.size();
158
46
159
46
    // Allocate a new item with space for the string at the end and a null
160
46
    // terminator.
161
46
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
46
    size_t Alignment = alignof(StringMapEntry);
163
46
164
46
    StringMapEntry *NewItem =
165
46
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
46
    assert(NewItem && "Unhandled out-of-memory");
167
46
168
46
    // Construct the value.
169
46
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
46
171
46
    // Copy the string information.
172
46
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
46
    if (KeyLength > 0)
174
46
      memcpy(StrBuffer, Key.data(), KeyLength);
175
46
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
46
    return NewItem;
177
46
  }
178
179
  /// Create - Create a StringMapEntry with normal malloc/free.
180
  template <typename... InitType>
181
2.56M
  static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
182
2.56M
    MallocAllocator A;
183
2.56M
    return Create(Key, A, std::forward<InitType>(InitVal)...);
184
2.56M
  }
185
186
2.56M
  static StringMapEntry *Create(StringRef Key) {
187
2.56M
    return Create(Key, ValueTy());
188
2.56M
  }
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
357M
  void Destroy(AllocatorTy &Allocator) {
201
357M
    // Free memory referenced by the item.
202
357M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
357M
    this->~StringMapEntry();
204
357M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
357M
  }
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
30.6k
  void Destroy(AllocatorTy &Allocator) {
201
30.6k
    // Free memory referenced by the item.
202
30.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
30.6k
    this->~StringMapEntry();
204
30.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
30.6k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
54.7k
  void Destroy(AllocatorTy &Allocator) {
201
54.7k
    // Free memory referenced by the item.
202
54.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
54.7k
    this->~StringMapEntry();
204
54.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
54.7k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
54.7k
  void Destroy(AllocatorTy &Allocator) {
201
54.7k
    // Free memory referenced by the item.
202
54.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
54.7k
    this->~StringMapEntry();
204
54.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
54.7k
  }
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.79k
  void Destroy(AllocatorTy &Allocator) {
201
1.79k
    // Free memory referenced by the item.
202
1.79k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.79k
    this->~StringMapEntry();
204
1.79k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.79k
  }
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<unsigned int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
21.7M
  void Destroy(AllocatorTy &Allocator) {
201
21.7M
    // Free memory referenced by the item.
202
21.7M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
21.7M
    this->~StringMapEntry();
204
21.7M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
21.7M
  }
void llvm::StringMapEntry<int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
20.2M
  void Destroy(AllocatorTy &Allocator) {
201
20.2M
    // Free memory referenced by the item.
202
20.2M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
20.2M
    this->~StringMapEntry();
204
20.2M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
20.2M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
287
  void Destroy(AllocatorTy &Allocator) {
201
287
    // Free memory referenced by the item.
202
287
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
287
    this->~StringMapEntry();
204
287
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
287
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.97k
  void Destroy(AllocatorTy &Allocator) {
201
2.97k
    // Free memory referenced by the item.
202
2.97k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.97k
    this->~StringMapEntry();
204
2.97k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.97k
  }
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<char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
450k
  void Destroy(AllocatorTy &Allocator) {
201
450k
    // Free memory referenced by the item.
202
450k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
450k
    this->~StringMapEntry();
204
450k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
450k
  }
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.27k
  void Destroy(AllocatorTy &Allocator) {
201
3.27k
    // Free memory referenced by the item.
202
3.27k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.27k
    this->~StringMapEntry();
204
3.27k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.27k
  }
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
41
  void Destroy(AllocatorTy &Allocator) {
201
41
    // Free memory referenced by the item.
202
41
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
41
    this->~StringMapEntry();
204
41
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
41
  }
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.05k
  void Destroy(AllocatorTy &Allocator) {
201
2.05k
    // Free memory referenced by the item.
202
2.05k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.05k
    this->~StringMapEntry();
204
2.05k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.05k
  }
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.73k
  void Destroy(AllocatorTy &Allocator) {
201
1.73k
    // Free memory referenced by the item.
202
1.73k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.73k
    this->~StringMapEntry();
204
1.73k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.73k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
191
  void Destroy(AllocatorTy &Allocator) {
201
191
    // Free memory referenced by the item.
202
191
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
191
    this->~StringMapEntry();
204
191
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
191
  }
void llvm::StringMapEntry<llvm::Function*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
321
  void Destroy(AllocatorTy &Allocator) {
201
321
    // Free memory referenced by the item.
202
321
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
321
    this->~StringMapEntry();
204
321
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
321
  }
void llvm::StringMapEntry<llvm::RTLIB::Libcall>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3.33k
  void Destroy(AllocatorTy &Allocator) {
201
3.33k
    // Free memory referenced by the item.
202
3.33k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.33k
    this->~StringMapEntry();
204
3.33k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.33k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
425
  void Destroy(AllocatorTy &Allocator) {
201
425
    // Free memory referenced by the item.
202
425
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
425
    this->~StringMapEntry();
204
425
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
425
  }
void llvm::StringMapEntry<unsigned long long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.03k
  void Destroy(AllocatorTy &Allocator) {
201
1.03k
    // Free memory referenced by the item.
202
1.03k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.03k
    this->~StringMapEntry();
204
1.03k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.03k
  }
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.1k
  void Destroy(AllocatorTy &Allocator) {
201
11.1k
    // Free memory referenced by the item.
202
11.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
11.1k
    this->~StringMapEntry();
204
11.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
11.1k
  }
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
864
  void Destroy(AllocatorTy &Allocator) {
201
864
    // Free memory referenced by the item.
202
864
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
864
    this->~StringMapEntry();
204
864
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
864
  }
void llvm::StringMapEntry<llvm::GCStrategy*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
25
  void Destroy(AllocatorTy &Allocator) {
201
25
    // Free memory referenced by the item.
202
25
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
25
    this->~StringMapEntry();
204
25
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
25
  }
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<llvm::ConstantDataSequential*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
80.7k
  void Destroy(AllocatorTy &Allocator) {
201
80.7k
    // Free memory referenced by the item.
202
80.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
80.7k
    this->~StringMapEntry();
204
80.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
80.7k
  }
void llvm::StringMapEntry<llvm::MDString>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
102k
  void Destroy(AllocatorTy &Allocator) {
201
102k
    // Free memory referenced by the item.
202
102k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
102k
    this->~StringMapEntry();
204
102k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
102k
  }
void llvm::StringMapEntry<llvm::StructType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
59.8k
  void Destroy(AllocatorTy &Allocator) {
201
59.8k
    // Free memory referenced by the item.
202
59.8k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
59.8k
    this->~StringMapEntry();
204
59.8k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
59.8k
  }
void llvm::StringMapEntry<unsigned char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
178k
  void Destroy(AllocatorTy &Allocator) {
201
178k
    // Free memory referenced by the item.
202
178k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
178k
    this->~StringMapEntry();
204
178k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
178k
  }
void llvm::StringMapEntry<llvm::Comdat>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
30.1k
  void Destroy(AllocatorTy &Allocator) {
201
30.1k
    // Free memory referenced by the item.
202
30.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
30.1k
    this->~StringMapEntry();
204
30.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
30.1k
  }
void llvm::StringMapEntry<llvm::NamedMDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
31.1k
  void Destroy(AllocatorTy &Allocator) {
201
31.1k
    // Free memory referenced by the item.
202
31.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
31.1k
    this->~StringMapEntry();
204
31.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
31.1k
  }
void llvm::StringMapEntry<llvm::PassInfo const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
28.4M
  void Destroy(AllocatorTy &Allocator) {
201
28.4M
    // Free memory referenced by the item.
202
28.4M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
28.4M
    this->~StringMapEntry();
204
28.4M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
28.4M
  }
void llvm::StringMapEntry<llvm::Value*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
11.0M
  void Destroy(AllocatorTy &Allocator) {
201
11.0M
    // Free memory referenced by the item.
202
11.0M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
11.0M
    this->~StringMapEntry();
204
11.0M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
11.0M
  }
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
613
  void Destroy(AllocatorTy &Allocator) {
201
613
    // Free memory referenced by the item.
202
613
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
613
    this->~StringMapEntry();
204
613
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
613
  }
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.09M
  void Destroy(AllocatorTy &Allocator) {
201
1.09M
    // Free memory referenced by the item.
202
1.09M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.09M
    this->~StringMapEntry();
204
1.09M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.09M
  }
void llvm::StringMapEntry<llvm::MCSymbol*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
4.21M
  void Destroy(AllocatorTy &Allocator) {
201
4.21M
    // Free memory referenced by the item.
202
4.21M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.21M
    this->~StringMapEntry();
204
4.21M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.21M
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
4.59M
  void Destroy(AllocatorTy &Allocator) {
201
4.59M
    // Free memory referenced by the item.
202
4.59M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.59M
    this->~StringMapEntry();
204
4.59M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.59M
  }
void llvm::StringMapEntry<llvm::MCSectionMachO*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
862k
  void Destroy(AllocatorTy &Allocator) {
201
862k
    // Free memory referenced by the item.
202
862k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
862k
    this->~StringMapEntry();
204
862k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
862k
  }
void llvm::StringMapEntry<llvm::MCAsmMacro>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
239
  void Destroy(AllocatorTy &Allocator) {
201
239
    // Free memory referenced by the item.
202
239
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
239
    this->~StringMapEntry();
204
239
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
239
  }
AsmParser.cpp:void llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.54M
  void Destroy(AllocatorTy &Allocator) {
201
2.54M
    // Free memory referenced by the item.
202
2.54M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.54M
    this->~StringMapEntry();
204
2.54M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.54M
  }
void llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
631k
  void Destroy(AllocatorTy &Allocator) {
201
631k
    // Free memory referenced by the item.
202
631k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
631k
    this->~StringMapEntry();
204
631k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
631k
  }
void llvm::StringMapEntry<llvm::cl::Option*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
139M
  void Destroy(AllocatorTy &Allocator) {
201
139M
    // Free memory referenced by the item.
202
139M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
139M
    this->~StringMapEntry();
204
139M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
139M
  }
void llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
294
  void Destroy(AllocatorTy &Allocator) {
201
294
    // Free memory referenced by the item.
202
294
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
294
    this->~StringMapEntry();
204
294
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
294
  }
void llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
319
  void Destroy(AllocatorTy &Allocator) {
201
319
    // Free memory referenced by the item.
202
319
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
319
    this->~StringMapEntry();
204
319
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
319
  }
void llvm::StringMapEntry<unsigned long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
34.2k
  void Destroy(AllocatorTy &Allocator) {
201
34.2k
    // Free memory referenced by the item.
202
34.2k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
34.2k
    this->~StringMapEntry();
204
34.2k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
34.2k
  }
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
132k
  void Destroy(AllocatorTy &Allocator) {
201
132k
    // Free memory referenced by the item.
202
132k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
132k
    this->~StringMapEntry();
204
132k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
132k
  }
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
391k
  void Destroy(AllocatorTy &Allocator) {
201
391k
    // Free memory referenced by the item.
202
391k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
391k
    this->~StringMapEntry();
204
391k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
391k
  }
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
181k
  void Destroy(AllocatorTy &Allocator) {
201
181k
    // Free memory referenced by the item.
202
181k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
181k
    this->~StringMapEntry();
204
181k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
181k
  }
void llvm::StringMapEntry<clang::FileEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
182k
  void Destroy(AllocatorTy &Allocator) {
201
182k
    // Free memory referenced by the item.
202
182k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
182k
    this->~StringMapEntry();
204
182k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
182k
  }
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
110M
  void Destroy(AllocatorTy &Allocator) {
201
110M
    // Free memory referenced by the item.
202
110M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
110M
    this->~StringMapEntry();
204
110M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
110M
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
68.3k
  void Destroy(AllocatorTy &Allocator) {
201
68.3k
    // Free memory referenced by the item.
202
68.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
68.3k
    this->~StringMapEntry();
204
68.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
68.3k
  }
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
521
  void Destroy(AllocatorTy &Allocator) {
201
521
    // Free memory referenced by the item.
202
521
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
521
    this->~StringMapEntry();