Coverage Report

Created: 2018-11-16 02:38

/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
//                     The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// This file defines the StringMap class.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_ADT_STRINGMAP_H
15
#define LLVM_ADT_STRINGMAP_H
16
17
#include "llvm/ADT/StringRef.h"
18
#include "llvm/ADT/iterator.h"
19
#include "llvm/ADT/iterator_range.h"
20
#include "llvm/Support/Allocator.h"
21
#include "llvm/Support/PointerLikeTypeTraits.h"
22
#include "llvm/Support/ErrorHandling.h"
23
#include <algorithm>
24
#include <cassert>
25
#include <cstdint>
26
#include <cstdlib>
27
#include <cstring>
28
#include <initializer_list>
29
#include <iterator>
30
#include <utility>
31
32
namespace llvm {
33
34
template<typename ValueTy> class StringMapConstIterator;
35
template<typename ValueTy> class StringMapIterator;
36
template<typename ValueTy> class StringMapKeyIterator;
37
38
/// StringMapEntryBase - Shared base class of StringMapEntry instances.
39
class StringMapEntryBase {
40
  size_t StrLen;
41
42
public:
43
429M
  explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
44
45
2.32G
  size_t getKeyLength() const { return StrLen; }
46
};
47
48
/// StringMapImpl - This is the base class of StringMap that is shared among
49
/// all of its instantiations.
50
class StringMapImpl {
51
protected:
52
  // Array of NumBuckets pointers to entries, null pointers are holes.
53
  // TheTable[NumBuckets] contains a sentinel value for easy iteration. Followed
54
  // by an array of the actual hash values as unsigned integers.
55
  StringMapEntryBase **TheTable = nullptr;
56
  unsigned NumBuckets = 0;
57
  unsigned NumItems = 0;
58
  unsigned NumTombstones = 0;
59
  unsigned ItemSize;
60
61
protected:
62
  explicit StringMapImpl(unsigned itemSize)
63
17.2M
      : ItemSize(itemSize) {}
64
  StringMapImpl(StringMapImpl &&RHS)
65
      : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),
66
        NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),
67
145k
        ItemSize(RHS.ItemSize) {
68
145k
    RHS.TheTable = nullptr;
69
145k
    RHS.NumBuckets = 0;
70
145k
    RHS.NumItems = 0;
71
145k
    RHS.NumTombstones = 0;
72
145k
  }
73
74
  StringMapImpl(unsigned InitSize, unsigned ItemSize);
75
  unsigned RehashTable(unsigned BucketNo = 0);
76
77
  /// LookupBucketFor - Look up the bucket that the specified string should end
78
  /// up in.  If it already exists as a key in the map, the Item pointer for the
79
  /// specified bucket will be non-null.  Otherwise, it will be null.  In either
80
  /// case, the FullHashValue field of the bucket will be set to the hash value
81
  /// of the string.
82
  unsigned LookupBucketFor(StringRef Key);
83
84
  /// FindKey - Look up the bucket that contains the specified key. If it exists
85
  /// in the map, return the bucket number of the key.  Otherwise return -1.
86
  /// This does not modify the map.
87
  int FindKey(StringRef Key) const;
88
89
  /// RemoveKey - Remove the specified StringMapEntry from the table, but do not
90
  /// delete it.  This aborts if the value isn't in the table.
91
  void RemoveKey(StringMapEntryBase *V);
92
93
  /// RemoveKey - Remove the StringMapEntry for the specified key from the
94
  /// table, returning it.  If the key is not in the table, this returns null.
95
  StringMapEntryBase *RemoveKey(StringRef Key);
96
97
  /// Allocate the table with the specified number of buckets and otherwise
98
  /// setup the map as empty.
99
  void init(unsigned Size);
100
101
public:
102
4.23G
  static StringMapEntryBase *getTombstoneVal() {
103
4.23G
    uintptr_t Val = static_cast<uintptr_t>(-1);
104
4.23G
    Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
105
4.23G
    return reinterpret_cast<StringMapEntryBase *>(Val);
106
4.23G
  }
107
108
11
  unsigned getNumBuckets() const { return NumBuckets; }
109
3
  unsigned getNumItems() const { return NumItems; }
110
111
23.3M
  bool empty() const { return NumItems == 0; }
112
4.83M
  unsigned size() const { return NumItems; }
113
114
74.5k
  void swap(StringMapImpl &Other) {
115
74.5k
    std::swap(TheTable, Other.TheTable);
116
74.5k
    std::swap(NumBuckets, Other.NumBuckets);
117
74.5k
    std::swap(NumItems, Other.NumItems);
118
74.5k
    std::swap(NumTombstones, Other.NumTombstones);
119
74.5k
  }
120
};
121
122
/// StringMapEntry - This is used to represent one value that is inserted into
123
/// a StringMap.  It contains the Value itself and the key: the string length
124
/// and data.
125
template<typename ValueTy>
126
class StringMapEntry : public StringMapEntryBase {
127
public:
128
  ValueTy second;
129
130
  explicit StringMapEntry(size_t strLen)
131
48.7M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
80.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
80.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
8.68k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned int>::StringMapEntry(unsigned long)
Line
Count
Source
131
3.34M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
290
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
2.54k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
4.83k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
999
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
1.98k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::AsmToken>::StringMapEntry(unsigned long)
Line
Count
Source
131
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
1.64k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
194
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry(unsigned long)
Line
Count
Source
131
269
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.96k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
310
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
13.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
1.01k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GCStrategy*>::StringMapEntry(unsigned long)
Line
Count
Source
131
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
131
614
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::StringMapEntry(unsigned long)
Line
Count
Source
131
143
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MDString>::StringMapEntry(unsigned long)
Line
Count
Source
131
414k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::NamedMDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
131
56.9k
    : 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
131
549
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::PassInfo const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
27.1M
    : 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
131
517
    : 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
131
420
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<bool>::StringMapEntry(unsigned long)
Line
Count
Source
131
876k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSymbol*>::StringMapEntry(unsigned long)
Line
Count
Source
131
4.19M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSectionMachO*>::StringMapEntry(unsigned long)
Line
Count
Source
131
880k
    : StringMapEntryBase(strLen), second() {}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::StringMapEntry(unsigned long)
Line
Count
Source
131
3.00M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::StringMapEntry(unsigned long)
Line
Count
Source
131
726k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long>::StringMapEntry(unsigned long)
Line
Count
Source
131
31.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
131
283
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::StringMapEntry(unsigned long)
Line
Count
Source
131
308
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
5
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Timer>::StringMapEntry(unsigned long)
Line
Count
Source
131
5
    : 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
131
300k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<void*>::StringMapEntry(unsigned long)
Line
Count
Source
131
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
131
36
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::FileData>::StringMapEntry(unsigned long)
Line
Count
Source
131
15
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::StringMapEntry(unsigned long)
Line
Count
Source
131
3.62M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Constant*>::StringMapEntry(unsigned long)
Line
Count
Source
131
46
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.04k
    : 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
131
3.41k
    : 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
131
115
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
205
    : 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
131
28.9k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<char const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
101
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<int>::StringMapEntry(unsigned long)
Line
Count
Source
131
775k
    : 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
131
2.01k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::SourceLocation>::StringMapEntry(unsigned long)
Line
Count
Source
131
15
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::StringMapEntry(unsigned long)
Line
Count
Source
131
32
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::StringMapEntry(unsigned long)
Line
Count
Source
131
151
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
85
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
72.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
131
17.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::StringMapEntry(unsigned long)
Line
Count
Source
131
848
    : 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
131
333
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry(unsigned long)
Line
Count
Source
131
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<FoundationClass>::StringMapEntry(unsigned long)
Line
Count
Source
131
91
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
20
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ento::BugType*>::StringMapEntry(unsigned long)
Line
Count
Source
131
515
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
27
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTUnit*>::StringMapEntry(unsigned long)
Line
Count
Source
131
14
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::StringMapEntry(unsigned long)
Line
Count
Source
131
3.95k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::StringMapEntry(unsigned long)
Line
Count
Source
131
73.1k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::StringMapEntry(unsigned long)
Line
Count
Source
131
9.53k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::TimeRecord>::StringMapEntry(unsigned long)
Line
Count
Source
131
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::StringMapEntry(unsigned long)
Line
Count
Source
131
88
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::StringMapEntry(unsigned long)
Line
Count
Source
131
397
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
367k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
131
14
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Module*>::StringMapEntry(unsigned long)
Line
Count
Source
131
72.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PragmaHandler*>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.04M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry(unsigned long)
Line
Count
Source
131
11.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RecordStreamer::State>::StringMapEntry(unsigned long)
Line
Count
Source
131
257
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalValue const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
255
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry(unsigned long)
Line
Count
Source
131
529
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::StringMapEntry(unsigned long)
Line
Count
Source
131
250
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::elf::OutputSection*>::StringMapEntry(unsigned long)
Line
Count
Source
131
370k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
43
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
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
131
231
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
5
    : StringMapEntryBase(strLen), second() {}
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
113
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::Atom const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
395
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::StringMapEntry(unsigned long)
Line
Count
Source
131
24
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned short>::StringMapEntry(unsigned long)
Line
Count
Source
131
33
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::FileInfo::LineData>::StringMapEntry(unsigned long)
Line
Count
Source
131
44
    : StringMapEntryBase(strLen), second() {}
132
  template <typename... InitTy>
133
  StringMapEntry(size_t strLen, InitTy &&... InitVals)
134
371M
      : 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
134
17
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<int>::StringMapEntry<int>(unsigned long, int&&)
Line
Count
Source
134
18.8M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char>(unsigned long, char&&)
Line
Count
Source
134
889k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int>(unsigned long, unsigned int&&)
Line
Count
Source
134
45.6M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::StringMapEntry<llvm::ConstantDataSequential*>(unsigned long, llvm::ConstantDataSequential*&&)
Line
Count
Source
134
478k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned char>::StringMapEntry<unsigned char>(unsigned long, unsigned char&&)
Line
Count
Source
134
194k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Comdat>::StringMapEntry<llvm::Comdat>(unsigned long, llvm::Comdat&&)
Line
Count
Source
134
30.3k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::StructType*>::StringMapEntry<llvm::StructType*>(unsigned long, llvm::StructType*&&)
Line
Count
Source
134
241k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Value*>::StringMapEntry<llvm::Value*>(unsigned long, llvm::Value*&&)
Line
Count
Source
134
16.7M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char&>(unsigned long, char&&&)
Line
Count
Source
134
7.81k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry<llvm::Function*>(unsigned long, llvm::Function*&&)
Line
Count
Source
134
23
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry<unsigned long long&>(unsigned long, unsigned long long&&&)
Line
Count
Source
134
56
      : 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
134
62
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<bool>::StringMapEntry<bool>(unsigned long, bool&&)
Line
Count
Source
134
4.57M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MCAsmMacro>::StringMapEntry<llvm::MCAsmMacro>(unsigned long, llvm::MCAsmMacro&&)
Line
Count
Source
134
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
134
134M
      : 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
134
111k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::IdentifierInfo*>::StringMapEntry<clang::IdentifierInfo*>(unsigned long, clang::IdentifierInfo*&&)
Line
Count
Source
134
144M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::DirectoryEntry*>::StringMapEntry<clang::DirectoryEntry*>(unsigned long, clang::DirectoryEntry*&&)
Line
Count
Source
134
388k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::FileEntry*>::StringMapEntry<clang::FileEntry*>(unsigned long, clang::FileEntry*&&)
Line
Count
Source
134
1.36M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::StringMapEntry<clang::MemoryBufferCache::BufferEntry>(unsigned long, clang::MemoryBufferCache::BufferEntry&&)
Line
Count
Source
134
5.66k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry<llvm::GlobalVariable*>(unsigned long, llvm::GlobalVariable*&&)
Line
Count
Source
134
308
      : 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
134
206
      : 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
134
34
      : 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
134
21
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::WeakTrackingVH>::StringMapEntry<llvm::Constant*&>(unsigned long, llvm::Constant*&&&)
Line
Count
Source
134
11
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::GlobalDecl>::StringMapEntry<clang::GlobalDecl>(unsigned long, clang::GlobalDecl&&)
Line
Count
Source
134
2.02M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::StringMapEntry<clang::OpenCLOptions::Info&>(unsigned long, clang::OpenCLOptions::Info&&&)
Line
Count
Source
134
411k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
CacheTokens.cpp:llvm::StringMapEntry<(anonymous namespace)::OffsetOpt>::StringMapEntry<(anonymous namespace)::OffsetOpt>(unsigned long, (anonymous namespace)::OffsetOpt&&)
Line
Count
Source
134
1
      : 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
134
561k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry<llvm::DIE const*>(unsigned long, llvm::DIE const*&&)
Line
Count
Source
134
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
134
73.5k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::StringMapEntry<llvm::DwarfStringPoolEntry>(unsigned long, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
134
85.4k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry<clang::Stmt*>(unsigned long, clang::Stmt*&&)
Line
Count
Source
134
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
134
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
134
20
      : 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
134
27
      : 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
134
38
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
Unexecuted instantiation: llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>(unsigned long, clang::HeaderSearch::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
134
771
      : 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
134
55
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Type*>::StringMapEntry<llvm::Type*>(unsigned long, llvm::Type*&&)
Line
Count
Source
134
82
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int const*>::StringMapEntry<unsigned int const*>(unsigned long, unsigned int const*&&)
Line
Count
Source
134
9.73k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::StringMapEntry<llvm::MachineMemOperand::Flags>(unsigned long, llvm::MachineMemOperand::Flags&&)
Line
Count
Source
134
38
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::VRegInfo*>::StringMapEntry<llvm::VRegInfo*>(unsigned long, llvm::VRegInfo*&&)
Line
Count
Source
134
24
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::StringMapEntry<llvm::TargetRegisterClass const*>(unsigned long, llvm::TargetRegisterClass const*&&)
Line
Count
Source
134
105k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::RegisterBank const*>::StringMapEntry<llvm::RegisterBank const*>(unsigned long, llvm::RegisterBank const*&&)
Line
Count
Source
134
2.64k
      : 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
134
29
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int&>(unsigned long, unsigned int&&&)
Line
Count
Source
134
351
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
135
  StringMapEntry(StringMapEntry &E) = delete;
136
137
476M
  StringRef getKey() const {
138
476M
    return StringRef(getKeyData(), getKeyLength());
139
476M
  }
llvm::StringMapEntry<unsigned int>::getKey() const
Line
Count
Source
137
1.52M
  StringRef getKey() const {
138
1.52M
    return StringRef(getKeyData(), getKeyLength());
139
1.52M
  }
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::getKey() const
Line
Count
Source
137
12
  StringRef getKey() const {
138
12
    return StringRef(getKeyData(), getKeyLength());
139
12
  }
llvm::StringMapEntry<llvm::StructType*>::getKey() const
Line
Count
Source
137
1.28M
  StringRef getKey() const {
138
1.28M
    return StringRef(getKeyData(), getKeyLength());
139
1.28M
  }
llvm::StringMapEntry<llvm::Value*>::getKey() const
Line
Count
Source
137
455M
  StringRef getKey() const {
138
455M
    return StringRef(getKeyData(), getKeyLength());
139
455M
  }
llvm::StringMapEntry<char>::getKey() const
Line
Count
Source
137
5.93M
  StringRef getKey() const {
138
5.93M
    return StringRef(getKeyData(), getKeyLength());
139
5.93M
  }
llvm::StringMapEntry<unsigned long long>::getKey() const
Line
Count
Source
137
82
  StringRef getKey() const {
138
82
    return StringRef(getKeyData(), getKeyLength());
139
82
  }
Unexecuted instantiation: GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKey() const
llvm::StringMapEntry<bool>::getKey() const
Line
Count
Source
137
604k
  StringRef getKey() const {
138
604k
    return StringRef(getKeyData(), getKeyLength());
139
604k
  }
llvm::StringMapEntry<llvm::cl::Option*>::getKey() const
Line
Count
Source
137
1.33k
  StringRef getKey() const {
138
1.33k
    return StringRef(getKeyData(), getKeyLength());
139
1.33k
  }
llvm::StringMapEntry<llvm::TimeRecord>::getKey() const
Line
Count
Source
137
1
  StringRef getKey() const {
138
1
    return StringRef(getKeyData(), getKeyLength());
139
1
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKey() const
Line
Count
Source
137
53
  StringRef getKey() const {
138
53
    return StringRef(getKeyData(), getKeyLength());
139
53
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKey() const
Line
Count
Source
137
442k
  StringRef getKey() const {
138
442k
    return StringRef(getKeyData(), getKeyLength());
139
442k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKey() const
Line
Count
Source
137
2.06k
  StringRef getKey() const {
138
2.06k
    return StringRef(getKeyData(), getKeyLength());
139
2.06k
  }
llvm::StringMapEntry<clang::IdentifierInfo*>::getKey() const
Line
Count
Source
137
10.7M
  StringRef getKey() const {
138
10.7M
    return StringRef(getKeyData(), getKeyLength());
139
10.7M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKey() const
Line
Count
Source
137
295
  StringRef getKey() const {
138
295
    return StringRef(getKeyData(), getKeyLength());
139
295
  }
llvm::StringMapEntry<llvm::Type*>::getKey() const
Line
Count
Source
137
55
  StringRef getKey() const {
138
55
    return StringRef(getKeyData(), getKeyLength());
139
55
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::getKey() const
Line
Count
Source
137
84
  StringRef getKey() const {
138
84
    return StringRef(getKeyData(), getKeyLength());
139
84
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKey() const
Line
Count
Source
137
65
  StringRef getKey() const {
138
65
    return StringRef(getKeyData(), getKeyLength());
139
65
  }
140
141
3.51M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned int>::getValue() const
Line
Count
Source
141
4.08k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::MCSymbol*>::getValue() const
Line
Count
Source
141
8.77k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Comdat>::getValue() const
Line
Count
Source
141
26.2k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue() const
Line
Count
Source
141
205k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long long>::getValue() const
Line
Count
Source
141
24
  const ValueTy &getValue() const { return second; }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getValue() const
Line
Count
Source
141
250k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getValue() const
Line
Count
Source
141
489
  const ValueTy &getValue() const { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::TimeRecord>::getValue() const
llvm::StringMapEntry<clang::FileEntry*>::getValue() const
Line
Count
Source
141
285k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<bool>::getValue() const
Line
Count
Source
141
624k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::WeakTrackingVH>::getValue() const
Line
Count
Source
141
22
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getValue() const
Line
Count
Source
141
53
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::GlobalDecl>::getValue() const
Line
Count
Source
141
2.16k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue() const
Line
Count
Source
141
40.3k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue() const
Line
Count
Source
141
1.44M
  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
141
329
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long>::getValue() const
Line
Count
Source
141
835
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::IdentifierInfo*>::getValue() const
Line
Count
Source
141
557k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::Module*>::getValue() const
Line
Count
Source
141
53.0k
  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
141
295
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue() const
Line
Count
Source
141
2.48k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue() const
Line
Count
Source
141
1.94k
  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
141
11
  const ValueTy &getValue() const { return second; }
142
1.59M
  ValueTy &getValue() { return second; }
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::getValue()
Line
Count
Source
142
825
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::AsmToken>::getValue()
Line
Count
Source
142
1
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int>::getValue()
Line
Count
Source
142
102k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::GCStrategy*>::getValue()
Line
Count
Source
142
41
  ValueTy &getValue() { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::ConstantDataSequential*>::getValue()
llvm::StringMapEntry<llvm::MDString>::getValue()
Line
Count
Source
142
676k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<char>::getValue()
Line
Count
Source
142
7.81k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned long long>::getValue()
Line
Count
Source
142
129
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Function*>::getValue()
Line
Count
Source
142
60
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue()
Line
Count
Source
142
82
  ValueTy &getValue() { return second; }
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getValue()
Line
Count
Source
142
62
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::MCAsmMacro>::getValue()
Line
Count
Source
142
197k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<bool>::getValue()
Line
Count
Source
142
100k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Constant*>::getValue()
Line
Count
Source
142
3
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue()
Line
Count
Source
142
411k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<int>::getValue()
Line
Count
Source
142
9.59k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::SourceLocation>::getValue()
Line
Count
Source
142
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
142
23
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue()
Line
Count
Source
142
1.93k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::Module*>::getValue()
Line
Count
Source
142
71.8k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int const*>::getValue()
Line
Count
Source
142
265
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue()
Line
Count
Source
142
5.84k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue()
Line
Count
Source
142
3.54k
  ValueTy &getValue() { return second; }
143
144
2.67M
  void setValue(const ValueTy &V) { second = V; }
145
146
  /// getKeyData - Return the start of the string data that is the key for this
147
  /// value.  The string data is always stored immediately after the
148
  /// StringMapEntry object.
149
1.66G
  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
149
80.2k
  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
149
80.2k
  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
149
8.68k
  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
149
17
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<bool>::getKeyData() const
Line
Count
Source
149
18.0M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int>::getKeyData() const
Line
Count
Source
149
50.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<int>::getKeyData() const
Line
Count
Source
149
19.6M
  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
149
290
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::getKeyData() const
Line
Count
Source
149
2.54k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char>::getKeyData() const
Line
Count
Source
149
6.86M
  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
149
4.83k
  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
149
999
  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
149
1.98k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AsmToken>::getKeyData() const
Line
Count
Source
149
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
149
1.64k
  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
149
194
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Function*>::getKeyData() const
Line
Count
Source
149
292
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::getKeyData() const
Line
Count
Source
149
2.96k
  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
149
310
  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
149
13.0k
  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
149
1.01k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GCStrategy*>::getKeyData() const
Line
Count
Source
149
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
149
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
149
2.58k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Comdat>::getKeyData() const
Line
Count
Source
149
118k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::getKeyData() const
Line
Count
Source
149
966k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned char>::getKeyData() const
Line
Count
Source
149
203k
  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
149
155
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MDString>::getKeyData() const
Line
Count
Source
149
32.9M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::NamedMDNode*>::getKeyData() const
Line
Count
Source
149
56.9k
  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
149
1.68k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::PassInfo const*>::getKeyData() const
Line
Count
Source
149
27.1M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StructType*>::getKeyData() const
Line
Count
Source
149
1.53M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Value*>::getKeyData() const
Line
Count
Source
149
472M
  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
149
865
  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
149
420
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long long>::getKeyData() const
Line
Count
Source
149
780
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKeyData() const
Line
Count
Source
149
62
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSymbol*>::getKeyData() const
Line
Count
Source
149
4.19M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSectionMachO*>::getKeyData() const
Line
Count
Source
149
880k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getKeyData() const
Line
Count
Source
149
3.00M
  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
149
726k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCAsmMacro>::getKeyData() const
Line
Count
Source
149
239
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::cl::Option*>::getKeyData() const
Line
Count
Source
149
134M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long>::getKeyData() const
Line
Count
Source
149
31.3k
  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
149
283
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getKeyData() const
Line
Count
Source
149
308
  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
149
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Timer>::getKeyData() const
Line
Count
Source
149
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TimeRecord>::getKeyData() const
Line
Count
Source
149
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
149
111k
  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
149
600k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<void*>::getKeyData() const
Line
Count
Source
149
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
149
98
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::IdentifierInfo*>::getKeyData() const
Line
Count
Source
149
875M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::DirectoryEntry*>::getKeyData() const
Line
Count
Source
149
776k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileEntry*>::getKeyData() const
Line
Count
Source
149
2.72M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileData>::getKeyData() const
Line
Count
Source
149
15
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::getKeyData() const
Line
Count
Source
149
5.66k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKeyData() const
Line
Count
Source
149
4.48M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Constant*>::getKeyData() const
Line
Count
Source
149
46
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalVariable*>::getKeyData() const
Line
Count
Source
149
2.67k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
149
412
  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
149
9.36k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKeyData() const
Line
Count
Source
149
108
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::WeakTrackingVH>::getKeyData() const
Line
Count
Source
149
11
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
149
230
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::GlobalDecl>::getKeyData() const
Line
Count
Source
149
4.05M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::getKeyData() const
Line
Count
Source
149
205
  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
149
28.9k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char const*>::getKeyData() const
Line
Count
Source
149
101
  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
149
575k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::SourceLocation>::getKeyData() const
Line
Count
Source
149
15
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
CacheTokens.cpp:llvm::StringMapEntry<(anonymous namespace)::OffsetOpt>::getKeyData() const
Line
Count
Source
149
2
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::getKeyData() const
Line
Count
Source
149
32
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::getKeyData() const
Line
Count
Source
149
602
  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
149
85
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getKeyData() const
Line
Count
Source
149
659k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DIE const*>::getKeyData() const
Line
Count
Source
149
144k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::getKeyData() const
Line
Count
Source
149
73.5k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SDNode*>::getKeyData() const
Line
Count
Source
149
17.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::getKeyData() const
Line
Count
Source
149
848
  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
149
333
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Stmt*>::getKeyData() const
Line
Count
Source
149
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<FoundationClass>::getKeyData() const
Line
Count
Source
149
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
149
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
149
286
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ento::BugType*>::getKeyData() const
Line
Count
Source
149
515
  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
149
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTUnit*>::getKeyData() const
Line
Count
Source
149
14
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::getKeyData() const
Line
Count
Source
149
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
149
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::getKeyData() const
Line
Count
Source
149
146k
  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
149
3
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::getKeyData() const
Line
Count
Source
149
9.53k
  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
149
38
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::getKeyData() const
Line
Count
Source
149
88
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::getKeyData() const
Line
Count
Source
149
506
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::getKeyData() const
Line
Count
Source
149
367k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
149
14
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Module*>::getKeyData() const
Line
Count
Source
149
72.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PragmaHandler*>::getKeyData() const
Line
Count
Source
149
2.04M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Type*>::getKeyData() const
Line
Count
Source
149
137
  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
149
12.0k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RecordStreamer::State>::getKeyData() const
Line
Count
Source
149
514
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalValue const*>::getKeyData() const
Line
Count
Source
149
255
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKeyData() const
Line
Count
Source
149
343
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int const*>::getKeyData() const
Line
Count
Source
149
9.73k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::getKeyData() const
Line
Count
Source
149
38
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::VRegInfo*>::getKeyData() const
Line
Count
Source
149
48
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getKeyData() const
Line
Count
Source
149
105k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RegisterBank const*>::getKeyData() const
Line
Count
Source
149
2.64k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::elf::OutputSection*>::getKeyData() const
Line
Count
Source
149
370k
  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
149
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
149
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
149
395
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::getKeyData() const
Line
Count
Source
149
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
149
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
149
113
  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
149
24
  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
149
141
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned short>::getKeyData() const
Line
Count
Source
149
33
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::FileInfo::LineData>::getKeyData() const
Line
Count
Source
149
88
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
150
151
50.1M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<bool>::first() const
Line
Count
Source
151
12.0M
  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
151
1.52k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::Comdat>::first() const
Line
Count
Source
151
87.6k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::ConstantDataSequential*>::first() const
Line
Count
Source
151
487k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<char>::first() const
Line
Count
Source
151
35.6k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned int>::first() const
Line
Count
Source
151
275k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned char>::first() const
Line
Count
Source
151
9.10k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::MDString>::first() const
Line
Count
Source
151
32.5M
  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
151
1.13k
  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
151
348
  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
151
300k
  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
151
62
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::DirectoryEntry*>::first() const
Line
Count
Source
151
388k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FileEntry*>::first() const
Line
Count
Source
151
1.36M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::GlobalVariable*>::first() const
Line
Count
Source
151
327
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::first() const
Line
Count
Source
151
206
  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
151
5.95k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::first() const
Line
Count
Source
151
115
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::GlobalDecl>::first() const
Line
Count
Source
151
2.02M
  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
151
451
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::first() const
Line
Count
Source
151
490k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::first() const
Line
Count
Source
151
73.0k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::first() const
Line
Count
Source
151
109
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::RecordStreamer::State>::first() const
Line
Count
Source
151
257
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned long long>::first() const
Line
Count
Source
151
90
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::first() const
Line
Count
Source
151
28
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::VRegInfo*>::first() const
Line
Count
Source
151
24
  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
151
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
151
18
  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
151
80
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::FileInfo::LineData>::first() const
Line
Count
Source
151
44
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
152
153
  /// Create a StringMapEntry for the specified key construct the value using
154
  /// \p InitiVals.
155
  template <typename AllocatorTy, typename... InitTy>
156
  static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator,
157
420M
                                InitTy &&... InitVals) {
158
420M
    size_t KeyLength = Key.size();
159
420M
160
420M
    // Allocate a new item with space for the string at the end and a null
161
420M
    // terminator.
162
420M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
420M
    size_t Alignment = alignof(StringMapEntry);
164
420M
165
420M
    StringMapEntry *NewItem =
166
420M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
420M
    assert(NewItem && "Unhandled out-of-memory");
168
420M
169
420M
    // Construct the value.
170
420M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
420M
172
420M
    // Copy the string information.
173
420M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
420M
    if (KeyLength > 0)
175
419M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
420M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
420M
    return NewItem;
178
420M
  }
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
157
80.2k
                                InitTy &&... InitVals) {
158
80.2k
    size_t KeyLength = Key.size();
159
80.2k
160
80.2k
    // Allocate a new item with space for the string at the end and a null
161
80.2k
    // terminator.
162
80.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
80.2k
    size_t Alignment = alignof(StringMapEntry);
164
80.2k
165
80.2k
    StringMapEntry *NewItem =
166
80.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
80.2k
    assert(NewItem && "Unhandled out-of-memory");
168
80.2k
169
80.2k
    // Construct the value.
170
80.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
80.2k
172
80.2k
    // Copy the string information.
173
80.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
80.2k
    if (KeyLength > 0)
175
80.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
80.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
80.2k
    return NewItem;
178
80.2k
  }
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
157
80.2k
                                InitTy &&... InitVals) {
158
80.2k
    size_t KeyLength = Key.size();
159
80.2k
160
80.2k
    // Allocate a new item with space for the string at the end and a null
161
80.2k
    // terminator.
162
80.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
80.2k
    size_t Alignment = alignof(StringMapEntry);
164
80.2k
165
80.2k
    StringMapEntry *NewItem =
166
80.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
80.2k
    assert(NewItem && "Unhandled out-of-memory");
168
80.2k
169
80.2k
    // Construct the value.
170
80.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
80.2k
172
80.2k
    // Copy the string information.
173
80.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
80.2k
    if (KeyLength > 0)
175
80.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
80.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
80.2k
    return NewItem;
178
80.2k
  }
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
157
8.68k
                                InitTy &&... InitVals) {
158
8.68k
    size_t KeyLength = Key.size();
159
8.68k
160
8.68k
    // Allocate a new item with space for the string at the end and a null
161
8.68k
    // terminator.
162
8.68k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
8.68k
    size_t Alignment = alignof(StringMapEntry);
164
8.68k
165
8.68k
    StringMapEntry *NewItem =
166
8.68k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
8.68k
    assert(NewItem && "Unhandled out-of-memory");
168
8.68k
169
8.68k
    // Construct the value.
170
8.68k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
8.68k
172
8.68k
    // Copy the string information.
173
8.68k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
8.68k
    if (KeyLength > 0)
175
7.53k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
8.68k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
8.68k
    return NewItem;
178
8.68k
  }
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
157
17
                                InitTy &&... InitVals) {
158
17
    size_t KeyLength = Key.size();
159
17
160
17
    // Allocate a new item with space for the string at the end and a null
161
17
    // terminator.
162
17
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
17
    size_t Alignment = alignof(StringMapEntry);
164
17
165
17
    StringMapEntry *NewItem =
166
17
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
17
    assert(NewItem && "Unhandled out-of-memory");
168
17
169
17
    // Construct the value.
170
17
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
17
172
17
    // Copy the string information.
173
17
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
17
    if (KeyLength > 0)
175
17
      memcpy(StrBuffer, Key.data(), KeyLength);
176
17
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
17
    return NewItem;
178
17
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3.34M
                                InitTy &&... InitVals) {
158
3.34M
    size_t KeyLength = Key.size();
159
3.34M
160
3.34M
    // Allocate a new item with space for the string at the end and a null
161
3.34M
    // terminator.
162
3.34M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.34M
    size_t Alignment = alignof(StringMapEntry);
164
3.34M
165
3.34M
    StringMapEntry *NewItem =
166
3.34M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.34M
    assert(NewItem && "Unhandled out-of-memory");
168
3.34M
169
3.34M
    // Construct the value.
170
3.34M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.34M
172
3.34M
    // Copy the string information.
173
3.34M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.34M
    if (KeyLength > 0)
175
3.34M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.34M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.34M
    return NewItem;
178
3.34M
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
157
18.8M
                                InitTy &&... InitVals) {
158
18.8M
    size_t KeyLength = Key.size();
159
18.8M
160
18.8M
    // Allocate a new item with space for the string at the end and a null
161
18.8M
    // terminator.
162
18.8M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
18.8M
    size_t Alignment = alignof(StringMapEntry);
164
18.8M
165
18.8M
    StringMapEntry *NewItem =
166
18.8M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
18.8M
    assert(NewItem && "Unhandled out-of-memory");
168
18.8M
169
18.8M
    // Construct the value.
170
18.8M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
18.8M
172
18.8M
    // Copy the string information.
173
18.8M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
18.8M
    if (KeyLength > 0)
175
18.7M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
18.8M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
18.8M
    return NewItem;
178
18.8M
  }
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
157
290
                                InitTy &&... InitVals) {
158
290
    size_t KeyLength = Key.size();
159
290
160
290
    // Allocate a new item with space for the string at the end and a null
161
290
    // terminator.
162
290
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
290
    size_t Alignment = alignof(StringMapEntry);
164
290
165
290
    StringMapEntry *NewItem =
166
290
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
290
    assert(NewItem && "Unhandled out-of-memory");
168
290
169
290
    // Construct the value.
170
290
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
290
172
290
    // Copy the string information.
173
290
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
290
    if (KeyLength > 0)
175
290
      memcpy(StrBuffer, Key.data(), KeyLength);
176
290
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
290
    return NewItem;
178
290
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.54k
                                InitTy &&... InitVals) {
158
2.54k
    size_t KeyLength = Key.size();
159
2.54k
160
2.54k
    // Allocate a new item with space for the string at the end and a null
161
2.54k
    // terminator.
162
2.54k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.54k
    size_t Alignment = alignof(StringMapEntry);
164
2.54k
165
2.54k
    StringMapEntry *NewItem =
166
2.54k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.54k
    assert(NewItem && "Unhandled out-of-memory");
168
2.54k
169
2.54k
    // Construct the value.
170
2.54k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.54k
172
2.54k
    // Copy the string information.
173
2.54k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.54k
    if (KeyLength > 0)
175
2.54k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.54k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.54k
    return NewItem;
178
2.54k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char>(llvm::StringRef, llvm::MallocAllocator&, char&&)
Line
Count
Source
157
889k
                                InitTy &&... InitVals) {
158
889k
    size_t KeyLength = Key.size();
159
889k
160
889k
    // Allocate a new item with space for the string at the end and a null
161
889k
    // terminator.
162
889k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
889k
    size_t Alignment = alignof(StringMapEntry);
164
889k
165
889k
    StringMapEntry *NewItem =
166
889k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
889k
    assert(NewItem && "Unhandled out-of-memory");
168
889k
169
889k
    // Construct the value.
170
889k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
889k
172
889k
    // Copy the string information.
173
889k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
889k
    if (KeyLength > 0)
175
889k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
889k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
889k
    return NewItem;
178
889k
  }
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
157
4.83k
                                InitTy &&... InitVals) {
158
4.83k
    size_t KeyLength = Key.size();
159
4.83k
160
4.83k
    // Allocate a new item with space for the string at the end and a null
161
4.83k
    // terminator.
162
4.83k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.83k
    size_t Alignment = alignof(StringMapEntry);
164
4.83k
165
4.83k
    StringMapEntry *NewItem =
166
4.83k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.83k
    assert(NewItem && "Unhandled out-of-memory");
168
4.83k
169
4.83k
    // Construct the value.
170
4.83k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.83k
172
4.83k
    // Copy the string information.
173
4.83k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.83k
    if (KeyLength > 0)
175
3.22k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.83k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.83k
    return NewItem;
178
4.83k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&)
Line
Count
Source
157
45.5M
                                InitTy &&... InitVals) {
158
45.5M
    size_t KeyLength = Key.size();
159
45.5M
160
45.5M
    // Allocate a new item with space for the string at the end and a null
161
45.5M
    // terminator.
162
45.5M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
45.5M
    size_t Alignment = alignof(StringMapEntry);
164
45.5M
165
45.5M
    StringMapEntry *NewItem =
166
45.5M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
45.5M
    assert(NewItem && "Unhandled out-of-memory");
168
45.5M
169
45.5M
    // Construct the value.
170
45.5M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
45.5M
172
45.5M
    // Copy the string information.
173
45.5M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
45.5M
    if (KeyLength > 0)
175
45.5M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
45.5M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
45.5M
    return NewItem;
178
45.5M
  }
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
157
999
                                InitTy &&... InitVals) {
158
999
    size_t KeyLength = Key.size();
159
999
160
999
    // Allocate a new item with space for the string at the end and a null
161
999
    // terminator.
162
999
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
999
    size_t Alignment = alignof(StringMapEntry);
164
999
165
999
    StringMapEntry *NewItem =
166
999
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
999
    assert(NewItem && "Unhandled out-of-memory");
168
999
169
999
    // Construct the value.
170
999
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
999
172
999
    // Copy the string information.
173
999
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
999
    if (KeyLength > 0)
175
487
      memcpy(StrBuffer, Key.data(), KeyLength);
176
999
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
999
    return NewItem;
178
999
  }
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
157
1.98k
                                InitTy &&... InitVals) {
158
1.98k
    size_t KeyLength = Key.size();
159
1.98k
160
1.98k
    // Allocate a new item with space for the string at the end and a null
161
1.98k
    // terminator.
162
1.98k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.98k
    size_t Alignment = alignof(StringMapEntry);
164
1.98k
165
1.98k
    StringMapEntry *NewItem =
166
1.98k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.98k
    assert(NewItem && "Unhandled out-of-memory");
168
1.98k
169
1.98k
    // Construct the value.
170
1.98k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.98k
172
1.98k
    // Copy the string information.
173
1.98k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.98k
    if (KeyLength > 0)
175
1.59k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.98k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.98k
    return NewItem;
178
1.98k
  }
llvm::StringMapEntry<llvm::AsmToken>* llvm::StringMapEntry<llvm::AsmToken>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
1
                                InitTy &&... InitVals) {
158
1
    size_t KeyLength = Key.size();
159
1
160
1
    // Allocate a new item with space for the string at the end and a null
161
1
    // terminator.
162
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1
    size_t Alignment = alignof(StringMapEntry);
164
1
165
1
    StringMapEntry *NewItem =
166
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1
    assert(NewItem && "Unhandled out-of-memory");
168
1
169
1
    // Construct the value.
170
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1
172
1
    // Copy the string information.
173
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1
    if (KeyLength > 0)
175
1
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1
    return NewItem;
178
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
157
1.64k
                                InitTy &&... InitVals) {
158
1.64k
    size_t KeyLength = Key.size();
159
1.64k
160
1.64k
    // Allocate a new item with space for the string at the end and a null
161
1.64k
    // terminator.
162
1.64k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.64k
    size_t Alignment = alignof(StringMapEntry);
164
1.64k
165
1.64k
    StringMapEntry *NewItem =
166
1.64k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.64k
    assert(NewItem && "Unhandled out-of-memory");
168
1.64k
169
1.64k
    // Construct the value.
170
1.64k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.64k
172
1.64k
    // Copy the string information.
173
1.64k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.64k
    if (KeyLength > 0)
175
1.63k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.64k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.64k
    return NewItem;
178
1.64k
  }
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
157
194
                                InitTy &&... InitVals) {
158
194
    size_t KeyLength = Key.size();
159
194
160
194
    // Allocate a new item with space for the string at the end and a null
161
194
    // terminator.
162
194
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
194
    size_t Alignment = alignof(StringMapEntry);
164
194
165
194
    StringMapEntry *NewItem =
166
194
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
194
    assert(NewItem && "Unhandled out-of-memory");
168
194
169
194
    // Construct the value.
170
194
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
194
172
194
    // Copy the string information.
173
194
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
194
    if (KeyLength > 0)
175
58
      memcpy(StrBuffer, Key.data(), KeyLength);
176
194
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
194
    return NewItem;
178
194
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
269
                                InitTy &&... InitVals) {
158
269
    size_t KeyLength = Key.size();
159
269
160
269
    // Allocate a new item with space for the string at the end and a null
161
269
    // terminator.
162
269
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
269
    size_t Alignment = alignof(StringMapEntry);
164
269
165
269
    StringMapEntry *NewItem =
166
269
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
269
    assert(NewItem && "Unhandled out-of-memory");
168
269
169
269
    // Construct the value.
170
269
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
269
172
269
    // Copy the string information.
173
269
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
269
    if (KeyLength > 0)
175
269
      memcpy(StrBuffer, Key.data(), KeyLength);
176
269
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
269
    return NewItem;
178
269
  }
llvm::StringMapEntry<llvm::RTLIB::Libcall>* llvm::StringMapEntry<llvm::RTLIB::Libcall>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.96k
                                InitTy &&... InitVals) {
158
2.96k
    size_t KeyLength = Key.size();
159
2.96k
160
2.96k
    // Allocate a new item with space for the string at the end and a null
161
2.96k
    // terminator.
162
2.96k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.96k
    size_t Alignment = alignof(StringMapEntry);
164
2.96k
165
2.96k
    StringMapEntry *NewItem =
166
2.96k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.96k
    assert(NewItem && "Unhandled out-of-memory");
168
2.96k
169
2.96k
    // Construct the value.
170
2.96k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.96k
172
2.96k
    // Copy the string information.
173
2.96k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.96k
    if (KeyLength > 0)
175
2.96k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.96k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.96k
    return NewItem;
178
2.96k
  }
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
157
310
                                InitTy &&... InitVals) {
158
310
    size_t KeyLength = Key.size();
159
310
160
310
    // Allocate a new item with space for the string at the end and a null
161
310
    // terminator.
162
310
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
310
    size_t Alignment = alignof(StringMapEntry);
164
310
165
310
    StringMapEntry *NewItem =
166
310
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
310
    assert(NewItem && "Unhandled out-of-memory");
168
310
169
310
    // Construct the value.
170
310
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
310
172
310
    // Copy the string information.
173
310
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
310
    if (KeyLength > 0)
175
69
      memcpy(StrBuffer, Key.data(), KeyLength);
176
310
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
310
    return NewItem;
178
310
  }
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
157
13.0k
                                InitTy &&... InitVals) {
158
13.0k
    size_t KeyLength = Key.size();
159
13.0k
160
13.0k
    // Allocate a new item with space for the string at the end and a null
161
13.0k
    // terminator.
162
13.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
13.0k
    size_t Alignment = alignof(StringMapEntry);
164
13.0k
165
13.0k
    StringMapEntry *NewItem =
166
13.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
13.0k
    assert(NewItem && "Unhandled out-of-memory");
168
13.0k
169
13.0k
    // Construct the value.
170
13.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
13.0k
172
13.0k
    // Copy the string information.
173
13.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
13.0k
    if (KeyLength > 0)
175
8.66k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
13.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
13.0k
    return NewItem;
178
13.0k
  }
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
157
1.01k
                                InitTy &&... InitVals) {
158
1.01k
    size_t KeyLength = Key.size();
159
1.01k
160
1.01k
    // Allocate a new item with space for the string at the end and a null
161
1.01k
    // terminator.
162
1.01k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.01k
    size_t Alignment = alignof(StringMapEntry);
164
1.01k
165
1.01k
    StringMapEntry *NewItem =
166
1.01k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.01k
    assert(NewItem && "Unhandled out-of-memory");
168
1.01k
169
1.01k
    // Construct the value.
170
1.01k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.01k
172
1.01k
    // Copy the string information.
173
1.01k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.01k
    if (KeyLength > 0)
175
1.01k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.01k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.01k
    return NewItem;
178
1.01k
  }
llvm::StringMapEntry<llvm::GCStrategy*>* llvm::StringMapEntry<llvm::GCStrategy*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
25
                                InitTy &&... InitVals) {
158
25
    size_t KeyLength = Key.size();
159
25
160
25
    // Allocate a new item with space for the string at the end and a null
161
25
    // terminator.
162
25
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
25
    size_t Alignment = alignof(StringMapEntry);
164
25
165
25
    StringMapEntry *NewItem =
166
25
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
25
    assert(NewItem && "Unhandled out-of-memory");
168
25
169
25
    // Construct the value.
170
25
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
25
172
25
    // Copy the string information.
173
25
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
25
    if (KeyLength > 0)
175
25
      memcpy(StrBuffer, Key.data(), KeyLength);
176
25
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
25
    return NewItem;
178
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
157
614
                                InitTy &&... InitVals) {
158
614
    size_t KeyLength = Key.size();
159
614
160
614
    // Allocate a new item with space for the string at the end and a null
161
614
    // terminator.
162
614
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
614
    size_t Alignment = alignof(StringMapEntry);
164
614
165
614
    StringMapEntry *NewItem =
166
614
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
614
    assert(NewItem && "Unhandled out-of-memory");
168
614
169
614
    // Construct the value.
170
614
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
614
172
614
    // Copy the string information.
173
614
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
614
    if (KeyLength > 0)
175
614
      memcpy(StrBuffer, Key.data(), KeyLength);
176
614
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
614
    return NewItem;
178
614
  }
llvm::StringMapEntry<llvm::ConstantDataSequential*>* llvm::StringMapEntry<llvm::ConstantDataSequential*>::Create<llvm::MallocAllocator, llvm::ConstantDataSequential*>(llvm::StringRef, llvm::MallocAllocator&, llvm::ConstantDataSequential*&&)
Line
Count
Source
157
478k
                                InitTy &&... InitVals) {
158
478k
    size_t KeyLength = Key.size();
159
478k
160
478k
    // Allocate a new item with space for the string at the end and a null
161
478k
    // terminator.
162
478k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
478k
    size_t Alignment = alignof(StringMapEntry);
164
478k
165
478k
    StringMapEntry *NewItem =
166
478k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
478k
    assert(NewItem && "Unhandled out-of-memory");
168
478k
169
478k
    // Construct the value.
170
478k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
478k
172
478k
    // Copy the string information.
173
478k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
478k
    if (KeyLength > 0)
175
478k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
478k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
478k
    return NewItem;
178
478k
  }
llvm::StringMapEntry<unsigned char>* llvm::StringMapEntry<unsigned char>::Create<llvm::MallocAllocator, unsigned char>(llvm::StringRef, llvm::MallocAllocator&, unsigned char&&)
Line
Count
Source
157
194k
                                InitTy &&... InitVals) {
158
194k
    size_t KeyLength = Key.size();
159
194k
160
194k
    // Allocate a new item with space for the string at the end and a null
161
194k
    // terminator.
162
194k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
194k
    size_t Alignment = alignof(StringMapEntry);
164
194k
165
194k
    StringMapEntry *NewItem =
166
194k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
194k
    assert(NewItem && "Unhandled out-of-memory");
168
194k
169
194k
    // Construct the value.
170
194k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
194k
172
194k
    // Copy the string information.
173
194k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
194k
    if (KeyLength > 0)
175
100k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
194k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
194k
    return NewItem;
178
194k
  }
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
157
143
                                InitTy &&... InitVals) {
158
143
    size_t KeyLength = Key.size();
159
143
160
143
    // Allocate a new item with space for the string at the end and a null
161
143
    // terminator.
162
143
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
143
    size_t Alignment = alignof(StringMapEntry);
164
143
165
143
    StringMapEntry *NewItem =
166
143
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
143
    assert(NewItem && "Unhandled out-of-memory");
168
143
169
143
    // Construct the value.
170
143
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
143
172
143
    // Copy the string information.
173
143
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
143
    if (KeyLength > 0)
175
143
      memcpy(StrBuffer, Key.data(), KeyLength);
176
143
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
143
    return NewItem;
178
143
  }
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
157
414k
                                InitTy &&... InitVals) {
158
414k
    size_t KeyLength = Key.size();
159
414k
160
414k
    // Allocate a new item with space for the string at the end and a null
161
414k
    // terminator.
162
414k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
414k
    size_t Alignment = alignof(StringMapEntry);
164
414k
165
414k
    StringMapEntry *NewItem =
166
414k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
414k
    assert(NewItem && "Unhandled out-of-memory");
168
414k
169
414k
    // Construct the value.
170
414k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
414k
172
414k
    // Copy the string information.
173
414k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
414k
    if (KeyLength > 0)
175
409k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
414k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
414k
    return NewItem;
178
414k
  }
llvm::StringMapEntry<llvm::NamedMDNode*>* llvm::StringMapEntry<llvm::NamedMDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
56.9k
                                InitTy &&... InitVals) {
158
56.9k
    size_t KeyLength = Key.size();
159
56.9k
160
56.9k
    // Allocate a new item with space for the string at the end and a null
161
56.9k
    // terminator.
162
56.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
56.9k
    size_t Alignment = alignof(StringMapEntry);
164
56.9k
165
56.9k
    StringMapEntry *NewItem =
166
56.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
56.9k
    assert(NewItem && "Unhandled out-of-memory");
168
56.9k
169
56.9k
    // Construct the value.
170
56.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
56.9k
172
56.9k
    // Copy the string information.
173
56.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
56.9k
    if (KeyLength > 0)
175
56.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
56.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
56.9k
    return NewItem;
178
56.9k
  }
llvm::StringMapEntry<llvm::Comdat>* llvm::StringMapEntry<llvm::Comdat>::Create<llvm::MallocAllocator, llvm::Comdat>(llvm::StringRef, llvm::MallocAllocator&, llvm::Comdat&&)
Line
Count
Source
157
30.3k
                                InitTy &&... InitVals) {
158
30.3k
    size_t KeyLength = Key.size();
159
30.3k
160
30.3k
    // Allocate a new item with space for the string at the end and a null
161
30.3k
    // terminator.
162
30.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
30.3k
    size_t Alignment = alignof(StringMapEntry);
164
30.3k
165
30.3k
    StringMapEntry *NewItem =
166
30.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
30.3k
    assert(NewItem && "Unhandled out-of-memory");
168
30.3k
169
30.3k
    // Construct the value.
170
30.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
30.3k
172
30.3k
    // Copy the string information.
173
30.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
30.3k
    if (KeyLength > 0)
175
30.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
30.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
30.3k
    return NewItem;
178
30.3k
  }
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
157
549
                                InitTy &&... InitVals) {
158
549
    size_t KeyLength = Key.size();
159
549
160
549
    // Allocate a new item with space for the string at the end and a null
161
549
    // terminator.
162
549
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
549
    size_t Alignment = alignof(StringMapEntry);
164
549
165
549
    StringMapEntry *NewItem =
166
549
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
549
    assert(NewItem && "Unhandled out-of-memory");
168
549
169
549
    // Construct the value.
170
549
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
549
172
549
    // Copy the string information.
173
549
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
549
    if (KeyLength > 0)
175
526
      memcpy(StrBuffer, Key.data(), KeyLength);
176
549
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
549
    return NewItem;
178
549
  }
llvm::StringMapEntry<llvm::PassInfo const*>* llvm::StringMapEntry<llvm::PassInfo const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
27.1M
                                InitTy &&... InitVals) {
158
27.1M
    size_t KeyLength = Key.size();
159
27.1M
160
27.1M
    // Allocate a new item with space for the string at the end and a null
161
27.1M
    // terminator.
162
27.1M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
27.1M
    size_t Alignment = alignof(StringMapEntry);
164
27.1M
165
27.1M
    StringMapEntry *NewItem =
166
27.1M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
27.1M
    assert(NewItem && "Unhandled out-of-memory");
168
27.1M
169
27.1M
    // Construct the value.
170
27.1M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
27.1M
172
27.1M
    // Copy the string information.
173
27.1M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
27.1M
    if (KeyLength > 0)
175
27.1M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
27.1M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
27.1M
    return NewItem;
178
27.1M
  }
llvm::StringMapEntry<llvm::StructType*>* llvm::StringMapEntry<llvm::StructType*>::Create<llvm::MallocAllocator, llvm::StructType*>(llvm::StringRef, llvm::MallocAllocator&, llvm::StructType*&&)
Line
Count
Source
157
241k
                                InitTy &&... InitVals) {
158
241k
    size_t KeyLength = Key.size();
159
241k
160
241k
    // Allocate a new item with space for the string at the end and a null
161
241k
    // terminator.
162
241k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
241k
    size_t Alignment = alignof(StringMapEntry);
164
241k
165
241k
    StringMapEntry *NewItem =
166
241k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
241k
    assert(NewItem && "Unhandled out-of-memory");
168
241k
169
241k
    // Construct the value.
170
241k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
241k
172
241k
    // Copy the string information.
173
241k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
241k
    if (KeyLength > 0)
175
241k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
241k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
241k
    return NewItem;
178
241k
  }
llvm::StringMapEntry<llvm::Value*>* llvm::StringMapEntry<llvm::Value*>::Create<llvm::MallocAllocator, llvm::Value*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Value*&&)
Line
Count
Source
157
16.7M
                                InitTy &&... InitVals) {
158
16.7M
    size_t KeyLength = Key.size();
159
16.7M
160
16.7M
    // Allocate a new item with space for the string at the end and a null
161
16.7M
    // terminator.
162
16.7M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
16.7M
    size_t Alignment = alignof(StringMapEntry);
164
16.7M
165
16.7M
    StringMapEntry *NewItem =
166
16.7M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
16.7M
    assert(NewItem && "Unhandled out-of-memory");
168
16.7M
169
16.7M
    // Construct the value.
170
16.7M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
16.7M
172
16.7M
    // Copy the string information.
173
16.7M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
16.7M
    if (KeyLength > 0)
175
16.7M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
16.7M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
16.7M
    return NewItem;
178
16.7M
  }
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
157
517
                                InitTy &&... InitVals) {
158
517
    size_t KeyLength = Key.size();
159
517
160
517
    // Allocate a new item with space for the string at the end and a null
161
517
    // terminator.
162
517
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
517
    size_t Alignment = alignof(StringMapEntry);
164
517
165
517
    StringMapEntry *NewItem =
166
517
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
517
    assert(NewItem && "Unhandled out-of-memory");
168
517
169
517
    // Construct the value.
170
517
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
517
172
517
    // Copy the string information.
173
517
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
517
    if (KeyLength > 0)
175
517
      memcpy(StrBuffer, Key.data(), KeyLength);
176
517
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
517
    return NewItem;
178
517
  }
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
157
420
                                InitTy &&... InitVals) {
158
420
    size_t KeyLength = Key.size();
159
420
160
420
    // Allocate a new item with space for the string at the end and a null
161
420
    // terminator.
162
420
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
420
    size_t Alignment = alignof(StringMapEntry);
164
420
165
420
    StringMapEntry *NewItem =
166
420
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
420
    assert(NewItem && "Unhandled out-of-memory");
168
420
169
420
    // Construct the value.
170
420
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
420
172
420
    // Copy the string information.
173
420
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
420
    if (KeyLength > 0)
175
407
      memcpy(StrBuffer, Key.data(), KeyLength);
176
420
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
420
    return NewItem;
178
420
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char&>(llvm::StringRef, llvm::MallocAllocator&, char&&&)
Line
Count
Source
157
7.81k
                                InitTy &&... InitVals) {
158
7.81k
    size_t KeyLength = Key.size();
159
7.81k
160
7.81k
    // Allocate a new item with space for the string at the end and a null
161
7.81k
    // terminator.
162
7.81k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
7.81k
    size_t Alignment = alignof(StringMapEntry);
164
7.81k
165
7.81k
    StringMapEntry *NewItem =
166
7.81k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
7.81k
    assert(NewItem && "Unhandled out-of-memory");
168
7.81k
169
7.81k
    // Construct the value.
170
7.81k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
7.81k
172
7.81k
    // Copy the string information.
173
7.81k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
7.81k
    if (KeyLength > 0)
175
7.81k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
7.81k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
7.81k
    return NewItem;
178
7.81k
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator, llvm::Function*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Function*&&)
Line
Count
Source
157
23
                                InitTy &&... InitVals) {
158
23
    size_t KeyLength = Key.size();
159
23
160
23
    // Allocate a new item with space for the string at the end and a null
161
23
    // terminator.
162
23
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
23
    size_t Alignment = alignof(StringMapEntry);
164
23
165
23
    StringMapEntry *NewItem =
166
23
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
23
    assert(NewItem && "Unhandled out-of-memory");
168
23
169
23
    // Construct the value.
170
23
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
23
172
23
    // Copy the string information.
173
23
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
23
    if (KeyLength > 0)
175
23
      memcpy(StrBuffer, Key.data(), KeyLength);
176
23
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
23
    return NewItem;
178
23
  }
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
157
56
                                InitTy &&... InitVals) {
158
56
    size_t KeyLength = Key.size();
159
56
160
56
    // Allocate a new item with space for the string at the end and a null
161
56
    // terminator.
162
56
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
56
    size_t Alignment = alignof(StringMapEntry);
164
56
165
56
    StringMapEntry *NewItem =
166
56
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
56
    assert(NewItem && "Unhandled out-of-memory");
168
56
169
56
    // Construct the value.
170
56
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
56
172
56
    // Copy the string information.
173
56
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
56
    if (KeyLength > 0)
175
56
      memcpy(StrBuffer, Key.data(), KeyLength);
176
56
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
56
    return NewItem;
178
56
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
529
                                InitTy &&... InitVals) {
158
529
    size_t KeyLength = Key.size();
159
529
160
529
    // Allocate a new item with space for the string at the end and a null
161
529
    // terminator.
162
529
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
529
    size_t Alignment = alignof(StringMapEntry);
164
529
165
529
    StringMapEntry *NewItem =
166
529
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
529
    assert(NewItem && "Unhandled out-of-memory");
168
529
169
529
    // Construct the value.
170
529
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
529
172
529
    // Copy the string information.
173
529
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
529
    if (KeyLength > 0)
175
525
      memcpy(StrBuffer, Key.data(), KeyLength);
176
529
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
529
    return NewItem;
178
529
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
876k
                                InitTy &&... InitVals) {
158
876k
    size_t KeyLength = Key.size();
159
876k
160
876k
    // Allocate a new item with space for the string at the end and a null
161
876k
    // terminator.
162
876k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
876k
    size_t Alignment = alignof(StringMapEntry);
164
876k
165
876k
    StringMapEntry *NewItem =
166
876k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
876k
    assert(NewItem && "Unhandled out-of-memory");
168
876k
169
876k
    // Construct the value.
170
876k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
876k
172
876k
    // Copy the string information.
173
876k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
876k
    if (KeyLength > 0)
175
876k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
876k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
876k
    return NewItem;
178
876k
  }
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
157
62
                                InitTy &&... InitVals) {
158
62
    size_t KeyLength = Key.size();
159
62
160
62
    // Allocate a new item with space for the string at the end and a null
161
62
    // terminator.
162
62
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
62
    size_t Alignment = alignof(StringMapEntry);
164
62
165
62
    StringMapEntry *NewItem =
166
62
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
62
    assert(NewItem && "Unhandled out-of-memory");
168
62
169
62
    // Construct the value.
170
62
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
62
172
62
    // Copy the string information.
173
62
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
62
    if (KeyLength > 0)
175
62
      memcpy(StrBuffer, Key.data(), KeyLength);
176
62
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
62
    return NewItem;
178
62
  }
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
157
4.19M
                                InitTy &&... InitVals) {
158
4.19M
    size_t KeyLength = Key.size();
159
4.19M
160
4.19M
    // Allocate a new item with space for the string at the end and a null
161
4.19M
    // terminator.
162
4.19M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.19M
    size_t Alignment = alignof(StringMapEntry);
164
4.19M
165
4.19M
    StringMapEntry *NewItem =
166
4.19M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.19M
    assert(NewItem && "Unhandled out-of-memory");
168
4.19M
169
4.19M
    // Construct the value.
170
4.19M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.19M
172
4.19M
    // Copy the string information.
173
4.19M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.19M
    if (KeyLength > 0)
175
4.19M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.19M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.19M
    return NewItem;
178
4.19M
  }
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
157
4.56M
                                InitTy &&... InitVals) {
158
4.56M
    size_t KeyLength = Key.size();
159
4.56M
160
4.56M
    // Allocate a new item with space for the string at the end and a null
161
4.56M
    // terminator.
162
4.56M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.56M
    size_t Alignment = alignof(StringMapEntry);
164
4.56M
165
4.56M
    StringMapEntry *NewItem =
166
4.56M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.56M
    assert(NewItem && "Unhandled out-of-memory");
168
4.56M
169
4.56M
    // Construct the value.
170
4.56M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.56M
172
4.56M
    // Copy the string information.
173
4.56M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.56M
    if (KeyLength > 0)
175
4.56M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.56M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.56M
    return NewItem;
178
4.56M
  }
llvm::StringMapEntry<llvm::MCSectionMachO*>* llvm::StringMapEntry<llvm::MCSectionMachO*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
880k
                                InitTy &&... InitVals) {
158
880k
    size_t KeyLength = Key.size();
159
880k
160
880k
    // Allocate a new item with space for the string at the end and a null
161
880k
    // terminator.
162
880k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
880k
    size_t Alignment = alignof(StringMapEntry);
164
880k
165
880k
    StringMapEntry *NewItem =
166
880k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
880k
    assert(NewItem && "Unhandled out-of-memory");
168
880k
169
880k
    // Construct the value.
170
880k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
880k
172
880k
    // Copy the string information.
173
880k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
880k
    if (KeyLength > 0)
175
880k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
880k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
880k
    return NewItem;
178
880k
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator, bool>(llvm::StringRef, llvm::MallocAllocator&, bool&&)
Line
Count
Source
157
3.95k
                                InitTy &&... InitVals) {
158
3.95k
    size_t KeyLength = Key.size();
159
3.95k
160
3.95k
    // Allocate a new item with space for the string at the end and a null
161
3.95k
    // terminator.
162
3.95k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.95k
    size_t Alignment = alignof(StringMapEntry);
164
3.95k
165
3.95k
    StringMapEntry *NewItem =
166
3.95k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.95k
    assert(NewItem && "Unhandled out-of-memory");
168
3.95k
169
3.95k
    // Construct the value.
170
3.95k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.95k
172
3.95k
    // Copy the string information.
173
3.95k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.95k
    if (KeyLength > 0)
175
3.95k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.95k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.95k
    return NewItem;
178
3.95k
  }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>* llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3.00M
                                InitTy &&... InitVals) {
158
3.00M
    size_t KeyLength = Key.size();
159
3.00M
160
3.00M
    // Allocate a new item with space for the string at the end and a null
161
3.00M
    // terminator.
162
3.00M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.00M
    size_t Alignment = alignof(StringMapEntry);
164
3.00M
165
3.00M
    StringMapEntry *NewItem =
166
3.00M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.00M
    assert(NewItem && "Unhandled out-of-memory");
168
3.00M
169
3.00M
    // Construct the value.
170
3.00M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.00M
172
3.00M
    // Copy the string information.
173
3.00M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.00M
    if (KeyLength > 0)
175
3.00M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.00M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.00M
    return NewItem;
178
3.00M
  }
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
157
726k
                                InitTy &&... InitVals) {
158
726k
    size_t KeyLength = Key.size();
159
726k
160
726k
    // Allocate a new item with space for the string at the end and a null
161
726k
    // terminator.
162
726k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
726k
    size_t Alignment = alignof(StringMapEntry);
164
726k
165
726k
    StringMapEntry *NewItem =
166
726k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
726k
    assert(NewItem && "Unhandled out-of-memory");
168
726k
169
726k
    // Construct the value.
170
726k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
726k
172
726k
    // Copy the string information.
173
726k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
726k
    if (KeyLength > 0)
175
726k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
726k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
726k
    return NewItem;
178
726k
  }
llvm::StringMapEntry<llvm::MCAsmMacro>* llvm::StringMapEntry<llvm::MCAsmMacro>::Create<llvm::MallocAllocator, llvm::MCAsmMacro>(llvm::StringRef, llvm::MallocAllocator&, llvm::MCAsmMacro&&)
Line
Count
Source
157
239
                                InitTy &&... InitVals) {
158
239
    size_t KeyLength = Key.size();
159
239
160
239
    // Allocate a new item with space for the string at the end and a null
161
239
    // terminator.
162
239
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
239
    size_t Alignment = alignof(StringMapEntry);
164
239
165
239
    StringMapEntry *NewItem =
166
239
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
239
    assert(NewItem && "Unhandled out-of-memory");
168
239
169
239
    // Construct the value.
170
239
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
239
172
239
    // Copy the string information.
173
239
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
239
    if (KeyLength > 0)
175
239
      memcpy(StrBuffer, Key.data(), KeyLength);
176
239
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
239
    return NewItem;
178
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
157
134M
                                InitTy &&... InitVals) {
158
134M
    size_t KeyLength = Key.size();
159
134M
160
134M
    // Allocate a new item with space for the string at the end and a null
161
134M
    // terminator.
162
134M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
134M
    size_t Alignment = alignof(StringMapEntry);
164
134M
165
134M
    StringMapEntry *NewItem =
166
134M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
134M
    assert(NewItem && "Unhandled out-of-memory");
168
134M
169
134M
    // Construct the value.
170
134M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
134M
172
134M
    // Copy the string information.
173
134M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
134M
    if (KeyLength > 0)
175
134M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
134M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
134M
    return NewItem;
178
134M
  }
llvm::StringMapEntry<unsigned long>* llvm::StringMapEntry<unsigned long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
31.3k
                                InitTy &&... InitVals) {
158
31.3k
    size_t KeyLength = Key.size();
159
31.3k
160
31.3k
    // Allocate a new item with space for the string at the end and a null
161
31.3k
    // terminator.
162
31.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
31.3k
    size_t Alignment = alignof(StringMapEntry);
164
31.3k
165
31.3k
    StringMapEntry *NewItem =
166
31.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
31.3k
    assert(NewItem && "Unhandled out-of-memory");
168
31.3k
169
31.3k
    // Construct the value.
170
31.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
31.3k
172
31.3k
    // Copy the string information.
173
31.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
31.3k
    if (KeyLength > 0)
175
31.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
31.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
31.3k
    return NewItem;
178
31.3k
  }
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
157
283
                                InitTy &&... InitVals) {
158
283
    size_t KeyLength = Key.size();
159
283
160
283
    // Allocate a new item with space for the string at the end and a null
161
283
    // terminator.
162
283
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
283
    size_t Alignment = alignof(StringMapEntry);
164
283
165
283
    StringMapEntry *NewItem =
166
283
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
283
    assert(NewItem && "Unhandled out-of-memory");
168
283
169
283
    // Construct the value.
170
283
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
283
172
283
    // Copy the string information.
173
283
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
283
    if (KeyLength > 0)
175
283
      memcpy(StrBuffer, Key.data(), KeyLength);
176
283
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
283
    return NewItem;
178
283
  }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>* llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
308
                                InitTy &&... InitVals) {
158
308
    size_t KeyLength = Key.size();
159
308
160
308
    // Allocate a new item with space for the string at the end and a null
161
308
    // terminator.
162
308
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
308
    size_t Alignment = alignof(StringMapEntry);
164
308
165
308
    StringMapEntry *NewItem =
166
308
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
308
    assert(NewItem && "Unhandled out-of-memory");
168
308
169
308
    // Construct the value.
170
308
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
308
172
308
    // Copy the string information.
173
308
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
308
    if (KeyLength > 0)
175
44
      memcpy(StrBuffer, Key.data(), KeyLength);
176
308
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
308
    return NewItem;
178
308
  }
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
157
5
                                InitTy &&... InitVals) {
158
5
    size_t KeyLength = Key.size();
159
5
160
5
    // Allocate a new item with space for the string at the end and a null
161
5
    // terminator.
162
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
5
    size_t Alignment = alignof(StringMapEntry);
164
5
165
5
    StringMapEntry *NewItem =
166
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
5
    assert(NewItem && "Unhandled out-of-memory");
168
5
169
5
    // Construct the value.
170
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
5
172
5
    // Copy the string information.
173
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
5
    if (KeyLength > 0)
175
5
      memcpy(StrBuffer, Key.data(), KeyLength);
176
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
5
    return NewItem;
178
5
  }
llvm::StringMapEntry<llvm::Timer>* llvm::StringMapEntry<llvm::Timer>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
5
                                InitTy &&... InitVals) {
158
5
    size_t KeyLength = Key.size();
159
5
160
5
    // Allocate a new item with space for the string at the end and a null
161
5
    // terminator.
162
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
5
    size_t Alignment = alignof(StringMapEntry);
164
5
165
5
    StringMapEntry *NewItem =
166
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
5
    assert(NewItem && "Unhandled out-of-memory");
168
5
169
5
    // Construct the value.
170
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
5
172
5
    // Copy the string information.
173
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
5
    if (KeyLength > 0)
175
5
      memcpy(StrBuffer, Key.data(), KeyLength);
176
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
5
    return NewItem;
178
5
  }
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
157
111k
                                InitTy &&... InitVals) {
158
111k
    size_t KeyLength = Key.size();
159
111k
160
111k
    // Allocate a new item with space for the string at the end and a null
161
111k
    // terminator.
162
111k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
111k
    size_t Alignment = alignof(StringMapEntry);
164
111k
165
111k
    StringMapEntry *NewItem =
166
111k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
111k
    assert(NewItem && "Unhandled out-of-memory");
168
111k
169
111k
    // Construct the value.
170
111k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
111k
172
111k
    // Copy the string information.
173
111k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
111k
    if (KeyLength > 0)
175
111k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
111k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
111k
    return NewItem;
178
111k
  }
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
157
300k
                                InitTy &&... InitVals) {
158
300k
    size_t KeyLength = Key.size();
159
300k
160
300k
    // Allocate a new item with space for the string at the end and a null
161
300k
    // terminator.
162
300k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
300k
    size_t Alignment = alignof(StringMapEntry);
164
300k
165
300k
    StringMapEntry *NewItem =
166
300k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
300k
    assert(NewItem && "Unhandled out-of-memory");
168
300k
169
300k
    // Construct the value.
170
300k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
300k
172
300k
    // Copy the string information.
173
300k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
300k
    if (KeyLength > 0)
175
300k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
300k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
300k
    return NewItem;
178
300k
  }
llvm::StringMapEntry<void*>* llvm::StringMapEntry<void*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3
                                InitTy &&... InitVals) {
158
3
    size_t KeyLength = Key.size();
159
3
160
3
    // Allocate a new item with space for the string at the end and a null
161
3
    // terminator.
162
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3
    size_t Alignment = alignof(StringMapEntry);
164
3
165
3
    StringMapEntry *NewItem =
166
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3
    assert(NewItem && "Unhandled out-of-memory");
168
3
169
3
    // Construct the value.
170
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3
172
3
    // Copy the string information.
173
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3
    if (KeyLength > 0)
175
3
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3
    return NewItem;
178
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
157
36
                                InitTy &&... InitVals) {
158
36
    size_t KeyLength = Key.size();
159
36
160
36
    // Allocate a new item with space for the string at the end and a null
161
36
    // terminator.
162
36
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
36
    size_t Alignment = alignof(StringMapEntry);
164
36
165
36
    StringMapEntry *NewItem =
166
36
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
36
    assert(NewItem && "Unhandled out-of-memory");
168
36
169
36
    // Construct the value.
170
36
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
36
172
36
    // Copy the string information.
173
36
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
36
    if (KeyLength > 0)
175
36
      memcpy(StrBuffer, Key.data(), KeyLength);
176
36
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
36
    return NewItem;
178
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
157
144M
                                InitTy &&... InitVals) {
158
144M
    size_t KeyLength = Key.size();
159
144M
160
144M
    // Allocate a new item with space for the string at the end and a null
161
144M
    // terminator.
162
144M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
144M
    size_t Alignment = alignof(StringMapEntry);
164
144M
165
144M
    StringMapEntry *NewItem =
166
144M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
144M
    assert(NewItem && "Unhandled out-of-memory");
168
144M
169
144M
    // Construct the value.
170
144M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
144M
172
144M
    // Copy the string information.
173
144M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
144M
    if (KeyLength > 0)
175
144M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
144M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
144M
    return NewItem;
178
144M
  }
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
157
388k
                                InitTy &&... InitVals) {
158
388k
    size_t KeyLength = Key.size();
159
388k
160
388k
    // Allocate a new item with space for the string at the end and a null
161
388k
    // terminator.
162
388k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
388k
    size_t Alignment = alignof(StringMapEntry);
164
388k
165
388k
    StringMapEntry *NewItem =
166
388k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
388k
    assert(NewItem && "Unhandled out-of-memory");
168
388k
169
388k
    // Construct the value.
170
388k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
388k
172
388k
    // Copy the string information.
173
388k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
388k
    if (KeyLength > 0)
175
388k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
388k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
388k
    return NewItem;
178
388k
  }
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
157
1.36M
                                InitTy &&... InitVals) {
158
1.36M
    size_t KeyLength = Key.size();
159
1.36M
160
1.36M
    // Allocate a new item with space for the string at the end and a null
161
1.36M
    // terminator.
162
1.36M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.36M
    size_t Alignment = alignof(StringMapEntry);
164
1.36M
165
1.36M
    StringMapEntry *NewItem =
166
1.36M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.36M
    assert(NewItem && "Unhandled out-of-memory");
168
1.36M
169
1.36M
    // Construct the value.
170
1.36M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.36M
172
1.36M
    // Copy the string information.
173
1.36M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.36M
    if (KeyLength > 0)
175
1.36M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.36M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.36M
    return NewItem;
178
1.36M
  }
llvm::StringMapEntry<clang::FileData>* llvm::StringMapEntry<clang::FileData>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
157
15
                                InitTy &&... InitVals) {
158
15
    size_t KeyLength = Key.size();
159
15
160
15
    // Allocate a new item with space for the string at the end and a null
161
15
    // terminator.
162
15
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
15
    size_t Alignment = alignof(StringMapEntry);
164
15
165
15
    StringMapEntry *NewItem =
166
15
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
15
    assert(NewItem && "Unhandled out-of-memory");
168
15
169
15
    // Construct the value.
170
15
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
15
172
15
    // Copy the string information.
173
15
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
15
    if (KeyLength > 0)
175
15
      memcpy(StrBuffer, Key.data(), KeyLength);
176
15
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
15
    return NewItem;
178
15
  }
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>* llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::Create<llvm::MallocAllocator, clang::MemoryBufferCache::BufferEntry>(llvm::StringRef, llvm::MallocAllocator&, clang::MemoryBufferCache::BufferEntry&&)
Line
Count
Source
157
5.66k
                                InitTy &&... InitVals) {
158
5.66k
    size_t KeyLength = Key.size();
159
5.66k
160
5.66k
    // Allocate a new item with space for the string at the end and a null
161
5.66k
    // terminator.
162
5.66k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
5.66k
    size_t Alignment = alignof(StringMapEntry);
164
5.66k
165
5.66k
    StringMapEntry *NewItem =
166
5.66k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
5.66k
    assert(NewItem && "Unhandled out-of-memory");
168
5.66k
169
5.66k
    // Construct the value.
170
5.66k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
5.66k
172
5.66k
    // Copy the string information.
173
5.66k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
5.66k
    if (KeyLength > 0)
175
5.66k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
5.66k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
5.66k
    return NewItem;
178
5.66k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, unsigned int>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, unsigned int&&)
Line
Count
Source
157
108k
                                InitTy &&... InitVals) {
158
108k
    size_t KeyLength = Key.size();
159
108k
160
108k
    // Allocate a new item with space for the string at the end and a null
161
108k
    // terminator.
162
108k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
108k
    size_t Alignment = alignof(StringMapEntry);
164
108k
165
108k
    StringMapEntry *NewItem =
166
108k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
108k
    assert(NewItem && "Unhandled out-of-memory");
168
108k
169
108k
    // Construct the value.
170
108k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
108k
172
108k
    // Copy the string information.
173
108k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
108k
    if (KeyLength > 0)
175
108k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
108k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
108k
    return NewItem;
178
108k
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3.62M
                                InitTy &&... InitVals) {
158
3.62M
    size_t KeyLength = Key.size();
159
3.62M
160
3.62M
    // Allocate a new item with space for the string at the end and a null
161
3.62M
    // terminator.
162
3.62M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.62M
    size_t Alignment = alignof(StringMapEntry);
164
3.62M
165
3.62M
    StringMapEntry *NewItem =
166
3.62M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.62M
    assert(NewItem && "Unhandled out-of-memory");
168
3.62M
169
3.62M
    // Construct the value.
170
3.62M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.62M
172
3.62M
    // Copy the string information.
173
3.62M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.62M
    if (KeyLength > 0)
175
3.62M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.62M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.62M
    return NewItem;
178
3.62M
  }
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
157
411k
                                InitTy &&... InitVals) {
158
411k
    size_t KeyLength = Key.size();
159
411k
160
411k
    // Allocate a new item with space for the string at the end and a null
161
411k
    // terminator.
162
411k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
411k
    size_t Alignment = alignof(StringMapEntry);
164
411k
165
411k
    StringMapEntry *NewItem =
166
411k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
411k
    assert(NewItem && "Unhandled out-of-memory");
168
411k
169
411k
    // Construct the value.
170
411k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
411k
172
411k
    // Copy the string information.
173
411k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
411k
    if (KeyLength > 0)
175
411k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
411k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
411k
    return NewItem;
178
411k
  }
llvm::StringMapEntry<llvm::Constant*>* llvm::StringMapEntry<llvm::Constant*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
46
                                InitTy &&... InitVals) {
158
46
    size_t KeyLength = Key.size();
159
46
160
46
    // Allocate a new item with space for the string at the end and a null
161
46
    // terminator.
162
46
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
46
    size_t Alignment = alignof(StringMapEntry);
164
46
165
46
    StringMapEntry *NewItem =
166
46
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
46
    assert(NewItem && "Unhandled out-of-memory");
168
46
169
46
    // Construct the value.
170
46
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
46
172
46
    // Copy the string information.
173
46
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
46
    if (KeyLength > 0)
175
46
      memcpy(StrBuffer, Key.data(), KeyLength);
176
46
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
46
    return NewItem;
178
46
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.04k
                                InitTy &&... InitVals) {
158
2.04k
    size_t KeyLength = Key.size();
159
2.04k
160
2.04k
    // Allocate a new item with space for the string at the end and a null
161
2.04k
    // terminator.
162
2.04k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.04k
    size_t Alignment = alignof(StringMapEntry);
164
2.04k
165
2.04k
    StringMapEntry *NewItem =
166
2.04k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.04k
    assert(NewItem && "Unhandled out-of-memory");
168
2.04k
169
2.04k
    // Construct the value.
170
2.04k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.04k
172
2.04k
    // Copy the string information.
173
2.04k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.04k
    if (KeyLength > 0)
175
1.87k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.04k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.04k
    return NewItem;
178
2.04k
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator, llvm::GlobalVariable*>(llvm::StringRef, llvm::MallocAllocator&, llvm::GlobalVariable*&&)
Line
Count
Source
157
308
                                InitTy &&... InitVals) {
158
308
    size_t KeyLength = Key.size();
159
308
160
308
    // Allocate a new item with space for the string at the end and a null
161
308
    // terminator.
162
308
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
308
    size_t Alignment = alignof(StringMapEntry);
164
308
165
308
    StringMapEntry *NewItem =
166
308
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
308
    assert(NewItem && "Unhandled out-of-memory");
168
308
169
308
    // Construct the value.
170
308
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
308
172
308
    // Copy the string information.
173
308
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
308
    if (KeyLength > 0)
175
274
      memcpy(StrBuffer, Key.data(), KeyLength);
176
308
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
308
    return NewItem;
178
308
  }
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
157
206
                                InitTy &&... InitVals) {
158
206
    size_t KeyLength = Key.size();
159
206
160
206
    // Allocate a new item with space for the string at the end and a null
161
206
    // terminator.
162
206
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
206
    size_t Alignment = alignof(StringMapEntry);
164
206
165
206
    StringMapEntry *NewItem =
166
206
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
206
    assert(NewItem && "Unhandled out-of-memory");
168
206
169
206
    // Construct the value.
170
206
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
206
172
206
    // Copy the string information.
173
206
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
206
    if (KeyLength > 0)
175
206
      memcpy(StrBuffer, Key.data(), KeyLength);
176
206
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
206
    return NewItem;
178
206
  }
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
157
3.41k
                                InitTy &&... InitVals) {
158
3.41k
    size_t KeyLength = Key.size();
159
3.41k
160
3.41k
    // Allocate a new item with space for the string at the end and a null
161
3.41k
    // terminator.
162
3.41k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.41k
    size_t Alignment = alignof(StringMapEntry);
164
3.41k
165
3.41k
    StringMapEntry *NewItem =
166
3.41k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.41k
    assert(NewItem && "Unhandled out-of-memory");
168
3.41k
169
3.41k
    // Construct the value.
170
3.41k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.41k
172
3.41k
    // Copy the string information.
173
3.41k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.41k
    if (KeyLength > 0)
175
3.41k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.41k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.41k
    return NewItem;
178
3.41k
  }
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
157
34
                                InitTy &&... InitVals) {
158
34
    size_t KeyLength = Key.size();
159
34
160
34
    // Allocate a new item with space for the string at the end and a null
161
34
    // terminator.
162
34
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
34
    size_t Alignment = alignof(StringMapEntry);
164
34
165
34
    StringMapEntry *NewItem =
166
34
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
34
    assert(NewItem && "Unhandled out-of-memory");
168
34
169
34
    // Construct the value.
170
34
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
34
172
34
    // Copy the string information.
173
34
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
34
    if (KeyLength > 0)
175
34
      memcpy(StrBuffer, Key.data(), KeyLength);
176
34
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
34
    return NewItem;
178
34
  }
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
157
21
                                InitTy &&... InitVals) {
158
21
    size_t KeyLength = Key.size();
159
21
160
21
    // Allocate a new item with space for the string at the end and a null
161
21
    // terminator.
162
21
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
21
    size_t Alignment = alignof(StringMapEntry);
164
21
165
21
    StringMapEntry *NewItem =
166
21
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
21
    assert(NewItem && "Unhandled out-of-memory");
168
21
169
21
    // Construct the value.
170
21
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
21
172
21
    // Copy the string information.
173
21
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
21
    if (KeyLength > 0)
175
21
      memcpy(StrBuffer, Key.data(), KeyLength);
176
21
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
21
    return NewItem;
178
21
  }
llvm::StringMapEntry<llvm::WeakTrackingVH>* llvm::StringMapEntry<llvm::WeakTrackingVH>::Create<llvm::MallocAllocator, llvm::Constant*&>(llvm::StringRef, llvm::MallocAllocator&, llvm::Constant*&&&)
Line
Count
Source
157
11
                                InitTy &&... InitVals) {
158
11
    size_t KeyLength = Key.size();
159
11
160
11
    // Allocate a new item with space for the string at the end and a null
161
11
    // terminator.
162
11
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
11
    size_t Alignment = alignof(StringMapEntry);
164
11
165
11
    StringMapEntry *NewItem =
166
11
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
11
    assert(NewItem && "Unhandled out-of-memory");
168
11
169
11
    // Construct the value.
170
11
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
11
172
11
    // Copy the string information.
173
11
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
11
    if (KeyLength > 0)
175
11
      memcpy(StrBuffer, Key.data(), KeyLength);
176
11
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
11
    return NewItem;
178
11
  }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >* llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
115
                                InitTy &&... InitVals) {
158
115
    size_t KeyLength = Key.size();
159
115
160
115
    // Allocate a new item with space for the string at the end and a null
161
115
    // terminator.
162
115
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
115
    size_t Alignment = alignof(StringMapEntry);
164
115
165
115
    StringMapEntry *NewItem =
166
115
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
115
    assert(NewItem && "Unhandled out-of-memory");
168
115
169
115
    // Construct the value.
170
115
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
115
172
115
    // Copy the string information.
173
115
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
115
    if (KeyLength > 0)
175
115
      memcpy(StrBuffer, Key.data(), KeyLength);
176
115
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
115
    return NewItem;
178
115
  }
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
157
2.02M
                                InitTy &&... InitVals) {
158
2.02M
    size_t KeyLength = Key.size();
159
2.02M
160
2.02M
    // Allocate a new item with space for the string at the end and a null
161
2.02M
    // terminator.
162
2.02M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.02M
    size_t Alignment = alignof(StringMapEntry);
164
2.02M
165
2.02M
    StringMapEntry *NewItem =
166
2.02M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.02M
    assert(NewItem && "Unhandled out-of-memory");
168
2.02M
169
2.02M
    // Construct the value.
170
2.02M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.02M
172
2.02M
    // Copy the string information.
173
2.02M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.02M
    if (KeyLength > 0)
175
2.02M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.02M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.02M
    return NewItem;
178
2.02M
  }
llvm::StringMapEntry<clang::ASTContext::SectionInfo>* llvm::StringMapEntry<clang::ASTContext::SectionInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
205
                                InitTy &&... InitVals) {
158
205
    size_t KeyLength = Key.size();
159
205
160
205
    // Allocate a new item with space for the string at the end and a null
161
205
    // terminator.
162
205
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
205
    size_t Alignment = alignof(StringMapEntry);
164
205
165
205
    StringMapEntry *NewItem =
166
205
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
205
    assert(NewItem && "Unhandled out-of-memory");
168
205
169
205
    // Construct the value.
170
205
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
205
172
205
    // Copy the string information.
173
205
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
205
    if (KeyLength > 0)
175
205
      memcpy(StrBuffer, Key.data(), KeyLength);
176
205
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
205
    return NewItem;
178
205
  }
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
157
28.9k
                                InitTy &&... InitVals) {
158
28.9k
    size_t KeyLength = Key.size();
159
28.9k
160
28.9k
    // Allocate a new item with space for the string at the end and a null
161
28.9k
    // terminator.
162
28.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
28.9k
    size_t Alignment = alignof(StringMapEntry);
164
28.9k
165
28.9k
    StringMapEntry *NewItem =
166
28.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
28.9k
    assert(NewItem && "Unhandled out-of-memory");
168
28.9k
169
28.9k
    // Construct the value.
170
28.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
28.9k
172
28.9k
    // Copy the string information.
173
28.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
28.9k
    if (KeyLength > 0)
175
28.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
28.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
28.9k
    return NewItem;
178
28.9k
  }
llvm::StringMapEntry<char const*>* llvm::StringMapEntry<char const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
101
                                InitTy &&... InitVals) {
158
101
    size_t KeyLength = Key.size();
159
101
160
101
    // Allocate a new item with space for the string at the end and a null
161
101
    // terminator.
162
101
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
101
    size_t Alignment = alignof(StringMapEntry);
164
101
165
101
    StringMapEntry *NewItem =
166
101
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
101
    assert(NewItem && "Unhandled out-of-memory");
168
101
169
101
    // Construct the value.
170
101
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
101
172
101
    // Copy the string information.
173
101
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
101
    if (KeyLength > 0)
175
101
      memcpy(StrBuffer, Key.data(), KeyLength);
176
101
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
101
    return NewItem;
178
101
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
775k
                                InitTy &&... InitVals) {
158
775k
    size_t KeyLength = Key.size();
159
775k
160
775k
    // Allocate a new item with space for the string at the end and a null
161
775k
    // terminator.
162
775k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
775k
    size_t Alignment = alignof(StringMapEntry);
164
775k
165
775k
    StringMapEntry *NewItem =
166
775k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
775k
    assert(NewItem && "Unhandled out-of-memory");
168
775k
169
775k
    // Construct the value.
170
775k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
775k
172
775k
    // Copy the string information.
173
775k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
775k
    if (KeyLength > 0)
175
775k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
775k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
775k
    return NewItem;
178
775k
  }
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
157
2.00k
                                InitTy &&... InitVals) {
158
2.00k
    size_t KeyLength = Key.size();
159
2.00k
160
2.00k
    // Allocate a new item with space for the string at the end and a null
161
2.00k
    // terminator.
162
2.00k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.00k
    size_t Alignment = alignof(StringMapEntry);
164
2.00k
165
2.00k
    StringMapEntry *NewItem =
166
2.00k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.00k
    assert(NewItem && "Unhandled out-of-memory");
168
2.00k
169
2.00k
    // Construct the value.
170
2.00k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.00k
172
2.00k
    // Copy the string information.
173
2.00k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.00k
    if (KeyLength > 0)
175
2.00k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.00k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.00k
    return NewItem;
178
2.00k
  }
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
157
155
                                InitTy &&... InitVals) {
158
155
    size_t KeyLength = Key.size();
159
155
160
155
    // Allocate a new item with space for the string at the end and a null
161
155
    // terminator.
162
155
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
155
    size_t Alignment = alignof(StringMapEntry);
164
155
165
155
    StringMapEntry *NewItem =
166
155
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
155
    assert(NewItem && "Unhandled out-of-memory");
168
155
169
155
    // Construct the value.
170
155
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
155
172
155
    // Copy the string information.
173
155
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
155
    if (KeyLength > 0)
175
155
      memcpy(StrBuffer, Key.data(), KeyLength);
176
155
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
155
    return NewItem;
178
155
  }
llvm::StringMapEntry<clang::SourceLocation>* llvm::StringMapEntry<clang::SourceLocation>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
15
                                InitTy &&... InitVals) {
158
15
    size_t KeyLength = Key.size();
159
15
160
15
    // Allocate a new item with space for the string at the end and a null
161
15
    // terminator.
162
15
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
15
    size_t Alignment = alignof(StringMapEntry);
164
15
165
15
    StringMapEntry *NewItem =
166
15
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
15
    assert(NewItem && "Unhandled out-of-memory");
168
15
169
15
    // Construct the value.
170
15
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
15
172
15
    // Copy the string information.
173
15
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
15
    if (KeyLength > 0)
175
15
      memcpy(StrBuffer, Key.data(), KeyLength);
176
15
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
15
    return NewItem;
178
15
  }
CacheTokens.cpp:llvm::StringMapEntry<(anonymous namespace)::OffsetOpt>* llvm::StringMapEntry<(anonymous namespace)::OffsetOpt>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, (anonymous namespace)::OffsetOpt>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, (anonymous namespace)::OffsetOpt&&)
Line
Count
Source
157
1
                                InitTy &&... InitVals) {
158
1
    size_t KeyLength = Key.size();
159
1
160
1
    // Allocate a new item with space for the string at the end and a null
161
1
    // terminator.
162
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1
    size_t Alignment = alignof(StringMapEntry);
164
1
165
1
    StringMapEntry *NewItem =
166
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1
    assert(NewItem && "Unhandled out-of-memory");
168
1
169
1
    // Construct the value.
170
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1
172
1
    // Copy the string information.
173
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1
    if (KeyLength > 0)
175
1
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1
    return NewItem;
178
1
  }
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
157
14
                                InitTy &&... InitVals) {
158
14
    size_t KeyLength = Key.size();
159
14
160
14
    // Allocate a new item with space for the string at the end and a null
161
14
    // terminator.
162
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
14
    size_t Alignment = alignof(StringMapEntry);
164
14
165
14
    StringMapEntry *NewItem =
166
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
14
    assert(NewItem && "Unhandled out-of-memory");
168
14
169
14
    // Construct the value.
170
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
14
172
14
    // Copy the string information.
173
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
14
    if (KeyLength > 0)
175
14
      memcpy(StrBuffer, Key.data(), KeyLength);
176
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
14
    return NewItem;
178
14
  }
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>* llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
32
                                InitTy &&... InitVals) {
158
32
    size_t KeyLength = Key.size();
159
32
160
32
    // Allocate a new item with space for the string at the end and a null
161
32
    // terminator.
162
32
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
32
    size_t Alignment = alignof(StringMapEntry);
164
32
165
32
    StringMapEntry *NewItem =
166
32
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
32
    assert(NewItem && "Unhandled out-of-memory");
168
32
169
32
    // Construct the value.
170
32
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
32
172
32
    // Copy the string information.
173
32
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
32
    if (KeyLength > 0)
175
32
      memcpy(StrBuffer, Key.data(), KeyLength);
176
32
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
32
    return NewItem;
178
32
  }
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>* llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
151
                                InitTy &&... InitVals) {
158
151
    size_t KeyLength = Key.size();
159
151
160
151
    // Allocate a new item with space for the string at the end and a null
161
151
    // terminator.
162
151
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
151
    size_t Alignment = alignof(StringMapEntry);
164
151
165
151
    StringMapEntry *NewItem =
166
151
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
151
    assert(NewItem && "Unhandled out-of-memory");
168
151
169
151
    // Construct the value.
170
151
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
151
172
151
    // Copy the string information.
173
151
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
151
    if (KeyLength > 0)
175
151
      memcpy(StrBuffer, Key.data(), KeyLength);
176
151
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
151
    return NewItem;
178
151
  }
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
157
561k
                                InitTy &&... InitVals) {
158
561k
    size_t KeyLength = Key.size();
159
561k
160
561k
    // Allocate a new item with space for the string at the end and a null
161
561k
    // terminator.
162
561k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
561k
    size_t Alignment = alignof(StringMapEntry);
164
561k
165
561k
    StringMapEntry *NewItem =
166
561k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
561k
    assert(NewItem && "Unhandled out-of-memory");
168
561k
169
561k
    // Construct the value.
170
561k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
561k
172
561k
    // Copy the string information.
173
561k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
561k
    if (KeyLength > 0)
175
561k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
561k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
561k
    return NewItem;
178
561k
  }
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
157
85
                                InitTy &&... InitVals) {
158
85
    size_t KeyLength = Key.size();
159
85
160
85
    // Allocate a new item with space for the string at the end and a null
161
85
    // terminator.
162
85
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
85
    size_t Alignment = alignof(StringMapEntry);
164
85
165
85
    StringMapEntry *NewItem =
166
85
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
85
    assert(NewItem && "Unhandled out-of-memory");
168
85
169
85
    // Construct the value.
170
85
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
85
172
85
    // Copy the string information.
173
85
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
85
    if (KeyLength > 0)
175
85
      memcpy(StrBuffer, Key.data(), KeyLength);
176
85
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
85
    return NewItem;
178
85
  }
llvm::StringMapEntry<llvm::DIE const*>* llvm::StringMapEntry<llvm::DIE const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
72.0k
                                InitTy &&... InitVals) {
158
72.0k
    size_t KeyLength = Key.size();
159
72.0k
160
72.0k
    // Allocate a new item with space for the string at the end and a null
161
72.0k
    // terminator.
162
72.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
72.0k
    size_t Alignment = alignof(StringMapEntry);
164
72.0k
165
72.0k
    StringMapEntry *NewItem =
166
72.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
72.0k
    assert(NewItem && "Unhandled out-of-memory");
168
72.0k
169
72.0k
    // Construct the value.
170
72.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
72.0k
172
72.0k
    // Copy the string information.
173
72.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
72.0k
    if (KeyLength > 0)
175
71.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
72.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
72.0k
    return NewItem;
178
72.0k
  }
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
157
20
                                InitTy &&... InitVals) {
158
20
    size_t KeyLength = Key.size();
159
20
160
20
    // Allocate a new item with space for the string at the end and a null
161
20
    // terminator.
162
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
20
    size_t Alignment = alignof(StringMapEntry);
164
20
165
20
    StringMapEntry *NewItem =
166
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
20
    assert(NewItem && "Unhandled out-of-memory");
168
20
169
20
    // Construct the value.
170
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
20
172
20
    // Copy the string information.
173
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
20
    if (KeyLength > 0)
175
20
      memcpy(StrBuffer, Key.data(), KeyLength);
176
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
20
    return NewItem;
178
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
157
73.5k
                                InitTy &&... InitVals) {
158
73.5k
    size_t KeyLength = Key.size();
159
73.5k
160
73.5k
    // Allocate a new item with space for the string at the end and a null
161
73.5k
    // terminator.
162
73.5k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
73.5k
    size_t Alignment = alignof(StringMapEntry);
164
73.5k
165
73.5k
    StringMapEntry *NewItem =
166
73.5k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
73.5k
    assert(NewItem && "Unhandled out-of-memory");
168
73.5k
169
73.5k
    // Construct the value.
170
73.5k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
73.5k
172
73.5k
    // Copy the string information.
173
73.5k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
73.5k
    if (KeyLength > 0)
175
73.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
73.5k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
73.5k
    return NewItem;
178
73.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
157
85.4k
                                InitTy &&... InitVals) {
158
85.4k
    size_t KeyLength = Key.size();
159
85.4k
160
85.4k
    // Allocate a new item with space for the string at the end and a null
161
85.4k
    // terminator.
162
85.4k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
85.4k
    size_t Alignment = alignof(StringMapEntry);
164
85.4k
165
85.4k
    StringMapEntry *NewItem =
166
85.4k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
85.4k
    assert(NewItem && "Unhandled out-of-memory");
168
85.4k
169
85.4k
    // Construct the value.
170
85.4k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
85.4k
172
85.4k
    // Copy the string information.
173
85.4k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
85.4k
    if (KeyLength > 0)
175
85.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
85.4k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
85.4k
    return NewItem;
178
85.4k
  }
llvm::StringMapEntry<llvm::SDNode*>* llvm::StringMapEntry<llvm::SDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
17.7k
                                InitTy &&... InitVals) {
158
17.7k
    size_t KeyLength = Key.size();
159
17.7k
160
17.7k
    // Allocate a new item with space for the string at the end and a null
161
17.7k
    // terminator.
162
17.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
17.7k
    size_t Alignment = alignof(StringMapEntry);
164
17.7k
165
17.7k
    StringMapEntry *NewItem =
166
17.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
17.7k
    assert(NewItem && "Unhandled out-of-memory");
168
17.7k
169
17.7k
    // Construct the value.
170
17.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
17.7k
172
17.7k
    // Copy the string information.
173
17.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
17.7k
    if (KeyLength > 0)
175
17.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
17.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
17.7k
    return NewItem;
178
17.7k
  }
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>* llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
848
                                InitTy &&... InitVals) {
158
848
    size_t KeyLength = Key.size();
159
848
160
848
    // Allocate a new item with space for the string at the end and a null
161
848
    // terminator.
162
848
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
848
    size_t Alignment = alignof(StringMapEntry);
164
848
165
848
    StringMapEntry *NewItem =
166
848
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
848
    assert(NewItem && "Unhandled out-of-memory");
168
848
169
848
    // Construct the value.
170
848
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
848
172
848
    // Copy the string information.
173
848
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
848
    if (KeyLength > 0)
175
848
      memcpy(StrBuffer, Key.data(), KeyLength);
176
848
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
848
    return NewItem;
178
848
  }
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
157
333
                                InitTy &&... InitVals) {
158
333
    size_t KeyLength = Key.size();
159
333
160
333
    // Allocate a new item with space for the string at the end and a null
161
333
    // terminator.
162
333
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
333
    size_t Alignment = alignof(StringMapEntry);
164
333
165
333
    StringMapEntry *NewItem =
166
333
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
333
    assert(NewItem && "Unhandled out-of-memory");
168
333
169
333
    // Construct the value.
170
333
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
333
172
333
    // Copy the string information.
173
333
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
333
    if (KeyLength > 0)
175
331
      memcpy(StrBuffer, Key.data(), KeyLength);
176
333
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
333
    return NewItem;
178
333
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator, clang::Stmt*>(llvm::StringRef, llvm::MallocAllocator&, clang::Stmt*&&)
Line
Count
Source
157
2
                                InitTy &&... InitVals) {
158
2
    size_t KeyLength = Key.size();
159
2
160
2
    // Allocate a new item with space for the string at the end and a null
161
2
    // terminator.
162
2
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2
    size_t Alignment = alignof(StringMapEntry);
164
2
165
2
    StringMapEntry *NewItem =
166
2
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2
    assert(NewItem && "Unhandled out-of-memory");
168
2
169
2
    // Construct the value.
170
2
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2
172
2
    // Copy the string information.
173
2
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2
    if (KeyLength > 0)
175
2
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2
    return NewItem;
178
2
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3
                                InitTy &&... InitVals) {
158
3
    size_t KeyLength = Key.size();
159
3
160
3
    // Allocate a new item with space for the string at the end and a null
161
3
    // terminator.
162
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3
    size_t Alignment = alignof(StringMapEntry);
164
3
165
3
    StringMapEntry *NewItem =
166
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3
    assert(NewItem && "Unhandled out-of-memory");
168
3
169
3
    // Construct the value.
170
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3
172
3
    // Copy the string information.
173
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3
    if (KeyLength > 0)
175
3
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3
    return NewItem;
178
3
  }
llvm::StringMapEntry<FoundationClass>* llvm::StringMapEntry<FoundationClass>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
91
                                InitTy &&... InitVals) {
158
91
    size_t KeyLength = Key.size();
159
91
160
91
    // Allocate a new item with space for the string at the end and a null
161
91
    // terminator.
162
91
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
91
    size_t Alignment = alignof(StringMapEntry);
164
91
165
91
    StringMapEntry *NewItem =
166
91
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
91
    assert(NewItem && "Unhandled out-of-memory");
168
91
169
91
    // Construct the value.
170
91
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
91
172
91
    // Copy the string information.
173
91
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
91
    if (KeyLength > 0)
175
91
      memcpy(StrBuffer, Key.data(), KeyLength);
176
91
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
91
    return NewItem;
178
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
157
20
                                InitTy &&... InitVals) {
158
20
    size_t KeyLength = Key.size();
159
20
160
20
    // Allocate a new item with space for the string at the end and a null
161
20
    // terminator.
162
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
20
    size_t Alignment = alignof(StringMapEntry);
164
20
165
20
    StringMapEntry *NewItem =
166
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
20
    assert(NewItem && "Unhandled out-of-memory");
168
20
169
20
    // Construct the value.
170
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
20
172
20
    // Copy the string information.
173
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
20
    if (KeyLength > 0)
175
20
      memcpy(StrBuffer, Key.data(), KeyLength);
176
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
20
    return NewItem;
178
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
157
286
                                InitTy &&... InitVals) {
158
286
    size_t KeyLength = Key.size();
159
286
160
286
    // Allocate a new item with space for the string at the end and a null
161
286
    // terminator.
162
286
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
286
    size_t Alignment = alignof(StringMapEntry);
164
286
165
286
    StringMapEntry *NewItem =
166
286
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
286
    assert(NewItem && "Unhandled out-of-memory");
168
286
169
286
    // Construct the value.
170
286
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
286
172
286
    // Copy the string information.
173
286
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
286
    if (KeyLength > 0)
175
286
      memcpy(StrBuffer, Key.data(), KeyLength);
176
286
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
286
    return NewItem;
178
286
  }
llvm::StringMapEntry<clang::ento::BugType*>* llvm::StringMapEntry<clang::ento::BugType*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
515
                                InitTy &&... InitVals) {
158
515
    size_t KeyLength = Key.size();
159
515
160
515
    // Allocate a new item with space for the string at the end and a null
161
515
    // terminator.
162
515
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
515
    size_t Alignment = alignof(StringMapEntry);
164
515
165
515
    StringMapEntry *NewItem =
166
515
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
515
    assert(NewItem && "Unhandled out-of-memory");
168
515
169
515
    // Construct the value.
170
515
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
515
172
515
    // Copy the string information.
173
515
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
515
    if (KeyLength > 0)
175
515
      memcpy(StrBuffer, Key.data(), KeyLength);
176
515
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
515
    return NewItem;
178
515
  }
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
157
20
                                InitTy &&... InitVals) {
158
20
    size_t KeyLength = Key.size();
159
20
160
20
    // Allocate a new item with space for the string at the end and a null
161
20
    // terminator.
162
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
20
    size_t Alignment = alignof(StringMapEntry);
164
20
165
20
    StringMapEntry *NewItem =
166
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
20
    assert(NewItem && "Unhandled out-of-memory");
168
20
169
20
    // Construct the value.
170
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
20
172
20
    // Copy the string information.
173
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
20
    if (KeyLength > 0)
175
20
      memcpy(StrBuffer, Key.data(), KeyLength);
176
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
20
    return NewItem;
178
20
  }
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
157
27
                                InitTy &&... InitVals) {
158
27
    size_t KeyLength = Key.size();
159
27
160
27
    // Allocate a new item with space for the string at the end and a null
161
27
    // terminator.
162
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
27
    size_t Alignment = alignof(StringMapEntry);
164
27
165
27
    StringMapEntry *NewItem =
166
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
27
    assert(NewItem && "Unhandled out-of-memory");
168
27
169
27
    // Construct the value.
170
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
27
172
27
    // Copy the string information.
173
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
27
    if (KeyLength > 0)
175
27
      memcpy(StrBuffer, Key.data(), KeyLength);
176
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
27
    return NewItem;
178
27
  }
llvm::StringMapEntry<clang::ASTUnit*>* llvm::StringMapEntry<clang::ASTUnit*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
14
                                InitTy &&... InitVals) {
158
14
    size_t KeyLength = Key.size();
159
14
160
14
    // Allocate a new item with space for the string at the end and a null
161
14
    // terminator.
162
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
14
    size_t Alignment = alignof(StringMapEntry);
164
14
165
14
    StringMapEntry *NewItem =
166
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
14
    assert(NewItem && "Unhandled out-of-memory");
168
14
169
14
    // Construct the value.
170
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
14
172
14
    // Copy the string information.
173
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
14
    if (KeyLength > 0)
175
14
      memcpy(StrBuffer, Key.data(), KeyLength);
176
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
14
    return NewItem;
178
14
  }
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
157
3.95k
                                InitTy &&... InitVals) {
158
3.95k
    size_t KeyLength = Key.size();
159
3.95k
160
3.95k
    // Allocate a new item with space for the string at the end and a null
161
3.95k
    // terminator.
162
3.95k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.95k
    size_t Alignment = alignof(StringMapEntry);
164
3.95k
165
3.95k
    StringMapEntry *NewItem =
166
3.95k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.95k
    assert(NewItem && "Unhandled out-of-memory");
168
3.95k
169
3.95k
    // Construct the value.
170
3.95k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.95k
172
3.95k
    // Copy the string information.
173
3.95k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.95k
    if (KeyLength > 0)
175
3.95k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.95k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.95k
    return NewItem;
178
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
157
27
                                InitTy &&... InitVals) {
158
27
    size_t KeyLength = Key.size();
159
27
160
27
    // Allocate a new item with space for the string at the end and a null
161
27
    // terminator.
162
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
27
    size_t Alignment = alignof(StringMapEntry);
164
27
165
27
    StringMapEntry *NewItem =
166
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
27
    assert(NewItem && "Unhandled out-of-memory");
168
27
169
27
    // Construct the value.
170
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
27
172
27
    // Copy the string information.
173
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
27
    if (KeyLength > 0)
175
27
      memcpy(StrBuffer, Key.data(), KeyLength);
176
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
27
    return NewItem;
178
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
157
73.1k
                                InitTy &&... InitVals) {
158
73.1k
    size_t KeyLength = Key.size();
159
73.1k
160
73.1k
    // Allocate a new item with space for the string at the end and a null
161
73.1k
    // terminator.
162
73.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
73.1k
    size_t Alignment = alignof(StringMapEntry);
164
73.1k
165
73.1k
    StringMapEntry *NewItem =
166
73.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
73.1k
    assert(NewItem && "Unhandled out-of-memory");
168
73.1k
169
73.1k
    // Construct the value.
170
73.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
73.1k
172
73.1k
    // Copy the string information.
173
73.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
73.1k
    if (KeyLength > 0)
175
73.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
73.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
73.1k
    return NewItem;
178
73.1k
  }
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
157
3
                                InitTy &&... InitVals) {
158
3
    size_t KeyLength = Key.size();
159
3
160
3
    // Allocate a new item with space for the string at the end and a null
161
3
    // terminator.
162
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3
    size_t Alignment = alignof(StringMapEntry);
164
3
165
3
    StringMapEntry *NewItem =
166
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3
    assert(NewItem && "Unhandled out-of-memory");
168
3
169
3
    // Construct the value.
170
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3
172
3
    // Copy the string information.
173
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3
    if (KeyLength > 0)
175
3
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3
    return NewItem;
178
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
157
9.53k
                                InitTy &&... InitVals) {
158
9.53k
    size_t KeyLength = Key.size();
159
9.53k
160
9.53k
    // Allocate a new item with space for the string at the end and a null
161
9.53k
    // terminator.
162
9.53k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
9.53k
    size_t Alignment = alignof(StringMapEntry);
164
9.53k
165
9.53k
    StringMapEntry *NewItem =
166
9.53k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
9.53k
    assert(NewItem && "Unhandled out-of-memory");
168
9.53k
169
9.53k
    // Construct the value.
170
9.53k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
9.53k
172
9.53k
    // Copy the string information.
173
9.53k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
9.53k
    if (KeyLength > 0)
175
9.53k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
9.53k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
9.53k
    return NewItem;
178
9.53k
  }
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
157
38
                                InitTy &&... InitVals) {
158
38
    size_t KeyLength = Key.size();
159
38
160
38
    // Allocate a new item with space for the string at the end and a null
161
38
    // terminator.
162
38
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
38
    size_t Alignment = alignof(StringMapEntry);
164
38
165
38
    StringMapEntry *NewItem =
166
38
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
38
    assert(NewItem && "Unhandled out-of-memory");
168
38
169
38
    // Construct the value.
170
38
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
38
172
38
    // Copy the string information.
173
38
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
38
    if (KeyLength > 0)
175
38
      memcpy(StrBuffer, Key.data(), KeyLength);
176
38
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
38
    return NewItem;
178
38
  }
llvm::StringMapEntry<llvm::TimeRecord>* llvm::StringMapEntry<llvm::TimeRecord>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
1
                                InitTy &&... InitVals) {
158
1
    size_t KeyLength = Key.size();
159
1
160
1
    // Allocate a new item with space for the string at the end and a null
161
1
    // terminator.
162
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1
    size_t Alignment = alignof(StringMapEntry);
164
1
165
1
    StringMapEntry *NewItem =
166
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1
    assert(NewItem && "Unhandled out-of-memory");
168
1
169
1
    // Construct the value.
170
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1
172
1
    // Copy the string information.
173
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1
    if (KeyLength > 0)
175
1
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1
    return NewItem;
178
1
  }
llvm::StringMapEntry<clang::comments::TParamCommandComment*>* llvm::StringMapEntry<clang::comments::TParamCommandComment*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
88
                                InitTy &&... InitVals) {
158
88
    size_t KeyLength = Key.size();
159
88
160
88
    // Allocate a new item with space for the string at the end and a null
161
88
    // terminator.
162
88
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
88
    size_t Alignment = alignof(StringMapEntry);
164
88
165
88
    StringMapEntry *NewItem =
166
88
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
88
    assert(NewItem && "Unhandled out-of-memory");
168
88
169
88
    // Construct the value.
170
88
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
88
172
88
    // Copy the string information.
173
88
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
88
    if (KeyLength > 0)
175
88
      memcpy(StrBuffer, Key.data(), KeyLength);
176
88
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
88
    return NewItem;
178
88
  }
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>* llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
157
397
                                InitTy &&... InitVals) {
158
397
    size_t KeyLength = Key.size();
159
397
160
397
    // Allocate a new item with space for the string at the end and a null
161
397
    // terminator.
162
397
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
397
    size_t Alignment = alignof(StringMapEntry);
164
397
165
397
    StringMapEntry *NewItem =
166
397
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
397
    assert(NewItem && "Unhandled out-of-memory");
168
397
169
397
    // Construct the value.
170
397
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
397
172
397
    // Copy the string information.
173
397
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
397
    if (KeyLength > 0)
175
397
      memcpy(StrBuffer, Key.data(), KeyLength);
176
397
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
397
    return NewItem;
178
397
  }
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
157
367k
                                InitTy &&... InitVals) {
158
367k
    size_t KeyLength = Key.size();
159
367k
160
367k
    // Allocate a new item with space for the string at the end and a null
161
367k
    // terminator.
162
367k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
367k
    size_t Alignment = alignof(StringMapEntry);
164
367k
165
367k
    StringMapEntry *NewItem =
166
367k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
367k
    assert(NewItem && "Unhandled out-of-memory");
168
367k
169
367k
    // Construct the value.
170
367k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
367k
172
367k
    // Copy the string information.
173
367k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
367k
    if (KeyLength > 0)
175
367k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
367k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
367k
    return NewItem;
178
367k
  }
Unexecuted instantiation: llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>* llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::HeaderSearch::FrameworkCacheEntry>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::HeaderSearch::FrameworkCacheEntry&&)
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
14
                                InitTy &&... InitVals) {
158
14
    size_t KeyLength = Key.size();
159
14
160
14
    // Allocate a new item with space for the string at the end and a null
161
14
    // terminator.
162
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
14
    size_t Alignment = alignof(StringMapEntry);
164
14
165
14
    StringMapEntry *NewItem =
166
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
14
    assert(NewItem && "Unhandled out-of-memory");
168
14
169
14
    // Construct the value.
170
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
14
172
14
    // Copy the string information.
173
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
14
    if (KeyLength > 0)
175
14
      memcpy(StrBuffer, Key.data(), KeyLength);
176
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
14
    return NewItem;
178
14
  }
llvm::StringMapEntry<clang::Module*>* llvm::StringMapEntry<clang::Module*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
72.2k
                                InitTy &&... InitVals) {
158
72.2k
    size_t KeyLength = Key.size();
159
72.2k
160
72.2k
    // Allocate a new item with space for the string at the end and a null
161
72.2k
    // terminator.
162
72.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
72.2k
    size_t Alignment = alignof(StringMapEntry);
164
72.2k
165
72.2k
    StringMapEntry *NewItem =
166
72.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
72.2k
    assert(NewItem && "Unhandled out-of-memory");
168
72.2k
169
72.2k
    // Construct the value.
170
72.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
72.2k
172
72.2k
    // Copy the string information.
173
72.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
72.2k
    if (KeyLength > 0)
175
72.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
72.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
72.2k
    return NewItem;
178
72.2k
  }
llvm::StringMapEntry<clang::PragmaHandler*>* llvm::StringMapEntry<clang::PragmaHandler*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.04M
                                InitTy &&... InitVals) {
158
2.04M
    size_t KeyLength = Key.size();
159
2.04M
160
2.04M
    // Allocate a new item with space for the string at the end and a null
161
2.04M
    // terminator.
162
2.04M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.04M
    size_t Alignment = alignof(StringMapEntry);
164
2.04M
165
2.04M
    StringMapEntry *NewItem =
166
2.04M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.04M
    assert(NewItem && "Unhandled out-of-memory");
168
2.04M
169
2.04M
    // Construct the value.
170
2.04M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.04M
172
2.04M
    // Copy the string information.
173
2.04M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.04M
    if (KeyLength > 0)
175
1.99M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.04M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.04M
    return NewItem;
178
2.04M
  }
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
157
771
                                InitTy &&... InitVals) {
158
771
    size_t KeyLength = Key.size();
159
771
160
771
    // Allocate a new item with space for the string at the end and a null
161
771
    // terminator.
162
771
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
771
    size_t Alignment = alignof(StringMapEntry);
164
771
165
771
    StringMapEntry *NewItem =
166
771
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
771
    assert(NewItem && "Unhandled out-of-memory");
168
771
169
771
    // Construct the value.
170
771
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
771
172
771
    // Copy the string information.
173
771
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
771
    if (KeyLength > 0)
175
750
      memcpy(StrBuffer, Key.data(), KeyLength);
176
771
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
771
    return NewItem;
178
771
  }
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
157
55
                                InitTy &&... InitVals) {
158
55
    size_t KeyLength = Key.size();
159
55
160
55
    // Allocate a new item with space for the string at the end and a null
161
55
    // terminator.
162
55
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
55
    size_t Alignment = alignof(StringMapEntry);
164
55
165
55
    StringMapEntry *NewItem =
166
55
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
55
    assert(NewItem && "Unhandled out-of-memory");
168
55
169
55
    // Construct the value.
170
55
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
55
172
55
    // Copy the string information.
173
55
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
55
    if (KeyLength > 0)
175
55
      memcpy(StrBuffer, Key.data(), KeyLength);
176
55
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
55
    return NewItem;
178
55
  }
llvm::StringMapEntry<llvm::Type*>* llvm::StringMapEntry<llvm::Type*>::Create<llvm::MallocAllocator, llvm::Type*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Type*&&)
Line
Count
Source
157
82
                                InitTy &&... InitVals) {
158
82
    size_t KeyLength = Key.size();
159
82
160
82
    // Allocate a new item with space for the string at the end and a null
161
82
    // terminator.
162
82
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
82
    size_t Alignment = alignof(StringMapEntry);
164
82
165
82
    StringMapEntry *NewItem =
166
82
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
82
    assert(NewItem && "Unhandled out-of-memory");
168
82
169
82
    // Construct the value.
170
82
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
82
172
82
    // Copy the string information.
173
82
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
82
    if (KeyLength > 0)
175
82
      memcpy(StrBuffer, Key.data(), KeyLength);
176
82
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
82
    return NewItem;
178
82
  }
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
157
11.8k
                                InitTy &&... InitVals) {
158
11.8k
    size_t KeyLength = Key.size();
159
11.8k
160
11.8k
    // Allocate a new item with space for the string at the end and a null
161
11.8k
    // terminator.
162
11.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
11.8k
    size_t Alignment = alignof(StringMapEntry);
164
11.8k
165
11.8k
    StringMapEntry *NewItem =
166
11.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
11.8k
    assert(NewItem && "Unhandled out-of-memory");
168
11.8k
169
11.8k
    // Construct the value.
170
11.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
11.8k
172
11.8k
    // Copy the string information.
173
11.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
11.8k
    if (KeyLength > 0)
175
11.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
11.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
11.8k
    return NewItem;
178
11.8k
  }
llvm::StringMapEntry<llvm::RecordStreamer::State>* llvm::StringMapEntry<llvm::RecordStreamer::State>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
257
                                InitTy &&... InitVals) {
158
257
    size_t KeyLength = Key.size();
159
257
160
257
    // Allocate a new item with space for the string at the end and a null
161
257
    // terminator.
162
257
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
257
    size_t Alignment = alignof(StringMapEntry);
164
257
165
257
    StringMapEntry *NewItem =
166
257
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
257
    assert(NewItem && "Unhandled out-of-memory");
168
257
169
257
    // Construct the value.
170
257
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
257
172
257
    // Copy the string information.
173
257
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
257
    if (KeyLength > 0)
175
257
      memcpy(StrBuffer, Key.data(), KeyLength);
176
257
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
257
    return NewItem;
178
257
  }
llvm::StringMapEntry<llvm::GlobalValue const*>* llvm::StringMapEntry<llvm::GlobalValue const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
255
                                InitTy &&... InitVals) {
158
255
    size_t KeyLength = Key.size();
159
255
160
255
    // Allocate a new item with space for the string at the end and a null
161
255
    // terminator.
162
255
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
255
    size_t Alignment = alignof(StringMapEntry);
164
255
165
255
    StringMapEntry *NewItem =
166
255
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
255
    assert(NewItem && "Unhandled out-of-memory");
168
255
169
255
    // Construct the value.
170
255
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
255
172
255
    // Copy the string information.
173
255
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
255
    if (KeyLength > 0)
175
255
      memcpy(StrBuffer, Key.data(), KeyLength);
176
255
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
255
    return NewItem;
178
255
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>* llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
250
                                InitTy &&... InitVals) {
158
250
    size_t KeyLength = Key.size();
159
250
160
250
    // Allocate a new item with space for the string at the end and a null
161
250
    // terminator.
162
250
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
250
    size_t Alignment = alignof(StringMapEntry);
164
250
165
250
    StringMapEntry *NewItem =
166
250
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
250
    assert(NewItem && "Unhandled out-of-memory");
168
250
169
250
    // Construct the value.
170
250
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
250
172
250
    // Copy the string information.
173
250
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
250
    if (KeyLength > 0)
175
250
      memcpy(StrBuffer, Key.data(), KeyLength);
176
250
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
250
    return NewItem;
178
250
  }
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
157
9.73k
                                InitTy &&... InitVals) {
158
9.73k
    size_t KeyLength = Key.size();
159
9.73k
160
9.73k
    // Allocate a new item with space for the string at the end and a null
161
9.73k
    // terminator.
162
9.73k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
9.73k
    size_t Alignment = alignof(StringMapEntry);
164
9.73k
165
9.73k
    StringMapEntry *NewItem =
166
9.73k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
9.73k
    assert(NewItem && "Unhandled out-of-memory");
168
9.73k
169
9.73k
    // Construct the value.
170
9.73k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
9.73k
172
9.73k
    // Copy the string information.
173
9.73k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
9.73k
    if (KeyLength > 0)
175
9.73k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
9.73k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
9.73k
    return NewItem;
178
9.73k
  }
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
157
38
                                InitTy &&... InitVals) {
158
38
    size_t KeyLength = Key.size();
159
38
160
38
    // Allocate a new item with space for the string at the end and a null
161
38
    // terminator.
162
38
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
38
    size_t Alignment = alignof(StringMapEntry);
164
38
165
38
    StringMapEntry *NewItem =
166
38
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
38
    assert(NewItem && "Unhandled out-of-memory");
168
38
169
38
    // Construct the value.
170
38
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
38
172
38
    // Copy the string information.
173
38
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
38
    if (KeyLength > 0)
175
38
      memcpy(StrBuffer, Key.data(), KeyLength);
176
38
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
38
    return NewItem;
178
38
  }
llvm::StringMapEntry<llvm::VRegInfo*>* llvm::StringMapEntry<llvm::VRegInfo*>::Create<llvm::MallocAllocator, llvm::VRegInfo*>(llvm::StringRef, llvm::MallocAllocator&, llvm::VRegInfo*&&)
Line
Count
Source
157
24
                                InitTy &&... InitVals) {
158
24
    size_t KeyLength = Key.size();
159
24
160
24
    // Allocate a new item with space for the string at the end and a null
161
24
    // terminator.
162
24
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
24
    size_t Alignment = alignof(StringMapEntry);
164
24
165
24
    StringMapEntry *NewItem =
166
24
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
24
    assert(NewItem && "Unhandled out-of-memory");
168
24
169
24
    // Construct the value.
170
24
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
24
172
24
    // Copy the string information.
173
24
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
24
    if (KeyLength > 0)
175
24
      memcpy(StrBuffer, Key.data(), KeyLength);
176
24
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
24
    return NewItem;
178
24
  }
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
157
105k
                                InitTy &&... InitVals) {
158
105k
    size_t KeyLength = Key.size();
159
105k
160
105k
    // Allocate a new item with space for the string at the end and a null
161
105k
    // terminator.
162
105k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
105k
    size_t Alignment = alignof(StringMapEntry);
164
105k
165
105k
    StringMapEntry *NewItem =
166
105k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
105k
    assert(NewItem && "Unhandled out-of-memory");
168
105k
169
105k
    // Construct the value.
170
105k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
105k
172
105k
    // Copy the string information.
173
105k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
105k
    if (KeyLength > 0)
175
105k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
105k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
105k
    return NewItem;
178
105k
  }
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
157
2.64k
                                InitTy &&... InitVals) {
158
2.64k
    size_t KeyLength = Key.size();
159
2.64k
160
2.64k
    // Allocate a new item with space for the string at the end and a null
161
2.64k
    // terminator.
162
2.64k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.64k
    size_t Alignment = alignof(StringMapEntry);
164
2.64k
165
2.64k
    StringMapEntry *NewItem =
166
2.64k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.64k
    assert(NewItem && "Unhandled out-of-memory");
168
2.64k
169
2.64k
    // Construct the value.
170
2.64k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.64k
172
2.64k
    // Copy the string information.
173
2.64k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.64k
    if (KeyLength > 0)
175
2.64k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.64k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.64k
    return NewItem;
178
2.64k
  }
llvm::StringMapEntry<lld::elf::OutputSection*>* llvm::StringMapEntry<lld::elf::OutputSection*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
370k
                                InitTy &&... InitVals) {
158
370k
    size_t KeyLength = Key.size();
159
370k
160
370k
    // Allocate a new item with space for the string at the end and a null
161
370k
    // terminator.
162
370k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
370k
    size_t Alignment = alignof(StringMapEntry);
164
370k
165
370k
    StringMapEntry *NewItem =
166
370k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
370k
    assert(NewItem && "Unhandled out-of-memory");
168
370k
169
370k
    // Construct the value.
170
370k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
370k
172
370k
    // Copy the string information.
173
370k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
370k
    if (KeyLength > 0)
175
370k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
370k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
370k
    return NewItem;
178
370k
  }
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
157
43
                                InitTy &&... InitVals) {
158
43
    size_t KeyLength = Key.size();
159
43
160
43
    // Allocate a new item with space for the string at the end and a null
161
43
    // terminator.
162
43
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
43
    size_t Alignment = alignof(StringMapEntry);
164
43
165
43
    StringMapEntry *NewItem =
166
43
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
43
    assert(NewItem && "Unhandled out-of-memory");
168
43
169
43
    // Construct the value.
170
43
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
43
172
43
    // Copy the string information.
173
43
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
43
    if (KeyLength > 0)
175
43
      memcpy(StrBuffer, Key.data(), KeyLength);
176
43
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
43
    return NewItem;
178
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
157
18
                                InitTy &&... InitVals) {
158
18
    size_t KeyLength = Key.size();
159
18
160
18
    // Allocate a new item with space for the string at the end and a null
161
18
    // terminator.
162
18
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
18
    size_t Alignment = alignof(StringMapEntry);
164
18
165
18
    StringMapEntry *NewItem =
166
18
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
18
    assert(NewItem && "Unhandled out-of-memory");
168
18
169
18
    // Construct the value.
170
18
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
18
172
18
    // Copy the string information.
173
18
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
18
    if (KeyLength > 0)
175
18
      memcpy(StrBuffer, Key.data(), KeyLength);
176
18
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
18
    return NewItem;
178
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
157
395
                                InitTy &&... InitVals) {
158
395
    size_t KeyLength = Key.size();
159
395
160
395
    // Allocate a new item with space for the string at the end and a null
161
395
    // terminator.
162
395
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
395
    size_t Alignment = alignof(StringMapEntry);
164
395
165
395
    StringMapEntry *NewItem =
166
395
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
395
    assert(NewItem && "Unhandled out-of-memory");
168
395
169
395
    // Construct the value.
170
395
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
395
172
395
    // Copy the string information.
173
395
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
395
    if (KeyLength > 0)
175
395
      memcpy(StrBuffer, Key.data(), KeyLength);
176
395
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
395
    return NewItem;
178
395
  }
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>* llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
231
                                InitTy &&... InitVals) {
158
231
    size_t KeyLength = Key.size();
159
231
160
231
    // Allocate a new item with space for the string at the end and a null
161
231
    // terminator.
162
231
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
231
    size_t Alignment = alignof(StringMapEntry);
164
231
165
231
    StringMapEntry *NewItem =
166
231
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
231
    assert(NewItem && "Unhandled out-of-memory");
168
231
169
231
    // Construct the value.
170
231
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
231
172
231
    // Copy the string information.
173
231
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
231
    if (KeyLength > 0)
175
231
      memcpy(StrBuffer, Key.data(), KeyLength);
176
231
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
231
    return NewItem;
178
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
157
5
                                InitTy &&... InitVals) {
158
5
    size_t KeyLength = Key.size();
159
5
160
5
    // Allocate a new item with space for the string at the end and a null
161
5
    // terminator.
162
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
5
    size_t Alignment = alignof(StringMapEntry);
164
5
165
5
    StringMapEntry *NewItem =
166
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
5
    assert(NewItem && "Unhandled out-of-memory");
168
5
169
5
    // Construct the value.
170
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
5
172
5
    // Copy the string information.
173
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
5
    if (KeyLength > 0)
175
5
      memcpy(StrBuffer, Key.data(), KeyLength);
176
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
5
    return NewItem;
178
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
157
113
                                InitTy &&... InitVals) {
158
113
    size_t KeyLength = Key.size();
159
113
160
113
    // Allocate a new item with space for the string at the end and a null
161
113
    // terminator.
162
113
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
113
    size_t Alignment = alignof(StringMapEntry);
164
113
165
113
    StringMapEntry *NewItem =
166
113
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
113
    assert(NewItem && "Unhandled out-of-memory");
168
113
169
113
    // Construct the value.
170
113
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
113
172
113
    // Copy the string information.
173
113
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
113
    if (KeyLength > 0)
175
113
      memcpy(StrBuffer, Key.data(), KeyLength);
176
113
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
113
    return NewItem;
178
113
  }
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
157
24
                                InitTy &&... InitVals) {
158
24
    size_t KeyLength = Key.size();
159
24
160
24
    // Allocate a new item with space for the string at the end and a null
161
24
    // terminator.
162
24
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
24
    size_t Alignment = alignof(StringMapEntry);
164
24
165
24
    StringMapEntry *NewItem =
166
24
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
24
    assert(NewItem && "Unhandled out-of-memory");
168
24
169
24
    // Construct the value.
170
24
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
24
172
24
    // Copy the string information.
173
24
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
24
    if (KeyLength > 0)
175
24
      memcpy(StrBuffer, Key.data(), KeyLength);
176
24
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
24
    return NewItem;
178
24
  }
llvm::StringMapEntry<unsigned short>* llvm::StringMapEntry<unsigned short>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
33
                                InitTy &&... InitVals) {
158
33
    size_t KeyLength = Key.size();
159
33
160
33
    // Allocate a new item with space for the string at the end and a null
161
33
    // terminator.
162
33
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
33
    size_t Alignment = alignof(StringMapEntry);
164
33
165
33
    StringMapEntry *NewItem =
166
33
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
33
    assert(NewItem && "Unhandled out-of-memory");
168
33
169
33
    // Construct the value.
170
33
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
33
172
33
    // Copy the string information.
173
33
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
33
    if (KeyLength > 0)
175
33
      memcpy(StrBuffer, Key.data(), KeyLength);
176
33
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
33
    return NewItem;
178
33
  }
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
157
29
                                InitTy &&... InitVals) {
158
29
    size_t KeyLength = Key.size();
159
29
160
29
    // Allocate a new item with space for the string at the end and a null
161
29
    // terminator.
162
29
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
29
    size_t Alignment = alignof(StringMapEntry);
164
29
165
29
    StringMapEntry *NewItem =
166
29
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
29
    assert(NewItem && "Unhandled out-of-memory");
168
29
169
29
    // Construct the value.
170
29
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
29
172
29
    // Copy the string information.
173
29
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
29
    if (KeyLength > 0)
175
29
      memcpy(StrBuffer, Key.data(), KeyLength);
176
29
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
29
    return NewItem;
178
29
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&)
Line
Count
Source
157
351
                                InitTy &&... InitVals) {
158
351
    size_t KeyLength = Key.size();
159
351
160
351
    // Allocate a new item with space for the string at the end and a null
161
351
    // terminator.
162
351
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
351
    size_t Alignment = alignof(StringMapEntry);
164
351
165
351
    StringMapEntry *NewItem =
166
351
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
351
    assert(NewItem && "Unhandled out-of-memory");
168
351
169
351
    // Construct the value.
170
351
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
351
172
351
    // Copy the string information.
173
351
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
351
    if (KeyLength > 0)
175
257
      memcpy(StrBuffer, Key.data(), KeyLength);
176
351
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
351
    return NewItem;
178
351
  }
llvm::StringMapEntry<llvm::FileInfo::LineData>* llvm::StringMapEntry<llvm::FileInfo::LineData>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
44
                                InitTy &&... InitVals) {
158
44
    size_t KeyLength = Key.size();
159
44
160
44
    // Allocate a new item with space for the string at the end and a null
161
44
    // terminator.
162
44
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
44
    size_t Alignment = alignof(StringMapEntry);
164
44
165
44
    StringMapEntry *NewItem =
166
44
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
44
    assert(NewItem && "Unhandled out-of-memory");
168
44
169
44
    // Construct the value.
170
44
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
44
172
44
    // Copy the string information.
173
44
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
44
    if (KeyLength > 0)
175
44
      memcpy(StrBuffer, Key.data(), KeyLength);
176
44
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
44
    return NewItem;
178
44
  }
179
180
  /// Create - Create a StringMapEntry with normal malloc/free.
181
  template <typename... InitType>
182
2.49M
  static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
183
2.49M
    MallocAllocator A;
184
2.49M
    return Create(Key, A, std::forward<InitType>(InitVal)...);
185
2.49M
  }
186
187
2.49M
  static StringMapEntry *Create(StringRef Key) {
188
2.49M
    return Create(Key, ValueTy());
189
2.49M
  }
190
191
  /// GetStringMapEntryFromKeyData - Given key data that is known to be embedded
192
  /// into a StringMapEntry, return the StringMapEntry itself.
193
  static StringMapEntry &GetStringMapEntryFromKeyData(const char *KeyData) {
194
    char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>);
195
    return *reinterpret_cast<StringMapEntry*>(Ptr);
196
  }
197
198
  /// Destroy - Destroy this StringMapEntry, releasing memory back to the
199
  /// specified allocator.
200
  template<typename AllocatorTy>
201
362M
  void Destroy(AllocatorTy &Allocator) {
202
362M
    // Free memory referenced by the item.
203
362M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
362M
    this->~StringMapEntry();
205
362M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
362M
  }
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
201
28.9k
  void Destroy(AllocatorTy &Allocator) {
202
28.9k
    // Free memory referenced by the item.
203
28.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
28.9k
    this->~StringMapEntry();
205
28.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
28.9k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
51.2k
  void Destroy(AllocatorTy &Allocator) {
202
51.2k
    // Free memory referenced by the item.
203
51.2k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
51.2k
    this->~StringMapEntry();
205
51.2k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
51.2k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
51.2k
  void Destroy(AllocatorTy &Allocator) {
202
51.2k
    // Free memory referenced by the item.
203
51.2k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
51.2k
    this->~StringMapEntry();
205
51.2k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
51.2k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
1.59k
  void Destroy(AllocatorTy &Allocator) {
202
1.59k
    // Free memory referenced by the item.
203
1.59k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.59k
    this->~StringMapEntry();
205
1.59k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.59k
  }
AArch64AsmParser.cpp:void llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
17
  void Destroy(AllocatorTy &Allocator) {
202
17
    // Free memory referenced by the item.
203
17
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
17
    this->~StringMapEntry();
205
17
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
17
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
48.5M
  void Destroy(AllocatorTy &Allocator) {
202
48.5M
    // Free memory referenced by the item.
203
48.5M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
48.5M
    this->~StringMapEntry();
205
48.5M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
48.5M
  }
void llvm::StringMapEntry<int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
19.6M
  void Destroy(AllocatorTy &Allocator) {
202
19.6M
    // Free memory referenced by the item.
203
19.6M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
19.6M
    this->~StringMapEntry();
205
19.6M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
19.6M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
289
  void Destroy(AllocatorTy &Allocator) {
202
289
    // Free memory referenced by the item.
203
289
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
289
    this->~StringMapEntry();
205
289
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
289
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.53k
  void Destroy(AllocatorTy &Allocator) {
202
2.53k
    // Free memory referenced by the item.
203
2.53k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.53k
    this->~StringMapEntry();
205
2.53k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.53k
  }
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
201
36
  void Destroy(AllocatorTy &Allocator) {
202
36
    // Free memory referenced by the item.
203
36
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
36
    this->~StringMapEntry();
205
36
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
36
  }
void llvm::StringMapEntry<char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
444k
  void Destroy(AllocatorTy &Allocator) {
202
444k
    // Free memory referenced by the item.
203
444k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
444k
    this->~StringMapEntry();
205
444k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
444k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
3.05k
  void Destroy(AllocatorTy &Allocator) {
202
3.05k
    // Free memory referenced by the item.
203
3.05k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.05k
    this->~StringMapEntry();
205
3.05k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.05k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
995
  void Destroy(AllocatorTy &Allocator) {
202
995
    // Free memory referenced by the item.
203
995
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
995
    this->~StringMapEntry();
205
995
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
995
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
1.94k
  void Destroy(AllocatorTy &Allocator) {
202
1.94k
    // Free memory referenced by the item.
203
1.94k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.94k
    this->~StringMapEntry();
205
1.94k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.94k
  }
void llvm::StringMapEntry<llvm::AsmToken>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
1
  void Destroy(AllocatorTy &Allocator) {
202
1
    // Free memory referenced by the item.
203
1
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1
    this->~StringMapEntry();
205
1
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
1.63k
  void Destroy(AllocatorTy &Allocator) {
202
1.63k
    // Free memory referenced by the item.
203
1.63k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.63k
    this->~StringMapEntry();
205
1.63k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.63k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
191
  void Destroy(AllocatorTy &Allocator) {
202
191
    // Free memory referenced by the item.
203
191
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
191
    this->~StringMapEntry();
205
191
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
191
  }
void llvm::StringMapEntry<llvm::Function*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
292
  void Destroy(AllocatorTy &Allocator) {
202
292
    // Free memory referenced by the item.
203
292
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
292
    this->~StringMapEntry();
205
292
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
292
  }
void llvm::StringMapEntry<llvm::RTLIB::Libcall>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.96k
  void Destroy(AllocatorTy &Allocator) {
202
2.96k
    // Free memory referenced by the item.
203
2.96k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.96k
    this->~StringMapEntry();
205
2.96k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.96k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
305
  void Destroy(AllocatorTy &Allocator) {
202
305
    // Free memory referenced by the item.
203
305
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
305
    this->~StringMapEntry();
205
305
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
305
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
10.4k
  void Destroy(AllocatorTy &Allocator) {
202
10.4k
    // Free memory referenced by the item.
203
10.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
10.4k
    this->~StringMapEntry();
205
10.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
10.4k
  }
void llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
143
  void Destroy(AllocatorTy &Allocator) {
202
143
    // Free memory referenced by the item.
203
143
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
143
    this->~StringMapEntry();
205
143
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
143
  }
void llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
768
  void Destroy(AllocatorTy &Allocator) {
202
768
    // Free memory referenced by the item.
203
768
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
768
    this->~StringMapEntry();
205
768
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
768
  }
void llvm::StringMapEntry<llvm::GCStrategy*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
25
  void Destroy(AllocatorTy &Allocator) {
202
25
    // Free memory referenced by the item.
203
25
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
25
    this->~StringMapEntry();
205
25
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
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
201
614
  void Destroy(AllocatorTy &Allocator) {
202
614
    // Free memory referenced by the item.
203
614
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
614
    this->~StringMapEntry();
205
614
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
614
  }
void llvm::StringMapEntry<llvm::ConstantDataSequential*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
74.7k
  void Destroy(AllocatorTy &Allocator) {
202
74.7k
    // Free memory referenced by the item.
203
74.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
74.7k
    this->~StringMapEntry();
205
74.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
74.7k
  }
void llvm::StringMapEntry<llvm::MDString>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
94.8k
  void Destroy(AllocatorTy &Allocator) {
202
94.8k
    // Free memory referenced by the item.
203
94.8k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
94.8k
    this->~StringMapEntry();
205
94.8k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
94.8k
  }
void llvm::StringMapEntry<llvm::StructType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
58.3k
  void Destroy(AllocatorTy &Allocator) {
202
58.3k
    // Free memory referenced by the item.
203
58.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
58.3k
    this->~StringMapEntry();
205
58.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
58.3k
  }
void llvm::StringMapEntry<unsigned char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
167k
  void Destroy(AllocatorTy &Allocator) {
202
167k
    // Free memory referenced by the item.
203
167k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
167k
    this->~StringMapEntry();
205
167k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
167k
  }
void llvm::StringMapEntry<llvm::Comdat>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
28.9k
  void Destroy(AllocatorTy &Allocator) {
202
28.9k
    // Free memory referenced by the item.
203
28.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
28.9k
    this->~StringMapEntry();
205
28.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
28.9k
  }
void llvm::StringMapEntry<llvm::NamedMDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
29.3k
  void Destroy(AllocatorTy &Allocator) {
202
29.3k
    // Free memory referenced by the item.
203
29.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
29.3k
    this->~StringMapEntry();
205
29.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
29.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
201
549
  void Destroy(AllocatorTy &Allocator) {
202
549
    // Free memory referenced by the item.
203
549
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
549
    this->~StringMapEntry();
205
549
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
549
  }
void llvm::StringMapEntry<llvm::PassInfo const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
26.8M
  void Destroy(AllocatorTy &Allocator) {
202
26.8M
    // Free memory referenced by the item.
203
26.8M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
26.8M
    this->~StringMapEntry();
205
26.8M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
26.8M
  }
void llvm::StringMapEntry<llvm::Value*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
10.7M
  void Destroy(AllocatorTy &Allocator) {
202
10.7M
    // Free memory referenced by the item.
203
10.7M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
10.7M
    this->~StringMapEntry();
205
10.7M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
10.7M
  }
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
201
517
  void Destroy(AllocatorTy &Allocator) {
202
517
    // Free memory referenced by the item.
203
517
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
517
    this->~StringMapEntry();
205
517
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
517
  }
void llvm::StringMapEntry<unsigned long long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
526
  void Destroy(AllocatorTy &Allocator) {
202
526
    // Free memory referenced by the item.
203
526
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
526
    this->~StringMapEntry();
205
526
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
526
  }
GCOVProfiling.cpp:void llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
62
  void Destroy(AllocatorTy &Allocator) {
202
62
    // Free memory referenced by the item.
203
62
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
62
    this->~StringMapEntry();
205
62
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
62
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
880k
  void Destroy(AllocatorTy &Allocator) {
202
880k
    // Free memory referenced by the item.
203
880k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
880k
    this->~StringMapEntry();
205
880k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
880k
  }
void llvm::StringMapEntry<llvm::MCSymbol*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
4.18M
  void Destroy(AllocatorTy &Allocator) {
202
4.18M
    // Free memory referenced by the item.
203
4.18M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
4.18M
    this->~StringMapEntry();
205
4.18M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
4.18M
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
4.56M
  void Destroy(AllocatorTy &Allocator) {
202
4.56M
    // Free memory referenced by the item.
203
4.56M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
4.56M
    this->~StringMapEntry();
205
4.56M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
4.56M
  }
void llvm::StringMapEntry<llvm::MCSectionMachO*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
879k
  void Destroy(AllocatorTy &Allocator) {
202
879k
    // Free memory referenced by the item.
203
879k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
879k
    this->~StringMapEntry();
205
879k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
879k
  }
void llvm::StringMapEntry<llvm::MCAsmMacro>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
239
  void Destroy(AllocatorTy &Allocator) {
202
239
    // Free memory referenced by the item.
203
239
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
239
    this->~StringMapEntry();
205
239
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
239
  }
AsmParser.cpp:void llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.99M
  void Destroy(AllocatorTy &Allocator) {
202
2.99M
    // Free memory referenced by the item.
203
2.99M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.99M
    this->~StringMapEntry();
205
2.99M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.99M
  }
void llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
725k
  void Destroy(AllocatorTy &Allocator) {
202
725k
    // Free memory referenced by the item.
203
725k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
725k
    this->~StringMapEntry();
205
725k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
725k
  }
void llvm::StringMapEntry<llvm::cl::Option*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
130M
  void Destroy(AllocatorTy &Allocator) {
202
130M
    // Free memory referenced by the item.
203
130M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
130M
    this->~StringMapEntry();
205
130M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
130M
  }
void llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
276
  void Destroy(AllocatorTy &Allocator) {
202
276
    // Free memory referenced by the item.
203
276
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
276
    this->~StringMapEntry();
205
276
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
276
  }
void llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
301
  void Destroy(AllocatorTy &Allocator) {
202
301
    // Free memory referenced by the item.
203
301
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
301
    this->~StringMapEntry();
205
301
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
301
  }
void llvm::StringMapEntry<unsigned long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
31.3k
  void Destroy(AllocatorTy &Allocator) {
202
31.3k
    // Free memory referenced by the item.
203
31.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
31.3k
    this->~StringMapEntry();
205
31.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
31.3k
  }
void llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
5
  void Destroy(AllocatorTy &Allocator) {
202
5
    // Free memory referenced by the item.
203
5
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
5
    this->~StringMapEntry();
205
5
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
5
  }
void llvm::StringMapEntry<llvm::Timer>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
5
  void Destroy(AllocatorTy &Allocator) {
202
5
    // Free memory referenced by the item.
203
5
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
5
    this->~StringMapEntry();
205
5
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
5
  }
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
201
111k
  void Destroy(AllocatorTy &Allocator) {
202
111k
    // Free memory referenced by the item.
203
111k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
111k
    this->~StringMapEntry();
205
111k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
111k
  }
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
201
298k
  void Destroy(AllocatorTy &Allocator) {
202
298k
    // Free memory referenced by the item.
203
298k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
298k
    this->~StringMapEntry();
205
298k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
298k
  }
void llvm::StringMapEntry<void*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
3
  void Destroy(AllocatorTy &Allocator) {
202
3
    // Free memory referenced by the item.
203
3
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3
    this->~StringMapEntry();
205
3
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3
  }
void llvm::StringMapEntry<clang::DirectoryEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
182k
  void Destroy(AllocatorTy &Allocator) {
202
182k
    // Free memory referenced by the item.
203
182k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
182k
    this->~StringMapEntry();
205
182k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
182k
  }
void llvm::StringMapEntry<clang::FileEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
167k
  void Destroy(AllocatorTy &Allocator) {
202
167k
    // Free memory referenced by the item.
203
167k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
167k
    this->~StringMapEntry();
205
167k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
167k
  }
void llvm::StringMapEntry<clang::FileData>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
15
  void Destroy(AllocatorTy &Allocator) {
202
15
    // Free memory referenced by the item.
203
15
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
15
    this->~StringMapEntry();
205
15
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
15
  }
void llvm::StringMapEntry<clang::IdentifierInfo*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
101M
  void Destroy(AllocatorTy &Allocator) {
202
101M
    // Free memory referenced by the item.
203
101M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
101M
    this->~StringMapEntry();
205
101M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
101M
  }
void llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
5.60k
  void Destroy(AllocatorTy &Allocator) {
202
5.60k
    // Free memory referenced by the item.
203
5.60k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
5.60k
    this->~StringMapEntry();
205
5.60k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
5.60k
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
63.4k
  void Destroy(AllocatorTy &Allocator) {
202
63.4k
    // Free memory referenced by the item.
203
63.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
63.4k
    this->~StringMapEntry();
205
63.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
63.4k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
1.01k
  void Destroy(AllocatorTy &Allocator) {
202
1.01k
    // Free memory referenced by the item.
203
1.01k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.01k
    this->~StringMapEntry();
205
1.01k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.01k
  }
void llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
3.41k
  void Destroy(AllocatorTy &Allocator) {
202
3.41k
    // Free memory referenced by the item.
203
3.41k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.41k
    this->~StringMapEntry();
205
3.41k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.41k
  }
void llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
55
  void Destroy(AllocatorTy &Allocator) {
202
55
    // Free memory referenced by the item.
203
55
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
55
    this->~StringMapEntry();
205
55
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
55
  }
void llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
206
  void Destroy(AllocatorTy &Allocator) {
202
206
    // Free memory referenced by the item.
203
206
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
206
    this->~StringMapEntry();
205
206
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
206
  }
void llvm::StringMapEntry<llvm::WeakTrackingVH>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
11
  void Destroy(AllocatorTy &Allocator) {
202
11
    // Free memory referenced by the item.
203
11
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
11
    this->~StringMapEntry();
205
11
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
11
  }
void llvm::StringMapEntry<llvm::Constant*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
46
  void Destroy(AllocatorTy &Allocator) {
202
46
    // Free memory referenced by the item.
203
46
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
46
    this->~StringMapEntry();
205
46
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
46
  }
void llvm::StringMapEntry<llvm::GlobalVariable*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.35k
  void Destroy(AllocatorTy &Allocator) {
202
2.35k
    // Free memory referenced by the item.
203