Coverage Report

Created: 2018-07-20 23:04

/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
395M
  explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
44
45
2.16G
  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
7.25M
      : ItemSize(itemSize) {}
64
  StringMapImpl(StringMapImpl &&RHS)
65
      : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),
66
        NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),
67
121k
        ItemSize(RHS.ItemSize) {
68
121k
    RHS.TheTable = nullptr;
69
121k
    RHS.NumBuckets = 0;
70
121k
    RHS.NumItems = 0;
71
121k
    RHS.NumTombstones = 0;
72
121k
  }
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
3.91G
  static StringMapEntryBase *getTombstoneVal() {
103
3.91G
    uintptr_t Val = static_cast<uintptr_t>(-1);
104
3.91G
    Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
105
3.91G
    return reinterpret_cast<StringMapEntryBase *>(Val);
106
3.91G
  }
107
108
11
  unsigned getNumBuckets() const { return NumBuckets; }
109
3
  unsigned getNumItems() const { return NumItems; }
110
111
12.9M
  bool empty() const { return NumItems == 0; }
112
4.72M
  unsigned size() const { return NumItems; }
113
114
53.1k
  void swap(StringMapImpl &Other) {
115
53.1k
    std::swap(TheTable, Other.TheTable);
116
53.1k
    std::swap(NumBuckets, Other.NumBuckets);
117
53.1k
    std::swap(NumItems, Other.NumItems);
118
53.1k
    std::swap(NumTombstones, Other.NumTombstones);
119
53.1k
  }
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
42.9M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
77.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
77.8k
    : 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.44k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned int>::StringMapEntry(unsigned long)
Line
Count
Source
131
3.19M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
286
    : 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.28k
    : 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.69k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
975
    : 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.92k
    : 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.61k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
192
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
12.1k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
956
    : 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
608
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MDString>::StringMapEntry(unsigned long)
Line
Count
Source
131
401k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::NamedMDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
131
55.2k
    : 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
488
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::PassInfo const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
22.7M
    : 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
467
    : 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
379
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry(unsigned long)
Line
Count
Source
131
226
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::StringMapEntry(unsigned long)
Line
Count
Source
131
215
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSymbol*>::StringMapEntry(unsigned long)
Line
Count
Source
131
4.00M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSectionMachO*>::StringMapEntry(unsigned long)
Line
Count
Source
131
846k
    : StringMapEntryBase(strLen), second() {}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.79M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::StringMapEntry(unsigned long)
Line
Count
Source
131
691k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long>::StringMapEntry(unsigned long)
Line
Count
Source
131
29.1k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
131
259
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::StringMapEntry(unsigned long)
Line
Count
Source
131
284
    : StringMapEntryBase(strLen), second() {}
Unexecuted instantiation: llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::StringMapEntry(unsigned long)
Unexecuted instantiation: llvm::StringMapEntry<llvm::Timer>::StringMapEntry(unsigned long)
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
267k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<void*>::StringMapEntry(unsigned long)
Line
Count
Source
131
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<bool>::StringMapEntry(unsigned long)
Line
Count
Source
131
834k
    : 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.39M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Constant*>::StringMapEntry(unsigned long)
Line
Count
Source
131
47
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.03k
    : 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.36k
    : 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
81
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
181
    : 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
27.6k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<char const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
78
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<int>::StringMapEntry(unsigned long)
Line
Count
Source
131
750k
    : 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
1.86k
    : 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
27
    : 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
1.21k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
131
16.8k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::StringMapEntry(unsigned long)
Line
Count
Source
131
745
    : 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
294
    : 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
504
    : 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.93k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::StringMapEntry(unsigned long)
Line
Count
Source
131
71.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::StringMapEntry(unsigned long)
Line
Count
Source
131
9.58k
    : 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
407
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
360k
    : 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.1k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PragmaHandler*>::StringMapEntry(unsigned long)
Line
Count
Source
131
1.89M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry(unsigned long)
Line
Count
Source
131
11.5k
    : 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
254
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry(unsigned long)
Line
Count
Source
131
496
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::elf::OutputSection*>::StringMapEntry(unsigned long)
Line
Count
Source
131
299k
    : 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() {}
Unexecuted instantiation: llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::StringMapEntry(unsigned long)
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
32
    : 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
343M
      : 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.0M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char>(unsigned long, char&&)
Line
Count
Source
134
807k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int>(unsigned long, unsigned int&&)
Line
Count
Source
134
38.8M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::StringMapEntry<llvm::ConstantDataSequential*>(unsigned long, llvm::ConstantDataSequential*&&)
Line
Count
Source
134
470k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned char>::StringMapEntry<unsigned char>(unsigned long, unsigned char&&)
Line
Count
Source
134
183k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Comdat>::StringMapEntry<llvm::Comdat>(unsigned long, llvm::Comdat&&)
Line
Count
Source
134
29.6k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::StructType*>::StringMapEntry<llvm::StructType*>(unsigned long, llvm::StructType*&&)
Line
Count
Source
134
235k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Value*>::StringMapEntry<llvm::Value*>(unsigned long, llvm::Value*&&)
Line
Count
Source
134
16.0M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char&>(unsigned long, char&&&)
Line
Count
Source
134
217
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry<llvm::Function*>(unsigned long, llvm::Function*&&)
Line
Count
Source
134
21
      : 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
45
      : 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
55
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<bool>::StringMapEntry<bool>(unsigned long, bool&&)
Line
Count
Source
134
4.32M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MCAsmMacro>::StringMapEntry<llvm::MCAsmMacro>(unsigned long, llvm::MCAsmMacro&&)
Line
Count
Source
134
238
      : 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
122M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::IdentifierInfo*>::StringMapEntry<clang::IdentifierInfo*>(unsigned long, clang::IdentifierInfo*&&)
Line
Count
Source
134
137M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::DirectoryEntry*>::StringMapEntry<clang::DirectoryEntry*>(unsigned long, clang::DirectoryEntry*&&)
Line
Count
Source
134
415k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::FileEntry*>::StringMapEntry<clang::FileEntry*>(unsigned long, clang::FileEntry*&&)
Line
Count
Source
134
1.65M
      : 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.58k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry<llvm::GlobalVariable*>(unsigned long, llvm::GlobalVariable*&&)
Line
Count
Source
134
270
      : 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
187
      : 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
14
      : 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
11
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::GlobalDecl>::StringMapEntry<clang::GlobalDecl>(unsigned long, clang::GlobalDecl&&)
Line
Count
Source
134
1.90M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >(unsigned long, std::__1::pair<clang::GlobalDecl, unsigned int>&&)
Line
Count
Source
134
14
      : 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
377k
      : 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
542k
      : 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
72.7k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::StringMapEntry<llvm::DwarfStringPoolEntry>(unsigned long, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
134
84.2k
      : 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)...) {}
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
91
      : 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
440
      : 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
726
      : 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
62
      : 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
8.11k
      : 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
77.2k
      : 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.29k
      : 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
27
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int&>(unsigned long, unsigned int&&&)
Line
Count
Source
134
296
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
135
  StringMapEntry(StringMapEntry &E) = delete;
136
137
430M
  StringRef getKey() const {
138
430M
    return StringRef(getKeyData(), getKeyLength());
139
430M
  }
llvm::StringMapEntry<unsigned int>::getKey() const
Line
Count
Source
137
1.51M
  StringRef getKey() const {
138
1.51M
    return StringRef(getKeyData(), getKeyLength());
139
1.51M
  }
llvm::StringMapEntry<llvm::StructType*>::getKey() const
Line
Count
Source
137
1.25M
  StringRef getKey() const {
138
1.25M
    return StringRef(getKeyData(), getKeyLength());
139
1.25M
  }
llvm::StringMapEntry<llvm::Value*>::getKey() const
Line
Count
Source
137
410M
  StringRef getKey() const {
138
410M
    return StringRef(getKeyData(), getKeyLength());
139
410M
  }
llvm::StringMapEntry<char>::getKey() const
Line
Count
Source
137
5.81M
  StringRef getKey() const {
138
5.81M
    return StringRef(getKeyData(), getKeyLength());
139
5.81M
  }
llvm::StringMapEntry<unsigned long long>::getKey() const
Line
Count
Source
137
66
  StringRef getKey() const {
138
66
    return StringRef(getKeyData(), getKeyLength());
139
66
  }
Unexecuted instantiation: GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKey() const
llvm::StringMapEntry<bool>::getKey() const
Line
Count
Source
137
571k
  StringRef getKey() const {
138
571k
    return StringRef(getKeyData(), getKeyLength());
139
571k
  }
llvm::StringMapEntry<llvm::cl::Option*>::getKey() const
Line
Count
Source
137
1.24k
  StringRef getKey() const {
138
1.24k
    return StringRef(getKeyData(), getKeyLength());
139
1.24k
  }
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
23
  StringRef getKey() const {
138
23
    return StringRef(getKeyData(), getKeyLength());
139
23
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKey() const
Line
Count
Source
137
404k
  StringRef getKey() const {
138
404k
    return StringRef(getKeyData(), getKeyLength());
139
404k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKey() const
Line
Count
Source
137
1.91k
  StringRef getKey() const {
138
1.91k
    return StringRef(getKeyData(), getKeyLength());
139
1.91k
  }
llvm::StringMapEntry<clang::IdentifierInfo*>::getKey() const
Line
Count
Source
137
10.4M
  StringRef getKey() const {
138
10.4M
    return StringRef(getKeyData(), getKeyLength());
139
10.4M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKey() const
Line
Count
Source
137
274
  StringRef getKey() const {
138
274
    return StringRef(getKeyData(), getKeyLength());
139
274
  }
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
64
  StringRef getKey() const {
138
64
    return StringRef(getKeyData(), getKeyLength());
139
64
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKey() const
Line
Count
Source
137
58
  StringRef getKey() const {
138
58
    return StringRef(getKeyData(), getKeyLength());
139
58
  }
140
141
2.21M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned int>::getValue() const
Line
Count
Source
141
3.90k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Comdat>::getValue() const
Line
Count
Source
141
25.6k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue() const
Line
Count
Source
141
177k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long long>::getValue() const
Line
Count
Source
141
20
  const ValueTy &getValue() const { return second; }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getValue() const
Line
Count
Source
141
246k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::MCSymbol*>::getValue() const
Line
Count
Source
141
4.10k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getValue() const
Line
Count
Source
141
488
  const ValueTy &getValue() const { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::TimeRecord>::getValue() const
llvm::StringMapEntry<clang::FileEntry*>::getValue() const
Line
Count
Source
141
284k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<bool>::getValue() const
Line
Count
Source
141
591k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getValue() const
Line
Count
Source
141
23
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::GlobalDecl>::getValue() const
Line
Count
Source
141
2.13k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue() const
Line
Count
Source
141
35.9k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue() const
Line
Count
Source
141
241k
  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
316
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long>::getValue() const
Line
Count
Source
141
747
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::IdentifierInfo*>::getValue() const
Line
Count
Source
141
545k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::Module*>::getValue() const
Line
Count
Source
141
52.6k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getValue() const
Line
Count
Source
141
274
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue() const
Line
Count
Source
141
1.71k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue() const
Line
Count
Source
141
1.51k
  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.49M
  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<unsigned int>::getValue()
Line
Count
Source
142
84.6k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::AsmToken>::getValue()
Line
Count
Source
142
1
  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
650k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<char>::getValue()
Line
Count
Source
142
217
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned long long>::getValue()
Line
Count
Source
142
118
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Function*>::getValue()
Line
Count
Source
142
30
  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
55
  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
97.2k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Constant*>::getValue()
Line
Count
Source
142
4
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue()
Line
Count
Source
142
377k
  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
94
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::Module*>::getValue()
Line
Count
Source
142
71.7k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int const*>::getValue()
Line
Count
Source
142
193
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue()
Line
Count
Source
142
5.66k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue()
Line
Count
Source
142
3.25k
  ValueTy &getValue() { return second; }
143
144
2.53M
  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.55G
  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
77.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::getKeyData() const
Line
Count
Source
149
77.8k
  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.44k
  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
17.3M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int>::getKeyData() const
Line
Count
Source
149
43.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<int>::getKeyData() const
Line
Count
Source
149
18.7M
  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
286
  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.28k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char>::getKeyData() const
Line
Count
Source
149
6.65M
  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.69k
  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
975
  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.92k
  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.61k
  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
192
  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
12.1k
  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
956
  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
608
  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.45k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Comdat>::getKeyData() const
Line
Count
Source
149
114k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::getKeyData() const
Line
Count
Source
149
950k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned char>::getKeyData() const
Line
Count
Source
149
192k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MDString>::getKeyData() const
Line
Count
Source
149
28.2M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::NamedMDNode*>::getKeyData() const
Line
Count
Source
149
55.2k
  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.21k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::PassInfo const*>::getKeyData() const
Line
Count
Source
149
22.7M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StructType*>::getKeyData() const
Line
Count
Source
149
1.49M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Value*>::getKeyData() const
Line
Count
Source
149
426M
  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
784
  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
379
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Function*>::getKeyData() const
Line
Count
Source
149
248
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKeyData() const
Line
Count
Source
149
333
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long long>::getKeyData() const
Line
Count
Source
149
707
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKeyData() const
Line
Count
Source
149
55
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSymbol*>::getKeyData() const
Line
Count
Source
149
4.00M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSectionMachO*>::getKeyData() const
Line
Count
Source
149
846k
  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
2.79M
  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
691k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCAsmMacro>::getKeyData() const
Line
Count
Source
149
238
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::cl::Option*>::getKeyData() const
Line
Count
Source
149
122M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long>::getKeyData() const
Line
Count
Source
149
29.1k
  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
259
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getKeyData() const
Line
Count
Source
149
284
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
Unexecuted instantiation: llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::getKeyData() const
Unexecuted instantiation: llvm::StringMapEntry<llvm::Timer>::getKeyData() const
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::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::getKeyData() const
Line
Count
Source
149
535k
  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
839M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::DirectoryEntry*>::getKeyData() const
Line
Count
Source
149
830k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileEntry*>::getKeyData() const
Line
Count
Source
149
3.31M
  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.58k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKeyData() const
Line
Count
Source
149
4.18M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Constant*>::getKeyData() const
Line
Count
Source
149
47
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalVariable*>::getKeyData() const
Line
Count
Source
149
2.59k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
149
374
  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
8.64k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKeyData() const
Line
Count
Source
149
48
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
149
162
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::GlobalDecl>::getKeyData() const
Line
Count
Source
149
3.81M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >::getKeyData() const
Line
Count
Source
149
28
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::getKeyData() const
Line
Count
Source
149
181
  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
27.6k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char const*>::getKeyData() const
Line
Count
Source
149
78
  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
556k
  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
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::getKeyData() const
Line
Count
Source
149
603
  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
651k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DIE const*>::getKeyData() const
Line
Count
Source
149
2.47k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::getKeyData() const
Line
Count
Source
149
72.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SDNode*>::getKeyData() const
Line
Count
Source
149
16.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::getKeyData() const
Line
Count
Source
149
745
  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
294
  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
440
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ento::BugType*>::getKeyData() const
Line
Count
Source
149
504
  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.93k
  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
142k
  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.58k
  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
516
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::getKeyData() const
Line
Count
Source
149
360k
  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.1k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PragmaHandler*>::getKeyData() const
Line
Count
Source
149
1.89M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Type*>::getKeyData() const
Line
Count
Source
149
117
  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
11.6k
  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
254
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int const*>::getKeyData() const
Line
Count
Source
149
8.11k
  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
77.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RegisterBank const*>::getKeyData() const
Line
Count
Source
149
2.29k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::elf::OutputSection*>::getKeyData() const
Line
Count
Source
149
299k
  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);}
Unexecuted instantiation: llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::getKeyData() const
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
122
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned short>::getKeyData() const
Line
Count
Source
149
32
  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
45.1M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<bool>::first() const
Line
Count
Source
151
11.6M
  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.45k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::Comdat>::first() const
Line
Count
Source
151
85.3k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::ConstantDataSequential*>::first() const
Line
Count
Source
151
479k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<char>::first() const
Line
Count
Source
151
34.1k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned int>::first() const
Line
Count
Source
151
262k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned char>::first() const
Line
Count
Source
151
8.55k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::MDString>::first() const
Line
Count
Source
151
27.8M
  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
723
  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
317
  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
267k
  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
415k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FileEntry*>::first() const
Line
Count
Source
151
1.65M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::GlobalVariable*>::first() const
Line
Count
Source
151
291
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::first() const
Line
Count
Source
151
187
  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.28k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::first() const
Line
Count
Source
151
81
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::GlobalDecl>::first() const
Line
Count
Source
151
1.90M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >::first() const
Line
Count
Source
151
14
  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
452
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::first() const
Line
Count
Source
151
485k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::first() const
Line
Count
Source
151
71.2k
  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
78
  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()); }
Unexecuted instantiation: llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::first() const
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> > >::first() const
Line
Count
Source
151
61
  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
386M
                                InitTy &&... InitVals) {
158
386M
    size_t KeyLength = Key.size();
159
386M
160
386M
    // Allocate a new item with space for the string at the end and a null
161
386M
    // terminator.
162
386M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
386M
    size_t Alignment = alignof(StringMapEntry);
164
386M
165
386M
    StringMapEntry *NewItem =
166
386M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
386M
    assert(NewItem && "Unhandled out-of-memory");
168
386M
169
386M
    // Construct the value.
170
386M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
386M
172
386M
    // Copy the string information.
173
386M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
386M
    if (KeyLength > 0)
175
386M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
386M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
386M
    return NewItem;
178
386M
  }
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
77.8k
                                InitTy &&... InitVals) {
158
77.8k
    size_t KeyLength = Key.size();
159
77.8k
160
77.8k
    // Allocate a new item with space for the string at the end and a null
161
77.8k
    // terminator.
162
77.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
77.8k
    size_t Alignment = alignof(StringMapEntry);
164
77.8k
165
77.8k
    StringMapEntry *NewItem =
166
77.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
77.8k
    assert(NewItem && "Unhandled out-of-memory");
168
77.8k
169
77.8k
    // Construct the value.
170
77.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
77.8k
172
77.8k
    // Copy the string information.
173
77.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
77.8k
    if (KeyLength > 0)
175
77.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
77.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
77.8k
    return NewItem;
178
77.8k
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
77.8k
                                InitTy &&... InitVals) {
158
77.8k
    size_t KeyLength = Key.size();
159
77.8k
160
77.8k
    // Allocate a new item with space for the string at the end and a null
161
77.8k
    // terminator.
162
77.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
77.8k
    size_t Alignment = alignof(StringMapEntry);
164
77.8k
165
77.8k
    StringMapEntry *NewItem =
166
77.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
77.8k
    assert(NewItem && "Unhandled out-of-memory");
168
77.8k
169
77.8k
    // Construct the value.
170
77.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
77.8k
172
77.8k
    // Copy the string information.
173
77.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
77.8k
    if (KeyLength > 0)
175
77.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
77.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
77.8k
    return NewItem;
178
77.8k
  }
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.44k
                                InitTy &&... InitVals) {
158
8.44k
    size_t KeyLength = Key.size();
159
8.44k
160
8.44k
    // Allocate a new item with space for the string at the end and a null
161
8.44k
    // terminator.
162
8.44k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
8.44k
    size_t Alignment = alignof(StringMapEntry);
164
8.44k
165
8.44k
    StringMapEntry *NewItem =
166
8.44k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
8.44k
    assert(NewItem && "Unhandled out-of-memory");
168
8.44k
169
8.44k
    // Construct the value.
170
8.44k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
8.44k
172
8.44k
    // Copy the string information.
173
8.44k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
8.44k
    if (KeyLength > 0)
175
7.41k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
8.44k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
8.44k
    return NewItem;
178
8.44k
  }
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.19M
                                InitTy &&... InitVals) {
158
3.19M
    size_t KeyLength = Key.size();
159
3.19M
160
3.19M
    // Allocate a new item with space for the string at the end and a null
161
3.19M
    // terminator.
162
3.19M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.19M
    size_t Alignment = alignof(StringMapEntry);
164
3.19M
165
3.19M
    StringMapEntry *NewItem =
166
3.19M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.19M
    assert(NewItem && "Unhandled out-of-memory");
168
3.19M
169
3.19M
    // Construct the value.
170
3.19M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.19M
172
3.19M
    // Copy the string information.
173
3.19M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.19M
    if (KeyLength > 0)
175
3.19M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.19M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.19M
    return NewItem;
178
3.19M
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
157
18.0M
                                InitTy &&... InitVals) {
158
18.0M
    size_t KeyLength = Key.size();
159
18.0M
160
18.0M
    // Allocate a new item with space for the string at the end and a null
161
18.0M
    // terminator.
162
18.0M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
18.0M
    size_t Alignment = alignof(StringMapEntry);
164
18.0M
165
18.0M
    StringMapEntry *NewItem =
166
18.0M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
18.0M
    assert(NewItem && "Unhandled out-of-memory");
168
18.0M
169
18.0M
    // Construct the value.
170
18.0M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
18.0M
172
18.0M
    // Copy the string information.
173
18.0M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
18.0M
    if (KeyLength > 0)
175
17.9M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
18.0M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
18.0M
    return NewItem;
178
18.0M
  }
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
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<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.28k
                                InitTy &&... InitVals) {
158
2.28k
    size_t KeyLength = Key.size();
159
2.28k
160
2.28k
    // Allocate a new item with space for the string at the end and a null
161
2.28k
    // terminator.
162
2.28k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.28k
    size_t Alignment = alignof(StringMapEntry);
164
2.28k
165
2.28k
    StringMapEntry *NewItem =
166
2.28k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.28k
    assert(NewItem && "Unhandled out-of-memory");
168
2.28k
169
2.28k
    // Construct the value.
170
2.28k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.28k
172
2.28k
    // Copy the string information.
173
2.28k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.28k
    if (KeyLength > 0)
175
2.28k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.28k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.28k
    return NewItem;
178
2.28k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char>(llvm::StringRef, llvm::MallocAllocator&, char&&)
Line
Count
Source
157
806k
                                InitTy &&... InitVals) {
158
806k
    size_t KeyLength = Key.size();
159
806k
160
806k
    // Allocate a new item with space for the string at the end and a null
161
806k
    // terminator.
162
806k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
806k
    size_t Alignment = alignof(StringMapEntry);
164
806k
165
806k
    StringMapEntry *NewItem =
166
806k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
806k
    assert(NewItem && "Unhandled out-of-memory");
168
806k
169
806k
    // Construct the value.
170
806k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
806k
172
806k
    // Copy the string information.
173
806k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
806k
    if (KeyLength > 0)
175
807k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
806k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
806k
    return NewItem;
178
806k
  }
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.69k
                                InitTy &&... InitVals) {
158
4.69k
    size_t KeyLength = Key.size();
159
4.69k
160
4.69k
    // Allocate a new item with space for the string at the end and a null
161
4.69k
    // terminator.
162
4.69k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.69k
    size_t Alignment = alignof(StringMapEntry);
164
4.69k
165
4.69k
    StringMapEntry *NewItem =
166
4.69k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.69k
    assert(NewItem && "Unhandled out-of-memory");
168
4.69k
169
4.69k
    // Construct the value.
170
4.69k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.69k
172
4.69k
    // Copy the string information.
173
4.69k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.69k
    if (KeyLength > 0)
175
3.16k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.69k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.69k
    return NewItem;
178
4.69k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&)
Line
Count
Source
157
38.7M
                                InitTy &&... InitVals) {
158
38.7M
    size_t KeyLength = Key.size();
159
38.7M
160
38.7M
    // Allocate a new item with space for the string at the end and a null
161
38.7M
    // terminator.
162
38.7M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
38.7M
    size_t Alignment = alignof(StringMapEntry);
164
38.7M
165
38.7M
    StringMapEntry *NewItem =
166
38.7M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
38.7M
    assert(NewItem && "Unhandled out-of-memory");
168
38.7M
169
38.7M
    // Construct the value.
170
38.7M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
38.7M
172
38.7M
    // Copy the string information.
173
38.7M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
38.7M
    if (KeyLength > 0)
175
38.7M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
38.7M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
38.7M
    return NewItem;
178
38.7M
  }
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
975
                                InitTy &&... InitVals) {
158
975
    size_t KeyLength = Key.size();
159
975
160
975
    // Allocate a new item with space for the string at the end and a null
161
975
    // terminator.
162
975
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
975
    size_t Alignment = alignof(StringMapEntry);
164
975
165
975
    StringMapEntry *NewItem =
166
975
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
975
    assert(NewItem && "Unhandled out-of-memory");
168
975
169
975
    // Construct the value.
170
975
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
975
172
975
    // Copy the string information.
173
975
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
975
    if (KeyLength > 0)
175
473
      memcpy(StrBuffer, Key.data(), KeyLength);
176
975
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
975
    return NewItem;
178
975
  }
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.92k
                                InitTy &&... InitVals) {
158
1.92k
    size_t KeyLength = Key.size();
159
1.92k
160
1.92k
    // Allocate a new item with space for the string at the end and a null
161
1.92k
    // terminator.
162
1.92k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.92k
    size_t Alignment = alignof(StringMapEntry);
164
1.92k
165
1.92k
    StringMapEntry *NewItem =
166
1.92k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.92k
    assert(NewItem && "Unhandled out-of-memory");
168
1.92k
169
1.92k
    // Construct the value.
170
1.92k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.92k
172
1.92k
    // Copy the string information.
173
1.92k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.92k
    if (KeyLength > 0)
175
1.56k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.92k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.92k
    return NewItem;
178
1.92k
  }
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.61k
                                InitTy &&... InitVals) {
158
1.61k
    size_t KeyLength = Key.size();
159
1.61k
160
1.61k
    // Allocate a new item with space for the string at the end and a null
161
1.61k
    // terminator.
162
1.61k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.61k
    size_t Alignment = alignof(StringMapEntry);
164
1.61k
165
1.61k
    StringMapEntry *NewItem =
166
1.61k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.61k
    assert(NewItem && "Unhandled out-of-memory");
168
1.61k
169
1.61k
    // Construct the value.
170
1.61k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.61k
172
1.61k
    // Copy the string information.
173
1.61k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.61k
    if (KeyLength > 0)
175
1.60k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.61k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.61k
    return NewItem;
178
1.61k
  }
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
192
                                InitTy &&... InitVals) {
158
192
    size_t KeyLength = Key.size();
159
192
160
192
    // Allocate a new item with space for the string at the end and a null
161
192
    // terminator.
162
192
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
192
    size_t Alignment = alignof(StringMapEntry);
164
192
165
192
    StringMapEntry *NewItem =
166
192
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
192
    assert(NewItem && "Unhandled out-of-memory");
168
192
169
192
    // Construct the value.
170
192
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
192
172
192
    // Copy the string information.
173
192
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
192
    if (KeyLength > 0)
175
60
      memcpy(StrBuffer, Key.data(), KeyLength);
176
192
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
192
    return NewItem;
178
192
  }
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
12.1k
                                InitTy &&... InitVals) {
158
12.1k
    size_t KeyLength = Key.size();
159
12.1k
160
12.1k
    // Allocate a new item with space for the string at the end and a null
161
12.1k
    // terminator.
162
12.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
12.1k
    size_t Alignment = alignof(StringMapEntry);
164
12.1k
165
12.1k
    StringMapEntry *NewItem =
166
12.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
12.1k
    assert(NewItem && "Unhandled out-of-memory");
168
12.1k
169
12.1k
    // Construct the value.
170
12.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
12.1k
172
12.1k
    // Copy the string information.
173
12.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
12.1k
    if (KeyLength > 0)
175
8.02k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
12.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
12.1k
    return NewItem;
178
12.1k
  }
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
956
                                InitTy &&... InitVals) {
158
956
    size_t KeyLength = Key.size();
159
956
160
956
    // Allocate a new item with space for the string at the end and a null
161
956
    // terminator.
162
956
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
956
    size_t Alignment = alignof(StringMapEntry);
164
956
165
956
    StringMapEntry *NewItem =
166
956
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
956
    assert(NewItem && "Unhandled out-of-memory");
168
956
169
956
    // Construct the value.
170
956
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
956
172
956
    // Copy the string information.
173
956
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
956
    if (KeyLength > 0)
175
244
      memcpy(StrBuffer, Key.data(), KeyLength);
176
956
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
956
    return NewItem;
178
956
  }
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
608
                                InitTy &&... InitVals) {
158
608
    size_t KeyLength = Key.size();
159
608
160
608
    // Allocate a new item with space for the string at the end and a null
161
608
    // terminator.
162
608
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
608
    size_t Alignment = alignof(StringMapEntry);
164
608
165
608
    StringMapEntry *NewItem =
166
608
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
608
    assert(NewItem && "Unhandled out-of-memory");
168
608
169
608
    // Construct the value.
170
608
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
608
172
608
    // Copy the string information.
173
608
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
608
    if (KeyLength > 0)
175
608
      memcpy(StrBuffer, Key.data(), KeyLength);
176
608
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
608
    return NewItem;
178
608
  }
llvm::StringMapEntry<llvm::ConstantDataSequential*>* llvm::StringMapEntry<llvm::ConstantDataSequential*>::Create<llvm::MallocAllocator, llvm::ConstantDataSequential*>(llvm::StringRef, llvm::MallocAllocator&, llvm::ConstantDataSequential*&&)
Line
Count
Source
157
470k
                                InitTy &&... InitVals) {
158
470k
    size_t KeyLength = Key.size();
159
470k
160
470k
    // Allocate a new item with space for the string at the end and a null
161
470k
    // terminator.
162
470k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
470k
    size_t Alignment = alignof(StringMapEntry);
164
470k
165
470k
    StringMapEntry *NewItem =
166
470k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
470k
    assert(NewItem && "Unhandled out-of-memory");
168
470k
169
470k
    // Construct the value.
170
470k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
470k
172
470k
    // Copy the string information.
173
470k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
470k
    if (KeyLength > 0)
175
470k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
470k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
470k
    return NewItem;
178
470k
  }
llvm::StringMapEntry<unsigned char>* llvm::StringMapEntry<unsigned char>::Create<llvm::MallocAllocator, unsigned char>(llvm::StringRef, llvm::MallocAllocator&, unsigned char&&)
Line
Count
Source
157
183k
                                InitTy &&... InitVals) {
158
183k
    size_t KeyLength = Key.size();
159
183k
160
183k
    // Allocate a new item with space for the string at the end and a null
161
183k
    // terminator.
162
183k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
183k
    size_t Alignment = alignof(StringMapEntry);
164
183k
165
183k
    StringMapEntry *NewItem =
166
183k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
183k
    assert(NewItem && "Unhandled out-of-memory");
168
183k
169
183k
    // Construct the value.
170
183k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
183k
172
183k
    // Copy the string information.
173
183k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
183k
    if (KeyLength > 0)
175
94.4k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
183k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
183k
    return NewItem;
178
183k
  }
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
401k
                                InitTy &&... InitVals) {
158
401k
    size_t KeyLength = Key.size();
159
401k
160
401k
    // Allocate a new item with space for the string at the end and a null
161
401k
    // terminator.
162
401k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
401k
    size_t Alignment = alignof(StringMapEntry);
164
401k
165
401k
    StringMapEntry *NewItem =
166
401k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
401k
    assert(NewItem && "Unhandled out-of-memory");
168
401k
169
401k
    // Construct the value.
170
401k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
401k
172
401k
    // Copy the string information.
173
401k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
401k
    if (KeyLength > 0)
175
397k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
401k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
401k
    return NewItem;
178
401k
  }
llvm::StringMapEntry<llvm::NamedMDNode*>* llvm::StringMapEntry<llvm::NamedMDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
55.2k
                                InitTy &&... InitVals) {
158
55.2k
    size_t KeyLength = Key.size();
159
55.2k
160
55.2k
    // Allocate a new item with space for the string at the end and a null
161
55.2k
    // terminator.
162
55.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
55.2k
    size_t Alignment = alignof(StringMapEntry);
164
55.2k
165
55.2k
    StringMapEntry *NewItem =
166
55.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
55.2k
    assert(NewItem && "Unhandled out-of-memory");
168
55.2k
169
55.2k
    // Construct the value.
170
55.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
55.2k
172
55.2k
    // Copy the string information.
173
55.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
55.2k
    if (KeyLength > 0)
175
55.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
55.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
55.2k
    return NewItem;
178
55.2k
  }
llvm::StringMapEntry<llvm::Comdat>* llvm::StringMapEntry<llvm::Comdat>::Create<llvm::MallocAllocator, llvm::Comdat>(llvm::StringRef, llvm::MallocAllocator&, llvm::Comdat&&)
Line
Count
Source
157
29.6k
                                InitTy &&... InitVals) {
158
29.6k
    size_t KeyLength = Key.size();
159
29.6k
160
29.6k
    // Allocate a new item with space for the string at the end and a null
161
29.6k
    // terminator.
162
29.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
29.6k
    size_t Alignment = alignof(StringMapEntry);
164
29.6k
165
29.6k
    StringMapEntry *NewItem =
166
29.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
29.6k
    assert(NewItem && "Unhandled out-of-memory");
168
29.6k
169
29.6k
    // Construct the value.
170
29.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
29.6k
172
29.6k
    // Copy the string information.
173
29.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
29.6k
    if (KeyLength > 0)
175
29.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
29.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
29.6k
    return NewItem;
178
29.6k
  }
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
488
                                InitTy &&... InitVals) {
158
488
    size_t KeyLength = Key.size();
159
488
160
488
    // Allocate a new item with space for the string at the end and a null
161
488
    // terminator.
162
488
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
488
    size_t Alignment = alignof(StringMapEntry);
164
488
165
488
    StringMapEntry *NewItem =
166
488
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
488
    assert(NewItem && "Unhandled out-of-memory");
168
488
169
488
    // Construct the value.
170
488
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
488
172
488
    // Copy the string information.
173
488
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
488
    if (KeyLength > 0)
175
471
      memcpy(StrBuffer, Key.data(), KeyLength);
176
488
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
488
    return NewItem;
178
488
  }
llvm::StringMapEntry<llvm::PassInfo const*>* llvm::StringMapEntry<llvm::PassInfo const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
22.7M
                                InitTy &&... InitVals) {
158
22.7M
    size_t KeyLength = Key.size();
159
22.7M
160
22.7M
    // Allocate a new item with space for the string at the end and a null
161
22.7M
    // terminator.
162
22.7M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
22.7M
    size_t Alignment = alignof(StringMapEntry);
164
22.7M
165
22.7M
    StringMapEntry *NewItem =
166
22.7M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
22.7M
    assert(NewItem && "Unhandled out-of-memory");
168
22.7M
169
22.7M
    // Construct the value.
170
22.7M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
22.7M
172
22.7M
    // Copy the string information.
173
22.7M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
22.7M
    if (KeyLength > 0)
175
22.7M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
22.7M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
22.7M
    return NewItem;
178
22.7M
  }
llvm::StringMapEntry<llvm::StructType*>* llvm::StringMapEntry<llvm::StructType*>::Create<llvm::MallocAllocator, llvm::StructType*>(llvm::StringRef, llvm::MallocAllocator&, llvm::StructType*&&)
Line
Count
Source
157
235k
                                InitTy &&... InitVals) {
158
235k
    size_t KeyLength = Key.size();
159
235k
160
235k
    // Allocate a new item with space for the string at the end and a null
161
235k
    // terminator.
162
235k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
235k
    size_t Alignment = alignof(StringMapEntry);
164
235k
165
235k
    StringMapEntry *NewItem =
166
235k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
235k
    assert(NewItem && "Unhandled out-of-memory");
168
235k
169
235k
    // Construct the value.
170
235k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
235k
172
235k
    // Copy the string information.
173
235k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
235k
    if (KeyLength > 0)
175
235k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
235k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
235k
    return NewItem;
178
235k
  }
llvm::StringMapEntry<llvm::Value*>* llvm::StringMapEntry<llvm::Value*>::Create<llvm::MallocAllocator, llvm::Value*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Value*&&)
Line
Count
Source
157
16.0M
                                InitTy &&... InitVals) {
158
16.0M
    size_t KeyLength = Key.size();
159
16.0M
160
16.0M
    // Allocate a new item with space for the string at the end and a null
161
16.0M
    // terminator.
162
16.0M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
16.0M
    size_t Alignment = alignof(StringMapEntry);
164
16.0M
165
16.0M
    StringMapEntry *NewItem =
166
16.0M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
16.0M
    assert(NewItem && "Unhandled out-of-memory");
168
16.0M
169
16.0M
    // Construct the value.
170
16.0M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
16.0M
172
16.0M
    // Copy the string information.
173
16.0M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
16.0M
    if (KeyLength > 0)
175
16.0M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
16.0M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
16.0M
    return NewItem;
178
16.0M
  }
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >* llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
467
                                InitTy &&... InitVals) {
158
467
    size_t KeyLength = Key.size();
159
467
160
467
    // Allocate a new item with space for the string at the end and a null
161
467
    // terminator.
162
467
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
467
    size_t Alignment = alignof(StringMapEntry);
164
467
165
467
    StringMapEntry *NewItem =
166
467
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
467
    assert(NewItem && "Unhandled out-of-memory");
168
467
169
467
    // Construct the value.
170
467
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
467
172
467
    // Copy the string information.
173
467
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
467
    if (KeyLength > 0)
175
467
      memcpy(StrBuffer, Key.data(), KeyLength);
176
467
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
467
    return NewItem;
178
467
  }
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
379
                                InitTy &&... InitVals) {
158
379
    size_t KeyLength = Key.size();
159
379
160
379
    // Allocate a new item with space for the string at the end and a null
161
379
    // terminator.
162
379
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
379
    size_t Alignment = alignof(StringMapEntry);
164
379
165
379
    StringMapEntry *NewItem =
166
379
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
379
    assert(NewItem && "Unhandled out-of-memory");
168
379
169
379
    // Construct the value.
170
379
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
379
172
379
    // Copy the string information.
173
379
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
379
    if (KeyLength > 0)
175
369
      memcpy(StrBuffer, Key.data(), KeyLength);
176
379
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
379
    return NewItem;
178
379
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char&>(llvm::StringRef, llvm::MallocAllocator&, char&&&)
Line
Count
Source
157
217
                                InitTy &&... InitVals) {
158
217
    size_t KeyLength = Key.size();
159
217
160
217
    // Allocate a new item with space for the string at the end and a null
161
217
    // terminator.
162
217
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
217
    size_t Alignment = alignof(StringMapEntry);
164
217
165
217
    StringMapEntry *NewItem =
166
217
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
217
    assert(NewItem && "Unhandled out-of-memory");
168
217
169
217
    // Construct the value.
170
217
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
217
172
217
    // Copy the string information.
173
217
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
217
    if (KeyLength > 0)
175
217
      memcpy(StrBuffer, Key.data(), KeyLength);
176
217
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
217
    return NewItem;
178
217
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
227
                                InitTy &&... InitVals) {
158
227
    size_t KeyLength = Key.size();
159
227
160
227
    // Allocate a new item with space for the string at the end and a null
161
227
    // terminator.
162
227
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
227
    size_t Alignment = alignof(StringMapEntry);
164
227
165
227
    StringMapEntry *NewItem =
166
227
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
227
    assert(NewItem && "Unhandled out-of-memory");
168
227
169
227
    // Construct the value.
170
227
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
227
172
227
    // Copy the string information.
173
227
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
227
    if (KeyLength > 0)
175
227
      memcpy(StrBuffer, Key.data(), KeyLength);
176
227
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
227
    return NewItem;
178
227
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator, llvm::Function*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Function*&&)
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::sampleprof::FunctionSamples>* llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
215
                                InitTy &&... InitVals) {
158
215
    size_t KeyLength = Key.size();
159
215
160
215
    // Allocate a new item with space for the string at the end and a null
161
215
    // terminator.
162
215
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
215
    size_t Alignment = alignof(StringMapEntry);
164
215
165
215
    StringMapEntry *NewItem =
166
215
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
215
    assert(NewItem && "Unhandled out-of-memory");
168
215
169
215
    // Construct the value.
170
215
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
215
172
215
    // Copy the string information.
173
215
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
215
    if (KeyLength > 0)
175
215
      memcpy(StrBuffer, Key.data(), KeyLength);
176
215
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
215
    return NewItem;
178
215
  }
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
45
                                InitTy &&... InitVals) {
158
45
    size_t KeyLength = Key.size();
159
45
160
45
    // Allocate a new item with space for the string at the end and a null
161
45
    // terminator.
162
45
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
45
    size_t Alignment = alignof(StringMapEntry);
164
45
165
45
    StringMapEntry *NewItem =
166
45
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
45
    assert(NewItem && "Unhandled out-of-memory");
168
45
169
45
    // Construct the value.
170
45
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
45
172
45
    // Copy the string information.
173
45
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
45
    if (KeyLength > 0)
175
45
      memcpy(StrBuffer, Key.data(), KeyLength);
176
45
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
45
    return NewItem;
178
45
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
496
                                InitTy &&... InitVals) {
158
496
    size_t KeyLength = Key.size();
159
496
160
496
    // Allocate a new item with space for the string at the end and a null
161
496
    // terminator.
162
496
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
496
    size_t Alignment = alignof(StringMapEntry);
164
496
165
496
    StringMapEntry *NewItem =
166
496
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
496
    assert(NewItem && "Unhandled out-of-memory");
168
496
169
496
    // Construct the value.
170
496
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
496
172
496
    // Copy the string information.
173
496
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
496
    if (KeyLength > 0)
175
492
      memcpy(StrBuffer, Key.data(), KeyLength);
176
496
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
496
    return NewItem;
178
496
  }
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
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::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.00M
                                InitTy &&... InitVals) {
158
4.00M
    size_t KeyLength = Key.size();
159
4.00M
160
4.00M
    // Allocate a new item with space for the string at the end and a null
161
4.00M
    // terminator.
162
4.00M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.00M
    size_t Alignment = alignof(StringMapEntry);
164
4.00M
165
4.00M
    StringMapEntry *NewItem =
166
4.00M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.00M
    assert(NewItem && "Unhandled out-of-memory");
168
4.00M
169
4.00M
    // Construct the value.
170
4.00M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.00M
172
4.00M
    // Copy the string information.
173
4.00M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.00M
    if (KeyLength > 0)
175
4.00M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.00M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.00M
    return NewItem;
178
4.00M
  }
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.32M
                                InitTy &&... InitVals) {
158
4.32M
    size_t KeyLength = Key.size();
159
4.32M
160
4.32M
    // Allocate a new item with space for the string at the end and a null
161
4.32M
    // terminator.
162
4.32M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.32M
    size_t Alignment = alignof(StringMapEntry);
164
4.32M
165
4.32M
    StringMapEntry *NewItem =
166
4.32M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.32M
    assert(NewItem && "Unhandled out-of-memory");
168
4.32M
169
4.32M
    // Construct the value.
170
4.32M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.32M
172
4.32M
    // Copy the string information.
173
4.32M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.32M
    if (KeyLength > 0)
175
4.32M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.32M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.32M
    return NewItem;
178
4.32M
  }
llvm::StringMapEntry<llvm::MCSectionMachO*>* llvm::StringMapEntry<llvm::MCSectionMachO*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
846k
                                InitTy &&... InitVals) {
158
846k
    size_t KeyLength = Key.size();
159
846k
160
846k
    // Allocate a new item with space for the string at the end and a null
161
846k
    // terminator.
162
846k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
846k
    size_t Alignment = alignof(StringMapEntry);
164
846k
165
846k
    StringMapEntry *NewItem =
166
846k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
846k
    assert(NewItem && "Unhandled out-of-memory");
168
846k
169
846k
    // Construct the value.
170
846k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
846k
172
846k
    // Copy the string information.
173
846k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
846k
    if (KeyLength > 0)
175
846k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
846k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
846k
    return NewItem;
178
846k
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator, bool>(llvm::StringRef, llvm::MallocAllocator&, bool&&)
Line
Count
Source
157
3.65k
                                InitTy &&... InitVals) {
158
3.65k
    size_t KeyLength = Key.size();
159
3.65k
160
3.65k
    // Allocate a new item with space for the string at the end and a null
161
3.65k
    // terminator.
162
3.65k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.65k
    size_t Alignment = alignof(StringMapEntry);
164
3.65k
165
3.65k
    StringMapEntry *NewItem =
166
3.65k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.65k
    assert(NewItem && "Unhandled out-of-memory");
168
3.65k
169
3.65k
    // Construct the value.
170
3.65k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.65k
172
3.65k
    // Copy the string information.
173
3.65k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.65k
    if (KeyLength > 0)
175
3.66k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.65k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.65k
    return NewItem;
178
3.65k
  }
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
2.79M
                                InitTy &&... InitVals) {
158
2.79M
    size_t KeyLength = Key.size();
159
2.79M
160
2.79M
    // Allocate a new item with space for the string at the end and a null
161
2.79M
    // terminator.
162
2.79M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.79M
    size_t Alignment = alignof(StringMapEntry);
164
2.79M
165
2.79M
    StringMapEntry *NewItem =
166
2.79M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.79M
    assert(NewItem && "Unhandled out-of-memory");
168
2.79M
169
2.79M
    // Construct the value.
170
2.79M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.79M
172
2.79M
    // Copy the string information.
173
2.79M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.79M
    if (KeyLength > 0)
175
2.79M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.79M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.79M
    return NewItem;
178
2.79M
  }
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
691k
                                InitTy &&... InitVals) {
158
691k
    size_t KeyLength = Key.size();
159
691k
160
691k
    // Allocate a new item with space for the string at the end and a null
161
691k
    // terminator.
162
691k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
691k
    size_t Alignment = alignof(StringMapEntry);
164
691k
165
691k
    StringMapEntry *NewItem =
166
691k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
691k
    assert(NewItem && "Unhandled out-of-memory");
168
691k
169
691k
    // Construct the value.
170
691k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
691k
172
691k
    // Copy the string information.
173
691k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
691k
    if (KeyLength > 0)
175
691k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
691k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
691k
    return NewItem;
178
691k
  }
llvm::StringMapEntry<llvm::MCAsmMacro>* llvm::StringMapEntry<llvm::MCAsmMacro>::Create<llvm::MallocAllocator, llvm::MCAsmMacro>(llvm::StringRef, llvm::MallocAllocator&, llvm::MCAsmMacro&&)
Line
Count
Source
157
238
                                InitTy &&... InitVals) {
158
238
    size_t KeyLength = Key.size();
159
238
160
238
    // Allocate a new item with space for the string at the end and a null
161
238
    // terminator.
162
238
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
238
    size_t Alignment = alignof(StringMapEntry);
164
238
165
238
    StringMapEntry *NewItem =
166
238
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
238
    assert(NewItem && "Unhandled out-of-memory");
168
238
169
238
    // Construct the value.
170
238
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
238
172
238
    // Copy the string information.
173
238
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
238
    if (KeyLength > 0)
175
238
      memcpy(StrBuffer, Key.data(), KeyLength);
176
238
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
238
    return NewItem;
178
238
  }
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
122M
                                InitTy &&... InitVals) {
158
122M
    size_t KeyLength = Key.size();
159
122M
160
122M
    // Allocate a new item with space for the string at the end and a null
161
122M
    // terminator.
162
122M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
122M
    size_t Alignment = alignof(StringMapEntry);
164
122M
165
122M
    StringMapEntry *NewItem =
166
122M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
122M
    assert(NewItem && "Unhandled out-of-memory");
168
122M
169
122M
    // Construct the value.
170
122M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
122M
172
122M
    // Copy the string information.
173
122M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
122M
    if (KeyLength > 0)
175
122M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
122M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
122M
    return NewItem;
178
122M
  }
llvm::StringMapEntry<unsigned long>* llvm::StringMapEntry<unsigned long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
29.1k
                                InitTy &&... InitVals) {
158
29.1k
    size_t KeyLength = Key.size();
159
29.1k
160
29.1k
    // Allocate a new item with space for the string at the end and a null
161
29.1k
    // terminator.
162
29.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
29.1k
    size_t Alignment = alignof(StringMapEntry);
164
29.1k
165
29.1k
    StringMapEntry *NewItem =
166
29.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
29.1k
    assert(NewItem && "Unhandled out-of-memory");
168
29.1k
169
29.1k
    // Construct the value.
170
29.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
29.1k
172
29.1k
    // Copy the string information.
173
29.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
29.1k
    if (KeyLength > 0)
175
29.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
29.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
29.1k
    return NewItem;
178
29.1k
  }
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
259
                                InitTy &&... InitVals) {
158
259
    size_t KeyLength = Key.size();
159
259
160
259
    // Allocate a new item with space for the string at the end and a null
161
259
    // terminator.
162
259
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
259
    size_t Alignment = alignof(StringMapEntry);
164
259
165
259
    StringMapEntry *NewItem =
166
259
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
259
    assert(NewItem && "Unhandled out-of-memory");
168
259
169
259
    // Construct the value.
170
259
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
259
172
259
    // Copy the string information.
173
259
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
259
    if (KeyLength > 0)
175
259
      memcpy(StrBuffer, Key.data(), KeyLength);
176
259
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
259
    return NewItem;
178
259
  }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>* llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
284
                                InitTy &&... InitVals) {
158
284
    size_t KeyLength = Key.size();
159
284
160
284
    // Allocate a new item with space for the string at the end and a null
161
284
    // terminator.
162
284
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
284
    size_t Alignment = alignof(StringMapEntry);
164
284
165
284
    StringMapEntry *NewItem =
166
284
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
284
    assert(NewItem && "Unhandled out-of-memory");
168
284
169
284
    // Construct the value.
170
284
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
284
172
284
    // Copy the string information.
173
284
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
284
    if (KeyLength > 0)
175
44
      memcpy(StrBuffer, Key.data(), KeyLength);
176
284
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
284
    return NewItem;
178
284
  }
Unexecuted instantiation: 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&)
Unexecuted instantiation: llvm::StringMapEntry<llvm::Timer>* llvm::StringMapEntry<llvm::Timer>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
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
267k
                                InitTy &&... InitVals) {
158
267k
    size_t KeyLength = Key.size();
159
267k
160
267k
    // Allocate a new item with space for the string at the end and a null
161
267k
    // terminator.
162
267k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
267k
    size_t Alignment = alignof(StringMapEntry);
164
267k
165
267k
    StringMapEntry *NewItem =
166
267k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
267k
    assert(NewItem && "Unhandled out-of-memory");
168
267k
169
267k
    // Construct the value.
170
267k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
267k
172
267k
    // Copy the string information.
173
267k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
267k
    if (KeyLength > 0)
175
267k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
267k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
267k
    return NewItem;
178
267k
  }
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<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
834k
                                InitTy &&... InitVals) {
158
834k
    size_t KeyLength = Key.size();
159
834k
160
834k
    // Allocate a new item with space for the string at the end and a null
161
834k
    // terminator.
162
834k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
834k
    size_t Alignment = alignof(StringMapEntry);
164
834k
165
834k
    StringMapEntry *NewItem =
166
834k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
834k
    assert(NewItem && "Unhandled out-of-memory");
168
834k
169
834k
    // Construct the value.
170
834k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
834k
172
834k
    // Copy the string information.
173
834k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
834k
    if (KeyLength > 0)
175
834k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
834k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
834k
    return NewItem;
178
834k
  }
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
137M
                                InitTy &&... InitVals) {
158
137M
    size_t KeyLength = Key.size();
159
137M
160
137M
    // Allocate a new item with space for the string at the end and a null
161
137M
    // terminator.
162
137M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
137M
    size_t Alignment = alignof(StringMapEntry);
164
137M
165
137M
    StringMapEntry *NewItem =
166
137M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
137M
    assert(NewItem && "Unhandled out-of-memory");
168
137M
169
137M
    // Construct the value.
170
137M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
137M
172
137M
    // Copy the string information.
173
137M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
137M
    if (KeyLength > 0)
175
137M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
137M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
137M
    return NewItem;
178
137M
  }
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
415k
                                InitTy &&... InitVals) {
158
415k
    size_t KeyLength = Key.size();
159
415k
160
415k
    // Allocate a new item with space for the string at the end and a null
161
415k
    // terminator.
162
415k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
415k
    size_t Alignment = alignof(StringMapEntry);
164
415k
165
415k
    StringMapEntry *NewItem =
166
415k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
415k
    assert(NewItem && "Unhandled out-of-memory");
168
415k
169
415k
    // Construct the value.
170
415k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
415k
172
415k
    // Copy the string information.
173
415k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
415k
    if (KeyLength > 0)
175
415k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
415k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
415k
    return NewItem;
178
415k
  }
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.65M
                                InitTy &&... InitVals) {
158
1.65M
    size_t KeyLength = Key.size();
159
1.65M
160
1.65M
    // Allocate a new item with space for the string at the end and a null
161
1.65M
    // terminator.
162
1.65M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.65M
    size_t Alignment = alignof(StringMapEntry);
164
1.65M
165
1.65M
    StringMapEntry *NewItem =
166
1.65M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.65M
    assert(NewItem && "Unhandled out-of-memory");
168
1.65M
169
1.65M
    // Construct the value.
170
1.65M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.65M
172
1.65M
    // Copy the string information.
173
1.65M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.65M
    if (KeyLength > 0)
175
1.65M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.65M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.65M
    return NewItem;
178
1.65M
  }
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.58k
                                InitTy &&... InitVals) {
158
5.58k
    size_t KeyLength = Key.size();
159
5.58k
160
5.58k
    // Allocate a new item with space for the string at the end and a null
161
5.58k
    // terminator.
162
5.58k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
5.58k
    size_t Alignment = alignof(StringMapEntry);
164
5.58k
165
5.58k
    StringMapEntry *NewItem =
166
5.58k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
5.58k
    assert(NewItem && "Unhandled out-of-memory");
168
5.58k
169
5.58k
    // Construct the value.
170
5.58k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
5.58k
172
5.58k
    // Copy the string information.
173
5.58k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
5.58k
    if (KeyLength > 0)
175
5.58k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
5.58k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
5.58k
    return NewItem;
178
5.58k
  }
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
103k
                                InitTy &&... InitVals) {
158
103k
    size_t KeyLength = Key.size();
159
103k
160
103k
    // Allocate a new item with space for the string at the end and a null
161
103k
    // terminator.
162
103k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
103k
    size_t Alignment = alignof(StringMapEntry);
164
103k
165
103k
    StringMapEntry *NewItem =
166
103k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
103k
    assert(NewItem && "Unhandled out-of-memory");
168
103k
169
103k
    // Construct the value.
170
103k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
103k
172
103k
    // Copy the string information.
173
103k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
103k
    if (KeyLength > 0)
175
103k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
103k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
103k
    return NewItem;
178
103k
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3.39M
                                InitTy &&... InitVals) {
158
3.39M
    size_t KeyLength = Key.size();
159
3.39M
160
3.39M
    // Allocate a new item with space for the string at the end and a null
161
3.39M
    // terminator.
162
3.39M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.39M
    size_t Alignment = alignof(StringMapEntry);
164
3.39M
165
3.39M
    StringMapEntry *NewItem =
166
3.39M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.39M
    assert(NewItem && "Unhandled out-of-memory");
168
3.39M
169
3.39M
    // Construct the value.
170
3.39M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.39M
172
3.39M
    // Copy the string information.
173
3.39M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.39M
    if (KeyLength > 0)
175
3.39M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.39M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.39M
    return NewItem;
178
3.39M
  }
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
377k
                                InitTy &&... InitVals) {
158
377k
    size_t KeyLength = Key.size();
159
377k
160
377k
    // Allocate a new item with space for the string at the end and a null
161
377k
    // terminator.
162
377k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
377k
    size_t Alignment = alignof(StringMapEntry);
164
377k
165
377k
    StringMapEntry *NewItem =
166
377k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
377k
    assert(NewItem && "Unhandled out-of-memory");
168
377k
169
377k
    // Construct the value.
170
377k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
377k
172
377k
    // Copy the string information.
173
377k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
377k
    if (KeyLength > 0)
175
377k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
377k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
377k
    return NewItem;
178
377k
  }
llvm::StringMapEntry<llvm::Constant*>* llvm::StringMapEntry<llvm::Constant*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
47
                                InitTy &&... InitVals) {
158
47
    size_t KeyLength = Key.size();
159
47
160
47
    // Allocate a new item with space for the string at the end and a null
161
47
    // terminator.
162
47
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
47
    size_t Alignment = alignof(StringMapEntry);
164
47
165
47
    StringMapEntry *NewItem =
166
47
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
47
    assert(NewItem && "Unhandled out-of-memory");
168
47
169
47
    // Construct the value.
170
47
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
47
172
47
    // Copy the string information.
173
47
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
47
    if (KeyLength > 0)
175
47
      memcpy(StrBuffer, Key.data(), KeyLength);
176
47
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
47
    return NewItem;
178
47
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.03k
                                InitTy &&... InitVals) {
158
2.03k
    size_t KeyLength = Key.size();
159
2.03k
160
2.03k
    // Allocate a new item with space for the string at the end and a null
161
2.03k
    // terminator.
162
2.03k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.03k
    size_t Alignment = alignof(StringMapEntry);
164
2.03k
165
2.03k
    StringMapEntry *NewItem =
166
2.03k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.03k
    assert(NewItem && "Unhandled out-of-memory");
168
2.03k
169
2.03k
    // Construct the value.
170
2.03k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.03k
172
2.03k
    // Copy the string information.
173
2.03k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.03k
    if (KeyLength > 0)
175
1.87k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.03k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.03k
    return NewItem;
178
2.03k
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator, llvm::GlobalVariable*>(llvm::StringRef, llvm::MallocAllocator&, llvm::GlobalVariable*&&)
Line
Count
Source
157
270
                                InitTy &&... InitVals) {
158
270
    size_t KeyLength = Key.size();
159
270
160
270
    // Allocate a new item with space for the string at the end and a null
161
270
    // terminator.
162
270
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
270
    size_t Alignment = alignof(StringMapEntry);
164
270
165
270
    StringMapEntry *NewItem =
166
270
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
270
    assert(NewItem && "Unhandled out-of-memory");
168
270
169
270
    // Construct the value.
170
270
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
270
172
270
    // Copy the string information.
173
270
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
270
    if (KeyLength > 0)
175
269
      memcpy(StrBuffer, Key.data(), KeyLength);
176
270
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
270
    return NewItem;
178
270
  }
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
187
                                InitTy &&... InitVals) {
158
187
    size_t KeyLength = Key.size();
159
187
160
187
    // Allocate a new item with space for the string at the end and a null
161
187
    // terminator.
162
187
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
187
    size_t Alignment = alignof(StringMapEntry);
164
187
165
187
    StringMapEntry *NewItem =
166
187
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
187
    assert(NewItem && "Unhandled out-of-memory");
168
187
169
187
    // Construct the value.
170
187
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
187
172
187
    // Copy the string information.
173
187
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
187
    if (KeyLength > 0)
175
187
      memcpy(StrBuffer, Key.data(), KeyLength);
176
187
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
187
    return NewItem;
178
187
  }
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.36k
                                InitTy &&... InitVals) {
158
3.36k
    size_t KeyLength = Key.size();
159
3.36k
160
3.36k
    // Allocate a new item with space for the string at the end and a null
161
3.36k
    // terminator.
162
3.36k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.36k
    size_t Alignment = alignof(StringMapEntry);
164
3.36k
165
3.36k
    StringMapEntry *NewItem =
166
3.36k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.36k
    assert(NewItem && "Unhandled out-of-memory");
168
3.36k
169
3.36k
    // Construct the value.
170
3.36k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.36k
172
3.36k
    // Copy the string information.
173
3.36k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.36k
    if (KeyLength > 0)
175
3.36k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.36k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.36k
    return NewItem;
178
3.36k
  }
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
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
  }
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
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
81
                                InitTy &&... InitVals) {
158
81
    size_t KeyLength = Key.size();
159
81
160
81
    // Allocate a new item with space for the string at the end and a null
161
81
    // terminator.
162
81
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
81
    size_t Alignment = alignof(StringMapEntry);
164
81
165
81
    StringMapEntry *NewItem =
166
81
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
81
    assert(NewItem && "Unhandled out-of-memory");
168
81
169
81
    // Construct the value.
170
81
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
81
172
81
    // Copy the string information.
173
81
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
81
    if (KeyLength > 0)
175
81
      memcpy(StrBuffer, Key.data(), KeyLength);
176
81
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
81
    return NewItem;
178
81
  }
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
1.90M
                                InitTy &&... InitVals) {
158
1.90M
    size_t KeyLength = Key.size();
159
1.90M
160
1.90M
    // Allocate a new item with space for the string at the end and a null
161
1.90M
    // terminator.
162
1.90M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.90M
    size_t Alignment = alignof(StringMapEntry);
164
1.90M
165
1.90M
    StringMapEntry *NewItem =
166
1.90M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.90M
    assert(NewItem && "Unhandled out-of-memory");
168
1.90M
169
1.90M
    // Construct the value.
170
1.90M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.90M
172
1.90M
    // Copy the string information.
173
1.90M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.90M
    if (KeyLength > 0)
175
1.90M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.90M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.90M
    return NewItem;
178
1.90M
  }
llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >* llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, std::__1::pair<clang::GlobalDecl, unsigned int> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, std::__1::pair<clang::GlobalDecl, unsigned int>&&)
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::ASTContext::SectionInfo>* llvm::StringMapEntry<clang::ASTContext::SectionInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
181
                                InitTy &&... InitVals) {
158
181
    size_t KeyLength = Key.size();
159
181
160
181
    // Allocate a new item with space for the string at the end and a null
161
181
    // terminator.
162
181
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
181
    size_t Alignment = alignof(StringMapEntry);
164
181
165
181
    StringMapEntry *NewItem =
166
181
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
181
    assert(NewItem && "Unhandled out-of-memory");
168
181
169
181
    // Construct the value.
170
181
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
181
172
181
    // Copy the string information.
173
181
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
181
    if (KeyLength > 0)
175
181
      memcpy(StrBuffer, Key.data(), KeyLength);
176
181
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
181
    return NewItem;
178
181
  }
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
27.6k
                                InitTy &&... InitVals) {
158
27.6k
    size_t KeyLength = Key.size();
159
27.6k
160
27.6k
    // Allocate a new item with space for the string at the end and a null
161
27.6k
    // terminator.
162
27.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
27.6k
    size_t Alignment = alignof(StringMapEntry);
164
27.6k
165
27.6k
    StringMapEntry *NewItem =
166
27.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
27.6k
    assert(NewItem && "Unhandled out-of-memory");
168
27.6k
169
27.6k
    // Construct the value.
170
27.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
27.6k
172
27.6k
    // Copy the string information.
173
27.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
27.6k
    if (KeyLength > 0)
175
27.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
27.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
27.6k
    return NewItem;
178
27.6k
  }
llvm::StringMapEntry<char const*>* llvm::StringMapEntry<char const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
78
                                InitTy &&... InitVals) {
158
78
    size_t KeyLength = Key.size();
159
78
160
78
    // Allocate a new item with space for the string at the end and a null
161
78
    // terminator.
162
78
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
78
    size_t Alignment = alignof(StringMapEntry);
164
78
165
78
    StringMapEntry *NewItem =
166
78
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
78
    assert(NewItem && "Unhandled out-of-memory");
168
78
169
78
    // Construct the value.
170
78
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
78
172
78
    // Copy the string information.
173
78
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
78
    if (KeyLength > 0)
175
78
      memcpy(StrBuffer, Key.data(), KeyLength);
176
78
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
78
    return NewItem;
178
78
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
750k
                                InitTy &&... InitVals) {
158
750k
    size_t KeyLength = Key.size();
159
750k
160
750k
    // Allocate a new item with space for the string at the end and a null
161
750k
    // terminator.
162
750k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
750k
    size_t Alignment = alignof(StringMapEntry);
164
750k
165
750k
    StringMapEntry *NewItem =
166
750k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
750k
    assert(NewItem && "Unhandled out-of-memory");
168
750k
169
750k
    // Construct the value.
170
750k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
750k
172
750k
    // Copy the string information.
173
750k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
750k
    if (KeyLength > 0)
175
750k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
750k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
750k
    return NewItem;
178
750k
  }
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
1.85k
                                InitTy &&... InitVals) {
158
1.85k
    size_t KeyLength = Key.size();
159
1.85k
160
1.85k
    // Allocate a new item with space for the string at the end and a null
161
1.85k
    // terminator.
162
1.85k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.85k
    size_t Alignment = alignof(StringMapEntry);
164
1.85k
165
1.85k
    StringMapEntry *NewItem =
166
1.85k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.85k
    assert(NewItem && "Unhandled out-of-memory");
168
1.85k
169
1.85k
    // Construct the value.
170
1.85k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.85k
172
1.85k
    // Copy the string information.
173
1.85k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.85k
    if (KeyLength > 0)
175
1.85k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.85k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.85k
    return NewItem;
178
1.85k
  }
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
160
                                InitTy &&... InitVals) {
158
160
    size_t KeyLength = Key.size();
159
160
160
160
    // Allocate a new item with space for the string at the end and a null
161
160
    // terminator.
162
160
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
160
    size_t Alignment = alignof(StringMapEntry);
164
160
165
160
    StringMapEntry *NewItem =
166
160
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
160
    assert(NewItem && "Unhandled out-of-memory");
168
160
169
160
    // Construct the value.
170
160
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
160
172
160
    // Copy the string information.
173
160
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
160
    if (KeyLength > 0)
175
160
      memcpy(StrBuffer, Key.data(), KeyLength);
176
160
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
160
    return NewItem;
178
160
  }
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
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::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
542k
                                InitTy &&... InitVals) {
158
542k
    size_t KeyLength = Key.size();
159
542k
160
542k
    // Allocate a new item with space for the string at the end and a null
161
542k
    // terminator.
162
542k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
542k
    size_t Alignment = alignof(StringMapEntry);
164
542k
165
542k
    StringMapEntry *NewItem =
166
542k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
542k
    assert(NewItem && "Unhandled out-of-memory");
168
542k
169
542k
    // Construct the value.
170
542k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
542k
172
542k
    // Copy the string information.
173
542k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
542k
    if (KeyLength > 0)
175
542k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
542k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
542k
    return NewItem;
178
542k
  }
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
1.21k
                                InitTy &&... InitVals) {
158
1.21k
    size_t KeyLength = Key.size();
159
1.21k
160
1.21k
    // Allocate a new item with space for the string at the end and a null
161
1.21k
    // terminator.
162
1.21k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.21k
    size_t Alignment = alignof(StringMapEntry);
164
1.21k
165
1.21k
    StringMapEntry *NewItem =
166
1.21k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.21k
    assert(NewItem && "Unhandled out-of-memory");
168
1.21k
169
1.21k
    // Construct the value.
170
1.21k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.21k
172
1.21k
    // Copy the string information.
173
1.21k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.21k
    if (KeyLength > 0)
175
1.21k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.21k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.21k
    return NewItem;
178
1.21k
  }
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
72.7k
                                InitTy &&... InitVals) {
158
72.7k
    size_t KeyLength = Key.size();
159
72.7k
160
72.7k
    // Allocate a new item with space for the string at the end and a null
161
72.7k
    // terminator.
162
72.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
72.7k
    size_t Alignment = alignof(StringMapEntry);
164
72.7k
165
72.7k
    StringMapEntry *NewItem =
166
72.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
72.7k
    assert(NewItem && "Unhandled out-of-memory");
168
72.7k
169
72.7k
    // Construct the value.
170
72.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
72.7k
172
72.7k
    // Copy the string information.
173
72.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
72.7k
    if (KeyLength > 0)
175
72.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
72.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
72.7k
    return NewItem;
178
72.7k
  }
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
84.2k
                                InitTy &&... InitVals) {
158
84.2k
    size_t KeyLength = Key.size();
159
84.2k
160
84.2k
    // Allocate a new item with space for the string at the end and a null
161
84.2k
    // terminator.
162
84.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
84.2k
    size_t Alignment = alignof(StringMapEntry);
164
84.2k
165
84.2k
    StringMapEntry *NewItem =
166
84.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
84.2k
    assert(NewItem && "Unhandled out-of-memory");
168
84.2k
169
84.2k
    // Construct the value.
170
84.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
84.2k
172
84.2k
    // Copy the string information.
173
84.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
84.2k
    if (KeyLength > 0)
175
83.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
84.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
84.2k
    return NewItem;
178
84.2k
  }
llvm::StringMapEntry<llvm::SDNode*>* llvm::StringMapEntry<llvm::SDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
16.8k
                                InitTy &&... InitVals) {
158
16.8k
    size_t KeyLength = Key.size();
159
16.8k
160
16.8k
    // Allocate a new item with space for the string at the end and a null
161
16.8k
    // terminator.
162
16.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
16.8k
    size_t Alignment = alignof(StringMapEntry);
164
16.8k
165
16.8k
    StringMapEntry *NewItem =
166
16.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
16.8k
    assert(NewItem && "Unhandled out-of-memory");
168
16.8k
169
16.8k
    // Construct the value.
170
16.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
16.8k
172
16.8k
    // Copy the string information.
173
16.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
16.8k
    if (KeyLength > 0)
175
16.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
16.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
16.8k
    return NewItem;
178
16.8k
  }
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>* llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
745
                                InitTy &&... InitVals) {
158
745
    size_t KeyLength = Key.size();
159
745
160
745
    // Allocate a new item with space for the string at the end and a null
161
745
    // terminator.
162
745
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
745
    size_t Alignment = alignof(StringMapEntry);
164
745
165
745
    StringMapEntry *NewItem =
166
745
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
745
    assert(NewItem && "Unhandled out-of-memory");
168
745
169
745
    // Construct the value.
170
745
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
745
172
745
    // Copy the string information.
173
745
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
745
    if (KeyLength > 0)
175
745
      memcpy(StrBuffer, Key.data(), KeyLength);
176
745
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
745
    return NewItem;
178
745
  }
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
294
                                InitTy &&... InitVals) {
158
294
    size_t KeyLength = Key.size();
159
294
160
294
    // Allocate a new item with space for the string at the end and a null
161
294
    // terminator.
162
294
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
294
    size_t Alignment = alignof(StringMapEntry);
164
294
165
294
    StringMapEntry *NewItem =
166
294
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
294
    assert(NewItem && "Unhandled out-of-memory");
168
294
169
294
    // Construct the value.
170
294
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
294
172
294
    // Copy the string information.
173
294
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
294
    if (KeyLength > 0)
175
294
      memcpy(StrBuffer, Key.data(), KeyLength);
176
294
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
294
    return NewItem;
178
294
  }
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
  }
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
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
  }
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
440
                                InitTy &&... InitVals) {
158
440
    size_t KeyLength = Key.size();
159
440
160
440
    // Allocate a new item with space for the string at the end and a null
161
440
    // terminator.
162
440
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
440
    size_t Alignment = alignof(StringMapEntry);
164
440
165
440
    StringMapEntry *NewItem =
166
440
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
440
    assert(NewItem && "Unhandled out-of-memory");
168
440
169
440
    // Construct the value.
170
440
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
440
172
440
    // Copy the string information.
173
440
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
440
    if (KeyLength > 0)
175
440
      memcpy(StrBuffer, Key.data(), KeyLength);
176
440
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
440
    return NewItem;
178
440
  }
llvm::StringMapEntry<clang::ento::BugType*>* llvm::StringMapEntry<clang::ento::BugType*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
504
                                InitTy &&... InitVals) {
158
504
    size_t KeyLength = Key.size();
159
504
160
504
    // Allocate a new item with space for the string at the end and a null
161
504
    // terminator.
162
504
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
504
    size_t Alignment = alignof(StringMapEntry);
164
504
165
504
    StringMapEntry *NewItem =
166
504
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
504
    assert(NewItem && "Unhandled out-of-memory");
168
504
169
504
    // Construct the value.
170
504
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
504
172
504
    // Copy the string information.
173
504
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
504
    if (KeyLength > 0)
175
504
      memcpy(StrBuffer, Key.data(), KeyLength);
176
504
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
504
    return NewItem;
178
504
  }
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.93k
                                InitTy &&... InitVals) {
158
3.93k
    size_t KeyLength = Key.size();
159
3.93k
160
3.93k
    // Allocate a new item with space for the string at the end and a null
161
3.93k
    // terminator.
162
3.93k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.93k
    size_t Alignment = alignof(StringMapEntry);
164
3.93k
165
3.93k
    StringMapEntry *NewItem =
166
3.93k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.93k
    assert(NewItem && "Unhandled out-of-memory");
168
3.93k
169
3.93k
    // Construct the value.
170
3.93k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.93k
172
3.93k
    // Copy the string information.
173
3.93k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.93k
    if (KeyLength > 0)
175
3.93k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.93k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.93k
    return NewItem;
178
3.93k
  }
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
71.2k
                                InitTy &&... InitVals) {
158
71.2k
    size_t KeyLength = Key.size();
159
71.2k
160
71.2k
    // Allocate a new item with space for the string at the end and a null
161
71.2k
    // terminator.
162
71.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
71.2k
    size_t Alignment = alignof(StringMapEntry);
164
71.2k
165
71.2k
    StringMapEntry *NewItem =
166
71.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
71.2k
    assert(NewItem && "Unhandled out-of-memory");
168
71.2k
169
71.2k
    // Construct the value.
170
71.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
71.2k
172
71.2k
    // Copy the string information.
173
71.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
71.2k
    if (KeyLength > 0)
175
71.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
71.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
71.2k
    return NewItem;
178
71.2k
  }
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.58k
                                InitTy &&... InitVals) {
158
9.58k
    size_t KeyLength = Key.size();
159
9.58k
160
9.58k
    // Allocate a new item with space for the string at the end and a null
161
9.58k
    // terminator.
162
9.58k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
9.58k
    size_t Alignment = alignof(StringMapEntry);
164
9.58k
165
9.58k
    StringMapEntry *NewItem =
166
9.58k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
9.58k
    assert(NewItem && "Unhandled out-of-memory");
168
9.58k
169
9.58k
    // Construct the value.
170
9.58k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
9.58k
172
9.58k
    // Copy the string information.
173
9.58k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
9.58k
    if (KeyLength > 0)
175
9.58k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
9.58k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
9.58k
    return NewItem;
178
9.58k
  }
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
407
                                InitTy &&... InitVals) {
158
407
    size_t KeyLength = Key.size();
159
407
160
407
    // Allocate a new item with space for the string at the end and a null
161
407
    // terminator.
162
407
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
407
    size_t Alignment = alignof(StringMapEntry);
164
407
165
407
    StringMapEntry *NewItem =
166
407
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
407
    assert(NewItem && "Unhandled out-of-memory");
168
407
169
407
    // Construct the value.
170
407
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
407
172
407
    // Copy the string information.
173
407
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
407
    if (KeyLength > 0)
175
407
      memcpy(StrBuffer, Key.data(), KeyLength);
176
407
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
407
    return NewItem;
178
407
  }
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
360k
                                InitTy &&... InitVals) {
158
360k
    size_t KeyLength = Key.size();
159
360k
160
360k
    // Allocate a new item with space for the string at the end and a null
161
360k
    // terminator.
162
360k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
360k
    size_t Alignment = alignof(StringMapEntry);
164
360k
165
360k
    StringMapEntry *NewItem =
166
360k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
360k
    assert(NewItem && "Unhandled out-of-memory");
168
360k
169
360k
    // Construct the value.
170
360k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
360k
172
360k
    // Copy the string information.
173
360k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
360k
    if (KeyLength > 0)
175
360k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
360k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
360k
    return NewItem;
178
360k
  }
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.1k
                                InitTy &&... InitVals) {
158
72.1k
    size_t KeyLength = Key.size();
159
72.1k
160
72.1k
    // Allocate a new item with space for the string at the end and a null
161
72.1k
    // terminator.
162
72.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
72.1k
    size_t Alignment = alignof(StringMapEntry);
164
72.1k
165
72.1k
    StringMapEntry *NewItem =
166
72.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
72.1k
    assert(NewItem && "Unhandled out-of-memory");
168
72.1k
169
72.1k
    // Construct the value.
170
72.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
72.1k
172
72.1k
    // Copy the string information.
173
72.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
72.1k
    if (KeyLength > 0)
175
72.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
72.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
72.1k
    return NewItem;
178
72.1k
  }
llvm::StringMapEntry<clang::PragmaHandler*>* llvm::StringMapEntry<clang::PragmaHandler*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
1.89M
                                InitTy &&... InitVals) {
158
1.89M
    size_t KeyLength = Key.size();
159
1.89M
160
1.89M
    // Allocate a new item with space for the string at the end and a null
161
1.89M
    // terminator.
162
1.89M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.89M
    size_t Alignment = alignof(StringMapEntry);
164
1.89M
165
1.89M
    StringMapEntry *NewItem =
166
1.89M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.89M
    assert(NewItem && "Unhandled out-of-memory");
168
1.89M
169
1.89M
    // Construct the value.
170
1.89M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.89M
172
1.89M
    // Copy the string information.
173
1.89M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.89M
    if (KeyLength > 0)
175
1.84M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.89M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.89M
    return NewItem;
178
1.89M
  }
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
726
                                InitTy &&... InitVals) {
158
726
    size_t KeyLength = Key.size();
159
726
160
726
    // Allocate a new item with space for the string at the end and a null
161
726
    // terminator.
162
726
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
726
    size_t Alignment = alignof(StringMapEntry);
164
726
165
726
    StringMapEntry *NewItem =
166
726
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
726
    assert(NewItem && "Unhandled out-of-memory");
168
726
169
726
    // Construct the value.
170
726
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
726
172
726
    // Copy the string information.
173
726
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
726
    if (KeyLength > 0)
175
710
      memcpy(StrBuffer, Key.data(), KeyLength);
176
726
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
726
    return NewItem;
178
726
  }
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
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<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.5k
                                InitTy &&... InitVals) {
158
11.5k
    size_t KeyLength = Key.size();
159
11.5k
160
11.5k
    // Allocate a new item with space for the string at the end and a null
161
11.5k
    // terminator.
162
11.5k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
11.5k
    size_t Alignment = alignof(StringMapEntry);
164
11.5k
165
11.5k
    StringMapEntry *NewItem =
166
11.5k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
11.5k
    assert(NewItem && "Unhandled out-of-memory");
168
11.5k
169
11.5k
    // Construct the value.
170
11.5k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
11.5k
172
11.5k
    // Copy the string information.
173
11.5k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
11.5k
    if (KeyLength > 0)
175
11.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
11.5k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
11.5k
    return NewItem;
178
11.5k
  }
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
254
                                InitTy &&... InitVals) {
158
254
    size_t KeyLength = Key.size();
159
254
160
254
    // Allocate a new item with space for the string at the end and a null
161
254
    // terminator.
162
254
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
254
    size_t Alignment = alignof(StringMapEntry);
164
254
165
254
    StringMapEntry *NewItem =
166
254
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
254
    assert(NewItem && "Unhandled out-of-memory");
168
254
169
254
    // Construct the value.
170
254
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
254
172
254
    // Copy the string information.
173
254
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
254
    if (KeyLength > 0)
175
254
      memcpy(StrBuffer, Key.data(), KeyLength);
176
254
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
254
    return NewItem;
178
254
  }
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
8.11k
                                InitTy &&... InitVals) {
158
8.11k
    size_t KeyLength = Key.size();
159
8.11k
160
8.11k
    // Allocate a new item with space for the string at the end and a null
161
8.11k
    // terminator.
162
8.11k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
8.11k
    size_t Alignment = alignof(StringMapEntry);
164
8.11k
165
8.11k
    StringMapEntry *NewItem =
166
8.11k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
8.11k
    assert(NewItem && "Unhandled out-of-memory");
168
8.11k
169
8.11k
    // Construct the value.
170
8.11k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
8.11k
172
8.11k
    // Copy the string information.
173
8.11k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
8.11k
    if (KeyLength > 0)
175
8.11k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
8.11k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
8.11k
    return NewItem;
178
8.11k
  }
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
77.2k
                                InitTy &&... InitVals) {
158
77.2k
    size_t KeyLength = Key.size();
159
77.2k
160
77.2k
    // Allocate a new item with space for the string at the end and a null
161
77.2k
    // terminator.
162
77.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
77.2k
    size_t Alignment = alignof(StringMapEntry);
164
77.2k
165
77.2k
    StringMapEntry *NewItem =
166
77.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
77.2k
    assert(NewItem && "Unhandled out-of-memory");
168
77.2k
169
77.2k
    // Construct the value.
170
77.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
77.2k
172
77.2k
    // Copy the string information.
173
77.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
77.2k
    if (KeyLength > 0)
175
77.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
77.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
77.2k
    return NewItem;
178
77.2k
  }
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.29k
                                InitTy &&... InitVals) {
158
2.29k
    size_t KeyLength = Key.size();
159
2.29k
160
2.29k
    // Allocate a new item with space for the string at the end and a null
161
2.29k
    // terminator.
162
2.29k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.29k
    size_t Alignment = alignof(StringMapEntry);
164
2.29k
165
2.29k
    StringMapEntry *NewItem =
166
2.29k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.29k
    assert(NewItem && "Unhandled out-of-memory");
168
2.29k
169
2.29k
    // Construct the value.
170
2.29k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.29k
172
2.29k
    // Copy the string information.
173
2.29k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.29k
    if (KeyLength > 0)
175
2.29k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.29k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.29k
    return NewItem;
178
2.29k
  }
llvm::StringMapEntry<lld::elf::OutputSection*>* llvm::StringMapEntry<lld::elf::OutputSection*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
299k
                                InitTy &&... InitVals) {
158
299k
    size_t KeyLength = Key.size();
159
299k
160
299k
    // Allocate a new item with space for the string at the end and a null
161
299k
    // terminator.
162
299k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
299k
    size_t Alignment = alignof(StringMapEntry);
164
299k
165
299k
    StringMapEntry *NewItem =
166
299k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
299k
    assert(NewItem && "Unhandled out-of-memory");
168
299k
169
299k
    // Construct the value.
170
299k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
299k
172
299k
    // Copy the string information.
173
299k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
299k
    if (KeyLength > 0)
175
299k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
299k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
299k
    return NewItem;
178
299k
  }
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
  }
Unexecuted instantiation: 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&)
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
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<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
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<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&)
Line
Count
Source
157
296
                                InitTy &&... InitVals) {
158
296
    size_t KeyLength = Key.size();
159
296
160
296
    // Allocate a new item with space for the string at the end and a null
161
296
    // terminator.
162
296
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
296
    size_t Alignment = alignof(StringMapEntry);
164
296
165
296
    StringMapEntry *NewItem =
166
296
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
296
    assert(NewItem && "Unhandled out-of-memory");
168
296
169
296
    // Construct the value.
170
296
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
296
172
296
    // Copy the string information.
173
296
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
296
    if (KeyLength > 0)
175
222
      memcpy(StrBuffer, Key.data(), KeyLength);
176
296
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
296
    return NewItem;
178
296
  }
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.35M
  static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
183
2.35M
    MallocAllocator A;
184
2.35M
    return Create(Key, A, std::forward<InitType>(InitVal)...);
185
2.35M
  }
186
187
2.35M
  static StringMapEntry *Create(StringRef Key) {
188
2.35M
    return Create(Key, ValueTy());
189
2.35M
  }
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
331M
  void Destroy(AllocatorTy &Allocator) {
202
331M
    // Free memory referenced by the item.
203
331M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
331M
    this->~StringMapEntry();
205
331M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
331M
  }
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
27.6k
  void Destroy(AllocatorTy &Allocator) {
202
27.6k
    // Free memory referenced by the item.
203
27.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
27.6k
    this->~StringMapEntry();
205
27.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
27.6k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
49.3k
  void Destroy(AllocatorTy &Allocator) {
202
49.3k
    // Free memory referenced by the item.
203
49.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
49.3k
    this->~StringMapEntry();
205
49.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
49.3k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
49.3k
  void Destroy(AllocatorTy &Allocator) {
202
49.3k
    // Free memory referenced by the item.
203
49.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
49.3k
    this->~StringMapEntry();
205
49.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
49.3k
  }
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.41k
  void Destroy(AllocatorTy &Allocator) {
202
1.41k
    // Free memory referenced by the item.
203
1.41k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.41k
    this->~StringMapEntry();
205
1.41k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.41k
  }
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
41.5M
  void Destroy(AllocatorTy &Allocator) {
202
41.5M
    // Free memory referenced by the item.
203
41.5M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
41.5M
    this->~StringMapEntry();
205
41.5M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
41.5M
  }
void llvm::StringMapEntry<int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
18.7M
  void Destroy(AllocatorTy &Allocator) {
202
18.7M
    // Free memory referenced by the item.
203
18.7M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
18.7M
    this->~StringMapEntry();
205
18.7M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
18.7M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
285
  void Destroy(AllocatorTy &Allocator) {
202
285
    // Free memory referenced by the item.
203
285
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
285
    this->~StringMapEntry();
205
285
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
285
  }
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.27k
  void Destroy(AllocatorTy &Allocator) {
202
2.27k
    // Free memory referenced by the item.
203
2.27k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.27k
    this->~StringMapEntry();
205
2.27k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.27k
  }
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
372k
  void Destroy(AllocatorTy &Allocator) {
202
372k
    // Free memory referenced by the item.
203
372k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
372k
    this->~StringMapEntry();
205
372k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
372k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.91k
  void Destroy(AllocatorTy &Allocator) {
202
2.91k
    // Free memory referenced by the item.
203
2.91k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.91k
    this->~StringMapEntry();
205
2.91k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.91k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
974
  void Destroy(AllocatorTy &Allocator) {
202
974
    // Free memory referenced by the item.
203
974
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
974
    this->~StringMapEntry();
205
974
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
974
  }
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.88k
  void Destroy(AllocatorTy &Allocator) {
202
1.88k
    // Free memory referenced by the item.
203
1.88k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.88k
    this->~StringMapEntry();
205
1.88k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.88k
  }
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.60k
  void Destroy(AllocatorTy &Allocator) {
202
1.60k
    // Free memory referenced by the item.
203
1.60k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.60k
    this->~StringMapEntry();
205
1.60k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.60k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
189
  void Destroy(AllocatorTy &Allocator) {
202
189
    // Free memory referenced by the item.
203
189
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
189
    this->~StringMapEntry();
205
189
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
189
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
9.61k
  void Destroy(AllocatorTy &Allocator) {
202
9.61k
    // Free memory referenced by the item.
203
9.61k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
9.61k
    this->~StringMapEntry();
205
9.61k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
9.61k
  }
void llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
723
  void Destroy(AllocatorTy &Allocator) {
202
723
    // Free memory referenced by the item.
203
723
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
723
    this->~StringMapEntry();
205
723
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
723
  }
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
608
  void Destroy(AllocatorTy &Allocator) {
202
608
    // Free memory referenced by the item.
203
608
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
608
    this->~StringMapEntry();
205
608
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
608
  }
void llvm::StringMapEntry<llvm::ConstantDataSequential*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
68.1k
  void Destroy(AllocatorTy &Allocator) {
202
68.1k
    // Free memory referenced by the item.
203
68.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
68.1k
    this->~StringMapEntry();
205
68.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
68.1k
  }
void llvm::StringMapEntry<llvm::MDString>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
89.3k
  void Destroy(AllocatorTy &Allocator) {
202
89.3k
    // Free memory referenced by the item.
203
89.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
89.3k
    this->~StringMapEntry();
205
89.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
89.3k
  }
void llvm::StringMapEntry<llvm::StructType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
55.7k
  void Destroy(AllocatorTy &Allocator) {
202
55.7k
    // Free memory referenced by the item.
203
55.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
55.7k
    this->~StringMapEntry();
205
55.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
55.7k
  }
void llvm::StringMapEntry<unsigned char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
157k
  void Destroy(AllocatorTy &Allocator) {
202
157k
    // Free memory referenced by the item.
203
157k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
157k
    this->~StringMapEntry();
205
157k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
157k
  }
void llvm::StringMapEntry<llvm::Comdat>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
28.1k
  void Destroy(AllocatorTy &Allocator) {
202
28.1k
    // Free memory referenced by the item.
203
28.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
28.1k
    this->~StringMapEntry();
205
28.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
28.1k
  }
void llvm::StringMapEntry<llvm::NamedMDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
27.9k
  void Destroy(AllocatorTy &Allocator) {
202
27.9k
    // Free memory referenced by the item.
203
27.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
27.9k
    this->~StringMapEntry();
205
27.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
27.9k
  }
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
488
  void Destroy(AllocatorTy &Allocator) {
202
488
    // Free memory referenced by the item.
203
488
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
488
    this->~StringMapEntry();
205
488
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
488
  }
void llvm::StringMapEntry<llvm::PassInfo const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
22.4M
  void Destroy(AllocatorTy &Allocator) {
202
22.4M
    // Free memory referenced by the item.
203
22.4M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
22.4M
    this->~StringMapEntry();
205
22.4M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
22.4M
  }
void llvm::StringMapEntry<llvm::Value*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
10.0M
  void Destroy(AllocatorTy &Allocator) {
202
10.0M
    // Free memory referenced by the item.
203
10.0M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
10.0M
    this->~StringMapEntry();
205
10.0M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
10.0M
  }
void llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
467
  void Destroy(AllocatorTy &Allocator) {
202
467
    // Free memory referenced by the item.
203
467
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
467
    this->~StringMapEntry();
205
467
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
467
  }
void llvm::StringMapEntry<unsigned long long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
481
  void Destroy(AllocatorTy &Allocator) {
202
481
    // Free memory referenced by the item.
203
481
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
481
    this->~StringMapEntry();
205
481
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
481
  }
void llvm::StringMapEntry<llvm::Function*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
248
  void Destroy(AllocatorTy &Allocator) {
202
248
    // Free memory referenced by the item.
203
248
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
248
    this->~StringMapEntry();
205
248
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
248
  }
GCOVProfiling.cpp:void llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::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::MCSymbol*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
4.00M
  void Destroy(AllocatorTy &Allocator) {
202
4.00M
    // Free memory referenced by the item.
203
4.00M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
4.00M
    this->~StringMapEntry();
205
4.00M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
4.00M
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
4.31M
  void Destroy(AllocatorTy &Allocator) {
202
4.31M
    // Free memory referenced by the item.
203
4.31M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
4.31M
    this->~StringMapEntry();
205
4.31M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
4.31M
  }
void llvm::StringMapEntry<llvm::MCSectionMachO*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
845k
  void Destroy(AllocatorTy &Allocator) {
202
845k
    // Free memory referenced by the item.
203
845k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
845k
    this->~StringMapEntry();
205
845k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
845k
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
838k
  void Destroy(AllocatorTy &Allocator) {
202
838k
    // Free memory referenced by the item.
203
838k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
838k
    this->~StringMapEntry();
205
838k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
838k
  }
void llvm::StringMapEntry<llvm::MCAsmMacro>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
238
  void Destroy(AllocatorTy &Allocator) {
202
238
    // Free memory referenced by the item.
203
238
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
238
    this->~StringMapEntry();
205
238
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
238
  }
AsmParser.cpp:void llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.78M
  void Destroy(AllocatorTy &Allocator) {
202
2.78M
    // Free memory referenced by the item.
203
2.78M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.78M
    this->~StringMapEntry();
205
2.78M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.78M
  }
void llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
690k
  void Destroy(AllocatorTy &Allocator) {
202
690k
    // Free memory referenced by the item.
203
690k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
690k
    this->~StringMapEntry();
205
690k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
690k
  }
void llvm::StringMapEntry<llvm::cl::Option*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
119M
  void Destroy(AllocatorTy &Allocator) {
202
119M
    // Free memory referenced by the item.
203
119M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
119M
    this->~StringMapEntry();
205
119M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
119M
  }
void llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
253
  void Destroy(AllocatorTy &Allocator) {
202
253
    // Free memory referenced by the item.
203
253
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
253
    this->~StringMapEntry();
205
253
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
253
  }
void llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
278
  void Destroy(AllocatorTy &Allocator) {
202
278
    // Free memory referenced by the item.
203
278
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
278
    this->~StringMapEntry();
205
278
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
278
  }
void llvm::StringMapEntry<unsigned long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
29.1k
  void Destroy(AllocatorTy &Allocator) {
202
29.1k
    // Free memory referenced by the item.
203
29.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
29.1k
    this->~StringMapEntry();
205
29.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
29.1k
  }
Unexecuted instantiation: void llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Unexecuted instantiation: void llvm::StringMapEntry<llvm::Timer>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
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
266k
  void Destroy(AllocatorTy &Allocator) {
202
266k
    // Free memory referenced by the item.
203
266k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
266k
    this->~StringMapEntry();
205
266k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
266k
  }
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
174k
  void Destroy(AllocatorTy &Allocator) {
202
174k
    // Free memory referenced by the item.
203
174k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
174k
    this->~StringMapEntry();
205
174k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
174k
  }
void llvm::StringMapEntry<clang::FileEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
170k
  void Destroy(AllocatorTy &Allocator) {
202
170k
    // Free memory referenced by the item.
203
170k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
170k
    this->~StringMapEntry();
205
170k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
170k
  }
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
95.8M
  void Destroy(AllocatorTy &Allocator) {
202
95.8M
    // Free memory referenced by the item.
203
95.8M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
95.8M
    this->~StringMapEntry();
205
95.8M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
95.8M
  }
void llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
5.53k
  void Destroy(AllocatorTy &Allocator) {
202
5.53k
    // Free memory referenced by the item.
203
5.53k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
5.53k
    this->~StringMapEntry();
205
5.53k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
5.53k
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
61.4k
  void Destroy(AllocatorTy &Allocator) {
202
61.4k
    // Free memory referenced by the item.
203
61.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
61.4k
    this->~StringMapEntry();
205
61.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
61.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
956
  void Destroy(AllocatorTy &Allocator) {
202
956
    // Free memory referenced by the item.
203
956
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
956
    this->~StringMapEntry();
205
956
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
956
  }
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.36k
  void Destroy(AllocatorTy &Allocator) {
202
3.36k
    // Free memory referenced by the item.
203
3.36k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.36k
    this->~StringMapEntry();
205
3.36k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.36k
  }
void llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::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<llvm::AssertingVH<llvm::Constant> >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
187
  void Destroy(AllocatorTy &Allocator) {
202
187
    // Free memory referenced by the item.
203
187
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
187
    this->~StringMapEntry();
205
187
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
187
  }
void llvm::StringMapEntry<llvm::Constant*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
47
  void Destroy(AllocatorTy &Allocator) {
202
47
    // Free memory referenced by the item.
203
47
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
47
    this->~StringMapEntry();
205
47
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
47
  }
void llvm::StringMapEntry<llvm::GlobalVariable*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.30k
  void Destroy(AllocatorTy &Allocator) {
202
2.30k
    // Free memory referenced by the item.
203
2.30k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.30k
    this->~StringMapEntry();
205
2.30k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.30k
  }
void llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
81
  void Destroy(AllocatorTy &Allocator) {
202
81
    // Free memory referenced by the item.
203
81
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
81
    this->~StringMapEntry();
205
81
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
81
  }
void llvm::StringMapEntry<clang::GlobalDecl>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
1.90M
  void Destroy(AllocatorTy &Allocator) {
202
1.90M
    // Free memory referenced by the item.
203
1.90M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.90M
    this->~StringMapEntry();
205
1.90M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.90M
  }
void llvm::StringMapEntry<std::__1::pair<clang::GlobalDecl, unsigned int> >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
14
  void Destroy(AllocatorTy &Allocator) {
202
14
    // Free memory referenced by the item.
203
14
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
14
    this->~StringMapEntry();
205
14
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
14
  }
void llvm::StringMapEntry<clang::OpenCLOptions::Info>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.95M
  void Destroy(AllocatorTy &Allocator) {
202
2.95M
    // Free memory referenced by the item.
203
2.95M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.95M
    this->~StringMapEntry();
205
2.95M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.95M
  }
void llvm::StringMapEntry<char const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
78
  void Destroy(AllocatorTy &Allocator) {
202
78
    // Free memory referenced by the item.
203
78
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
78
    this->~StringMapEntry();
205
78
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
78
  }
void llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
544k
  void Destroy(AllocatorTy &Allocator) {
202
544k
    // Free memory referenced by the item.
203
544k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
544k
    this->~StringMapEntry();
205
544k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
544k
  }
void llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
151
  void Destroy(AllocatorTy &Allocator) {
202
151
    // Free memory referenced by the item.
203
151
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
151
    this->~StringMapEntry();
205
151
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
151
  }
void llvm::StringMapEntry<char>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
160
  void Destroy(AllocatorTy &Allocator) {
202
160
    // Free memory referenced by the item.
203
160
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
160
    this->~StringMapEntry();
205
160
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
160
  }
void llvm::StringMapEntry<clang::SourceLocation>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
14
  void Destroy(AllocatorTy &Allocator) {
202
14
    // Free memory referenced by the item.
203
14
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
14
    this->~StringMapEntry();
205
14
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
14
  }
void llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
14
  void Destroy(AllocatorTy &Allocator) {
202
14
    // Free memory referenced by the item.
203
14
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
14
    this->~StringMapEntry();
205
14
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
14
  }
CacheTokens.cpp:void llvm::StringMapEntry<(anonymous namespace)::OffsetOpt>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
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<clang::LayoutOverrideSource::Layout>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
27
  void Destroy(AllocatorTy &Allocator) {
202
27
    // Free memory referenced by the item.
203
27
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
27
    this->~StringMapEntry();
205
27
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
27
  }
void llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
85
  void Destroy(AllocatorTy &Allocator) {
202
85
    // Free memory referenced by the item.
203
85
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
85
    this->~StringMapEntry();
205
85
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
85
  }
void llvm::StringMapEntry<llvm::DIE const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
1.23k
  void Destroy(AllocatorTy &Allocator) {
202
1.23k
    // Free memory referenced by the item.
203
1.23k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.23k
    this->~StringMapEntry();
205
1.23k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.23k
  }
void llvm::StringMapEntry<llvm::AccelTableBase::HashData>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
72.7k
  void Destroy(AllocatorTy &Allocator) {
202
72.7k
    // Free memory referenced by the item.
203
72.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
72.7k
    this->~StringMapEntry();
205
72.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
72.7k
  }
void llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
84.2k
  void Destroy(AllocatorTy &Allocator) {
202
84.2k
    // Free memory referenced by the item.
203
84.2k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
84.2k
    this->~StringMapEntry();
205
84.2k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
84.2k
  }
void llvm::StringMapEntry<llvm::SDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
16.8k
  void Destroy(AllocatorTy &Allocator) {
202
16.8k
    // Free memory referenced by the item.
203
16.8k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
16.8k
    this->~StringMapEntry();
205
16.8k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
16.8k
  }
void llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
741
  void Destroy(AllocatorTy &Allocator) {
202
741
    // Free memory referenced by the item.
203
741
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
741
    this->~StringMapEntry();
205
741
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
741
  }
void 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> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
379
  void Destroy(AllocatorTy &Allocator) {
202
379
    // Free memory referenced by the item.
203
379
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
379
    this->~StringMapEntry();
205
379
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
379
  }
void 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> > > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
294
  void Destroy(AllocatorTy &Allocator) {
202
294
    // Free memory referenced by the item.
203
294
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
294
    this->~StringMapEntry();
205
294
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
294
  }
void llvm::StringMapEntry<clang::Stmt*>::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<FoundationClass>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
91
  void Destroy(AllocatorTy &Allocator) {
202
91
    // Free memory referenced by the item.
203
91
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
91
    this->~StringMapEntry();
205
91
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
91
  }
void llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
20
  void Destroy(AllocatorTy &Allocator) {
202
20
    // Free memory referenced by the item.
203
20
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
20
    this->~StringMapEntry();
205
20
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
20
  }
StdLibraryFunctionsChecker.cpp:void llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
440
  void Destroy(AllocatorTy &Allocator) {
202
440
    // Free memory referenced by the item.
203
440
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
440
    this->~StringMapEntry();
205
440
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
440
  }
void llvm::StringMapEntry<clang::ento::BugType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
504
  void Destroy(AllocatorTy &Allocator) {
202
504
    // Free memory referenced by the item.
203
504
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
504
    this->~StringMapEntry();
205
504
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
504
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
27
  void Destroy(AllocatorTy &Allocator) {
202
27
    // Free memory referenced by the item.
203
27
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
27
    this->~StringMapEntry();
205
27
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
27
  }
void llvm::StringMapEntry<clang::ASTUnit*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
14
  void Destroy(AllocatorTy &Allocator) {
202
14
    // Free memory referenced by the item.
203
14
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
14
    this->~StringMapEntry();
205
14
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
14
  }
void llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
3.93k
  void Destroy(AllocatorTy &Allocator) {
202
3.93k
    // Free memory referenced by the item.
203
3.93k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.93k
    this->~StringMapEntry();
205
3.93k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.93k
  }
void llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
27
  void Destroy(AllocatorTy &Allocator) {
202
27
    // Free memory referenced by the item.
203
27
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
27
    this->~StringMapEntry();
205
27
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
27
  }
void llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
71.2k
  void Destroy(AllocatorTy &Allocator) {
202
71.2k
    // Free memory referenced by the item.
203
71.2k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
71.2k
    this->~StringMapEntry();
205
71.2k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
71.2k
  }
void llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
9.58k
  void Destroy(AllocatorTy &Allocator) {
202
9.58k
    // Free memory referenced by the item.
203
9.58k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
9.58k
    this->~StringMapEntry();
205
9.58k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
9.58k
  }
void llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
38
  void Destroy(AllocatorTy &Allocator) {
202
38
    // Free memory referenced by the item.
203
38
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
38
    this->~StringMapEntry();
205
38
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
38
  }
void llvm::StringMapEntry<llvm::TimeRecord>::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<clang::ASTContext::SectionInfo>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
73
  void Destroy(AllocatorTy &Allocator) {
202
73
    // Free memory referenced by the item.
203
73
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
73
    this->~StringMapEntry();
205
73
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
73
  }
void llvm::StringMapEntry<clang::comments::TParamCommandComment*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
88
  void Destroy(AllocatorTy &Allocator) {
202
88
    // Free memory referenced by the item.
203
88
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
88
    this->~StringMapEntry();
205
88
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
88
  }
void llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
13.6k
  void Destroy(AllocatorTy &Allocator) {
202
13.6k
    // Free memory referenced by the item.
203
13.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
13.6k
    this->~StringMapEntry();
205
13.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
13.6k
  }
void llvm::StringMapEntry<cla