Coverage Report

Created: 2018-09-23 22:08

/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
413M
  explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
44
45
2.26G
  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
16.6M
      : ItemSize(itemSize) {}
64
  StringMapImpl(StringMapImpl &&RHS)
65
      : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),
66
        NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),
67
137k
        ItemSize(RHS.ItemSize) {
68
137k
    RHS.TheTable = nullptr;
69
137k
    RHS.NumBuckets = 0;
70
137k
    RHS.NumItems = 0;
71
137k
    RHS.NumTombstones = 0;
72
137k
  }
73
74
  StringMapImpl(unsigned InitSize, unsigned ItemSize);
75
  unsigned RehashTable(unsigned BucketNo = 0);
76
77
  /// LookupBucketFor - Look up the bucket that the specified string should end
78
  /// up in.  If it already exists as a key in the map, the Item pointer for the
79
  /// specified bucket will be non-null.  Otherwise, it will be null.  In either
80
  /// case, the FullHashValue field of the bucket will be set to the hash value
81
  /// of the string.
82
  unsigned LookupBucketFor(StringRef Key);
83
84
  /// FindKey - Look up the bucket that contains the specified key. If it exists
85
  /// in the map, return the bucket number of the key.  Otherwise return -1.
86
  /// This does not modify the map.
87
  int FindKey(StringRef Key) const;
88
89
  /// RemoveKey - Remove the specified StringMapEntry from the table, but do not
90
  /// delete it.  This aborts if the value isn't in the table.
91
  void RemoveKey(StringMapEntryBase *V);
92
93
  /// RemoveKey - Remove the StringMapEntry for the specified key from the
94
  /// table, returning it.  If the key is not in the table, this returns null.
95
  StringMapEntryBase *RemoveKey(StringRef Key);
96
97
  /// Allocate the table with the specified number of buckets and otherwise
98
  /// setup the map as empty.
99
  void init(unsigned Size);
100
101
public:
102
4.08G
  static StringMapEntryBase *getTombstoneVal() {
103
4.08G
    uintptr_t Val = static_cast<uintptr_t>(-1);
104
4.08G
    Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
105
4.08G
    return reinterpret_cast<StringMapEntryBase *>(Val);
106
4.08G
  }
107
108
11
  unsigned getNumBuckets() const { return NumBuckets; }
109
3
  unsigned getNumItems() const { return NumItems; }
110
111
22.5M
  bool empty() const { return NumItems == 0; }
112
4.75M
  unsigned size() const { return NumItems; }
113
114
69.0k
  void swap(StringMapImpl &Other) {
115
69.0k
    std::swap(TheTable, Other.TheTable);
116
69.0k
    std::swap(NumBuckets, Other.NumBuckets);
117
69.0k
    std::swap(NumItems, Other.NumItems);
118
69.0k
    std::swap(NumTombstones, Other.NumTombstones);
119
69.0k
  }
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
44.6M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
79.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
79.3k
    : 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.60k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned int>::StringMapEntry(unsigned long)
Line
Count
Source
131
3.27M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
290
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
2.42k
    : 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.80k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
991
    : 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.97k
    : 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.62k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
198
    : 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.5k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
980
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GCStrategy*>::StringMapEntry(unsigned long)
Line
Count
Source
131
25
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
614
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::StringMapEntry(unsigned long)
Line
Count
Source
131
143
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MDString>::StringMapEntry(unsigned long)
Line
Count
Source
131
411k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::NamedMDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
131
56.1k
    : 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
502
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::PassInfo const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
23.6M
    : 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
477
    : 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
388
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry(unsigned long)
Line
Count
Source
131
250
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::StringMapEntry(unsigned long)
Line
Count
Source
131
233
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSymbol*>::StringMapEntry(unsigned long)
Line
Count
Source
131
4.11M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSectionMachO*>::StringMapEntry(unsigned long)
Line
Count
Source
131
843k
    : StringMapEntryBase(strLen), second() {}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.91M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::StringMapEntry(unsigned long)
Line
Count
Source
131
711k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long>::StringMapEntry(unsigned long)
Line
Count
Source
131
30.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
131
273
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::StringMapEntry(unsigned long)
Line
Count
Source
131
298
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
2
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Timer>::StringMapEntry(unsigned long)
Line
Count
Source
131
2
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
282k
    : 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
854k
    : 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.49M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Constant*>::StringMapEntry(unsigned long)
Line
Count
Source
131
46
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.04k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
3.39k
    : 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
99
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
205
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
28.4k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<char const*>::StringMapEntry(unsigned long)
Line
Count
Source
131
98
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<int>::StringMapEntry(unsigned long)
Line
Count
Source
131
752k
    : 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.98k
    : 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
31
    : 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
71.6k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
131
17.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::StringMapEntry(unsigned long)
Line
Count
Source
131
772
    : 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
303
    : 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
514
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::StringMapEntry(unsigned long)
Line
Count
Source
131
27
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTUnit*>::StringMapEntry(unsigned long)
Line
Count
Source
131
14
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::StringMapEntry(unsigned long)
Line
Count
Source
131
3.95k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::StringMapEntry(unsigned long)
Line
Count
Source
131
72.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::StringMapEntry(unsigned long)
Line
Count
Source
131
9.61k
    : 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
409
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::StringMapEntry(unsigned long)
Line
Count
Source
131
367k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
131
14
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Module*>::StringMapEntry(unsigned long)
Line
Count
Source
131
72.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PragmaHandler*>::StringMapEntry(unsigned long)
Line
Count
Source
131
2.02M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry(unsigned long)
Line
Count
Source
131
11.6k
    : 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
256
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry(unsigned long)
Line
Count
Source
131
516
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::elf::OutputSection*>::StringMapEntry(unsigned long)
Line
Count
Source
131
368k
    : 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
33
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::FileInfo::LineData>::StringMapEntry(unsigned long)
Line
Count
Source
131
44
    : StringMapEntryBase(strLen), second() {}
132
  template <typename... InitTy>
133
  StringMapEntry(size_t strLen, InitTy &&... InitVals)
134
360M
      : 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.3M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char>(unsigned long, char&&)
Line
Count
Source
134
877k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int>(unsigned long, unsigned int&&)
Line
Count
Source
134
43.2M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::StringMapEntry<llvm::ConstantDataSequential*>(unsigned long, llvm::ConstantDataSequential*&&)
Line
Count
Source
134
475k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned char>::StringMapEntry<unsigned char>(unsigned long, unsigned char&&)
Line
Count
Source
134
188k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Comdat>::StringMapEntry<llvm::Comdat>(unsigned long, llvm::Comdat&&)
Line
Count
Source
134
30.0k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::StructType*>::StringMapEntry<llvm::StructType*>(unsigned long, llvm::StructType*&&)
Line
Count
Source
134
241k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Value*>::StringMapEntry<llvm::Value*>(unsigned long, llvm::Value*&&)
Line
Count
Source
134
16.5M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char&>(unsigned long, char&&&)
Line
Count
Source
134
6.64k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry<llvm::Function*>(unsigned long, llvm::Function*&&)
Line
Count
Source
134
23
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry<unsigned long long&>(unsigned long, unsigned long long&&&)
Line
Count
Source
134
52
      : 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.46M
      : 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
127M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::IdentifierInfo*>::StringMapEntry<clang::IdentifierInfo*>(unsigned long, clang::IdentifierInfo*&&)
Line
Count
Source
134
142M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::DirectoryEntry*>::StringMapEntry<clang::DirectoryEntry*>(unsigned long, clang::DirectoryEntry*&&)
Line
Count
Source
134
385k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::FileEntry*>::StringMapEntry<clang::FileEntry*>(unsigned long, clang::FileEntry*&&)
Line
Count
Source
134
1.36M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::StringMapEntry<clang::MemoryBufferCache::BufferEntry>(unsigned long, clang::MemoryBufferCache::BufferEntry&&)
Line
Count
Source
134
5.64k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry<llvm::GlobalVariable*>(unsigned long, llvm::GlobalVariable*&&)
Line
Count
Source
134
267
      : 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
204
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry<unsigned int&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&>(unsigned long, unsigned int&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&)
Line
Count
Source
134
34
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry<unsigned int&, llvm::Constant*&, clang::CharUnits&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&, llvm::GlobalValue::LinkageTypes&>(unsigned long, unsigned int&&&, llvm::Constant*&&&, clang::CharUnits&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&, llvm::GlobalValue::LinkageTypes&&&)
Line
Count
Source
134
21
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::GlobalDecl>::StringMapEntry<clang::GlobalDecl>(unsigned long, clang::GlobalDecl&&)
Line
Count
Source
134
2.01M
      : 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
398k
      : 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
551k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry<llvm::DIE const*>(unsigned long, llvm::DIE const*&&)
Line
Count
Source
134
20
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::StringMapEntry<llvm::DwarfStringPoolEntryRef&, unsigned int (*&)(llvm::StringRef)>(unsigned long, llvm::DwarfStringPoolEntryRef&&&, unsigned int (*&&&)(llvm::StringRef))
Line
Count
Source
134
73.1k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::StringMapEntry<llvm::DwarfStringPoolEntry>(unsigned long, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
134
84.9k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry<clang::Stmt*>(unsigned long, clang::Stmt*&&)
Line
Count
Source
134
2
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >(unsigned long, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> >&&)
Line
Count
Source
134
550
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&&)
Line
Count
Source
134
20
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >(unsigned long, std::__1::shared_ptr<clang::ModuleFileExtension>&&)
Line
Count
Source
134
27
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::StringMapEntry<clang::OMPCriticalDirective const*&, llvm::APSInt&>(unsigned long, clang::OMPCriticalDirective const*&&&, llvm::APSInt&&&)
Line
Count
Source
134
38
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
Unexecuted instantiation: llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>(unsigned long, clang::HeaderSearch::FrameworkCacheEntry&&)
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >(unsigned long, std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> >&&)
Line
Count
Source
134
739
      : 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
63
      : 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.83k
      : 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
93.8k
      : 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.46k
      : 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
321
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
135
  StringMapEntry(StringMapEntry &E) = delete;
136
137
468M
  StringRef getKey() const {
138
468M
    return StringRef(getKeyData(), getKeyLength());
139
468M
  }
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<std::__1::pair<unsigned int, unsigned int> >::getKey() const
Line
Count
Source
137
12
  StringRef getKey() const {
138
12
    return StringRef(getKeyData(), getKeyLength());
139
12
  }
llvm::StringMapEntry<llvm::StructType*>::getKey() const
Line
Count
Source
137
1.27M
  StringRef getKey() const {
138
1.27M
    return StringRef(getKeyData(), getKeyLength());
139
1.27M
  }
llvm::StringMapEntry<llvm::Value*>::getKey() const
Line
Count
Source
137
448M
  StringRef getKey() const {
138
448M
    return StringRef(getKeyData(), getKeyLength());
139
448M
  }
llvm::StringMapEntry<char>::getKey() const
Line
Count
Source
137
5.88M
  StringRef getKey() const {
138
5.88M
    return StringRef(getKeyData(), getKeyLength());
139
5.88M
  }
llvm::StringMapEntry<unsigned long long>::getKey() const
Line
Count
Source
137
78
  StringRef getKey() const {
138
78
    return StringRef(getKeyData(), getKeyLength());
139
78
  }
Unexecuted instantiation: GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKey() const
llvm::StringMapEntry<bool>::getKey() const
Line
Count
Source
137
583k
  StringRef getKey() const {
138
583k
    return StringRef(getKeyData(), getKeyLength());
139
583k
  }
llvm::StringMapEntry<llvm::cl::Option*>::getKey() const
Line
Count
Source
137
1.26k
  StringRef getKey() const {
138
1.26k
    return StringRef(getKeyData(), getKeyLength());
139
1.26k
  }
llvm::StringMapEntry<llvm::TimeRecord>::getKey() const
Line
Count
Source
137
1
  StringRef getKey() const {
138
1
    return StringRef(getKeyData(), getKeyLength());
139
1
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKey() const
Line
Count
Source
137
53
  StringRef getKey() const {
138
53
    return StringRef(getKeyData(), getKeyLength());
139
53
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKey() const
Line
Count
Source
137
427k
  StringRef getKey() const {
138
427k
    return StringRef(getKeyData(), getKeyLength());
139
427k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKey() const
Line
Count
Source
137
2.07k
  StringRef getKey() const {
138
2.07k
    return StringRef(getKeyData(), getKeyLength());
139
2.07k
  }
llvm::StringMapEntry<clang::IdentifierInfo*>::getKey() const
Line
Count
Source
137
10.6M
  StringRef getKey() const {
138
10.6M
    return StringRef(getKeyData(), getKeyLength());
139
10.6M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKey() const
Line
Count
Source
137
280
  StringRef getKey() const {
138
280
    return StringRef(getKeyData(), getKeyLength());
139
280
  }
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
65
  StringRef getKey() const {
138
65
    return StringRef(getKeyData(), getKeyLength());
139
65
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKey() const
Line
Count
Source
137
61
  StringRef getKey() const {
138
61
    return StringRef(getKeyData(), getKeyLength());
139
61
  }
140
141
3.45M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned int>::getValue() const
Line
Count
Source
141
3.99k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Comdat>::getValue() const
Line
Count
Source
141
26.0k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue() const
Line
Count
Source
141
204k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long long>::getValue() const
Line
Count
Source
141
24
  const ValueTy &getValue() const { return second; }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getValue() const
Line
Count
Source
141
249k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::MCSymbol*>::getValue() const
Line
Count
Source
141
4.19k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getValue() const
Line
Count
Source
141
489
  const ValueTy &getValue() const { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::TimeRecord>::getValue() const
llvm::StringMapEntry<clang::FileEntry*>::getValue() const
Line
Count
Source
141
285k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<bool>::getValue() const
Line
Count
Source
141
603k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getValue() const
Line
Count
Source
141
53
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::GlobalDecl>::getValue() const
Line
Count
Source
141
2.10k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue() const
Line
Count
Source
141
38.4k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue() const
Line
Count
Source
141
1.41M
  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
328
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long>::getValue() const
Line
Count
Source
141
794
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::IdentifierInfo*>::getValue() const
Line
Count
Source
141
556k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::Module*>::getValue() const
Line
Count
Source
141
52.9k
  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
280
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue() const
Line
Count
Source
141
2.14k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue() const
Line
Count
Source
141
1.83k
  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.56M
  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
93.8k
  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
673k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<char>::getValue()
Line
Count
Source
142
6.64k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned long long>::getValue()
Line
Count
Source
142
125
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Function*>::getValue()
Line
Count
Source
142
60
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue()
Line
Count
Source
142
82
  ValueTy &getValue() { return second; }
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getValue()
Line
Count
Source
142
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
99.6k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Constant*>::getValue()
Line
Count
Source
142
3
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue()
Line
Count
Source
142
398k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<int>::getValue()
Line
Count
Source
142
9.59k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::SourceLocation>::getValue()
Line
Count
Source
142
70
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getValue()
Line
Count
Source
142
23
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue()
Line
Count
Source
142
1.70k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::Module*>::getValue()
Line
Count
Source
142
71.8k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int const*>::getValue()
Line
Count
Source
142
209
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue()
Line
Count
Source
142
5.76k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue()
Line
Count
Source
142
3.45k
  ValueTy &getValue() { return second; }
143
144
2.64M
  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.63G
  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
79.3k
  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
79.3k
  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.60k
  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.7M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int>::getKeyData() const
Line
Count
Source
149
48.3M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<int>::getKeyData() const
Line
Count
Source
149
19.1M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::getKeyData() const
Line
Count
Source
149
290
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::getKeyData() const
Line
Count
Source
149
2.42k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char>::getKeyData() const
Line
Count
Source
149
6.80M
  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.80k
  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
991
  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.97k
  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.62k
  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
198
  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.5k
  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
980
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GCStrategy*>::getKeyData() const
Line
Count
Source
149
25
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::getKeyData() const
Line
Count
Source
149
614
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKeyData() const
Line
Count
Source
149
2.49k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Comdat>::getKeyData() const
Line
Count
Source
149
116k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::getKeyData() const
Line
Count
Source
149
959k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned char>::getKeyData() const
Line
Count
Source
149
196k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::getKeyData() const
Line
Count
Source
149
155
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MDString>::getKeyData() const
Line
Count
Source
149
29.1M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::NamedMDNode*>::getKeyData() const
Line
Count
Source
149
56.1k
  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.52k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::PassInfo const*>::getKeyData() const
Line
Count
Source
149
23.6M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StructType*>::getKeyData() const
Line
Count
Source
149
1.51M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Value*>::getKeyData() const
Line
Count
Source
149
465M
  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
798
  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
388
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Function*>::getKeyData() const
Line
Count
Source
149
273
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKeyData() const
Line
Count
Source
149
314
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long long>::getKeyData() const
Line
Count
Source
149
753
  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.11M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSectionMachO*>::getKeyData() const
Line
Count
Source
149
843k
  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.91M
  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
711k
  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
127M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long>::getKeyData() const
Line
Count
Source
149
30.3k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
149
273
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getKeyData() const
Line
Count
Source
149
298
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::getKeyData() const
Line
Count
Source
149
2
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Timer>::getKeyData() const
Line
Count
Source
149
2
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TimeRecord>::getKeyData() const
Line
Count
Source
149
2
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::getKeyData() const
Line
Count
Source
149
565k
  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
868M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::DirectoryEntry*>::getKeyData() const
Line
Count
Source
149
771k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileEntry*>::getKeyData() const
Line
Count
Source
149
2.72M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileData>::getKeyData() const
Line
Count
Source
149
15
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::getKeyData() const
Line
Count
Source
149
5.64k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKeyData() const
Line
Count
Source
149
4.32M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Constant*>::getKeyData() const
Line
Count
Source
149
46
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalVariable*>::getKeyData() const
Line
Count
Source
149
2.59k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
149
408
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::getKeyData() const
Line
Count
Source
149
9.31k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKeyData() const
Line
Count
Source
149
108
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
149
198
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::GlobalDecl>::getKeyData() const
Line
Count
Source
149
4.02M
  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
205
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::getKeyData() const
Line
Count
Source
149
28.4k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char const*>::getKeyData() const
Line
Count
Source
149
98
  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
565k
  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
31
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::getKeyData() const
Line
Count
Source
149
602
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::getKeyData() const
Line
Count
Source
149
85
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getKeyData() const
Line
Count
Source
149
651k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DIE const*>::getKeyData() const
Line
Count
Source
149
143k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::getKeyData() const
Line
Count
Source
149
73.1k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SDNode*>::getKeyData() const
Line
Count
Source
149
17.3k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::getKeyData() const
Line
Count
Source
149
772
  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
303
  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
550
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ento::BugType*>::getKeyData() const
Line
Count
Source
149
514
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::getKeyData() const
Line
Count
Source
149
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTUnit*>::getKeyData() const
Line
Count
Source
149
14
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::getKeyData() const
Line
Count
Source
149
3.95k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::getKeyData() const
Line
Count
Source
149
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::getKeyData() const
Line
Count
Source
149
143k
  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.61k
  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
518
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::getKeyData() const
Line
Count
Source
149
367k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
149
14
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Module*>::getKeyData() const
Line
Count
Source
149
72.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PragmaHandler*>::getKeyData() const
Line
Count
Source
149
2.02M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Type*>::getKeyData() const
Line
Count
Source
149
118
  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.8k
  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
256
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int const*>::getKeyData() const
Line
Count
Source
149
8.83k
  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
93.8k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RegisterBank const*>::getKeyData() const
Line
Count
Source
149
2.46k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::elf::OutputSection*>::getKeyData() const
Line
Count
Source
149
368k
  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
33
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::FileInfo::LineData>::getKeyData() const
Line
Count
Source
149
88
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
150
151
46.0M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<bool>::first() const
Line
Count
Source
151
11.8M
  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.47k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::Comdat>::first() const
Line
Count
Source
151
86.8k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::ConstantDataSequential*>::first() const
Line
Count
Source
151
484k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<char>::first() const
Line
Count
Source
151
35.3k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned int>::first() const
Line
Count
Source
151
268k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned char>::first() const
Line
Count
Source
151
8.73k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::MDString>::first() const
Line
Count
Source
151
28.7M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::first() const
Line
Count
Source
151
1.02k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::first() const
Line
Count
Source
151
321
  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
282k
  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
385k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FileEntry*>::first() const
Line
Count
Source
151
1.36M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::GlobalVariable*>::first() const
Line
Count
Source
151
286
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::first() const
Line
Count
Source
151
204
  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.92k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::first() const
Line
Count
Source
151
99
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::GlobalDecl>::first() const
Line
Count
Source
151
2.01M
  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
451
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::first() const
Line
Count
Source
151
483k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::first() const
Line
Count
Source
151
71.9k
  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
84
  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
404M
                                InitTy &&... InitVals) {
158
404M
    size_t KeyLength = Key.size();
159
404M
160
404M
    // Allocate a new item with space for the string at the end and a null
161
404M
    // terminator.
162
404M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
404M
    size_t Alignment = alignof(StringMapEntry);
164
404M
165
404M
    StringMapEntry *NewItem =
166
404M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
404M
    assert(NewItem && "Unhandled out-of-memory");
168
404M
169
404M
    // Construct the value.
170
404M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
404M
172
404M
    // Copy the string information.
173
404M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
404M
    if (KeyLength > 0)
175
404M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
404M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
404M
    return NewItem;
178
404M
  }
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
79.3k
                                InitTy &&... InitVals) {
158
79.3k
    size_t KeyLength = Key.size();
159
79.3k
160
79.3k
    // Allocate a new item with space for the string at the end and a null
161
79.3k
    // terminator.
162
79.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
79.3k
    size_t Alignment = alignof(StringMapEntry);
164
79.3k
165
79.3k
    StringMapEntry *NewItem =
166
79.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
79.3k
    assert(NewItem && "Unhandled out-of-memory");
168
79.3k
169
79.3k
    // Construct the value.
170
79.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
79.3k
172
79.3k
    // Copy the string information.
173
79.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
79.3k
    if (KeyLength > 0)
175
79.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
79.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
79.3k
    return NewItem;
178
79.3k
  }
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
79.3k
                                InitTy &&... InitVals) {
158
79.3k
    size_t KeyLength = Key.size();
159
79.3k
160
79.3k
    // Allocate a new item with space for the string at the end and a null
161
79.3k
    // terminator.
162
79.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
79.3k
    size_t Alignment = alignof(StringMapEntry);
164
79.3k
165
79.3k
    StringMapEntry *NewItem =
166
79.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
79.3k
    assert(NewItem && "Unhandled out-of-memory");
168
79.3k
169
79.3k
    // Construct the value.
170
79.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
79.3k
172
79.3k
    // Copy the string information.
173
79.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
79.3k
    if (KeyLength > 0)
175
79.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
79.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
79.3k
    return NewItem;
178
79.3k
  }
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.60k
                                InitTy &&... InitVals) {
158
8.60k
    size_t KeyLength = Key.size();
159
8.60k
160
8.60k
    // Allocate a new item with space for the string at the end and a null
161
8.60k
    // terminator.
162
8.60k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
8.60k
    size_t Alignment = alignof(StringMapEntry);
164
8.60k
165
8.60k
    StringMapEntry *NewItem =
166
8.60k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
8.60k
    assert(NewItem && "Unhandled out-of-memory");
168
8.60k
169
8.60k
    // Construct the value.
170
8.60k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
8.60k
172
8.60k
    // Copy the string information.
173
8.60k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
8.60k
    if (KeyLength > 0)
175
7.50k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
8.60k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
8.60k
    return NewItem;
178
8.60k
  }
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.27M
                                InitTy &&... InitVals) {
158
3.27M
    size_t KeyLength = Key.size();
159
3.27M
160
3.27M
    // Allocate a new item with space for the string at the end and a null
161
3.27M
    // terminator.
162
3.27M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.27M
    size_t Alignment = alignof(StringMapEntry);
164
3.27M
165
3.27M
    StringMapEntry *NewItem =
166
3.27M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.27M
    assert(NewItem && "Unhandled out-of-memory");
168
3.27M
169
3.27M
    // Construct the value.
170
3.27M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.27M
172
3.27M
    // Copy the string information.
173
3.27M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.27M
    if (KeyLength > 0)
175
3.27M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.27M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.27M
    return NewItem;
178
3.27M
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
157
18.3M
                                InitTy &&... InitVals) {
158
18.3M
    size_t KeyLength = Key.size();
159
18.3M
160
18.3M
    // Allocate a new item with space for the string at the end and a null
161
18.3M
    // terminator.
162
18.3M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
18.3M
    size_t Alignment = alignof(StringMapEntry);
164
18.3M
165
18.3M
    StringMapEntry *NewItem =
166
18.3M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
18.3M
    assert(NewItem && "Unhandled out-of-memory");
168
18.3M
169
18.3M
    // Construct the value.
170
18.3M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
18.3M
172
18.3M
    // Copy the string information.
173
18.3M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
18.3M
    if (KeyLength > 0)
175
18.2M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
18.3M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
18.3M
    return NewItem;
178
18.3M
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
290
                                InitTy &&... InitVals) {
158
290
    size_t KeyLength = Key.size();
159
290
160
290
    // Allocate a new item with space for the string at the end and a null
161
290
    // terminator.
162
290
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
290
    size_t Alignment = alignof(StringMapEntry);
164
290
165
290
    StringMapEntry *NewItem =
166
290
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
290
    assert(NewItem && "Unhandled out-of-memory");
168
290
169
290
    // Construct the value.
170
290
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
290
172
290
    // Copy the string information.
173
290
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
290
    if (KeyLength > 0)
175
290
      memcpy(StrBuffer, Key.data(), KeyLength);
176
290
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
290
    return NewItem;
178
290
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.42k
                                InitTy &&... InitVals) {
158
2.42k
    size_t KeyLength = Key.size();
159
2.42k
160
2.42k
    // Allocate a new item with space for the string at the end and a null
161
2.42k
    // terminator.
162
2.42k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.42k
    size_t Alignment = alignof(StringMapEntry);
164
2.42k
165
2.42k
    StringMapEntry *NewItem =
166
2.42k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.42k
    assert(NewItem && "Unhandled out-of-memory");
168
2.42k
169
2.42k
    // Construct the value.
170
2.42k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.42k
172
2.42k
    // Copy the string information.
173
2.42k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.42k
    if (KeyLength > 0)
175
2.42k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.42k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.42k
    return NewItem;
178
2.42k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char>(llvm::StringRef, llvm::MallocAllocator&, char&&)
Line
Count
Source
157
877k
                                InitTy &&... InitVals) {
158
877k
    size_t KeyLength = Key.size();
159
877k
160
877k
    // Allocate a new item with space for the string at the end and a null
161
877k
    // terminator.
162
877k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
877k
    size_t Alignment = alignof(StringMapEntry);
164
877k
165
877k
    StringMapEntry *NewItem =
166
877k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
877k
    assert(NewItem && "Unhandled out-of-memory");
168
877k
169
877k
    // Construct the value.
170
877k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
877k
172
877k
    // Copy the string information.
173
877k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
877k
    if (KeyLength > 0)
175
877k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
877k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
877k
    return NewItem;
178
877k
  }
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.80k
                                InitTy &&... InitVals) {
158
4.80k
    size_t KeyLength = Key.size();
159
4.80k
160
4.80k
    // Allocate a new item with space for the string at the end and a null
161
4.80k
    // terminator.
162
4.80k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.80k
    size_t Alignment = alignof(StringMapEntry);
164
4.80k
165
4.80k
    StringMapEntry *NewItem =
166
4.80k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.80k
    assert(NewItem && "Unhandled out-of-memory");
168
4.80k
169
4.80k
    // Construct the value.
170
4.80k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.80k
172
4.80k
    // Copy the string information.
173
4.80k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.80k
    if (KeyLength > 0)
175
3.21k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.80k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.80k
    return NewItem;
178
4.80k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&)
Line
Count
Source
157
43.1M
                                InitTy &&... InitVals) {
158
43.1M
    size_t KeyLength = Key.size();
159
43.1M
160
43.1M
    // Allocate a new item with space for the string at the end and a null
161
43.1M
    // terminator.
162
43.1M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
43.1M
    size_t Alignment = alignof(StringMapEntry);
164
43.1M
165
43.1M
    StringMapEntry *NewItem =
166
43.1M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
43.1M
    assert(NewItem && "Unhandled out-of-memory");
168
43.1M
169
43.1M
    // Construct the value.
170
43.1M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
43.1M
172
43.1M
    // Copy the string information.
173
43.1M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
43.1M
    if (KeyLength > 0)
175
43.1M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
43.1M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
43.1M
    return NewItem;
178
43.1M
  }
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
991
                                InitTy &&... InitVals) {
158
991
    size_t KeyLength = Key.size();
159
991
160
991
    // Allocate a new item with space for the string at the end and a null
161
991
    // terminator.
162
991
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
991
    size_t Alignment = alignof(StringMapEntry);
164
991
165
991
    StringMapEntry *NewItem =
166
991
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
991
    assert(NewItem && "Unhandled out-of-memory");
168
991
169
991
    // Construct the value.
170
991
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
991
172
991
    // Copy the string information.
173
991
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
991
    if (KeyLength > 0)
175
481
      memcpy(StrBuffer, Key.data(), KeyLength);
176
991
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
991
    return NewItem;
178
991
  }
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.97k
                                InitTy &&... InitVals) {
158
1.97k
    size_t KeyLength = Key.size();
159
1.97k
160
1.97k
    // Allocate a new item with space for the string at the end and a null
161
1.97k
    // terminator.
162
1.97k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.97k
    size_t Alignment = alignof(StringMapEntry);
164
1.97k
165
1.97k
    StringMapEntry *NewItem =
166
1.97k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.97k
    assert(NewItem && "Unhandled out-of-memory");
168
1.97k
169
1.97k
    // Construct the value.
170
1.97k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.97k
172
1.97k
    // Copy the string information.
173
1.97k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.97k
    if (KeyLength > 0)
175
1.58k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.97k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.97k
    return NewItem;
178
1.97k
  }
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.62k
                                InitTy &&... InitVals) {
158
1.62k
    size_t KeyLength = Key.size();
159
1.62k
160
1.62k
    // Allocate a new item with space for the string at the end and a null
161
1.62k
    // terminator.
162
1.62k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.62k
    size_t Alignment = alignof(StringMapEntry);
164
1.62k
165
1.62k
    StringMapEntry *NewItem =
166
1.62k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.62k
    assert(NewItem && "Unhandled out-of-memory");
168
1.62k
169
1.62k
    // Construct the value.
170
1.62k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.62k
172
1.62k
    // Copy the string information.
173
1.62k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.62k
    if (KeyLength > 0)
175
1.61k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.62k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.62k
    return NewItem;
178
1.62k
  }
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
198
                                InitTy &&... InitVals) {
158
198
    size_t KeyLength = Key.size();
159
198
160
198
    // Allocate a new item with space for the string at the end and a null
161
198
    // terminator.
162
198
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
198
    size_t Alignment = alignof(StringMapEntry);
164
198
165
198
    StringMapEntry *NewItem =
166
198
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
198
    assert(NewItem && "Unhandled out-of-memory");
168
198
169
198
    // Construct the value.
170
198
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
198
172
198
    // Copy the string information.
173
198
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
198
    if (KeyLength > 0)
175
61
      memcpy(StrBuffer, Key.data(), KeyLength);
176
198
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
198
    return NewItem;
178
198
  }
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.5k
                                InitTy &&... InitVals) {
158
12.5k
    size_t KeyLength = Key.size();
159
12.5k
160
12.5k
    // Allocate a new item with space for the string at the end and a null
161
12.5k
    // terminator.
162
12.5k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
12.5k
    size_t Alignment = alignof(StringMapEntry);
164
12.5k
165
12.5k
    StringMapEntry *NewItem =
166
12.5k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
12.5k
    assert(NewItem && "Unhandled out-of-memory");
168
12.5k
169
12.5k
    // Construct the value.
170
12.5k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
12.5k
172
12.5k
    // Copy the string information.
173
12.5k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
12.5k
    if (KeyLength > 0)
175
8.24k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
12.5k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
12.5k
    return NewItem;
178
12.5k
  }
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
980
                                InitTy &&... InitVals) {
158
980
    size_t KeyLength = Key.size();
159
980
160
980
    // Allocate a new item with space for the string at the end and a null
161
980
    // terminator.
162
980
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
980
    size_t Alignment = alignof(StringMapEntry);
164
980
165
980
    StringMapEntry *NewItem =
166
980
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
980
    assert(NewItem && "Unhandled out-of-memory");
168
980
169
980
    // Construct the value.
170
980
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
980
172
980
    // Copy the string information.
173
980
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
980
    if (KeyLength > 0)
175
980
      memcpy(StrBuffer, Key.data(), KeyLength);
176
980
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
980
    return NewItem;
178
980
  }
llvm::StringMapEntry<llvm::GCStrategy*>* llvm::StringMapEntry<llvm::GCStrategy*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
25
                                InitTy &&... InitVals) {
158
25
    size_t KeyLength = Key.size();
159
25
160
25
    // Allocate a new item with space for the string at the end and a null
161
25
    // terminator.
162
25
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
25
    size_t Alignment = alignof(StringMapEntry);
164
25
165
25
    StringMapEntry *NewItem =
166
25
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
25
    assert(NewItem && "Unhandled out-of-memory");
168
25
169
25
    // Construct the value.
170
25
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
25
172
25
    // Copy the string information.
173
25
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
25
    if (KeyLength > 0)
175
25
      memcpy(StrBuffer, Key.data(), KeyLength);
176
25
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
25
    return NewItem;
178
25
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
614
                                InitTy &&... InitVals) {
158
614
    size_t KeyLength = Key.size();
159
614
160
614
    // Allocate a new item with space for the string at the end and a null
161
614
    // terminator.
162
614
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
614
    size_t Alignment = alignof(StringMapEntry);
164
614
165
614
    StringMapEntry *NewItem =
166
614
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
614
    assert(NewItem && "Unhandled out-of-memory");
168
614
169
614
    // Construct the value.
170
614
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
614
172
614
    // Copy the string information.
173
614
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
614
    if (KeyLength > 0)
175
614
      memcpy(StrBuffer, Key.data(), KeyLength);
176
614
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
614
    return NewItem;
178
614
  }
llvm::StringMapEntry<llvm::ConstantDataSequential*>* llvm::StringMapEntry<llvm::ConstantDataSequential*>::Create<llvm::MallocAllocator, llvm::ConstantDataSequential*>(llvm::StringRef, llvm::MallocAllocator&, llvm::ConstantDataSequential*&&)
Line
Count
Source
157
475k
                                InitTy &&... InitVals) {
158
475k
    size_t KeyLength = Key.size();
159
475k
160
475k
    // Allocate a new item with space for the string at the end and a null
161
475k
    // terminator.
162
475k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
475k
    size_t Alignment = alignof(StringMapEntry);
164
475k
165
475k
    StringMapEntry *NewItem =
166
475k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
475k
    assert(NewItem && "Unhandled out-of-memory");
168
475k
169
475k
    // Construct the value.
170
475k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
475k
172
475k
    // Copy the string information.
173
475k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
475k
    if (KeyLength > 0)
175
475k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
475k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
475k
    return NewItem;
178
475k
  }
llvm::StringMapEntry<unsigned char>* llvm::StringMapEntry<unsigned char>::Create<llvm::MallocAllocator, unsigned char>(llvm::StringRef, llvm::MallocAllocator&, unsigned char&&)
Line
Count
Source
157
188k
                                InitTy &&... InitVals) {
158
188k
    size_t KeyLength = Key.size();
159
188k
160
188k
    // Allocate a new item with space for the string at the end and a null
161
188k
    // terminator.
162
188k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
188k
    size_t Alignment = alignof(StringMapEntry);
164
188k
165
188k
    StringMapEntry *NewItem =
166
188k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
188k
    assert(NewItem && "Unhandled out-of-memory");
168
188k
169
188k
    // Construct the value.
170
188k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
188k
172
188k
    // Copy the string information.
173
188k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
188k
    if (KeyLength > 0)
175
96.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
188k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
188k
    return NewItem;
178
188k
  }
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >* llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
143
                                InitTy &&... InitVals) {
158
143
    size_t KeyLength = Key.size();
159
143
160
143
    // Allocate a new item with space for the string at the end and a null
161
143
    // terminator.
162
143
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
143
    size_t Alignment = alignof(StringMapEntry);
164
143
165
143
    StringMapEntry *NewItem =
166
143
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
143
    assert(NewItem && "Unhandled out-of-memory");
168
143
169
143
    // Construct the value.
170
143
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
143
172
143
    // Copy the string information.
173
143
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
143
    if (KeyLength > 0)
175
143
      memcpy(StrBuffer, Key.data(), KeyLength);
176
143
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
143
    return NewItem;
178
143
  }
llvm::StringMapEntry<llvm::MDString>* llvm::StringMapEntry<llvm::MDString>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
157
411k
                                InitTy &&... InitVals) {
158
411k
    size_t KeyLength = Key.size();
159
411k
160
411k
    // Allocate a new item with space for the string at the end and a null
161
411k
    // terminator.
162
411k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
411k
    size_t Alignment = alignof(StringMapEntry);
164
411k
165
411k
    StringMapEntry *NewItem =
166
411k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
411k
    assert(NewItem && "Unhandled out-of-memory");
168
411k
169
411k
    // Construct the value.
170
411k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
411k
172
411k
    // Copy the string information.
173
411k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
411k
    if (KeyLength > 0)
175
406k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
411k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
411k
    return NewItem;
178
411k
  }
llvm::StringMapEntry<llvm::NamedMDNode*>* llvm::StringMapEntry<llvm::NamedMDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
56.1k
                                InitTy &&... InitVals) {
158
56.1k
    size_t KeyLength = Key.size();
159
56.1k
160
56.1k
    // Allocate a new item with space for the string at the end and a null
161
56.1k
    // terminator.
162
56.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
56.1k
    size_t Alignment = alignof(StringMapEntry);
164
56.1k
165
56.1k
    StringMapEntry *NewItem =
166
56.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
56.1k
    assert(NewItem && "Unhandled out-of-memory");
168
56.1k
169
56.1k
    // Construct the value.
170
56.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
56.1k
172
56.1k
    // Copy the string information.
173
56.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
56.1k
    if (KeyLength > 0)
175
56.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
56.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
56.1k
    return NewItem;
178
56.1k
  }
llvm::StringMapEntry<llvm::Comdat>* llvm::StringMapEntry<llvm::Comdat>::Create<llvm::MallocAllocator, llvm::Comdat>(llvm::StringRef, llvm::MallocAllocator&, llvm::Comdat&&)
Line
Count
Source
157
30.0k
                                InitTy &&... InitVals) {
158
30.0k
    size_t KeyLength = Key.size();
159
30.0k
160
30.0k
    // Allocate a new item with space for the string at the end and a null
161
30.0k
    // terminator.
162
30.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
30.0k
    size_t Alignment = alignof(StringMapEntry);
164
30.0k
165
30.0k
    StringMapEntry *NewItem =
166
30.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
30.0k
    assert(NewItem && "Unhandled out-of-memory");
168
30.0k
169
30.0k
    // Construct the value.
170
30.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
30.0k
172
30.0k
    // Copy the string information.
173
30.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
30.0k
    if (KeyLength > 0)
175
30.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
30.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
30.0k
    return NewItem;
178
30.0k
  }
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
502
                                InitTy &&... InitVals) {
158
502
    size_t KeyLength = Key.size();
159
502
160
502
    // Allocate a new item with space for the string at the end and a null
161
502
    // terminator.
162
502
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
502
    size_t Alignment = alignof(StringMapEntry);
164
502
165
502
    StringMapEntry *NewItem =
166
502
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
502
    assert(NewItem && "Unhandled out-of-memory");
168
502
169
502
    // Construct the value.
170
502
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
502
172
502
    // Copy the string information.
173
502
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
502
    if (KeyLength > 0)
175
485
      memcpy(StrBuffer, Key.data(), KeyLength);
176
502
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
502
    return NewItem;
178
502
  }
llvm::StringMapEntry<llvm::PassInfo const*>* llvm::StringMapEntry<llvm::PassInfo const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
23.6M
                                InitTy &&... InitVals) {
158
23.6M
    size_t KeyLength = Key.size();
159
23.6M
160
23.6M
    // Allocate a new item with space for the string at the end and a null
161
23.6M
    // terminator.
162
23.6M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
23.6M
    size_t Alignment = alignof(StringMapEntry);
164
23.6M
165
23.6M
    StringMapEntry *NewItem =
166
23.6M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
23.6M
    assert(NewItem && "Unhandled out-of-memory");
168
23.6M
169
23.6M
    // Construct the value.
170
23.6M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
23.6M
172
23.6M
    // Copy the string information.
173
23.6M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
23.6M
    if (KeyLength > 0)
175
23.6M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
23.6M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
23.6M
    return NewItem;
178
23.6M
  }
llvm::StringMapEntry<llvm::StructType*>* llvm::StringMapEntry<llvm::StructType*>::Create<llvm::MallocAllocator, llvm::StructType*>(llvm::StringRef, llvm::MallocAllocator&, llvm::StructType*&&)
Line
Count
Source
157
241k
                                InitTy &&... InitVals) {
158
241k
    size_t KeyLength = Key.size();
159
241k
160
241k
    // Allocate a new item with space for the string at the end and a null
161
241k
    // terminator.
162
241k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
241k
    size_t Alignment = alignof(StringMapEntry);
164
241k
165
241k
    StringMapEntry *NewItem =
166
241k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
241k
    assert(NewItem && "Unhandled out-of-memory");
168
241k
169
241k
    // Construct the value.
170
241k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
241k
172
241k
    // Copy the string information.
173
241k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
241k
    if (KeyLength > 0)
175
241k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
241k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
241k
    return NewItem;
178
241k
  }
llvm::StringMapEntry<llvm::Value*>* llvm::StringMapEntry<llvm::Value*>::Create<llvm::MallocAllocator, llvm::Value*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Value*&&)
Line
Count
Source
157
16.5M
                                InitTy &&... InitVals) {
158
16.5M
    size_t KeyLength = Key.size();
159
16.5M
160
16.5M
    // Allocate a new item with space for the string at the end and a null
161
16.5M
    // terminator.
162
16.5M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
16.5M
    size_t Alignment = alignof(StringMapEntry);
164
16.5M
165
16.5M
    StringMapEntry *NewItem =
166
16.5M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
16.5M
    assert(NewItem && "Unhandled out-of-memory");
168
16.5M
169
16.5M
    // Construct the value.
170
16.5M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
16.5M
172
16.5M
    // Copy the string information.
173
16.5M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
16.5M
    if (KeyLength > 0)
175
16.5M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
16.5M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
16.5M
    return NewItem;
178
16.5M
  }
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
477
                                InitTy &&... InitVals) {
158
477
    size_t KeyLength = Key.size();
159
477
160
477
    // Allocate a new item with space for the string at the end and a null
161
477
    // terminator.
162
477
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
477
    size_t Alignment = alignof(StringMapEntry);
164
477
165
477
    StringMapEntry *NewItem =
166
477
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
477
    assert(NewItem && "Unhandled out-of-memory");
168
477
169
477
    // Construct the value.
170
477
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
477
172
477
    // Copy the string information.
173
477
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
477
    if (KeyLength > 0)
175
477
      memcpy(StrBuffer, Key.data(), KeyLength);
176
477
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
477
    return NewItem;
178
477
  }
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
388
                                InitTy &&... InitVals) {
158
388
    size_t KeyLength = Key.size();
159
388
160
388
    // Allocate a new item with space for the string at the end and a null
161
388
    // terminator.
162
388
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
388
    size_t Alignment = alignof(StringMapEntry);
164
388
165
388
    StringMapEntry *NewItem =
166
388
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
388
    assert(NewItem && "Unhandled out-of-memory");
168
388
169
388
    // Construct the value.
170
388
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
388
172
388
    // Copy the string information.
173
388
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
388
    if (KeyLength > 0)
175
378
      memcpy(StrBuffer, Key.data(), KeyLength);
176
388
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
388
    return NewItem;
178
388
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char&>(llvm::StringRef, llvm::MallocAllocator&, char&&&)
Line
Count
Source
157
6.64k
                                InitTy &&... InitVals) {
158
6.64k
    size_t KeyLength = Key.size();
159
6.64k
160
6.64k
    // Allocate a new item with space for the string at the end and a null
161
6.64k
    // terminator.
162
6.64k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
6.64k
    size_t Alignment = alignof(StringMapEntry);
164
6.64k
165
6.64k
    StringMapEntry *NewItem =
166
6.64k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
6.64k
    assert(NewItem && "Unhandled out-of-memory");
168
6.64k
169
6.64k
    // Construct the value.
170
6.64k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
6.64k
172
6.64k
    // Copy the string information.
173
6.64k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
6.64k
    if (KeyLength > 0)
175
6.64k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
6.64k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
6.64k
    return NewItem;
178
6.64k
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
250
                                InitTy &&... InitVals) {
158
250
    size_t KeyLength = Key.size();
159
250
160
250
    // Allocate a new item with space for the string at the end and a null
161
250
    // terminator.
162
250
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
250
    size_t Alignment = alignof(StringMapEntry);
164
250
165
250
    StringMapEntry *NewItem =
166
250
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
250
    assert(NewItem && "Unhandled out-of-memory");
168
250
169
250
    // Construct the value.
170
250
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
250
172
250
    // Copy the string information.
173
250
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
250
    if (KeyLength > 0)
175
250
      memcpy(StrBuffer, Key.data(), KeyLength);
176
250
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
250
    return NewItem;
178
250
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator, llvm::Function*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Function*&&)
Line
Count
Source
157
23
                                InitTy &&... InitVals) {
158
23
    size_t KeyLength = Key.size();
159
23
160
23
    // Allocate a new item with space for the string at the end and a null
161
23
    // terminator.
162
23
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
23
    size_t Alignment = alignof(StringMapEntry);
164
23
165
23
    StringMapEntry *NewItem =
166
23
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
23
    assert(NewItem && "Unhandled out-of-memory");
168
23
169
23
    // Construct the value.
170
23
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
23
172
23
    // Copy the string information.
173
23
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
23
    if (KeyLength > 0)
175
23
      memcpy(StrBuffer, Key.data(), KeyLength);
176
23
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
23
    return NewItem;
178
23
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>* llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
233
                                InitTy &&... InitVals) {
158
233
    size_t KeyLength = Key.size();
159
233
160
233
    // Allocate a new item with space for the string at the end and a null
161
233
    // terminator.
162
233
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
233
    size_t Alignment = alignof(StringMapEntry);
164
233
165
233
    StringMapEntry *NewItem =
166
233
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
233
    assert(NewItem && "Unhandled out-of-memory");
168
233
169
233
    // Construct the value.
170
233
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
233
172
233
    // Copy the string information.
173
233
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
233
    if (KeyLength > 0)
175
233
      memcpy(StrBuffer, Key.data(), KeyLength);
176
233
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
233
    return NewItem;
178
233
  }
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
52
                                InitTy &&... InitVals) {
158
52
    size_t KeyLength = Key.size();
159
52
160
52
    // Allocate a new item with space for the string at the end and a null
161
52
    // terminator.
162
52
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
52
    size_t Alignment = alignof(StringMapEntry);
164
52
165
52
    StringMapEntry *NewItem =
166
52
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
52
    assert(NewItem && "Unhandled out-of-memory");
168
52
169
52
    // Construct the value.
170
52
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
52
172
52
    // Copy the string information.
173
52
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
52
    if (KeyLength > 0)
175
52
      memcpy(StrBuffer, Key.data(), KeyLength);
176
52
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
52
    return NewItem;
178
52
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
516
                                InitTy &&... InitVals) {
158
516
    size_t KeyLength = Key.size();
159
516
160
516
    // Allocate a new item with space for the string at the end and a null
161
516
    // terminator.
162
516
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
516
    size_t Alignment = alignof(StringMapEntry);
164
516
165
516
    StringMapEntry *NewItem =
166
516
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
516
    assert(NewItem && "Unhandled out-of-memory");
168
516
169
516
    // Construct the value.
170
516
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
516
172
516
    // Copy the string information.
173
516
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
516
    if (KeyLength > 0)
175
512
      memcpy(StrBuffer, Key.data(), KeyLength);
176
516
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
516
    return NewItem;
178
516
  }
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.11M
                                InitTy &&... InitVals) {
158
4.11M
    size_t KeyLength = Key.size();
159
4.11M
160
4.11M
    // Allocate a new item with space for the string at the end and a null
161
4.11M
    // terminator.
162
4.11M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.11M
    size_t Alignment = alignof(StringMapEntry);
164
4.11M
165
4.11M
    StringMapEntry *NewItem =
166
4.11M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.11M
    assert(NewItem && "Unhandled out-of-memory");
168
4.11M
169
4.11M
    // Construct the value.
170
4.11M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.11M
172
4.11M
    // Copy the string information.
173
4.11M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.11M
    if (KeyLength > 0)
175
4.11M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.11M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.11M
    return NewItem;
178
4.11M
  }
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.46M
                                InitTy &&... InitVals) {
158
4.46M
    size_t KeyLength = Key.size();
159
4.46M
160
4.46M
    // Allocate a new item with space for the string at the end and a null
161
4.46M
    // terminator.
162
4.46M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
4.46M
    size_t Alignment = alignof(StringMapEntry);
164
4.46M
165
4.46M
    StringMapEntry *NewItem =
166
4.46M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
4.46M
    assert(NewItem && "Unhandled out-of-memory");
168
4.46M
169
4.46M
    // Construct the value.
170
4.46M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
4.46M
172
4.46M
    // Copy the string information.
173
4.46M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
4.46M
    if (KeyLength > 0)
175
4.46M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
4.46M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
4.46M
    return NewItem;
178
4.46M
  }
llvm::StringMapEntry<llvm::MCSectionMachO*>* llvm::StringMapEntry<llvm::MCSectionMachO*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
843k
                                InitTy &&... InitVals) {
158
843k
    size_t KeyLength = Key.size();
159
843k
160
843k
    // Allocate a new item with space for the string at the end and a null
161
843k
    // terminator.
162
843k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
843k
    size_t Alignment = alignof(StringMapEntry);
164
843k
165
843k
    StringMapEntry *NewItem =
166
843k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
843k
    assert(NewItem && "Unhandled out-of-memory");
168
843k
169
843k
    // Construct the value.
170
843k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
843k
172
843k
    // Copy the string information.
173
843k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
843k
    if (KeyLength > 0)
175
843k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
843k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
843k
    return NewItem;
178
843k
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator, bool>(llvm::StringRef, llvm::MallocAllocator&, bool&&)
Line
Count
Source
157
3.77k
                                InitTy &&... InitVals) {
158
3.77k
    size_t KeyLength = Key.size();
159
3.77k
160
3.77k
    // Allocate a new item with space for the string at the end and a null
161
3.77k
    // terminator.
162
3.77k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.77k
    size_t Alignment = alignof(StringMapEntry);
164
3.77k
165
3.77k
    StringMapEntry *NewItem =
166
3.77k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.77k
    assert(NewItem && "Unhandled out-of-memory");
168
3.77k
169
3.77k
    // Construct the value.
170
3.77k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.77k
172
3.77k
    // Copy the string information.
173
3.77k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.77k
    if (KeyLength > 0)
175
3.78k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.77k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.77k
    return NewItem;
178
3.77k
  }
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.91M
                                InitTy &&... InitVals) {
158
2.91M
    size_t KeyLength = Key.size();
159
2.91M
160
2.91M
    // Allocate a new item with space for the string at the end and a null
161
2.91M
    // terminator.
162
2.91M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.91M
    size_t Alignment = alignof(StringMapEntry);
164
2.91M
165
2.91M
    StringMapEntry *NewItem =
166
2.91M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.91M
    assert(NewItem && "Unhandled out-of-memory");
168
2.91M
169
2.91M
    // Construct the value.
170
2.91M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.91M
172
2.91M
    // Copy the string information.
173
2.91M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.91M
    if (KeyLength > 0)
175
2.91M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.91M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.91M
    return NewItem;
178
2.91M
  }
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
711k
                                InitTy &&... InitVals) {
158
711k
    size_t KeyLength = Key.size();
159
711k
160
711k
    // Allocate a new item with space for the string at the end and a null
161
711k
    // terminator.
162
711k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
711k
    size_t Alignment = alignof(StringMapEntry);
164
711k
165
711k
    StringMapEntry *NewItem =
166
711k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
711k
    assert(NewItem && "Unhandled out-of-memory");
168
711k
169
711k
    // Construct the value.
170
711k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
711k
172
711k
    // Copy the string information.
173
711k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
711k
    if (KeyLength > 0)
175
711k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
711k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
711k
    return NewItem;
178
711k
  }
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
127M
                                InitTy &&... InitVals) {
158
127M
    size_t KeyLength = Key.size();
159
127M
160
127M
    // Allocate a new item with space for the string at the end and a null
161
127M
    // terminator.
162
127M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
127M
    size_t Alignment = alignof(StringMapEntry);
164
127M
165
127M
    StringMapEntry *NewItem =
166
127M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
127M
    assert(NewItem && "Unhandled out-of-memory");
168
127M
169
127M
    // Construct the value.
170
127M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
127M
172
127M
    // Copy the string information.
173
127M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
127M
    if (KeyLength > 0)
175
127M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
127M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
127M
    return NewItem;
178
127M
  }
llvm::StringMapEntry<unsigned long>* llvm::StringMapEntry<unsigned long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
30.3k
                                InitTy &&... InitVals) {
158
30.3k
    size_t KeyLength = Key.size();
159
30.3k
160
30.3k
    // Allocate a new item with space for the string at the end and a null
161
30.3k
    // terminator.
162
30.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
30.3k
    size_t Alignment = alignof(StringMapEntry);
164
30.3k
165
30.3k
    StringMapEntry *NewItem =
166
30.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
30.3k
    assert(NewItem && "Unhandled out-of-memory");
168
30.3k
169
30.3k
    // Construct the value.
170
30.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
30.3k
172
30.3k
    // Copy the string information.
173
30.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
30.3k
    if (KeyLength > 0)
175
30.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
30.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
30.3k
    return NewItem;
178
30.3k
  }
llvm::StringMapEntry<llvm::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
273
                                InitTy &&... InitVals) {
158
273
    size_t KeyLength = Key.size();
159
273
160
273
    // Allocate a new item with space for the string at the end and a null
161
273
    // terminator.
162
273
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
273
    size_t Alignment = alignof(StringMapEntry);
164
273
165
273
    StringMapEntry *NewItem =
166
273
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
273
    assert(NewItem && "Unhandled out-of-memory");
168
273
169
273
    // Construct the value.
170
273
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
273
172
273
    // Copy the string information.
173
273
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
273
    if (KeyLength > 0)
175
273
      memcpy(StrBuffer, Key.data(), KeyLength);
176
273
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
273
    return NewItem;
178
273
  }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>* llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
298
                                InitTy &&... InitVals) {
158
298
    size_t KeyLength = Key.size();
159
298
160
298
    // Allocate a new item with space for the string at the end and a null
161
298
    // terminator.
162
298
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
298
    size_t Alignment = alignof(StringMapEntry);
164
298
165
298
    StringMapEntry *NewItem =
166
298
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
298
    assert(NewItem && "Unhandled out-of-memory");
168
298
169
298
    // Construct the value.
170
298
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
298
172
298
    // Copy the string information.
173
298
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
298
    if (KeyLength > 0)
175
44
      memcpy(StrBuffer, Key.data(), KeyLength);
176
298
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
298
    return NewItem;
178
298
  }
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >* llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
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<llvm::Timer>* llvm::StringMapEntry<llvm::Timer>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
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<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
282k
                                InitTy &&... InitVals) {
158
282k
    size_t KeyLength = Key.size();
159
282k
160
282k
    // Allocate a new item with space for the string at the end and a null
161
282k
    // terminator.
162
282k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
282k
    size_t Alignment = alignof(StringMapEntry);
164
282k
165
282k
    StringMapEntry *NewItem =
166
282k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
282k
    assert(NewItem && "Unhandled out-of-memory");
168
282k
169
282k
    // Construct the value.
170
282k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
282k
172
282k
    // Copy the string information.
173
282k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
282k
    if (KeyLength > 0)
175
282k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
282k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
282k
    return NewItem;
178
282k
  }
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
854k
                                InitTy &&... InitVals) {
158
854k
    size_t KeyLength = Key.size();
159
854k
160
854k
    // Allocate a new item with space for the string at the end and a null
161
854k
    // terminator.
162
854k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
854k
    size_t Alignment = alignof(StringMapEntry);
164
854k
165
854k
    StringMapEntry *NewItem =
166
854k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
854k
    assert(NewItem && "Unhandled out-of-memory");
168
854k
169
854k
    // Construct the value.
170
854k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
854k
172
854k
    // Copy the string information.
173
854k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
854k
    if (KeyLength > 0)
175
854k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
854k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
854k
    return NewItem;
178
854k
  }
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
142M
                                InitTy &&... InitVals) {
158
142M
    size_t KeyLength = Key.size();
159
142M
160
142M
    // Allocate a new item with space for the string at the end and a null
161
142M
    // terminator.
162
142M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
142M
    size_t Alignment = alignof(StringMapEntry);
164
142M
165
142M
    StringMapEntry *NewItem =
166
142M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
142M
    assert(NewItem && "Unhandled out-of-memory");
168
142M
169
142M
    // Construct the value.
170
142M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
142M
172
142M
    // Copy the string information.
173
142M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
142M
    if (KeyLength > 0)
175
142M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
142M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
142M
    return NewItem;
178
142M
  }
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
385k
                                InitTy &&... InitVals) {
158
385k
    size_t KeyLength = Key.size();
159
385k
160
385k
    // Allocate a new item with space for the string at the end and a null
161
385k
    // terminator.
162
385k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
385k
    size_t Alignment = alignof(StringMapEntry);
164
385k
165
385k
    StringMapEntry *NewItem =
166
385k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
385k
    assert(NewItem && "Unhandled out-of-memory");
168
385k
169
385k
    // Construct the value.
170
385k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
385k
172
385k
    // Copy the string information.
173
385k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
385k
    if (KeyLength > 0)
175
385k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
385k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
385k
    return NewItem;
178
385k
  }
llvm::StringMapEntry<clang::FileEntry*>* llvm::StringMapEntry<clang::FileEntry*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::FileEntry*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::FileEntry*&&)
Line
Count
Source
157
1.36M
                                InitTy &&... InitVals) {
158
1.36M
    size_t KeyLength = Key.size();
159
1.36M
160
1.36M
    // Allocate a new item with space for the string at the end and a null
161
1.36M
    // terminator.
162
1.36M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.36M
    size_t Alignment = alignof(StringMapEntry);
164
1.36M
165
1.36M
    StringMapEntry *NewItem =
166
1.36M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.36M
    assert(NewItem && "Unhandled out-of-memory");
168
1.36M
169
1.36M
    // Construct the value.
170
1.36M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.36M
172
1.36M
    // Copy the string information.
173
1.36M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.36M
    if (KeyLength > 0)
175
1.36M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.36M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.36M
    return NewItem;
178
1.36M
  }
llvm::StringMapEntry<clang::FileData>* llvm::StringMapEntry<clang::FileData>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
157
15
                                InitTy &&... InitVals) {
158
15
    size_t KeyLength = Key.size();
159
15
160
15
    // Allocate a new item with space for the string at the end and a null
161
15
    // terminator.
162
15
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
15
    size_t Alignment = alignof(StringMapEntry);
164
15
165
15
    StringMapEntry *NewItem =
166
15
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
15
    assert(NewItem && "Unhandled out-of-memory");
168
15
169
15
    // Construct the value.
170
15
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
15
172
15
    // Copy the string information.
173
15
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
15
    if (KeyLength > 0)
175
15
      memcpy(StrBuffer, Key.data(), KeyLength);
176
15
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
15
    return NewItem;
178
15
  }
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>* llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::Create<llvm::MallocAllocator, clang::MemoryBufferCache::BufferEntry>(llvm::StringRef, llvm::MallocAllocator&, clang::MemoryBufferCache::BufferEntry&&)
Line
Count
Source
157
5.64k
                                InitTy &&... InitVals) {
158
5.64k
    size_t KeyLength = Key.size();
159
5.64k
160
5.64k
    // Allocate a new item with space for the string at the end and a null
161
5.64k
    // terminator.
162
5.64k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
5.64k
    size_t Alignment = alignof(StringMapEntry);
164
5.64k
165
5.64k
    StringMapEntry *NewItem =
166
5.64k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
5.64k
    assert(NewItem && "Unhandled out-of-memory");
168
5.64k
169
5.64k
    // Construct the value.
170
5.64k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
5.64k
172
5.64k
    // Copy the string information.
173
5.64k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
5.64k
    if (KeyLength > 0)
175
5.64k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
5.64k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
5.64k
    return NewItem;
178
5.64k
  }
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
107k
                                InitTy &&... InitVals) {
158
107k
    size_t KeyLength = Key.size();
159
107k
160
107k
    // Allocate a new item with space for the string at the end and a null
161
107k
    // terminator.
162
107k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
107k
    size_t Alignment = alignof(StringMapEntry);
164
107k
165
107k
    StringMapEntry *NewItem =
166
107k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
107k
    assert(NewItem && "Unhandled out-of-memory");
168
107k
169
107k
    // Construct the value.
170
107k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
107k
172
107k
    // Copy the string information.
173
107k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
107k
    if (KeyLength > 0)
175
107k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
107k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
107k
    return NewItem;
178
107k
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3.49M
                                InitTy &&... InitVals) {
158
3.49M
    size_t KeyLength = Key.size();
159
3.49M
160
3.49M
    // Allocate a new item with space for the string at the end and a null
161
3.49M
    // terminator.
162
3.49M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.49M
    size_t Alignment = alignof(StringMapEntry);
164
3.49M
165
3.49M
    StringMapEntry *NewItem =
166
3.49M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.49M
    assert(NewItem && "Unhandled out-of-memory");
168
3.49M
169
3.49M
    // Construct the value.
170
3.49M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.49M
172
3.49M
    // Copy the string information.
173
3.49M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.49M
    if (KeyLength > 0)
175
3.49M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.49M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.49M
    return NewItem;
178
3.49M
  }
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
398k
                                InitTy &&... InitVals) {
158
398k
    size_t KeyLength = Key.size();
159
398k
160
398k
    // Allocate a new item with space for the string at the end and a null
161
398k
    // terminator.
162
398k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
398k
    size_t Alignment = alignof(StringMapEntry);
164
398k
165
398k
    StringMapEntry *NewItem =
166
398k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
398k
    assert(NewItem && "Unhandled out-of-memory");
168
398k
169
398k
    // Construct the value.
170
398k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
398k
172
398k
    // Copy the string information.
173
398k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
398k
    if (KeyLength > 0)
175
398k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
398k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
398k
    return NewItem;
178
398k
  }
llvm::StringMapEntry<llvm::Constant*>* llvm::StringMapEntry<llvm::Constant*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
46
                                InitTy &&... InitVals) {
158
46
    size_t KeyLength = Key.size();
159
46
160
46
    // Allocate a new item with space for the string at the end and a null
161
46
    // terminator.
162
46
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
46
    size_t Alignment = alignof(StringMapEntry);
164
46
165
46
    StringMapEntry *NewItem =
166
46
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
46
    assert(NewItem && "Unhandled out-of-memory");
168
46
169
46
    // Construct the value.
170
46
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
46
172
46
    // Copy the string information.
173
46
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
46
    if (KeyLength > 0)
175
46
      memcpy(StrBuffer, Key.data(), KeyLength);
176
46
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
46
    return NewItem;
178
46
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.04k
                                InitTy &&... InitVals) {
158
2.04k
    size_t KeyLength = Key.size();
159
2.04k
160
2.04k
    // Allocate a new item with space for the string at the end and a null
161
2.04k
    // terminator.
162
2.04k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.04k
    size_t Alignment = alignof(StringMapEntry);
164
2.04k
165
2.04k
    StringMapEntry *NewItem =
166
2.04k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.04k
    assert(NewItem && "Unhandled out-of-memory");
168
2.04k
169
2.04k
    // Construct the value.
170
2.04k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.04k
172
2.04k
    // Copy the string information.
173
2.04k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.04k
    if (KeyLength > 0)
175
1.87k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.04k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.04k
    return NewItem;
178
2.04k
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator, llvm::GlobalVariable*>(llvm::StringRef, llvm::MallocAllocator&, llvm::GlobalVariable*&&)
Line
Count
Source
157
267
                                InitTy &&... InitVals) {
158
267
    size_t KeyLength = Key.size();
159
267
160
267
    // Allocate a new item with space for the string at the end and a null
161
267
    // terminator.
162
267
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
267
    size_t Alignment = alignof(StringMapEntry);
164
267
165
267
    StringMapEntry *NewItem =
166
267
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
267
    assert(NewItem && "Unhandled out-of-memory");
168
267
169
267
    // Construct the value.
170
267
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
267
172
267
    // Copy the string information.
173
267
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
267
    if (KeyLength > 0)
175
266
      memcpy(StrBuffer, Key.data(), KeyLength);
176
267
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
267
    return NewItem;
178
267
  }
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
204
                                InitTy &&... InitVals) {
158
204
    size_t KeyLength = Key.size();
159
204
160
204
    // Allocate a new item with space for the string at the end and a null
161
204
    // terminator.
162
204
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
204
    size_t Alignment = alignof(StringMapEntry);
164
204
165
204
    StringMapEntry *NewItem =
166
204
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
204
    assert(NewItem && "Unhandled out-of-memory");
168
204
169
204
    // Construct the value.
170
204
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
204
172
204
    // Copy the string information.
173
204
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
204
    if (KeyLength > 0)
175
204
      memcpy(StrBuffer, Key.data(), KeyLength);
176
204
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
204
    return NewItem;
178
204
  }
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.39k
                                InitTy &&... InitVals) {
158
3.39k
    size_t KeyLength = Key.size();
159
3.39k
160
3.39k
    // Allocate a new item with space for the string at the end and a null
161
3.39k
    // terminator.
162
3.39k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.39k
    size_t Alignment = alignof(StringMapEntry);
164
3.39k
165
3.39k
    StringMapEntry *NewItem =
166
3.39k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.39k
    assert(NewItem && "Unhandled out-of-memory");
168
3.39k
169
3.39k
    // Construct the value.
170
3.39k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.39k
172
3.39k
    // Copy the string information.
173
3.39k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.39k
    if (KeyLength > 0)
175
3.39k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.39k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.39k
    return NewItem;
178
3.39k
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator, unsigned int&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&)
Line
Count
Source
157
34
                                InitTy &&... InitVals) {
158
34
    size_t KeyLength = Key.size();
159
34
160
34
    // Allocate a new item with space for the string at the end and a null
161
34
    // terminator.
162
34
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
34
    size_t Alignment = alignof(StringMapEntry);
164
34
165
34
    StringMapEntry *NewItem =
166
34
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
34
    assert(NewItem && "Unhandled out-of-memory");
168
34
169
34
    // Construct the value.
170
34
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
34
172
34
    // Copy the string information.
173
34
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
34
    if (KeyLength > 0)
175
34
      memcpy(StrBuffer, Key.data(), KeyLength);
176
34
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
34
    return NewItem;
178
34
  }
Unexecuted instantiation: llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator, unsigned int&, llvm::Constant*&, clang::CharUnits&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&, llvm::GlobalValue::LinkageTypes&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&, llvm::Constant*&&&, clang::CharUnits&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&, llvm::GlobalValue::LinkageTypes&&&)
Line
Count
Source
157
21
                                InitTy &&... InitVals) {
158
21
    size_t KeyLength = Key.size();
159
21
160
21
    // Allocate a new item with space for the string at the end and a null
161
21
    // terminator.
162
21
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
21
    size_t Alignment = alignof(StringMapEntry);
164
21
165
21
    StringMapEntry *NewItem =
166
21
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
21
    assert(NewItem && "Unhandled out-of-memory");
168
21
169
21
    // Construct the value.
170
21
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
21
172
21
    // Copy the string information.
173
21
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
21
    if (KeyLength > 0)
175
21
      memcpy(StrBuffer, Key.data(), KeyLength);
176
21
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
21
    return NewItem;
178
21
  }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >* llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
99
                                InitTy &&... InitVals) {
158
99
    size_t KeyLength = Key.size();
159
99
160
99
    // Allocate a new item with space for the string at the end and a null
161
99
    // terminator.
162
99
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
99
    size_t Alignment = alignof(StringMapEntry);
164
99
165
99
    StringMapEntry *NewItem =
166
99
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
99
    assert(NewItem && "Unhandled out-of-memory");
168
99
169
99
    // Construct the value.
170
99
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
99
172
99
    // Copy the string information.
173
99
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
99
    if (KeyLength > 0)
175
99
      memcpy(StrBuffer, Key.data(), KeyLength);
176
99
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
99
    return NewItem;
178
99
  }
llvm::StringMapEntry<clang::GlobalDecl>* llvm::StringMapEntry<clang::GlobalDecl>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::GlobalDecl>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::GlobalDecl&&)
Line
Count
Source
157
2.01M
                                InitTy &&... InitVals) {
158
2.01M
    size_t KeyLength = Key.size();
159
2.01M
160
2.01M
    // Allocate a new item with space for the string at the end and a null
161
2.01M
    // terminator.
162
2.01M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.01M
    size_t Alignment = alignof(StringMapEntry);
164
2.01M
165
2.01M
    StringMapEntry *NewItem =
166
2.01M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.01M
    assert(NewItem && "Unhandled out-of-memory");
168
2.01M
169
2.01M
    // Construct the value.
170
2.01M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.01M
172
2.01M
    // Copy the string information.
173
2.01M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.01M
    if (KeyLength > 0)
175
2.01M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.01M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.01M
    return NewItem;
178
2.01M
  }
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
205
                                InitTy &&... InitVals) {
158
205
    size_t KeyLength = Key.size();
159
205
160
205
    // Allocate a new item with space for the string at the end and a null
161
205
    // terminator.
162
205
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
205
    size_t Alignment = alignof(StringMapEntry);
164
205
165
205
    StringMapEntry *NewItem =
166
205
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
205
    assert(NewItem && "Unhandled out-of-memory");
168
205
169
205
    // Construct the value.
170
205
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
205
172
205
    // Copy the string information.
173
205
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
205
    if (KeyLength > 0)
175
205
      memcpy(StrBuffer, Key.data(), KeyLength);
176
205
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
205
    return NewItem;
178
205
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
28.4k
                                InitTy &&... InitVals) {
158
28.4k
    size_t KeyLength = Key.size();
159
28.4k
160
28.4k
    // Allocate a new item with space for the string at the end and a null
161
28.4k
    // terminator.
162
28.4k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
28.4k
    size_t Alignment = alignof(StringMapEntry);
164
28.4k
165
28.4k
    StringMapEntry *NewItem =
166
28.4k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
28.4k
    assert(NewItem && "Unhandled out-of-memory");
168
28.4k
169
28.4k
    // Construct the value.
170
28.4k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
28.4k
172
28.4k
    // Copy the string information.
173
28.4k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
28.4k
    if (KeyLength > 0)
175
28.4k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
28.4k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
28.4k
    return NewItem;
178
28.4k
  }
llvm::StringMapEntry<char const*>* llvm::StringMapEntry<char const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
98
                                InitTy &&... InitVals) {
158
98
    size_t KeyLength = Key.size();
159
98
160
98
    // Allocate a new item with space for the string at the end and a null
161
98
    // terminator.
162
98
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
98
    size_t Alignment = alignof(StringMapEntry);
164
98
165
98
    StringMapEntry *NewItem =
166
98
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
98
    assert(NewItem && "Unhandled out-of-memory");
168
98
169
98
    // Construct the value.
170
98
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
98
172
98
    // Copy the string information.
173
98
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
98
    if (KeyLength > 0)
175
98
      memcpy(StrBuffer, Key.data(), KeyLength);
176
98
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
98
    return NewItem;
178
98
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
752k
                                InitTy &&... InitVals) {
158
752k
    size_t KeyLength = Key.size();
159
752k
160
752k
    // Allocate a new item with space for the string at the end and a null
161
752k
    // terminator.
162
752k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
752k
    size_t Alignment = alignof(StringMapEntry);
164
752k
165
752k
    StringMapEntry *NewItem =
166
752k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
752k
    assert(NewItem && "Unhandled out-of-memory");
168
752k
169
752k
    // Construct the value.
170
752k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
752k
172
752k
    // Copy the string information.
173
752k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
752k
    if (KeyLength > 0)
175
752k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
752k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
752k
    return NewItem;
178
752k
  }
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.97k
                                InitTy &&... InitVals) {
158
1.97k
    size_t KeyLength = Key.size();
159
1.97k
160
1.97k
    // Allocate a new item with space for the string at the end and a null
161
1.97k
    // terminator.
162
1.97k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
1.97k
    size_t Alignment = alignof(StringMapEntry);
164
1.97k
165
1.97k
    StringMapEntry *NewItem =
166
1.97k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
1.97k
    assert(NewItem && "Unhandled out-of-memory");
168
1.97k
169
1.97k
    // Construct the value.
170
1.97k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
1.97k
172
1.97k
    // Copy the string information.
173
1.97k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
1.97k
    if (KeyLength > 0)
175
1.97k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
1.97k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
1.97k
    return NewItem;
178
1.97k
  }
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
31
                                InitTy &&... InitVals) {
158
31
    size_t KeyLength = Key.size();
159
31
160
31
    // Allocate a new item with space for the string at the end and a null
161
31
    // terminator.
162
31
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
31
    size_t Alignment = alignof(StringMapEntry);
164
31
165
31
    StringMapEntry *NewItem =
166
31
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
31
    assert(NewItem && "Unhandled out-of-memory");
168
31
169
31
    // Construct the value.
170
31
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
31
172
31
    // Copy the string information.
173
31
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
31
    if (KeyLength > 0)
175
31
      memcpy(StrBuffer, Key.data(), KeyLength);
176
31
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
31
    return NewItem;
178
31
  }
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
551k
                                InitTy &&... InitVals) {
158
551k
    size_t KeyLength = Key.size();
159
551k
160
551k
    // Allocate a new item with space for the string at the end and a null
161
551k
    // terminator.
162
551k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
551k
    size_t Alignment = alignof(StringMapEntry);
164
551k
165
551k
    StringMapEntry *NewItem =
166
551k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
551k
    assert(NewItem && "Unhandled out-of-memory");
168
551k
169
551k
    // Construct the value.
170
551k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
551k
172
551k
    // Copy the string information.
173
551k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
551k
    if (KeyLength > 0)
175
551k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
551k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
551k
    return NewItem;
178
551k
  }
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
71.6k
                                InitTy &&... InitVals) {
158
71.6k
    size_t KeyLength = Key.size();
159
71.6k
160
71.6k
    // Allocate a new item with space for the string at the end and a null
161
71.6k
    // terminator.
162
71.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
71.6k
    size_t Alignment = alignof(StringMapEntry);
164
71.6k
165
71.6k
    StringMapEntry *NewItem =
166
71.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
71.6k
    assert(NewItem && "Unhandled out-of-memory");
168
71.6k
169
71.6k
    // Construct the value.
170
71.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
71.6k
172
71.6k
    // Copy the string information.
173
71.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
71.6k
    if (KeyLength > 0)
175
71.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
71.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
71.6k
    return NewItem;
178
71.6k
  }
llvm::StringMapEntry<llvm::DIE const*>* llvm::StringMapEntry<llvm::DIE const*>::Create<llvm::MallocAllocator, llvm::DIE const*>(llvm::StringRef, llvm::MallocAllocator&, llvm::DIE const*&&)
Line
Count
Source
157
20
                                InitTy &&... InitVals) {
158
20
    size_t KeyLength = Key.size();
159
20
160
20
    // Allocate a new item with space for the string at the end and a null
161
20
    // terminator.
162
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
20
    size_t Alignment = alignof(StringMapEntry);
164
20
165
20
    StringMapEntry *NewItem =
166
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
20
    assert(NewItem && "Unhandled out-of-memory");
168
20
169
20
    // Construct the value.
170
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
20
172
20
    // Copy the string information.
173
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
20
    if (KeyLength > 0)
175
20
      memcpy(StrBuffer, Key.data(), KeyLength);
176
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
20
    return NewItem;
178
20
  }
llvm::StringMapEntry<llvm::AccelTableBase::HashData>* llvm::StringMapEntry<llvm::AccelTableBase::HashData>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, llvm::DwarfStringPoolEntryRef&, unsigned int (*&)(llvm::StringRef)>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, llvm::DwarfStringPoolEntryRef&&&, unsigned int (*&&&)(llvm::StringRef))
Line
Count
Source
157
73.1k
                                InitTy &&... InitVals) {
158
73.1k
    size_t KeyLength = Key.size();
159
73.1k
160
73.1k
    // Allocate a new item with space for the string at the end and a null
161
73.1k
    // terminator.
162
73.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
73.1k
    size_t Alignment = alignof(StringMapEntry);
164
73.1k
165
73.1k
    StringMapEntry *NewItem =
166
73.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
73.1k
    assert(NewItem && "Unhandled out-of-memory");
168
73.1k
169
73.1k
    // Construct the value.
170
73.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
73.1k
172
73.1k
    // Copy the string information.
173
73.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
73.1k
    if (KeyLength > 0)
175
73.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
73.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
73.1k
    return NewItem;
178
73.1k
  }
llvm::StringMapEntry<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.9k
                                InitTy &&... InitVals) {
158
84.9k
    size_t KeyLength = Key.size();
159
84.9k
160
84.9k
    // Allocate a new item with space for the string at the end and a null
161
84.9k
    // terminator.
162
84.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
84.9k
    size_t Alignment = alignof(StringMapEntry);
164
84.9k
165
84.9k
    StringMapEntry *NewItem =
166
84.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
84.9k
    assert(NewItem && "Unhandled out-of-memory");
168
84.9k
169
84.9k
    // Construct the value.
170
84.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
84.9k
172
84.9k
    // Copy the string information.
173
84.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
84.9k
    if (KeyLength > 0)
175
84.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
84.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
84.9k
    return NewItem;
178
84.9k
  }
llvm::StringMapEntry<llvm::SDNode*>* llvm::StringMapEntry<llvm::SDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
17.3k
                                InitTy &&... InitVals) {
158
17.3k
    size_t KeyLength = Key.size();
159
17.3k
160
17.3k
    // Allocate a new item with space for the string at the end and a null
161
17.3k
    // terminator.
162
17.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
17.3k
    size_t Alignment = alignof(StringMapEntry);
164
17.3k
165
17.3k
    StringMapEntry *NewItem =
166
17.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
17.3k
    assert(NewItem && "Unhandled out-of-memory");
168
17.3k
169
17.3k
    // Construct the value.
170
17.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
17.3k
172
17.3k
    // Copy the string information.
173
17.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
17.3k
    if (KeyLength > 0)
175
17.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
17.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
17.3k
    return NewItem;
178
17.3k
  }
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>* llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
772
                                InitTy &&... InitVals) {
158
772
    size_t KeyLength = Key.size();
159
772
160
772
    // Allocate a new item with space for the string at the end and a null
161
772
    // terminator.
162
772
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
772
    size_t Alignment = alignof(StringMapEntry);
164
772
165
772
    StringMapEntry *NewItem =
166
772
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
772
    assert(NewItem && "Unhandled out-of-memory");
168
772
169
772
    // Construct the value.
170
772
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
772
172
772
    // Copy the string information.
173
772
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
772
    if (KeyLength > 0)
175
772
      memcpy(StrBuffer, Key.data(), KeyLength);
176
772
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
772
    return NewItem;
178
772
  }
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
303
                                InitTy &&... InitVals) {
158
303
    size_t KeyLength = Key.size();
159
303
160
303
    // Allocate a new item with space for the string at the end and a null
161
303
    // terminator.
162
303
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
303
    size_t Alignment = alignof(StringMapEntry);
164
303
165
303
    StringMapEntry *NewItem =
166
303
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
303
    assert(NewItem && "Unhandled out-of-memory");
168
303
169
303
    // Construct the value.
170
303
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
303
172
303
    // Copy the string information.
173
303
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
303
    if (KeyLength > 0)
175
303
      memcpy(StrBuffer, Key.data(), KeyLength);
176
303
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
303
    return NewItem;
178
303
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator, clang::Stmt*>(llvm::StringRef, llvm::MallocAllocator&, clang::Stmt*&&)
Line
Count
Source
157
2
                                InitTy &&... InitVals) {
158
2
    size_t KeyLength = Key.size();
159
2
160
2
    // Allocate a new item with space for the string at the end and a null
161
2
    // terminator.
162
2
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2
    size_t Alignment = alignof(StringMapEntry);
164
2
165
2
    StringMapEntry *NewItem =
166
2
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2
    assert(NewItem && "Unhandled out-of-memory");
168
2
169
2
    // Construct the value.
170
2
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2
172
2
    // Copy the string information.
173
2
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2
    if (KeyLength > 0)
175
2
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2
    return NewItem;
178
2
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3
                                InitTy &&... InitVals) {
158
3
    size_t KeyLength = Key.size();
159
3
160
3
    // Allocate a new item with space for the string at the end and a null
161
3
    // terminator.
162
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3
    size_t Alignment = alignof(StringMapEntry);
164
3
165
3
    StringMapEntry *NewItem =
166
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3
    assert(NewItem && "Unhandled out-of-memory");
168
3
169
3
    // Construct the value.
170
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3
172
3
    // Copy the string information.
173
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3
    if (KeyLength > 0)
175
3
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3
    return NewItem;
178
3
  }
llvm::StringMapEntry<FoundationClass>* llvm::StringMapEntry<FoundationClass>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
91
                                InitTy &&... InitVals) {
158
91
    size_t KeyLength = Key.size();
159
91
160
91
    // Allocate a new item with space for the string at the end and a null
161
91
    // terminator.
162
91
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
91
    size_t Alignment = alignof(StringMapEntry);
164
91
165
91
    StringMapEntry *NewItem =
166
91
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
91
    assert(NewItem && "Unhandled out-of-memory");
168
91
169
91
    // Construct the value.
170
91
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
91
172
91
    // Copy the string information.
173
91
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
91
    if (KeyLength > 0)
175
91
      memcpy(StrBuffer, Key.data(), KeyLength);
176
91
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
91
    return NewItem;
178
91
  }
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >* llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
20
                                InitTy &&... InitVals) {
158
20
    size_t KeyLength = Key.size();
159
20
160
20
    // Allocate a new item with space for the string at the end and a null
161
20
    // terminator.
162
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
20
    size_t Alignment = alignof(StringMapEntry);
164
20
165
20
    StringMapEntry *NewItem =
166
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
20
    assert(NewItem && "Unhandled out-of-memory");
168
20
169
20
    // Construct the value.
170
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
20
172
20
    // Copy the string information.
173
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
20
    if (KeyLength > 0)
175
20
      memcpy(StrBuffer, Key.data(), KeyLength);
176
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
20
    return NewItem;
178
20
  }
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >* llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::Create<llvm::MallocAllocator, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> >&&)
Line
Count
Source
157
550
                                InitTy &&... InitVals) {
158
550
    size_t KeyLength = Key.size();
159
550
160
550
    // Allocate a new item with space for the string at the end and a null
161
550
    // terminator.
162
550
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
550
    size_t Alignment = alignof(StringMapEntry);
164
550
165
550
    StringMapEntry *NewItem =
166
550
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
550
    assert(NewItem && "Unhandled out-of-memory");
168
550
169
550
    // Construct the value.
170
550
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
550
172
550
    // Copy the string information.
173
550
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
550
    if (KeyLength > 0)
175
550
      memcpy(StrBuffer, Key.data(), KeyLength);
176
550
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
550
    return NewItem;
178
550
  }
llvm::StringMapEntry<clang::ento::BugType*>* llvm::StringMapEntry<clang::ento::BugType*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
514
                                InitTy &&... InitVals) {
158
514
    size_t KeyLength = Key.size();
159
514
160
514
    // Allocate a new item with space for the string at the end and a null
161
514
    // terminator.
162
514
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
514
    size_t Alignment = alignof(StringMapEntry);
164
514
165
514
    StringMapEntry *NewItem =
166
514
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
514
    assert(NewItem && "Unhandled out-of-memory");
168
514
169
514
    // Construct the value.
170
514
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
514
172
514
    // Copy the string information.
173
514
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
514
    if (KeyLength > 0)
175
514
      memcpy(StrBuffer, Key.data(), KeyLength);
176
514
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
514
    return NewItem;
178
514
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(llvm::StringRef, llvm::MallocAllocator&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&&)
Line
Count
Source
157
20
                                InitTy &&... InitVals) {
158
20
    size_t KeyLength = Key.size();
159
20
160
20
    // Allocate a new item with space for the string at the end and a null
161
20
    // terminator.
162
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
20
    size_t Alignment = alignof(StringMapEntry);
164
20
165
20
    StringMapEntry *NewItem =
166
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
20
    assert(NewItem && "Unhandled out-of-memory");
168
20
169
20
    // Construct the value.
170
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
20
172
20
    // Copy the string information.
173
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
20
    if (KeyLength > 0)
175
20
      memcpy(StrBuffer, Key.data(), KeyLength);
176
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
20
    return NewItem;
178
20
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
27
                                InitTy &&... InitVals) {
158
27
    size_t KeyLength = Key.size();
159
27
160
27
    // Allocate a new item with space for the string at the end and a null
161
27
    // terminator.
162
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
27
    size_t Alignment = alignof(StringMapEntry);
164
27
165
27
    StringMapEntry *NewItem =
166
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
27
    assert(NewItem && "Unhandled out-of-memory");
168
27
169
27
    // Construct the value.
170
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
27
172
27
    // Copy the string information.
173
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
27
    if (KeyLength > 0)
175
27
      memcpy(StrBuffer, Key.data(), KeyLength);
176
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
27
    return NewItem;
178
27
  }
llvm::StringMapEntry<clang::ASTUnit*>* llvm::StringMapEntry<clang::ASTUnit*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
14
                                InitTy &&... InitVals) {
158
14
    size_t KeyLength = Key.size();
159
14
160
14
    // Allocate a new item with space for the string at the end and a null
161
14
    // terminator.
162
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
14
    size_t Alignment = alignof(StringMapEntry);
164
14
165
14
    StringMapEntry *NewItem =
166
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
14
    assert(NewItem && "Unhandled out-of-memory");
168
14
169
14
    // Construct the value.
170
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
14
172
14
    // Copy the string information.
173
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
14
    if (KeyLength > 0)
175
14
      memcpy(StrBuffer, Key.data(), KeyLength);
176
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
14
    return NewItem;
178
14
  }
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >* llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
3.95k
                                InitTy &&... InitVals) {
158
3.95k
    size_t KeyLength = Key.size();
159
3.95k
160
3.95k
    // Allocate a new item with space for the string at the end and a null
161
3.95k
    // terminator.
162
3.95k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
3.95k
    size_t Alignment = alignof(StringMapEntry);
164
3.95k
165
3.95k
    StringMapEntry *NewItem =
166
3.95k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
3.95k
    assert(NewItem && "Unhandled out-of-memory");
168
3.95k
169
3.95k
    // Construct the value.
170
3.95k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
3.95k
172
3.95k
    // Copy the string information.
173
3.95k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
3.95k
    if (KeyLength > 0)
175
3.95k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
3.95k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
3.95k
    return NewItem;
178
3.95k
  }
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >* llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::Create<llvm::MallocAllocator, std::__1::shared_ptr<clang::ModuleFileExtension> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::shared_ptr<clang::ModuleFileExtension>&&)
Line
Count
Source
157
27
                                InitTy &&... InitVals) {
158
27
    size_t KeyLength = Key.size();
159
27
160
27
    // Allocate a new item with space for the string at the end and a null
161
27
    // terminator.
162
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
27
    size_t Alignment = alignof(StringMapEntry);
164
27
165
27
    StringMapEntry *NewItem =
166
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
27
    assert(NewItem && "Unhandled out-of-memory");
168
27
169
27
    // Construct the value.
170
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
27
172
27
    // Copy the string information.
173
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
27
    if (KeyLength > 0)
175
27
      memcpy(StrBuffer, Key.data(), KeyLength);
176
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
27
    return NewItem;
178
27
  }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >* llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
72.0k
                                InitTy &&... InitVals) {
158
72.0k
    size_t KeyLength = Key.size();
159
72.0k
160
72.0k
    // Allocate a new item with space for the string at the end and a null
161
72.0k
    // terminator.
162
72.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
72.0k
    size_t Alignment = alignof(StringMapEntry);
164
72.0k
165
72.0k
    StringMapEntry *NewItem =
166
72.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
72.0k
    assert(NewItem && "Unhandled out-of-memory");
168
72.0k
169
72.0k
    // Construct the value.
170
72.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
72.0k
172
72.0k
    // Copy the string information.
173
72.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
72.0k
    if (KeyLength > 0)
175
72.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
72.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
72.0k
    return NewItem;
178
72.0k
  }
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >* llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
9.61k
                                InitTy &&... InitVals) {
158
9.61k
    size_t KeyLength = Key.size();
159
9.61k
160
9.61k
    // Allocate a new item with space for the string at the end and a null
161
9.61k
    // terminator.
162
9.61k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
9.61k
    size_t Alignment = alignof(StringMapEntry);
164
9.61k
165
9.61k
    StringMapEntry *NewItem =
166
9.61k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
9.61k
    assert(NewItem && "Unhandled out-of-memory");
168
9.61k
169
9.61k
    // Construct the value.
170
9.61k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
9.61k
172
9.61k
    // Copy the string information.
173
9.61k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
9.61k
    if (KeyLength > 0)
175
9.61k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
9.61k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
9.61k
    return NewItem;
178
9.61k
  }
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
409
                                InitTy &&... InitVals) {
158
409
    size_t KeyLength = Key.size();
159
409
160
409
    // Allocate a new item with space for the string at the end and a null
161
409
    // terminator.
162
409
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
409
    size_t Alignment = alignof(StringMapEntry);
164
409
165
409
    StringMapEntry *NewItem =
166
409
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
409
    assert(NewItem && "Unhandled out-of-memory");
168
409
169
409
    // Construct the value.
170
409
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
409
172
409
    // Copy the string information.
173
409
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
409
    if (KeyLength > 0)
175
409
      memcpy(StrBuffer, Key.data(), KeyLength);
176
409
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
409
    return NewItem;
178
409
  }
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>* llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
157
367k
                                InitTy &&... InitVals) {
158
367k
    size_t KeyLength = Key.size();
159
367k
160
367k
    // Allocate a new item with space for the string at the end and a null
161
367k
    // terminator.
162
367k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
367k
    size_t Alignment = alignof(StringMapEntry);
164
367k
165
367k
    StringMapEntry *NewItem =
166
367k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
367k
    assert(NewItem && "Unhandled out-of-memory");
168
367k
169
367k
    // Construct the value.
170
367k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
367k
172
367k
    // Copy the string information.
173
367k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
367k
    if (KeyLength > 0)
175
367k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
367k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
367k
    return NewItem;
178
367k
  }
Unexecuted instantiation: llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>* llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::HeaderSearch::FrameworkCacheEntry>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::HeaderSearch::FrameworkCacheEntry&&)
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
14
                                InitTy &&... InitVals) {
158
14
    size_t KeyLength = Key.size();
159
14
160
14
    // Allocate a new item with space for the string at the end and a null
161
14
    // terminator.
162
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
14
    size_t Alignment = alignof(StringMapEntry);
164
14
165
14
    StringMapEntry *NewItem =
166
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
14
    assert(NewItem && "Unhandled out-of-memory");
168
14
169
14
    // Construct the value.
170
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
14
172
14
    // Copy the string information.
173
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
14
    if (KeyLength > 0)
175
14
      memcpy(StrBuffer, Key.data(), KeyLength);
176
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
14
    return NewItem;
178
14
  }
llvm::StringMapEntry<clang::Module*>* llvm::StringMapEntry<clang::Module*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
72.2k
                                InitTy &&... InitVals) {
158
72.2k
    size_t KeyLength = Key.size();
159
72.2k
160
72.2k
    // Allocate a new item with space for the string at the end and a null
161
72.2k
    // terminator.
162
72.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
72.2k
    size_t Alignment = alignof(StringMapEntry);
164
72.2k
165
72.2k
    StringMapEntry *NewItem =
166
72.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
72.2k
    assert(NewItem && "Unhandled out-of-memory");
168
72.2k
169
72.2k
    // Construct the value.
170
72.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
72.2k
172
72.2k
    // Copy the string information.
173
72.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
72.2k
    if (KeyLength > 0)
175
72.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
72.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
72.2k
    return NewItem;
178
72.2k
  }
llvm::StringMapEntry<clang::PragmaHandler*>* llvm::StringMapEntry<clang::PragmaHandler*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
2.02M
                                InitTy &&... InitVals) {
158
2.02M
    size_t KeyLength = Key.size();
159
2.02M
160
2.02M
    // Allocate a new item with space for the string at the end and a null
161
2.02M
    // terminator.
162
2.02M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.02M
    size_t Alignment = alignof(StringMapEntry);
164
2.02M
165
2.02M
    StringMapEntry *NewItem =
166
2.02M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.02M
    assert(NewItem && "Unhandled out-of-memory");
168
2.02M
169
2.02M
    // Construct the value.
170
2.02M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.02M
172
2.02M
    // Copy the string information.
173
2.02M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.02M
    if (KeyLength > 0)
175
1.97M
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.02M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.02M
    return NewItem;
178
2.02M
  }
llvm::StringMapEntry<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
739
                                InitTy &&... InitVals) {
158
739
    size_t KeyLength = Key.size();
159
739
160
739
    // Allocate a new item with space for the string at the end and a null
161
739
    // terminator.
162
739
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
739
    size_t Alignment = alignof(StringMapEntry);
164
739
165
739
    StringMapEntry *NewItem =
166
739
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
739
    assert(NewItem && "Unhandled out-of-memory");
168
739
169
739
    // Construct the value.
170
739
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
739
172
739
    // Copy the string information.
173
739
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
739
    if (KeyLength > 0)
175
721
      memcpy(StrBuffer, Key.data(), KeyLength);
176
739
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
739
    return NewItem;
178
739
  }
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
63
                                InitTy &&... InitVals) {
158
63
    size_t KeyLength = Key.size();
159
63
160
63
    // Allocate a new item with space for the string at the end and a null
161
63
    // terminator.
162
63
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
63
    size_t Alignment = alignof(StringMapEntry);
164
63
165
63
    StringMapEntry *NewItem =
166
63
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
63
    assert(NewItem && "Unhandled out-of-memory");
168
63
169
63
    // Construct the value.
170
63
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
63
172
63
    // Copy the string information.
173
63
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
63
    if (KeyLength > 0)
175
63
      memcpy(StrBuffer, Key.data(), KeyLength);
176
63
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
63
    return NewItem;
178
63
  }
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.6k
                                InitTy &&... InitVals) {
158
11.6k
    size_t KeyLength = Key.size();
159
11.6k
160
11.6k
    // Allocate a new item with space for the string at the end and a null
161
11.6k
    // terminator.
162
11.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
11.6k
    size_t Alignment = alignof(StringMapEntry);
164
11.6k
165
11.6k
    StringMapEntry *NewItem =
166
11.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
11.6k
    assert(NewItem && "Unhandled out-of-memory");
168
11.6k
169
11.6k
    // Construct the value.
170
11.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
11.6k
172
11.6k
    // Copy the string information.
173
11.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
11.6k
    if (KeyLength > 0)
175
11.6k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
11.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
11.6k
    return NewItem;
178
11.6k
  }
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
256
                                InitTy &&... InitVals) {
158
256
    size_t KeyLength = Key.size();
159
256
160
256
    // Allocate a new item with space for the string at the end and a null
161
256
    // terminator.
162
256
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
256
    size_t Alignment = alignof(StringMapEntry);
164
256
165
256
    StringMapEntry *NewItem =
166
256
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
256
    assert(NewItem && "Unhandled out-of-memory");
168
256
169
256
    // Construct the value.
170
256
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
256
172
256
    // Copy the string information.
173
256
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
256
    if (KeyLength > 0)
175
256
      memcpy(StrBuffer, Key.data(), KeyLength);
176
256
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
256
    return NewItem;
178
256
  }
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.83k
                                InitTy &&... InitVals) {
158
8.83k
    size_t KeyLength = Key.size();
159
8.83k
160
8.83k
    // Allocate a new item with space for the string at the end and a null
161
8.83k
    // terminator.
162
8.83k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
8.83k
    size_t Alignment = alignof(StringMapEntry);
164
8.83k
165
8.83k
    StringMapEntry *NewItem =
166
8.83k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
8.83k
    assert(NewItem && "Unhandled out-of-memory");
168
8.83k
169
8.83k
    // Construct the value.
170
8.83k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
8.83k
172
8.83k
    // Copy the string information.
173
8.83k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
8.83k
    if (KeyLength > 0)
175
8.83k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
8.83k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
8.83k
    return NewItem;
178
8.83k
  }
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
93.8k
                                InitTy &&... InitVals) {
158
93.8k
    size_t KeyLength = Key.size();
159
93.8k
160
93.8k
    // Allocate a new item with space for the string at the end and a null
161
93.8k
    // terminator.
162
93.8k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
93.8k
    size_t Alignment = alignof(StringMapEntry);
164
93.8k
165
93.8k
    StringMapEntry *NewItem =
166
93.8k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
93.8k
    assert(NewItem && "Unhandled out-of-memory");
168
93.8k
169
93.8k
    // Construct the value.
170
93.8k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
93.8k
172
93.8k
    // Copy the string information.
173
93.8k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
93.8k
    if (KeyLength > 0)
175
93.8k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
93.8k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
93.8k
    return NewItem;
178
93.8k
  }
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.46k
                                InitTy &&... InitVals) {
158
2.46k
    size_t KeyLength = Key.size();
159
2.46k
160
2.46k
    // Allocate a new item with space for the string at the end and a null
161
2.46k
    // terminator.
162
2.46k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
2.46k
    size_t Alignment = alignof(StringMapEntry);
164
2.46k
165
2.46k
    StringMapEntry *NewItem =
166
2.46k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
2.46k
    assert(NewItem && "Unhandled out-of-memory");
168
2.46k
169
2.46k
    // Construct the value.
170
2.46k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
2.46k
172
2.46k
    // Copy the string information.
173
2.46k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
2.46k
    if (KeyLength > 0)
175
2.46k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
2.46k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
2.46k
    return NewItem;
178
2.46k
  }
llvm::StringMapEntry<lld::elf::OutputSection*>* llvm::StringMapEntry<lld::elf::OutputSection*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
157
368k
                                InitTy &&... InitVals) {
158
368k
    size_t KeyLength = Key.size();
159
368k
160
368k
    // Allocate a new item with space for the string at the end and a null
161
368k
    // terminator.
162
368k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
368k
    size_t Alignment = alignof(StringMapEntry);
164
368k
165
368k
    StringMapEntry *NewItem =
166
368k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
368k
    assert(NewItem && "Unhandled out-of-memory");
168
368k
169
368k
    // Construct the value.
170
368k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
368k
172
368k
    // Copy the string information.
173
368k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
368k
    if (KeyLength > 0)
175
368k
      memcpy(StrBuffer, Key.data(), KeyLength);
176
368k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
368k
    return NewItem;
178
368k
  }
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
33
                                InitTy &&... InitVals) {
158
33
    size_t KeyLength = Key.size();
159
33
160
33
    // Allocate a new item with space for the string at the end and a null
161
33
    // terminator.
162
33
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
33
    size_t Alignment = alignof(StringMapEntry);
164
33
165
33
    StringMapEntry *NewItem =
166
33
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
33
    assert(NewItem && "Unhandled out-of-memory");
168
33
169
33
    // Construct the value.
170
33
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
33
172
33
    // Copy the string information.
173
33
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
33
    if (KeyLength > 0)
175
33
      memcpy(StrBuffer, Key.data(), KeyLength);
176
33
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
33
    return NewItem;
178
33
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&>(llvm::StringRef, llvm::MallocAllocator&, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&&&)
Line
Count
Source
157
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
321
                                InitTy &&... InitVals) {
158
321
    size_t KeyLength = Key.size();
159
321
160
321
    // Allocate a new item with space for the string at the end and a null
161
321
    // terminator.
162
321
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
163
321
    size_t Alignment = alignof(StringMapEntry);
164
321
165
321
    StringMapEntry *NewItem =
166
321
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
167
321
    assert(NewItem && "Unhandled out-of-memory");
168
321
169
321
    // Construct the value.
170
321
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
171
321
172
321
    // Copy the string information.
173
321
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
174
321
    if (KeyLength > 0)
175
241
      memcpy(StrBuffer, Key.data(), KeyLength);
176
321
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
177
321
    return NewItem;
178
321
  }
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.46M
  static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
183
2.46M
    MallocAllocator A;
184
2.46M
    return Create(Key, A, std::forward<InitType>(InitVal)...);
185
2.46M
  }
186
187
2.46M
  static StringMapEntry *Create(StringRef Key) {
188
2.46M
    return Create(Key, ValueTy());
189
2.46M
  }
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
347M
  void Destroy(AllocatorTy &Allocator) {
202
347M
    // Free memory referenced by the item.
203
347M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
347M
    this->~StringMapEntry();
205
347M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
347M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
28.4k
  void Destroy(AllocatorTy &Allocator) {
202
28.4k
    // Free memory referenced by the item.
203
28.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
28.4k
    this->~StringMapEntry();
205
28.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
28.4k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
50.5k
  void Destroy(AllocatorTy &Allocator) {
202
50.5k
    // Free memory referenced by the item.
203
50.5k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
50.5k
    this->~StringMapEntry();
205
50.5k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
50.5k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
50.5k
  void Destroy(AllocatorTy &Allocator) {
202
50.5k
    // Free memory referenced by the item.
203
50.5k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
50.5k
    this->~StringMapEntry();
205
50.5k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
50.5k
  }
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.51k
  void Destroy(AllocatorTy &Allocator) {
202
1.51k
    // Free memory referenced by the item.
203
1.51k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.51k
    this->~StringMapEntry();
205
1.51k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.51k
  }
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
46.0M
  void Destroy(AllocatorTy &Allocator) {
202
46.0M
    // Free memory referenced by the item.
203
46.0M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
46.0M
    this->~StringMapEntry();
205
46.0M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
46.0M
  }
void llvm::StringMapEntry<int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
19.1M
  void Destroy(AllocatorTy &Allocator) {
202
19.1M
    // Free memory referenced by the item.
203
19.1M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
19.1M
    this->~StringMapEntry();
205
19.1M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
19.1M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
289
  void Destroy(AllocatorTy &Allocator) {
202
289
    // Free memory referenced by the item.
203
289
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
289
    this->~StringMapEntry();
205
289
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
289
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.41k
  void Destroy(AllocatorTy &Allocator) {
202
2.41k
    // Free memory referenced by the item.
203
2.41k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.41k
    this->~StringMapEntry();
205
2.41k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.41k
  }
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
432k
  void Destroy(AllocatorTy &Allocator) {
202
432k
    // Free memory referenced by the item.
203
432k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
432k
    this->~StringMapEntry();
205
432k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
432k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
3.01k
  void Destroy(AllocatorTy &Allocator) {
202
3.01k
    // Free memory referenced by the item.
203
3.01k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.01k
    this->~StringMapEntry();
205
3.01k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.01k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
987
  void Destroy(AllocatorTy &Allocator) {
202
987
    // Free memory referenced by the item.
203
987
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
987
    this->~StringMapEntry();
205
987
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
987
  }
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.93k
  void Destroy(AllocatorTy &Allocator) {
202
1.93k
    // Free memory referenced by the item.
203
1.93k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.93k
    this->~StringMapEntry();
205
1.93k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.93k
  }
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.61k
  void Destroy(AllocatorTy &Allocator) {
202
1.61k
    // Free memory referenced by the item.
203
1.61k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
1.61k
    this->~StringMapEntry();
205
1.61k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
1.61k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
195
  void Destroy(AllocatorTy &Allocator) {
202
195
    // Free memory referenced by the item.
203
195
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
195
    this->~StringMapEntry();
205
195
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
195
  }
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.93k
  void Destroy(AllocatorTy &Allocator) {
202
9.93k
    // Free memory referenced by the item.
203
9.93k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
9.93k
    this->~StringMapEntry();
205
9.93k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
9.93k
  }
void llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
143
  void Destroy(AllocatorTy &Allocator) {
202
143
    // Free memory referenced by the item.
203
143
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
143
    this->~StringMapEntry();
205
143
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
143
  }
void llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
736
  void Destroy(AllocatorTy &Allocator) {
202
736
    // Free memory referenced by the item.
203
736
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
736
    this->~StringMapEntry();
205
736
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
736
  }
void llvm::StringMapEntry<llvm::GCStrategy*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
25
  void Destroy(AllocatorTy &Allocator) {
202
25
    // Free memory referenced by the item.
203
25
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
25
    this->~StringMapEntry();
205
25
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
25
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
614
  void Destroy(AllocatorTy &Allocator) {
202
614
    // Free memory referenced by the item.
203
614
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
614
    this->~StringMapEntry();
205
614
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
614
  }
void llvm::StringMapEntry<llvm::ConstantDataSequential*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
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::MDString>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
92.7k
  void Destroy(AllocatorTy &Allocator) {
202
92.7k
    // Free memory referenced by the item.
203
92.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
92.7k
    this->~StringMapEntry();
205
92.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
92.7k
  }
void llvm::StringMapEntry<llvm::StructType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
57.6k
  void Destroy(AllocatorTy &Allocator) {
202
57.6k
    // Free memory referenced by the item.
203
57.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
57.6k
    this->~StringMapEntry();
205
57.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
57.6k
  }
void llvm::StringMapEntry<unsigned char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
161k
  void Destroy(AllocatorTy &Allocator) {
202
161k
    // Free memory referenced by the item.
203
161k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
161k
    this->~StringMapEntry();
205
161k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
161k
  }
void llvm::StringMapEntry<llvm::Comdat>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
28.6k
  void Destroy(AllocatorTy &Allocator) {
202
28.6k
    // Free memory referenced by the item.
203
28.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
28.6k
    this->~StringMapEntry();
205
28.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
28.6k
  }
void llvm::StringMapEntry<llvm::NamedMDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
28.6k
  void Destroy(AllocatorTy &Allocator) {
202
28.6k
    // Free memory referenced by the item.
203
28.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
28.6k
    this->~StringMapEntry();
205
28.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
28.6k
  }
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
502
  void Destroy(AllocatorTy &Allocator) {
202
502
    // Free memory referenced by the item.
203
502
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
502
    this->~StringMapEntry();
205
502
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
502
  }
void llvm::StringMapEntry<llvm::PassInfo const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
23.2M
  void Destroy(AllocatorTy &Allocator) {
202
23.2M
    // Free memory referenced by the item.
203
23.2M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
23.2M
    this->~StringMapEntry();
205
23.2M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
23.2M
  }
void llvm::StringMapEntry<llvm::Value*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
10.6M
  void Destroy(AllocatorTy &Allocator) {
202
10.6M
    // Free memory referenced by the item.
203
10.6M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
10.6M
    this->~StringMapEntry();
205
10.6M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
10.6M
  }
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
477
  void Destroy(AllocatorTy &Allocator) {
202
477
    // Free memory referenced by the item.
203
477
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
477
    this->~StringMapEntry();
205
477
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
477
  }
void llvm::StringMapEntry<unsigned long long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
509
  void Destroy(AllocatorTy &Allocator) {
202
509
    // Free memory referenced by the item.
203
509
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
509
    this->~StringMapEntry();
205
509
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
509
  }
void llvm::StringMapEntry<llvm::Function*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
273
  void Destroy(AllocatorTy &Allocator) {
202
273
    // Free memory referenced by the item.
203
273
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
273
    this->~StringMapEntry();
205
273
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
273
  }
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.10M
  void Destroy(AllocatorTy &Allocator) {
202
4.10M
    // Free memory referenced by the item.
203
4.10M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
4.10M
    this->~StringMapEntry();
205
4.10M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
4.10M
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
4.45M
  void Destroy(AllocatorTy &Allocator) {
202
4.45M
    // Free memory referenced by the item.
203
4.45M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
4.45M
    this->~StringMapEntry();
205
4.45M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
4.45M
  }
void llvm::StringMapEntry<llvm::MCSectionMachO*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
842k
  void Destroy(AllocatorTy &Allocator) {
202
842k
    // Free memory referenced by the item.
203
842k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
842k
    this->~StringMapEntry();
205
842k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
842k
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
857k
  void Destroy(AllocatorTy &Allocator) {
202
857k
    // Free memory referenced by the item.
203
857k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
857k
    this->~StringMapEntry();
205
857k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
857k
  }
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.90M
  void Destroy(AllocatorTy &Allocator) {
202
2.90M
    // Free memory referenced by the item.
203
2.90M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.90M
    this->~StringMapEntry();
205
2.90M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.90M
  }
void llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
710k
  void Destroy(AllocatorTy &Allocator) {
202
710k
    // Free memory referenced by the item.
203
710k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
710k
    this->~StringMapEntry();
205
710k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
710k
  }
void llvm::StringMapEntry<llvm::cl::Option*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
124M
  void Destroy(AllocatorTy &Allocator) {
202
124M
    // Free memory referenced by the item.
203
124M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
124M
    this->~StringMapEntry();
205
124M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
124M
  }
void llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
266
  void Destroy(AllocatorTy &Allocator) {
202
266
    // Free memory referenced by the item.
203
266
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
266
    this->~StringMapEntry();
205
266
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
266
  }
void llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
291
  void Destroy(AllocatorTy &Allocator) {
202
291
    // Free memory referenced by the item.
203
291
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
291
    this->~StringMapEntry();
205
291
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
291
  }
void llvm::StringMapEntry<unsigned long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
30.3k
  void Destroy(AllocatorTy &Allocator) {
202
30.3k
    // Free memory referenced by the item.
203
30.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
30.3k
    this->~StringMapEntry();
205
30.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
30.3k
  }
void llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2
  void Destroy(AllocatorTy &Allocator) {
202
2
    // Free memory referenced by the item.
203
2
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2
    this->~StringMapEntry();
205
2
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2
  }
void llvm::StringMapEntry<llvm::Timer>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2
  void Destroy(AllocatorTy &Allocator) {
202
2
    // Free memory referenced by the item.
203
2
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2
    this->~StringMapEntry();
205
2
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2
  }
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
281k
  void Destroy(AllocatorTy &Allocator) {
202
281k
    // Free memory referenced by the item.
203
281k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
281k
    this->~StringMapEntry();
205
281k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
281k
  }
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
181k
  void Destroy(AllocatorTy &Allocator) {
202
181k
    // Free memory referenced by the item.
203
181k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
181k
    this->~StringMapEntry();
205
181k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
181k
  }
void llvm::StringMapEntry<clang::FileEntry*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
166k
  void Destroy(AllocatorTy &Allocator) {
202
166k
    // Free memory referenced by the item.
203
166k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
166k
    this->~StringMapEntry();
205
166k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
166k
  }
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
100M
  void Destroy(AllocatorTy &Allocator) {
202
100M
    // Free memory referenced by the item.
203
100M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
100M
    this->~StringMapEntry();
205
100M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
100M
  }
void llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
5.59k
  void Destroy(AllocatorTy &Allocator) {
202
5.59k
    // Free memory referenced by the item.
203
5.59k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
5.59k
    this->~StringMapEntry();
205
5.59k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
5.59k
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
62.7k
  void Destroy(AllocatorTy &Allocator) {
202
62.7k
    // Free memory referenced by the item.
203
62.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
62.7k
    this->~StringMapEntry();
205
62.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
62.7k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
980
  void Destroy(AllocatorTy &Allocator) {
202
980
    // Free memory referenced by the item.
203
980
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
980
    this->~StringMapEntry();
205
980
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
980
  }
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.39k
  void Destroy(AllocatorTy &Allocator) {
202
3.39k
    // Free memory referenced by the item.
203
3.39k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.39k
    this->~StringMapEntry();
205
3.39k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.39k
  }
void llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
55
  void Destroy(AllocatorTy &Allocator) {
202
55
    // Free memory referenced by the item.
203
55
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
55
    this->~StringMapEntry();
205
55
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
55
  }
void llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
204
  void Destroy(AllocatorTy &Allocator) {
202
204
    // Free memory referenced by the item.
203
204
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
204
    this->~StringMapEntry();
205
204
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
204
  }
void llvm::StringMapEntry<llvm::Constant*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
46
  void Destroy(AllocatorTy &Allocator) {
202
46
    // Free memory referenced by the item.
203
46
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
46
    this->~StringMapEntry();
205
46
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
46
  }
void llvm::StringMapEntry<llvm::GlobalVariable*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
2.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
99
  void Destroy(AllocatorTy &Allocator) {
202
99
    // Free memory referenced by the item.
203
99
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
99
    this->~StringMapEntry();
205
99
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
99
  }
void llvm::StringMapEntry<clang::GlobalDecl>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
2.01M
  void Destroy(AllocatorTy &Allocator) {
202
2.01M
    // Free memory referenced by the item.
203
2.01M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
2.01M
    this->~StringMapEntry();
205
2.01M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
2.01M
  }
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
3.06M
  void Destroy(AllocatorTy &Allocator) {
202
3.06M
    // Free memory referenced by the item.
203
3.06M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
3.06M
    this->~StringMapEntry();
205
3.06M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
3.06M
  }
void llvm::StringMapEntry<char const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
98
  void Destroy(AllocatorTy &Allocator) {
202
98
    // Free memory referenced by the item.
203
98
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
98
    this->~StringMapEntry();
205
98
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
98
  }
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
553k
  void Destroy(AllocatorTy &Allocator) {
202
553k
    // Free memory referenced by the item.
203
553k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
553k
    this->~StringMapEntry();
205
553k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
553k
  }
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
  }
void llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
260
  void Destroy(AllocatorTy &Allocator) {
202
260
    // Free memory referenced by the item.
203
260
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
260
    this->~StringMapEntry();
205
260
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
260
  }
void llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
11.9k
  void Destroy(AllocatorTy &Allocator) {
202
11.9k
    // Free memory referenced by the item.
203
11.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
11.9k
    this->~StringMapEntry();
205
11.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
11.9k
  }
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
31
  void Destroy(AllocatorTy &Allocator) {
202
31
    // Free memory referenced by the item.
203
31
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
31
    this->~StringMapEntry();
205
31
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
31
  }
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
71.6k
  void Destroy(AllocatorTy &Allocator) {
202
71.6k
    // Free memory referenced by the item.
203
71.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
71.6k
    this->~StringMapEntry();
205
71.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
71.6k
  }
void llvm::StringMapEntry<llvm::AccelTableBase::HashData>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
73.1k
  void Destroy(AllocatorTy &Allocator) {
202
73.1k
    // Free memory referenced by the item.
203
73.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
73.1k
    this->~StringMapEntry();
205
73.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
73.1k
  }
void llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
201
84.8k
  void Destroy(AllocatorTy &Allocator) {
202
84.8k
    // Free memory referenced by the item.
203
84.8k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
84.8k
    this->~StringMapEntry();
205
84.8k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
84.8k
  }
void llvm::StringMapEntry<llvm::SDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
17.3k
  void Destroy(AllocatorTy &Allocator) {
202
17.3k
    // Free memory referenced by the item.
203
17.3k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
17.3k
    this->~StringMapEntry();
205
17.3k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
17.3k
  }
void llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
766
  void Destroy(AllocatorTy &Allocator) {
202
766
    // Free memory referenced by the item.
203
766
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
766
    this->~StringMapEntry();
205
766
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
766
  }
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
388
  void Destroy(AllocatorTy &Allocator) {
202
388
    // Free memory referenced by the item.
203
388
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
388
    this->~StringMapEntry();
205
388
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
388
  }
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
303
  void Destroy(AllocatorTy &Allocator) {
202
303
    // Free memory referenced by the item.
203
303
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
204
303
    this->~StringMapEntry();
205
303
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
206
303
  }
void llvm::StringMapEntry<clang::Stmt*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
201
5