Coverage Report

Created: 2019-01-21 03:01

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/StringMap.h
Line
Count
Source
1
//===- StringMap.h - String Hash table map interface ------------*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file defines the StringMap class.
10
//
11
//===----------------------------------------------------------------------===//
12
13
#ifndef LLVM_ADT_STRINGMAP_H
14
#define LLVM_ADT_STRINGMAP_H
15
16
#include "llvm/ADT/StringRef.h"
17
#include "llvm/ADT/iterator.h"
18
#include "llvm/ADT/iterator_range.h"
19
#include "llvm/Support/Allocator.h"
20
#include "llvm/Support/PointerLikeTypeTraits.h"
21
#include "llvm/Support/ErrorHandling.h"
22
#include <algorithm>
23
#include <cassert>
24
#include <cstdint>
25
#include <cstdlib>
26
#include <cstring>
27
#include <initializer_list>
28
#include <iterator>
29
#include <utility>
30
31
namespace llvm {
32
33
template<typename ValueTy> class StringMapConstIterator;
34
template<typename ValueTy> class StringMapIterator;
35
template<typename ValueTy> class StringMapKeyIterator;
36
37
/// StringMapEntryBase - Shared base class of StringMapEntry instances.
38
class StringMapEntryBase {
39
  size_t StrLen;
40
41
public:
42
449M
  explicit StringMapEntryBase(size_t Len) : StrLen(Len) {}
43
44
2.36G
  size_t getKeyLength() const { return StrLen; }
45
};
46
47
/// StringMapImpl - This is the base class of StringMap that is shared among
48
/// all of its instantiations.
49
class StringMapImpl {
50
protected:
51
  // Array of NumBuckets pointers to entries, null pointers are holes.
52
  // TheTable[NumBuckets] contains a sentinel value for easy iteration. Followed
53
  // by an array of the actual hash values as unsigned integers.
54
  StringMapEntryBase **TheTable = nullptr;
55
  unsigned NumBuckets = 0;
56
  unsigned NumItems = 0;
57
  unsigned NumTombstones = 0;
58
  unsigned ItemSize;
59
60
protected:
61
  explicit StringMapImpl(unsigned itemSize)
62
17.4M
      : ItemSize(itemSize) {}
63
  StringMapImpl(StringMapImpl &&RHS)
64
      : TheTable(RHS.TheTable), NumBuckets(RHS.NumBuckets),
65
        NumItems(RHS.NumItems), NumTombstones(RHS.NumTombstones),
66
147k
        ItemSize(RHS.ItemSize) {
67
147k
    RHS.TheTable = nullptr;
68
147k
    RHS.NumBuckets = 0;
69
147k
    RHS.NumItems = 0;
70
147k
    RHS.NumTombstones = 0;
71
147k
  }
72
73
  StringMapImpl(unsigned InitSize, unsigned ItemSize);
74
  unsigned RehashTable(unsigned BucketNo = 0);
75
76
  /// LookupBucketFor - Look up the bucket that the specified string should end
77
  /// up in.  If it already exists as a key in the map, the Item pointer for the
78
  /// specified bucket will be non-null.  Otherwise, it will be null.  In either
79
  /// case, the FullHashValue field of the bucket will be set to the hash value
80
  /// of the string.
81
  unsigned LookupBucketFor(StringRef Key);
82
83
  /// FindKey - Look up the bucket that contains the specified key. If it exists
84
  /// in the map, return the bucket number of the key.  Otherwise return -1.
85
  /// This does not modify the map.
86
  int FindKey(StringRef Key) const;
87
88
  /// RemoveKey - Remove the specified StringMapEntry from the table, but do not
89
  /// delete it.  This aborts if the value isn't in the table.
90
  void RemoveKey(StringMapEntryBase *V);
91
92
  /// RemoveKey - Remove the StringMapEntry for the specified key from the
93
  /// table, returning it.  If the key is not in the table, this returns null.
94
  StringMapEntryBase *RemoveKey(StringRef Key);
95
96
  /// Allocate the table with the specified number of buckets and otherwise
97
  /// setup the map as empty.
98
  void init(unsigned Size);
99
100
public:
101
4.40G
  static StringMapEntryBase *getTombstoneVal() {
102
4.40G
    uintptr_t Val = static_cast<uintptr_t>(-1);
103
4.40G
    Val <<= PointerLikeTypeTraits<StringMapEntryBase *>::NumLowBitsAvailable;
104
4.40G
    return reinterpret_cast<StringMapEntryBase *>(Val);
105
4.40G
  }
106
107
11
  unsigned getNumBuckets() const { return NumBuckets; }
108
3
  unsigned getNumItems() const { return NumItems; }
109
110
23.5M
  bool empty() const { return NumItems == 0; }
111
5.15M
  unsigned size() const { return NumItems; }
112
113
75.2k
  void swap(StringMapImpl &Other) {
114
75.2k
    std::swap(TheTable, Other.TheTable);
115
75.2k
    std::swap(NumBuckets, Other.NumBuckets);
116
75.2k
    std::swap(NumItems, Other.NumItems);
117
75.2k
    std::swap(NumTombstones, Other.NumTombstones);
118
75.2k
  }
119
};
120
121
/// StringMapEntry - This is used to represent one value that is inserted into
122
/// a StringMap.  It contains the Value itself and the key: the string length
123
/// and data.
124
template<typename ValueTy>
125
class StringMapEntry : public StringMapEntryBase {
126
public:
127
  ValueTy second;
128
129
  explicit StringMapEntry(size_t strLen)
130
50.4M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
80.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
80.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
8.73k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::StringMapEntry(unsigned long)
Line
Count
Source
130
60.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned int>::StringMapEntry(unsigned long)
Line
Count
Source
130
3.35M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
290
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
2.79k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
4.87k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::StringMapEntry(unsigned long)
Line
Count
Source
130
19
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
1.00k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
2.01k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::AsmToken>::StringMapEntry(unsigned long)
Line
Count
Source
130
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
1.71k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
194
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry(unsigned long)
Line
Count
Source
130
290
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.96k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
323
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
14.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
1.19k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GCStrategy*>::StringMapEntry(unsigned long)
Line
Count
Source
130
25
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
614
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::StringMapEntry(unsigned long)
Line
Count
Source
130
155
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MDString>::StringMapEntry(unsigned long)
Line
Count
Source
130
417k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::NamedMDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
130
57.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
644
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::PassInfo const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
28.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
130
603
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
481
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<bool>::StringMapEntry(unsigned long)
Line
Count
Source
130
889k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSymbol*>::StringMapEntry(unsigned long)
Line
Count
Source
130
4.24M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::MCSectionMachO*>::StringMapEntry(unsigned long)
Line
Count
Source
130
860k
    : StringMapEntryBase(strLen), second() {}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::StringMapEntry(unsigned long)
Line
Count
Source
130
3.01M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::StringMapEntry(unsigned long)
Line
Count
Source
130
711k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long>::StringMapEntry(unsigned long)
Line
Count
Source
130
32.7k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
301
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::StringMapEntry(unsigned long)
Line
Count
Source
130
326
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
5
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Timer>::StringMapEntry(unsigned long)
Line
Count
Source
130
5
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
328k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<void*>::StringMapEntry(unsigned long)
Line
Count
Source
130
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
36
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::FileData>::StringMapEntry(unsigned long)
Line
Count
Source
130
17
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::StringMapEntry(unsigned long)
Line
Count
Source
130
3.68M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::Constant*>::StringMapEntry(unsigned long)
Line
Count
Source
130
47
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.07k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
3.45k
    : StringMapEntryBase(strLen), second() {}
Unexecuted instantiation: llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry(unsigned long)
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::StringMapEntry(unsigned long)
Line
Count
Source
130
115
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
193
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
29.1k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<char const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
103
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<int>::StringMapEntry(unsigned long)
Line
Count
Source
130
778k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
2.10k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::SourceLocation>::StringMapEntry(unsigned long)
Line
Count
Source
130
15
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::StringMapEntry(unsigned long)
Line
Count
Source
130
32
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::StringMapEntry(unsigned long)
Line
Count
Source
130
151
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::StringMapEntry(unsigned long)
Line
Count
Source
130
3.95k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::StringMapEntry(unsigned long)
Line
Count
Source
130
73.0k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
85
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
67.6k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SDNode*>::StringMapEntry(unsigned long)
Line
Count
Source
130
15.9k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::StringMapEntry(unsigned long)
Line
Count
Source
130
928
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >::StringMapEntry(unsigned long)
Line
Count
Source
130
389
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry(unsigned long)
Line
Count
Source
130
12.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<FoundationClass>::StringMapEntry(unsigned long)
Line
Count
Source
130
91
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
20
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ento::BugType*>::StringMapEntry(unsigned long)
Line
Count
Source
130
516
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
32
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::ASTUnit*>::StringMapEntry(unsigned long)
Line
Count
Source
130
35
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
3
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::StringMapEntry(unsigned long)
Line
Count
Source
130
9.58k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::TimeRecord>::StringMapEntry(unsigned long)
Line
Count
Source
130
1
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::StringMapEntry(unsigned long)
Line
Count
Source
130
88
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::StringMapEntry(unsigned long)
Line
Count
Source
130
394
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
366k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::StringMapEntry(unsigned long)
Line
Count
Source
130
14
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::Module*>::StringMapEntry(unsigned long)
Line
Count
Source
130
72.3k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<clang::PragmaHandler*>::StringMapEntry(unsigned long)
Line
Count
Source
130
2.07M
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry(unsigned long)
Line
Count
Source
130
12.2k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry(unsigned long)
Line
Count
Source
130
542
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::StringMapEntry(unsigned long)
Line
Count
Source
130
262
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::RecordStreamer::State>::StringMapEntry(unsigned long)
Line
Count
Source
130
257
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::GlobalValue const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
256
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::elf::OutputSection*>::StringMapEntry(unsigned long)
Line
Count
Source
130
371k
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
43
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
18
    : StringMapEntryBase(strLen), second() {}
Unexecuted instantiation: llvm::StringMapEntry<lld::wasm::SectionSymbol*>::StringMapEntry(unsigned long)
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::StringMapEntry(unsigned long)
Line
Count
Source
130
231
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::StringMapEntry(unsigned long)
Line
Count
Source
130
5
    : StringMapEntryBase(strLen), second() {}
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::StringMapEntry(unsigned long)
Line
Count
Source
130
113
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<lld::Atom const*>::StringMapEntry(unsigned long)
Line
Count
Source
130
395
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::StringMapEntry(unsigned long)
Line
Count
Source
130
21
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<unsigned short>::StringMapEntry(unsigned long)
Line
Count
Source
130
33
    : StringMapEntryBase(strLen), second() {}
llvm::StringMapEntry<llvm::FileInfo::LineData>::StringMapEntry(unsigned long)
Line
Count
Source
130
44
    : StringMapEntryBase(strLen), second() {}
131
  template <typename... InitTy>
132
  StringMapEntry(size_t strLen, InitTy &&... InitVals)
133
389M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >(unsigned long, std::__1::pair<(anonymous namespace)::RegKind, unsigned int>&&)
Line
Count
Source
133
17
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<int>::StringMapEntry<int>(unsigned long, int&&)
Line
Count
Source
133
19.1M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char>(unsigned long, char&&)
Line
Count
Source
133
883k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int>(unsigned long, unsigned int&&)
Line
Count
Source
133
54.1M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry<unsigned long long&>(unsigned long, unsigned long long&&&)
Line
Count
Source
133
195
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::StringMapEntry<llvm::ConstantDataSequential*>(unsigned long, llvm::ConstantDataSequential*&&)
Line
Count
Source
133
486k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned char>::StringMapEntry<unsigned char>(unsigned long, unsigned char&&)
Line
Count
Source
133
200k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Comdat>::StringMapEntry<llvm::Comdat>(unsigned long, llvm::Comdat&&)
Line
Count
Source
133
31.0k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::StructType*>::StringMapEntry<llvm::StructType*>(unsigned long, llvm::StructType*&&)
Line
Count
Source
133
240k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Value*>::StringMapEntry<llvm::Value*>(unsigned long, llvm::Value*&&)
Line
Count
Source
133
16.9M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<char>::StringMapEntry<char&>(unsigned long, char&&&)
Line
Count
Source
133
7.99k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Function*>::StringMapEntry<llvm::Function*>(unsigned long, llvm::Function*&&)
Line
Count
Source
133
23
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::StringMapEntry<llvm::StringRef&, llvm::raw_ostream*&>(unsigned long, llvm::StringRef&&&, llvm::raw_ostream*&&&)
Line
Count
Source
133
84
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<bool>::StringMapEntry<bool>(unsigned long, bool&&)
Line
Count
Source
133
4.64M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MCAsmMacro>::StringMapEntry<llvm::MCAsmMacro>(unsigned long, llvm::MCAsmMacro&&)
Line
Count
Source
133
239
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::cl::Option*>::StringMapEntry<llvm::cl::Option*>(unsigned long, llvm::cl::Option*&&)
Line
Count
Source
133
139M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >(unsigned long, std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> >&&)
Line
Count
Source
133
116k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::IdentifierInfo*>::StringMapEntry<clang::IdentifierInfo*>(unsigned long, clang::IdentifierInfo*&&)
Line
Count
Source
133
145M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::DirectoryEntry*>::StringMapEntry<clang::DirectoryEntry*>(unsigned long, clang::DirectoryEntry*&&)
Line
Count
Source
133
393k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::FileEntry*>::StringMapEntry<clang::FileEntry*>(unsigned long, clang::FileEntry*&&)
Line
Count
Source
133
1.36M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::StringMapEntry<clang::MemoryBufferCache::BufferEntry>(unsigned long, clang::MemoryBufferCache::BufferEntry&&)
Line
Count
Source
133
5.67k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned long>(unsigned long, unsigned long&&)
Line
Count
Source
133
109k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::GlobalVariable*>::StringMapEntry<llvm::GlobalVariable*>(unsigned long, llvm::GlobalVariable*&&)
Line
Count
Source
133
309
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::StringMapEntry<std::nullptr_t>(unsigned long, std::nullptr_t&&)
Line
Count
Source
133
212
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::StringMapEntry<unsigned int&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&>(unsigned long, unsigned int&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&)
Line
Count
Source
133
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
133
21
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::WeakTrackingVH>::StringMapEntry<llvm::Constant*&>(unsigned long, llvm::Constant*&&&)
Line
Count
Source
133
11
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::GlobalDecl>::StringMapEntry<clang::GlobalDecl>(unsigned long, clang::GlobalDecl&&)
Line
Count
Source
133
2.08M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::StringMapEntry<clang::OpenCLOptions::Info&>(unsigned long, clang::OpenCLOptions::Info&&&)
Line
Count
Source
133
425k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&)
Line
Count
Source
133
2.61M
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >(unsigned long, std::__1::shared_ptr<clang::ModuleFileExtension>&&)
Line
Count
Source
133
27
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DIE const*>::StringMapEntry<llvm::DIE const*>(unsigned long, llvm::DIE const*&&)
Line
Count
Source
133
20
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::StringMapEntry<llvm::DwarfStringPoolEntryRef&, unsigned int (*&)(llvm::StringRef)>(unsigned long, llvm::DwarfStringPoolEntryRef&&&, unsigned int (*&&&)(llvm::StringRef))
Line
Count
Source
133
69.1k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::StringMapEntry<llvm::DwarfStringPoolEntry>(unsigned long, llvm::DwarfStringPoolEntry&&)
Line
Count
Source
133
81.3k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<clang::Stmt*>::StringMapEntry<clang::Stmt*>(unsigned long, clang::Stmt*&&)
Line
Count
Source
133
2
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >(unsigned long, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> >&&)
Line
Count
Source
133
286
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(unsigned long, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&&)
Line
Count
Source
133
71
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::StringMapEntry<clang::OMPCriticalDirective const*&, llvm::APSInt&>(unsigned long, clang::OMPCriticalDirective const*&&&, llvm::APSInt&&&)
Line
Count
Source
133
38
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
Unexecuted instantiation: llvm::StringMapEntry<clang::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
133
852
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >(unsigned long, std::__1::pair<llvm::Type*, llvm::SMLoc>&&)
Line
Count
Source
133
55
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::Type*>::StringMapEntry<llvm::Type*>(unsigned long, llvm::Type*&&)
Line
Count
Source
133
88
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >(unsigned long, std::__1::shared_ptr<llvm::msgpack::Node>&&)
Line
Count
Source
133
6.82k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int const*>::StringMapEntry<unsigned int const*>(unsigned long, unsigned int const*&&)
Line
Count
Source
133
10.3k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::StringMapEntry<llvm::MachineMemOperand::Flags>(unsigned long, llvm::MachineMemOperand::Flags&&)
Line
Count
Source
133
38
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::VRegInfo*>::StringMapEntry<llvm::VRegInfo*>(unsigned long, llvm::VRegInfo*&&)
Line
Count
Source
133
27
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::StringMapEntry<llvm::TargetRegisterClass const*>(unsigned long, llvm::TargetRegisterClass const*&&)
Line
Count
Source
133
116k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<llvm::RegisterBank const*>::StringMapEntry<llvm::RegisterBank const*>(unsigned long, llvm::RegisterBank const*&&)
Line
Count
Source
133
3.65k
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&>(unsigned long, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&&&)
Line
Count
Source
133
29
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned int>::StringMapEntry<unsigned int&>(unsigned long, unsigned int&&&)
Line
Count
Source
133
358
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
llvm::StringMapEntry<unsigned long long>::StringMapEntry<unsigned long long>(unsigned long, unsigned long long&&)
Line
Count
Source
133
326
      : StringMapEntryBase(strLen), second(std::forward<InitTy>(InitVals)...) {}
134
  StringMapEntry(StringMapEntry &E) = delete;
135
136
481M
  StringRef getKey() const {
137
481M
    return StringRef(getKeyData(), getKeyLength());
138
481M
  }
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::getKey() const
Line
Count
Source
136
108k
  StringRef getKey() const {
137
108k
    return StringRef(getKeyData(), getKeyLength());
138
108k
  }
llvm::StringMapEntry<unsigned long long>::getKey() const
Line
Count
Source
136
100
  StringRef getKey() const {
137
100
    return StringRef(getKeyData(), getKeyLength());
138
100
  }
llvm::StringMapEntry<unsigned int>::getKey() const
Line
Count
Source
136
1.98M
  StringRef getKey() const {
137
1.98M
    return StringRef(getKeyData(), getKeyLength());
138
1.98M
  }
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::getKey() const
Line
Count
Source
136
12
  StringRef getKey() const {
137
12
    return StringRef(getKeyData(), getKeyLength());
138
12
  }
llvm::StringMapEntry<llvm::StructType*>::getKey() const
Line
Count
Source
136
1.30M
  StringRef getKey() const {
137
1.30M
    return StringRef(getKeyData(), getKeyLength());
138
1.30M
  }
llvm::StringMapEntry<llvm::Value*>::getKey() const
Line
Count
Source
136
460M
  StringRef getKey() const {
137
460M
    return StringRef(getKeyData(), getKeyLength());
138
460M
  }
llvm::StringMapEntry<char>::getKey() const
Line
Count
Source
136
5.99M
  StringRef getKey() const {
137
5.99M
    return StringRef(getKeyData(), getKeyLength());
138
5.99M
  }
Unexecuted instantiation: GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKey() const
llvm::StringMapEntry<bool>::getKey() const
Line
Count
Source
136
611k
  StringRef getKey() const {
137
611k
    return StringRef(getKeyData(), getKeyLength());
138
611k
  }
llvm::StringMapEntry<llvm::cl::Option*>::getKey() const
Line
Count
Source
136
19.4k
  StringRef getKey() const {
137
19.4k
    return StringRef(getKeyData(), getKeyLength());
138
19.4k
  }
llvm::StringMapEntry<llvm::TimeRecord>::getKey() const
Line
Count
Source
136
1
  StringRef getKey() const {
137
1
    return StringRef(getKeyData(), getKeyLength());
138
1
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKey() const
Line
Count
Source
136
53
  StringRef getKey() const {
137
53
    return StringRef(getKeyData(), getKeyLength());
138
53
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKey() const
Line
Count
Source
136
457k
  StringRef getKey() const {
137
457k
    return StringRef(getKeyData(), getKeyLength());
138
457k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKey() const
Line
Count
Source
136
41.8k
  StringRef getKey() const {
137
41.8k
    return StringRef(getKeyData(), getKeyLength());
138
41.8k
  }
llvm::StringMapEntry<clang::IdentifierInfo*>::getKey() const
Line
Count
Source
136
10.7M
  StringRef getKey() const {
137
10.7M
    return StringRef(getKeyData(), getKeyLength());
138
10.7M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKey() const
Line
Count
Source
136
340
  StringRef getKey() const {
137
340
    return StringRef(getKeyData(), getKeyLength());
138
340
  }
llvm::StringMapEntry<llvm::Type*>::getKey() const
Line
Count
Source
136
55
  StringRef getKey() const {
137
55
    return StringRef(getKeyData(), getKeyLength());
138
55
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::getKey() const
Line
Count
Source
136
90
  StringRef getKey() const {
137
90
    return StringRef(getKeyData(), getKeyLength());
138
90
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKey() const
Line
Count
Source
136
65
  StringRef getKey() const {
137
65
    return StringRef(getKeyData(), getKeyLength());
138
65
  }
139
140
3.44M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned int>::getValue() const
Line
Count
Source
140
4.11k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::MCSymbol*>::getValue() const
Line
Count
Source
140
8.80k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long long>::getValue() const
Line
Count
Source
140
24
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Comdat>::getValue() const
Line
Count
Source
140
26.9k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue() const
Line
Count
Source
140
210k
  const ValueTy &getValue() const { return second; }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getValue() const
Line
Count
Source
140
251k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getValue() const
Line
Count
Source
140
489
  const ValueTy &getValue() const { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::TimeRecord>::getValue() const
llvm::StringMapEntry<clang::FileEntry*>::getValue() const
Line
Count
Source
140
285k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<bool>::getValue() const
Line
Count
Source
140
631k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::WeakTrackingVH>::getValue() const
Line
Count
Source
140
22
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getValue() const
Line
Count
Source
140
53
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::GlobalDecl>::getValue() const
Line
Count
Source
140
2.11k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue() const
Line
Count
Source
140
41.5k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue() const
Line
Count
Source
140
1.37M
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<unsigned long>::getValue() const
Line
Count
Source
140
888
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getValue() const
Line
Count
Source
140
334
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::IdentifierInfo*>::getValue() const
Line
Count
Source
140
554k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<clang::Module*>::getValue() const
Line
Count
Source
140
53.1k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getValue() const
Line
Count
Source
140
340
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue() const
Line
Count
Source
140
3.23k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue() const
Line
Count
Source
140
1.99k
  const ValueTy &getValue() const { return second; }
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::getValue() const
Line
Count
Source
140
11
  const ValueTy &getValue() const { return second; }
141
1.72M
  ValueTy &getValue() { return second; }
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::getValue()
Line
Count
Source
141
825
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::getValue()
Line
Count
Source
141
108k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::AsmToken>::getValue()
Line
Count
Source
141
1
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned long long>::getValue()
Line
Count
Source
141
138
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int>::getValue()
Line
Count
Source
141
113k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::GCStrategy*>::getValue()
Line
Count
Source
141
45
  ValueTy &getValue() { return second; }
Unexecuted instantiation: llvm::StringMapEntry<llvm::ConstantDataSequential*>::getValue()
llvm::StringMapEntry<llvm::MDString>::getValue()
Line
Count
Source
141
673k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<char>::getValue()
Line
Count
Source
141
7.99k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Function*>::getValue()
Line
Count
Source
141
60
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Value*>::getValue()
Line
Count
Source
141
82
  ValueTy &getValue() { return second; }
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getValue()
Line
Count
Source
141
84
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::MCAsmMacro>::getValue()
Line
Count
Source
141
197k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<bool>::getValue()
Line
Count
Source
141
101k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::Constant*>::getValue()
Line
Count
Source
141
3
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getValue()
Line
Count
Source
141
425k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<int>::getValue()
Line
Count
Source
141
9.59k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::SourceLocation>::getValue()
Line
Count
Source
141
70
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getValue()
Line
Count
Source
141
75
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getValue()
Line
Count
Source
141
2.00k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<clang::Module*>::getValue()
Line
Count
Source
141
71.8k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<unsigned int const*>::getValue()
Line
Count
Source
141
277
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getValue()
Line
Count
Source
141
6.06k
  ValueTy &getValue() { return second; }
llvm::StringMapEntry<llvm::RegisterBank const*>::getValue()
Line
Count
Source
141
3.68k
  ValueTy &getValue() { return second; }
142
143
2.71M
  void setValue(const ValueTy &V) { second = V; }
144
145
  /// getKeyData - Return the start of the string data that is the key for this
146
  /// value.  The string data is always stored immediately after the
147
  /// StringMapEntry object.
148
1.68G
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::getKeyData() const
Line
Count
Source
148
80.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::getKeyData() const
Line
Count
Source
148
80.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::getKeyData() const
Line
Count
Source
148
8.73k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::getKeyData() const
Line
Count
Source
148
17
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<bool>::getKeyData() const
Line
Count
Source
148
18.1M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::getKeyData() const
Line
Count
Source
148
188k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int>::getKeyData() const
Line
Count
Source
148
59.8M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<int>::getKeyData() const
Line
Count
Source
148
19.9M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::getKeyData() const
Line
Count
Source
148
290
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::getKeyData() const
Line
Count
Source
148
2.79k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char>::getKeyData() const
Line
Count
Source
148
6.91M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::getKeyData() const
Line
Count
Source
148
4.87k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::getKeyData() const
Line
Count
Source
148
19
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::getKeyData() const
Line
Count
Source
148
1.00k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::getKeyData() const
Line
Count
Source
148
2.01k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AsmToken>::getKeyData() const
Line
Count
Source
148
1
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::getKeyData() const
Line
Count
Source
148
1.71k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::getKeyData() const
Line
Count
Source
148
194
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Function*>::getKeyData() const
Line
Count
Source
148
313
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RTLIB::Libcall>::getKeyData() const
Line
Count
Source
148
2.96k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::getKeyData() const
Line
Count
Source
148
323
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long long>::getKeyData() const
Line
Count
Source
148
1.25k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::getKeyData() const
Line
Count
Source
148
14.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::getKeyData() const
Line
Count
Source
148
1.19k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GCStrategy*>::getKeyData() const
Line
Count
Source
148
25
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::getKeyData() const
Line
Count
Source
148
614
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::getKeyData() const
Line
Count
Source
148
2.86k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Comdat>::getKeyData() const
Line
Count
Source
148
120k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::ConstantDataSequential*>::getKeyData() const
Line
Count
Source
148
982k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned char>::getKeyData() const
Line
Count
Source
148
210k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::getKeyData() const
Line
Count
Source
148
167
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MDString>::getKeyData() const
Line
Count
Source
148
25.1M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::NamedMDNode*>::getKeyData() const
Line
Count
Source
148
57.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::getKeyData() const
Line
Count
Source
148
1.99k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::PassInfo const*>::getKeyData() const
Line
Count
Source
148
28.6M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StructType*>::getKeyData() const
Line
Count
Source
148
1.54M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Value*>::getKeyData() const
Line
Count
Source
148
477M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::getKeyData() const
Line
Count
Source
148
1.03k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
148
481
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::getKeyData() const
Line
Count
Source
148
84
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSymbol*>::getKeyData() const
Line
Count
Source
148
4.24M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCSectionMachO*>::getKeyData() const
Line
Count
Source
148
860k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::getKeyData() const
Line
Count
Source
148
3.01M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::getKeyData() const
Line
Count
Source
148
711k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MCAsmMacro>::getKeyData() const
Line
Count
Source
148
239
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::cl::Option*>::getKeyData() const
Line
Count
Source
148
139M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned long>::getKeyData() const
Line
Count
Source
148
32.7k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
148
301
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::getKeyData() const
Line
Count
Source
148
326
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::getKeyData() const
Line
Count
Source
148
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Timer>::getKeyData() const
Line
Count
Source
148
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TimeRecord>::getKeyData() const
Line
Count
Source
148
2
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::getKeyData() const
Line
Count
Source
148
116k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::getKeyData() const
Line
Count
Source
148
662k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<void*>::getKeyData() const
Line
Count
Source
148
3
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::getKeyData() const
Line
Count
Source
148
98
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::IdentifierInfo*>::getKeyData() const
Line
Count
Source
148
881M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::DirectoryEntry*>::getKeyData() const
Line
Count
Source
148
787k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileEntry*>::getKeyData() const
Line
Count
Source
148
2.73M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::FileData>::getKeyData() const
Line
Count
Source
148
17
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::getKeyData() const
Line
Count
Source
148
5.67k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::OpenCLOptions::Info>::getKeyData() const
Line
Count
Source
148
4.56M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Constant*>::getKeyData() const
Line
Count
Source
148
47
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalVariable*>::getKeyData() const
Line
Count
Source
148
2.70k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
148
424
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::getKeyData() const
Line
Count
Source
148
9.46k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::getKeyData() const
Line
Count
Source
148
108
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::WeakTrackingVH>::getKeyData() const
Line
Count
Source
148
11
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::getKeyData() const
Line
Count
Source
148
230
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::GlobalDecl>::getKeyData() const
Line
Count
Source
148
4.16M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTContext::SectionInfo>::getKeyData() const
Line
Count
Source
148
193
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::getKeyData() const
Line
Count
Source
148
29.1k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<char const*>::getKeyData() const
Line
Count
Source
148
103
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::getKeyData() const
Line
Count
Source
148
2.66M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::SourceLocation>::getKeyData() const
Line
Count
Source
148
15
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::getKeyData() const
Line
Count
Source
148
32
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::getKeyData() const
Line
Count
Source
148
603
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::getKeyData() const
Line
Count
Source
148
3.95k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::getKeyData() const
Line
Count
Source
148
27
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::getKeyData() const
Line
Count
Source
148
145k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::getKeyData() const
Line
Count
Source
148
85
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::getKeyData() const
Line
Count
Source
148
627k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::DIE const*>::getKeyData() const
Line
Count
Source
148
135k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::AccelTableBase::HashData>::getKeyData() const
Line
Count
Source
148
69.1k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SDNode*>::getKeyData() const
Line
Count
Source
148
15.9k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::getKeyData() const
Line
Count
Source
148
928
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >::getKeyData() const
Line
Count
Source
148
389
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Stmt*>::getKeyData() const
Line
Count
Source
148
12.2k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<FoundationClass>::getKeyData() const
Line
Count
Source
148
91
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::getKeyData() const
Line
Count
Source
148
20
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::getKeyData() const
Line
Count
Source
148
286
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ento::BugType*>::getKeyData() const
Line
Count
Source
148
516
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::getKeyData() const
Line
Count
Source
148
32
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::ASTUnit*>::getKeyData() const
Line
Count
Source
148
35
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::getKeyData() const
Line
Count
Source
148
3
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::getKeyData() const
Line
Count
Source
148
9.58k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::getKeyData() const
Line
Count
Source
148
38
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::comments::TParamCommandComment*>::getKeyData() const
Line
Count
Source
148
88
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::getKeyData() const
Line
Count
Source
148
398
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::getKeyData() const
Line
Count
Source
148
366k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::StringSet<llvm::MallocAllocator> >::getKeyData() const
Line
Count
Source
148
14
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::Module*>::getKeyData() const
Line
Count
Source
148
72.3k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<clang::PragmaHandler*>::getKeyData() const
Line
Count
Source
148
2.07M
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::Type*>::getKeyData() const
Line
Count
Source
148
143
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::getKeyData() const
Line
Count
Source
148
12.4k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::getKeyData() const
Line
Count
Source
148
355
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RecordStreamer::State>::getKeyData() const
Line
Count
Source
148
514
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::GlobalValue const*>::getKeyData() const
Line
Count
Source
148
256
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned int const*>::getKeyData() const
Line
Count
Source
148
10.3k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::getKeyData() const
Line
Count
Source
148
38
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::VRegInfo*>::getKeyData() const
Line
Count
Source
148
54
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::TargetRegisterClass const*>::getKeyData() const
Line
Count
Source
148
116k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::RegisterBank const*>::getKeyData() const
Line
Count
Source
148
3.65k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::elf::OutputSection*>::getKeyData() const
Line
Count
Source
148
371k
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::getKeyData() const
Line
Count
Source
148
85
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::getKeyData() const
Line
Count
Source
148
36
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
Unexecuted instantiation: llvm::StringMapEntry<lld::wasm::SectionSymbol*>::getKeyData() const
llvm::StringMapEntry<lld::Atom const*>::getKeyData() const
Line
Count
Source
148
395
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::getKeyData() const
Line
Count
Source
148
231
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::getKeyData() const
Line
Count
Source
148
5
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::getKeyData() const
Line
Count
Source
148
113
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::getKeyData() const
Line
Count
Source
148
21
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> > >::getKeyData() const
Line
Count
Source
148
141
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<unsigned short>::getKeyData() const
Line
Count
Source
148
33
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
llvm::StringMapEntry<llvm::FileInfo::LineData>::getKeyData() const
Line
Count
Source
148
88
  const char *getKeyData() const {return reinterpret_cast<const char*>(this+1);}
149
150
42.5M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<bool>::first() const
Line
Count
Source
150
12.0M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::first() const
Line
Count
Source
150
1.66k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::Comdat>::first() const
Line
Count
Source
150
89.8k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::ConstantDataSequential*>::first() const
Line
Count
Source
150
495k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<char>::first() const
Line
Count
Source
150
35.5k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned int>::first() const
Line
Count
Source
150
329k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned char>::first() const
Line
Count
Source
150
9.84k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::MDString>::first() const
Line
Count
Source
150
24.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
150
1.34k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::first() const
Line
Count
Source
150
431
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
Unexecuted instantiation: llvm::StringMapEntry<llvm::cl::Option*>::first() const
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::first() const
Line
Count
Source
150
334k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::first() const
Line
Count
Source
150
62
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::DirectoryEntry*>::first() const
Line
Count
Source
150
393k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::FileEntry*>::first() const
Line
Count
Source
150
1.36M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::GlobalVariable*>::first() const
Line
Count
Source
150
328
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::first() const
Line
Count
Source
150
212
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::first() const
Line
Count
Source
150
6.00k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::first() const
Line
Count
Source
150
115
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::GlobalDecl>::first() const
Line
Count
Source
150
2.08M
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
Unexecuted instantiation: llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::first() const
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::first() const
Line
Count
Source
150
452
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::first() const
Line
Count
Source
150
72.9k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::DwarfStringPoolEntry>::first() const
Line
Count
Source
150
466k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<clang::HeaderSearch::FrameworkCacheEntry>::first() const
Line
Count
Source
150
4
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<unsigned long long>::first() const
Line
Count
Source
150
90
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::first() const
Line
Count
Source
150
28
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::RecordStreamer::State>::first() const
Line
Count
Source
150
257
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::first() const
Line
Count
Source
150
12.7k
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::VRegInfo*>::first() const
Line
Count
Source
150
27
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::first() const
Line
Count
Source
150
42
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::first() const
Line
Count
Source
150
18
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MemoryBuffer, std::__1::default_delete<llvm::MemoryBuffer> > >::first() const
Line
Count
Source
150
80
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
llvm::StringMapEntry<llvm::FileInfo::LineData>::first() const
Line
Count
Source
150
44
  StringRef first() const { return StringRef(getKeyData(), getKeyLength()); }
151
152
  /// Create a StringMapEntry for the specified key construct the value using
153
  /// \p InitiVals.
154
  template <typename AllocatorTy, typename... InitTy>
155
  static StringMapEntry *Create(StringRef Key, AllocatorTy &Allocator,
156
439M
                                InitTy &&... InitVals) {
157
439M
    size_t KeyLength = Key.size();
158
439M
159
439M
    // Allocate a new item with space for the string at the end and a null
160
439M
    // terminator.
161
439M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
439M
    size_t Alignment = alignof(StringMapEntry);
163
439M
164
439M
    StringMapEntry *NewItem =
165
439M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
439M
    assert(NewItem && "Unhandled out-of-memory");
167
439M
168
439M
    // Construct the value.
169
439M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
439M
171
439M
    // Copy the string information.
172
439M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
439M
    if (KeyLength > 0)
174
439M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
439M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
439M
    return NewItem;
177
439M
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
80.7k
                                InitTy &&... InitVals) {
157
80.7k
    size_t KeyLength = Key.size();
158
80.7k
159
80.7k
    // Allocate a new item with space for the string at the end and a null
160
80.7k
    // terminator.
161
80.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
80.7k
    size_t Alignment = alignof(StringMapEntry);
163
80.7k
164
80.7k
    StringMapEntry *NewItem =
165
80.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
80.7k
    assert(NewItem && "Unhandled out-of-memory");
167
80.7k
168
80.7k
    // Construct the value.
169
80.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
80.7k
171
80.7k
    // Copy the string information.
172
80.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
80.7k
    if (KeyLength > 0)
174
80.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
80.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
80.7k
    return NewItem;
177
80.7k
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
80.7k
                                InitTy &&... InitVals) {
157
80.7k
    size_t KeyLength = Key.size();
158
80.7k
159
80.7k
    // Allocate a new item with space for the string at the end and a null
160
80.7k
    // terminator.
161
80.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
80.7k
    size_t Alignment = alignof(StringMapEntry);
163
80.7k
164
80.7k
    StringMapEntry *NewItem =
165
80.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
80.7k
    assert(NewItem && "Unhandled out-of-memory");
167
80.7k
168
80.7k
    // Construct the value.
169
80.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
80.7k
171
80.7k
    // Copy the string information.
172
80.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
80.7k
    if (KeyLength > 0)
174
80.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
80.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
80.7k
    return NewItem;
177
80.7k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
8.73k
                                InitTy &&... InitVals) {
157
8.73k
    size_t KeyLength = Key.size();
158
8.73k
159
8.73k
    // Allocate a new item with space for the string at the end and a null
160
8.73k
    // terminator.
161
8.73k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
8.73k
    size_t Alignment = alignof(StringMapEntry);
163
8.73k
164
8.73k
    StringMapEntry *NewItem =
165
8.73k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
8.73k
    assert(NewItem && "Unhandled out-of-memory");
167
8.73k
168
8.73k
    // Construct the value.
169
8.73k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
8.73k
171
8.73k
    // Copy the string information.
172
8.73k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
8.73k
    if (KeyLength > 0)
174
7.53k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
8.73k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
8.73k
    return NewItem;
177
8.73k
  }
AArch64AsmParser.cpp:llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >* llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::Create<llvm::MallocAllocator, std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::pair<(anonymous namespace)::RegKind, unsigned int>&&)
Line
Count
Source
156
17
                                InitTy &&... InitVals) {
157
17
    size_t KeyLength = Key.size();
158
17
159
17
    // Allocate a new item with space for the string at the end and a null
160
17
    // terminator.
161
17
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
17
    size_t Alignment = alignof(StringMapEntry);
163
17
164
17
    StringMapEntry *NewItem =
165
17
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
17
    assert(NewItem && "Unhandled out-of-memory");
167
17
168
17
    // Construct the value.
169
17
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
17
171
17
    // Copy the string information.
172
17
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
17
    if (KeyLength > 0)
174
17
      memcpy(StrBuffer, Key.data(), KeyLength);
175
17
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
17
    return NewItem;
177
17
  }
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >* llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
60.0k
                                InitTy &&... InitVals) {
157
60.0k
    size_t KeyLength = Key.size();
158
60.0k
159
60.0k
    // Allocate a new item with space for the string at the end and a null
160
60.0k
    // terminator.
161
60.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
60.0k
    size_t Alignment = alignof(StringMapEntry);
163
60.0k
164
60.0k
    StringMapEntry *NewItem =
165
60.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
60.0k
    assert(NewItem && "Unhandled out-of-memory");
167
60.0k
168
60.0k
    // Construct the value.
169
60.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
60.0k
171
60.0k
    // Copy the string information.
172
60.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
60.0k
    if (KeyLength > 0)
174
60.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
60.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
60.0k
    return NewItem;
177
60.0k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.35M
                                InitTy &&... InitVals) {
157
3.35M
    size_t KeyLength = Key.size();
158
3.35M
159
3.35M
    // Allocate a new item with space for the string at the end and a null
160
3.35M
    // terminator.
161
3.35M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.35M
    size_t Alignment = alignof(StringMapEntry);
163
3.35M
164
3.35M
    StringMapEntry *NewItem =
165
3.35M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.35M
    assert(NewItem && "Unhandled out-of-memory");
167
3.35M
168
3.35M
    // Construct the value.
169
3.35M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.35M
171
3.35M
    // Copy the string information.
172
3.35M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.35M
    if (KeyLength > 0)
174
3.35M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.35M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.35M
    return NewItem;
177
3.35M
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator, int>(llvm::StringRef, llvm::MallocAllocator&, int&&)
Line
Count
Source
156
19.1M
                                InitTy &&... InitVals) {
157
19.1M
    size_t KeyLength = Key.size();
158
19.1M
159
19.1M
    // Allocate a new item with space for the string at the end and a null
160
19.1M
    // terminator.
161
19.1M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
19.1M
    size_t Alignment = alignof(StringMapEntry);
163
19.1M
164
19.1M
    StringMapEntry *NewItem =
165
19.1M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
19.1M
    assert(NewItem && "Unhandled out-of-memory");
167
19.1M
168
19.1M
    // Construct the value.
169
19.1M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
19.1M
171
19.1M
    // Copy the string information.
172
19.1M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
19.1M
    if (KeyLength > 0)
174
19.0M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
19.1M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
19.1M
    return NewItem;
177
19.1M
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
290
                                InitTy &&... InitVals) {
157
290
    size_t KeyLength = Key.size();
158
290
159
290
    // Allocate a new item with space for the string at the end and a null
160
290
    // terminator.
161
290
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
290
    size_t Alignment = alignof(StringMapEntry);
163
290
164
290
    StringMapEntry *NewItem =
165
290
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
290
    assert(NewItem && "Unhandled out-of-memory");
167
290
168
290
    // Construct the value.
169
290
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
290
171
290
    // Copy the string information.
172
290
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
290
    if (KeyLength > 0)
174
290
      memcpy(StrBuffer, Key.data(), KeyLength);
175
290
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
290
    return NewItem;
177
290
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.79k
                                InitTy &&... InitVals) {
157
2.79k
    size_t KeyLength = Key.size();
158
2.79k
159
2.79k
    // Allocate a new item with space for the string at the end and a null
160
2.79k
    // terminator.
161
2.79k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.79k
    size_t Alignment = alignof(StringMapEntry);
163
2.79k
164
2.79k
    StringMapEntry *NewItem =
165
2.79k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.79k
    assert(NewItem && "Unhandled out-of-memory");
167
2.79k
168
2.79k
    // Construct the value.
169
2.79k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.79k
171
2.79k
    // Copy the string information.
172
2.79k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.79k
    if (KeyLength > 0)
174
2.79k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.79k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.79k
    return NewItem;
177
2.79k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char>(llvm::StringRef, llvm::MallocAllocator&, char&&)
Line
Count
Source
156
883k
                                InitTy &&... InitVals) {
157
883k
    size_t KeyLength = Key.size();
158
883k
159
883k
    // Allocate a new item with space for the string at the end and a null
160
883k
    // terminator.
161
883k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
883k
    size_t Alignment = alignof(StringMapEntry);
163
883k
164
883k
    StringMapEntry *NewItem =
165
883k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
883k
    assert(NewItem && "Unhandled out-of-memory");
167
883k
168
883k
    // Construct the value.
169
883k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
883k
171
883k
    // Copy the string information.
172
883k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
883k
    if (KeyLength > 0)
174
883k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
883k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
883k
    return NewItem;
177
883k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
4.87k
                                InitTy &&... InitVals) {
157
4.87k
    size_t KeyLength = Key.size();
158
4.87k
159
4.87k
    // Allocate a new item with space for the string at the end and a null
160
4.87k
    // terminator.
161
4.87k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.87k
    size_t Alignment = alignof(StringMapEntry);
163
4.87k
164
4.87k
    StringMapEntry *NewItem =
165
4.87k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.87k
    assert(NewItem && "Unhandled out-of-memory");
167
4.87k
168
4.87k
    // Construct the value.
169
4.87k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.87k
171
4.87k
    // Copy the string information.
172
4.87k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.87k
    if (KeyLength > 0)
174
3.25k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.87k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.87k
    return NewItem;
177
4.87k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&)
Line
Count
Source
156
54.1M
                                InitTy &&... InitVals) {
157
54.1M
    size_t KeyLength = Key.size();
158
54.1M
159
54.1M
    // Allocate a new item with space for the string at the end and a null
160
54.1M
    // terminator.
161
54.1M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
54.1M
    size_t Alignment = alignof(StringMapEntry);
163
54.1M
164
54.1M
    StringMapEntry *NewItem =
165
54.1M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
54.1M
    assert(NewItem && "Unhandled out-of-memory");
167
54.1M
168
54.1M
    // Construct the value.
169
54.1M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
54.1M
171
54.1M
    // Copy the string information.
172
54.1M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
54.1M
    if (KeyLength > 0)
174
54.0M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
54.1M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
54.1M
    return NewItem;
177
54.1M
  }
llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >* llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
19
                                InitTy &&... InitVals) {
157
19
    size_t KeyLength = Key.size();
158
19
159
19
    // Allocate a new item with space for the string at the end and a null
160
19
    // terminator.
161
19
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
19
    size_t Alignment = alignof(StringMapEntry);
163
19
164
19
    StringMapEntry *NewItem =
165
19
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
19
    assert(NewItem && "Unhandled out-of-memory");
167
19
168
19
    // Construct the value.
169
19
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
19
171
19
    // Copy the string information.
172
19
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
19
    if (KeyLength > 0)
174
19
      memcpy(StrBuffer, Key.data(), KeyLength);
175
19
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
19
    return NewItem;
177
19
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.00k
                                InitTy &&... InitVals) {
157
1.00k
    size_t KeyLength = Key.size();
158
1.00k
159
1.00k
    // Allocate a new item with space for the string at the end and a null
160
1.00k
    // terminator.
161
1.00k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.00k
    size_t Alignment = alignof(StringMapEntry);
163
1.00k
164
1.00k
    StringMapEntry *NewItem =
165
1.00k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.00k
    assert(NewItem && "Unhandled out-of-memory");
167
1.00k
168
1.00k
    // Construct the value.
169
1.00k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.00k
171
1.00k
    // Copy the string information.
172
1.00k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.00k
    if (KeyLength > 0)
174
491
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.00k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.00k
    return NewItem;
177
1.00k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.01k
                                InitTy &&... InitVals) {
157
2.01k
    size_t KeyLength = Key.size();
158
2.01k
159
2.01k
    // Allocate a new item with space for the string at the end and a null
160
2.01k
    // terminator.
161
2.01k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.01k
    size_t Alignment = alignof(StringMapEntry);
163
2.01k
164
2.01k
    StringMapEntry *NewItem =
165
2.01k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.01k
    assert(NewItem && "Unhandled out-of-memory");
167
2.01k
168
2.01k
    // Construct the value.
169
2.01k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.01k
171
2.01k
    // Copy the string information.
172
2.01k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.01k
    if (KeyLength > 0)
174
1.60k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.01k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.01k
    return NewItem;
177
2.01k
  }
llvm::StringMapEntry<llvm::AsmToken>* llvm::StringMapEntry<llvm::AsmToken>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1
                                InitTy &&... InitVals) {
157
1
    size_t KeyLength = Key.size();
158
1
159
1
    // Allocate a new item with space for the string at the end and a null
160
1
    // terminator.
161
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1
    size_t Alignment = alignof(StringMapEntry);
163
1
164
1
    StringMapEntry *NewItem =
165
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1
    assert(NewItem && "Unhandled out-of-memory");
167
1
168
1
    // Construct the value.
169
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1
171
1
    // Copy the string information.
172
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1
    if (KeyLength > 0)
174
1
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1
    return NewItem;
177
1
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.71k
                                InitTy &&... InitVals) {
157
1.71k
    size_t KeyLength = Key.size();
158
1.71k
159
1.71k
    // Allocate a new item with space for the string at the end and a null
160
1.71k
    // terminator.
161
1.71k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.71k
    size_t Alignment = alignof(StringMapEntry);
163
1.71k
164
1.71k
    StringMapEntry *NewItem =
165
1.71k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.71k
    assert(NewItem && "Unhandled out-of-memory");
167
1.71k
168
1.71k
    // Construct the value.
169
1.71k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.71k
171
1.71k
    // Copy the string information.
172
1.71k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.71k
    if (KeyLength > 0)
174
1.70k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.71k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.71k
    return NewItem;
177
1.71k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
194
                                InitTy &&... InitVals) {
157
194
    size_t KeyLength = Key.size();
158
194
159
194
    // Allocate a new item with space for the string at the end and a null
160
194
    // terminator.
161
194
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
194
    size_t Alignment = alignof(StringMapEntry);
163
194
164
194
    StringMapEntry *NewItem =
165
194
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
194
    assert(NewItem && "Unhandled out-of-memory");
167
194
168
194
    // Construct the value.
169
194
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
194
171
194
    // Copy the string information.
172
194
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
194
    if (KeyLength > 0)
174
58
      memcpy(StrBuffer, Key.data(), KeyLength);
175
194
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
194
    return NewItem;
177
194
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
290
                                InitTy &&... InitVals) {
157
290
    size_t KeyLength = Key.size();
158
290
159
290
    // Allocate a new item with space for the string at the end and a null
160
290
    // terminator.
161
290
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
290
    size_t Alignment = alignof(StringMapEntry);
163
290
164
290
    StringMapEntry *NewItem =
165
290
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
290
    assert(NewItem && "Unhandled out-of-memory");
167
290
168
290
    // Construct the value.
169
290
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
290
171
290
    // Copy the string information.
172
290
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
290
    if (KeyLength > 0)
174
290
      memcpy(StrBuffer, Key.data(), KeyLength);
175
290
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
290
    return NewItem;
177
290
  }
llvm::StringMapEntry<llvm::RTLIB::Libcall>* llvm::StringMapEntry<llvm::RTLIB::Libcall>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.96k
                                InitTy &&... InitVals) {
157
2.96k
    size_t KeyLength = Key.size();
158
2.96k
159
2.96k
    // Allocate a new item with space for the string at the end and a null
160
2.96k
    // terminator.
161
2.96k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.96k
    size_t Alignment = alignof(StringMapEntry);
163
2.96k
164
2.96k
    StringMapEntry *NewItem =
165
2.96k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.96k
    assert(NewItem && "Unhandled out-of-memory");
167
2.96k
168
2.96k
    // Construct the value.
169
2.96k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.96k
171
2.96k
    // Copy the string information.
172
2.96k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.96k
    if (KeyLength > 0)
174
2.96k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.96k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.96k
    return NewItem;
177
2.96k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
323
                                InitTy &&... InitVals) {
157
323
    size_t KeyLength = Key.size();
158
323
159
323
    // Allocate a new item with space for the string at the end and a null
160
323
    // terminator.
161
323
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
323
    size_t Alignment = alignof(StringMapEntry);
163
323
164
323
    StringMapEntry *NewItem =
165
323
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
323
    assert(NewItem && "Unhandled out-of-memory");
167
323
168
323
    // Construct the value.
169
323
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
323
171
323
    // Copy the string information.
172
323
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
323
    if (KeyLength > 0)
174
69
      memcpy(StrBuffer, Key.data(), KeyLength);
175
323
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
323
    return NewItem;
177
323
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator, unsigned long long&>(llvm::StringRef, llvm::MallocAllocator&, unsigned long long&&&)
Line
Count
Source
156
195
                                InitTy &&... InitVals) {
157
195
    size_t KeyLength = Key.size();
158
195
159
195
    // Allocate a new item with space for the string at the end and a null
160
195
    // terminator.
161
195
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
195
    size_t Alignment = alignof(StringMapEntry);
163
195
164
195
    StringMapEntry *NewItem =
165
195
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
195
    assert(NewItem && "Unhandled out-of-memory");
167
195
168
195
    // Construct the value.
169
195
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
195
171
195
    // Copy the string information.
172
195
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
195
    if (KeyLength > 0)
174
195
      memcpy(StrBuffer, Key.data(), KeyLength);
175
195
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
195
    return NewItem;
177
195
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
542
                                InitTy &&... InitVals) {
157
542
    size_t KeyLength = Key.size();
158
542
159
542
    // Allocate a new item with space for the string at the end and a null
160
542
    // terminator.
161
542
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
542
    size_t Alignment = alignof(StringMapEntry);
163
542
164
542
    StringMapEntry *NewItem =
165
542
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
542
    assert(NewItem && "Unhandled out-of-memory");
167
542
168
542
    // Construct the value.
169
542
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
542
171
542
    // Copy the string information.
172
542
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
542
    if (KeyLength > 0)
174
538
      memcpy(StrBuffer, Key.data(), KeyLength);
175
542
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
542
    return NewItem;
177
542
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
14.7k
                                InitTy &&... InitVals) {
157
14.7k
    size_t KeyLength = Key.size();
158
14.7k
159
14.7k
    // Allocate a new item with space for the string at the end and a null
160
14.7k
    // terminator.
161
14.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14.7k
    size_t Alignment = alignof(StringMapEntry);
163
14.7k
164
14.7k
    StringMapEntry *NewItem =
165
14.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14.7k
    assert(NewItem && "Unhandled out-of-memory");
167
14.7k
168
14.7k
    // Construct the value.
169
14.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14.7k
171
14.7k
    // Copy the string information.
172
14.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14.7k
    if (KeyLength > 0)
174
10.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14.7k
    return NewItem;
177
14.7k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::TargetLibraryInfoImpl, std::__1::default_delete<llvm::TargetLibraryInfoImpl> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1.19k
                                InitTy &&... InitVals) {
157
1.19k
    size_t KeyLength = Key.size();
158
1.19k
159
1.19k
    // Allocate a new item with space for the string at the end and a null
160
1.19k
    // terminator.
161
1.19k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.19k
    size_t Alignment = alignof(StringMapEntry);
163
1.19k
164
1.19k
    StringMapEntry *NewItem =
165
1.19k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.19k
    assert(NewItem && "Unhandled out-of-memory");
167
1.19k
168
1.19k
    // Construct the value.
169
1.19k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.19k
171
1.19k
    // Copy the string information.
172
1.19k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.19k
    if (KeyLength > 0)
174
1.19k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.19k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.19k
    return NewItem;
177
1.19k
  }
llvm::StringMapEntry<llvm::GCStrategy*>* llvm::StringMapEntry<llvm::GCStrategy*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
25
                                InitTy &&... InitVals) {
157
25
    size_t KeyLength = Key.size();
158
25
159
25
    // Allocate a new item with space for the string at the end and a null
160
25
    // terminator.
161
25
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
25
    size_t Alignment = alignof(StringMapEntry);
163
25
164
25
    StringMapEntry *NewItem =
165
25
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
25
    assert(NewItem && "Unhandled out-of-memory");
167
25
168
25
    // Construct the value.
169
25
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
25
171
25
    // Copy the string information.
172
25
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
25
    if (KeyLength > 0)
174
25
      memcpy(StrBuffer, Key.data(), KeyLength);
175
25
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
25
    return NewItem;
177
25
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
614
                                InitTy &&... InitVals) {
157
614
    size_t KeyLength = Key.size();
158
614
159
614
    // Allocate a new item with space for the string at the end and a null
160
614
    // terminator.
161
614
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
614
    size_t Alignment = alignof(StringMapEntry);
163
614
164
614
    StringMapEntry *NewItem =
165
614
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
614
    assert(NewItem && "Unhandled out-of-memory");
167
614
168
614
    // Construct the value.
169
614
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
614
171
614
    // Copy the string information.
172
614
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
614
    if (KeyLength > 0)
174
614
      memcpy(StrBuffer, Key.data(), KeyLength);
175
614
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
614
    return NewItem;
177
614
  }
llvm::StringMapEntry<llvm::ConstantDataSequential*>* llvm::StringMapEntry<llvm::ConstantDataSequential*>::Create<llvm::MallocAllocator, llvm::ConstantDataSequential*>(llvm::StringRef, llvm::MallocAllocator&, llvm::ConstantDataSequential*&&)
Line
Count
Source
156
486k
                                InitTy &&... InitVals) {
157
486k
    size_t KeyLength = Key.size();
158
486k
159
486k
    // Allocate a new item with space for the string at the end and a null
160
486k
    // terminator.
161
486k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
486k
    size_t Alignment = alignof(StringMapEntry);
163
486k
164
486k
    StringMapEntry *NewItem =
165
486k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
486k
    assert(NewItem && "Unhandled out-of-memory");
167
486k
168
486k
    // Construct the value.
169
486k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
486k
171
486k
    // Copy the string information.
172
486k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
486k
    if (KeyLength > 0)
174
486k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
486k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
486k
    return NewItem;
177
486k
  }
llvm::StringMapEntry<unsigned char>* llvm::StringMapEntry<unsigned char>::Create<llvm::MallocAllocator, unsigned char>(llvm::StringRef, llvm::MallocAllocator&, unsigned char&&)
Line
Count
Source
156
200k
                                InitTy &&... InitVals) {
157
200k
    size_t KeyLength = Key.size();
158
200k
159
200k
    // Allocate a new item with space for the string at the end and a null
160
200k
    // terminator.
161
200k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
200k
    size_t Alignment = alignof(StringMapEntry);
163
200k
164
200k
    StringMapEntry *NewItem =
165
200k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
200k
    assert(NewItem && "Unhandled out-of-memory");
167
200k
168
200k
    // Construct the value.
169
200k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
200k
171
200k
    // Copy the string information.
172
200k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
200k
    if (KeyLength > 0)
174
103k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
200k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
200k
    return NewItem;
177
200k
  }
llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >* llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
155
                                InitTy &&... InitVals) {
157
155
    size_t KeyLength = Key.size();
158
155
159
155
    // Allocate a new item with space for the string at the end and a null
160
155
    // terminator.
161
155
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
155
    size_t Alignment = alignof(StringMapEntry);
163
155
164
155
    StringMapEntry *NewItem =
165
155
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
155
    assert(NewItem && "Unhandled out-of-memory");
167
155
168
155
    // Construct the value.
169
155
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
155
171
155
    // Copy the string information.
172
155
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
155
    if (KeyLength > 0)
174
155
      memcpy(StrBuffer, Key.data(), KeyLength);
175
155
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
155
    return NewItem;
177
155
  }
llvm::StringMapEntry<llvm::MDString>* llvm::StringMapEntry<llvm::MDString>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
417k
                                InitTy &&... InitVals) {
157
417k
    size_t KeyLength = Key.size();
158
417k
159
417k
    // Allocate a new item with space for the string at the end and a null
160
417k
    // terminator.
161
417k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
417k
    size_t Alignment = alignof(StringMapEntry);
163
417k
164
417k
    StringMapEntry *NewItem =
165
417k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
417k
    assert(NewItem && "Unhandled out-of-memory");
167
417k
168
417k
    // Construct the value.
169
417k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
417k
171
417k
    // Copy the string information.
172
417k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
417k
    if (KeyLength > 0)
174
412k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
417k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
417k
    return NewItem;
177
417k
  }
llvm::StringMapEntry<llvm::NamedMDNode*>* llvm::StringMapEntry<llvm::NamedMDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
57.2k
                                InitTy &&... InitVals) {
157
57.2k
    size_t KeyLength = Key.size();
158
57.2k
159
57.2k
    // Allocate a new item with space for the string at the end and a null
160
57.2k
    // terminator.
161
57.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
57.2k
    size_t Alignment = alignof(StringMapEntry);
163
57.2k
164
57.2k
    StringMapEntry *NewItem =
165
57.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
57.2k
    assert(NewItem && "Unhandled out-of-memory");
167
57.2k
168
57.2k
    // Construct the value.
169
57.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
57.2k
171
57.2k
    // Copy the string information.
172
57.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
57.2k
    if (KeyLength > 0)
174
57.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
57.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
57.2k
    return NewItem;
177
57.2k
  }
llvm::StringMapEntry<llvm::Comdat>* llvm::StringMapEntry<llvm::Comdat>::Create<llvm::MallocAllocator, llvm::Comdat>(llvm::StringRef, llvm::MallocAllocator&, llvm::Comdat&&)
Line
Count
Source
156
31.0k
                                InitTy &&... InitVals) {
157
31.0k
    size_t KeyLength = Key.size();
158
31.0k
159
31.0k
    // Allocate a new item with space for the string at the end and a null
160
31.0k
    // terminator.
161
31.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
31.0k
    size_t Alignment = alignof(StringMapEntry);
163
31.0k
164
31.0k
    StringMapEntry *NewItem =
165
31.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
31.0k
    assert(NewItem && "Unhandled out-of-memory");
167
31.0k
168
31.0k
    // Construct the value.
169
31.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
31.0k
171
31.0k
    // Copy the string information.
172
31.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
31.0k
    if (KeyLength > 0)
174
31.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
31.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
31.0k
    return NewItem;
177
31.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
156
644
                                InitTy &&... InitVals) {
157
644
    size_t KeyLength = Key.size();
158
644
159
644
    // Allocate a new item with space for the string at the end and a null
160
644
    // terminator.
161
644
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
644
    size_t Alignment = alignof(StringMapEntry);
163
644
164
644
    StringMapEntry *NewItem =
165
644
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
644
    assert(NewItem && "Unhandled out-of-memory");
167
644
168
644
    // Construct the value.
169
644
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
644
171
644
    // Copy the string information.
172
644
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
644
    if (KeyLength > 0)
174
616
      memcpy(StrBuffer, Key.data(), KeyLength);
175
644
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
644
    return NewItem;
177
644
  }
llvm::StringMapEntry<llvm::PassInfo const*>* llvm::StringMapEntry<llvm::PassInfo const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
28.6M
                                InitTy &&... InitVals) {
157
28.6M
    size_t KeyLength = Key.size();
158
28.6M
159
28.6M
    // Allocate a new item with space for the string at the end and a null
160
28.6M
    // terminator.
161
28.6M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
28.6M
    size_t Alignment = alignof(StringMapEntry);
163
28.6M
164
28.6M
    StringMapEntry *NewItem =
165
28.6M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
28.6M
    assert(NewItem && "Unhandled out-of-memory");
167
28.6M
168
28.6M
    // Construct the value.
169
28.6M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
28.6M
171
28.6M
    // Copy the string information.
172
28.6M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
28.6M
    if (KeyLength > 0)
174
28.6M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
28.6M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
28.6M
    return NewItem;
177
28.6M
  }
llvm::StringMapEntry<llvm::StructType*>* llvm::StringMapEntry<llvm::StructType*>::Create<llvm::MallocAllocator, llvm::StructType*>(llvm::StringRef, llvm::MallocAllocator&, llvm::StructType*&&)
Line
Count
Source
156
240k
                                InitTy &&... InitVals) {
157
240k
    size_t KeyLength = Key.size();
158
240k
159
240k
    // Allocate a new item with space for the string at the end and a null
160
240k
    // terminator.
161
240k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
240k
    size_t Alignment = alignof(StringMapEntry);
163
240k
164
240k
    StringMapEntry *NewItem =
165
240k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
240k
    assert(NewItem && "Unhandled out-of-memory");
167
240k
168
240k
    // Construct the value.
169
240k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
240k
171
240k
    // Copy the string information.
172
240k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
240k
    if (KeyLength > 0)
174
240k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
240k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
240k
    return NewItem;
177
240k
  }
llvm::StringMapEntry<llvm::Value*>* llvm::StringMapEntry<llvm::Value*>::Create<llvm::MallocAllocator, llvm::Value*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Value*&&)
Line
Count
Source
156
16.9M
                                InitTy &&... InitVals) {
157
16.9M
    size_t KeyLength = Key.size();
158
16.9M
159
16.9M
    // Allocate a new item with space for the string at the end and a null
160
16.9M
    // terminator.
161
16.9M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
16.9M
    size_t Alignment = alignof(StringMapEntry);
163
16.9M
164
16.9M
    StringMapEntry *NewItem =
165
16.9M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
16.9M
    assert(NewItem && "Unhandled out-of-memory");
167
16.9M
168
16.9M
    // Construct the value.
169
16.9M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
16.9M
171
16.9M
    // Copy the string information.
172
16.9M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
16.9M
    if (KeyLength > 0)
174
16.9M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
16.9M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
16.9M
    return NewItem;
177
16.9M
  }
llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >* llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
603
                                InitTy &&... InitVals) {
157
603
    size_t KeyLength = Key.size();
158
603
159
603
    // Allocate a new item with space for the string at the end and a null
160
603
    // terminator.
161
603
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
603
    size_t Alignment = alignof(StringMapEntry);
163
603
164
603
    StringMapEntry *NewItem =
165
603
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
603
    assert(NewItem && "Unhandled out-of-memory");
167
603
168
603
    // Construct the value.
169
603
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
603
171
603
    // Copy the string information.
172
603
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
603
    if (KeyLength > 0)
174
603
      memcpy(StrBuffer, Key.data(), KeyLength);
175
603
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
603
    return NewItem;
177
603
  }
llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringMap<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> >, llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
481
                                InitTy &&... InitVals) {
157
481
    size_t KeyLength = Key.size();
158
481
159
481
    // Allocate a new item with space for the string at the end and a null
160
481
    // terminator.
161
481
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
481
    size_t Alignment = alignof(StringMapEntry);
163
481
164
481
    StringMapEntry *NewItem =
165
481
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
481
    assert(NewItem && "Unhandled out-of-memory");
167
481
168
481
    // Construct the value.
169
481
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
481
171
481
    // Copy the string information.
172
481
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
481
    if (KeyLength > 0)
174
466
      memcpy(StrBuffer, Key.data(), KeyLength);
175
481
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
481
    return NewItem;
177
481
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::MallocAllocator, char&>(llvm::StringRef, llvm::MallocAllocator&, char&&&)
Line
Count
Source
156
7.99k
                                InitTy &&... InitVals) {
157
7.99k
    size_t KeyLength = Key.size();
158
7.99k
159
7.99k
    // Allocate a new item with space for the string at the end and a null
160
7.99k
    // terminator.
161
7.99k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
7.99k
    size_t Alignment = alignof(StringMapEntry);
163
7.99k
164
7.99k
    StringMapEntry *NewItem =
165
7.99k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
7.99k
    assert(NewItem && "Unhandled out-of-memory");
167
7.99k
168
7.99k
    // Construct the value.
169
7.99k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
7.99k
171
7.99k
    // Copy the string information.
172
7.99k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
7.99k
    if (KeyLength > 0)
174
7.99k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
7.99k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
7.99k
    return NewItem;
177
7.99k
  }
llvm::StringMapEntry<llvm::Function*>* llvm::StringMapEntry<llvm::Function*>::Create<llvm::MallocAllocator, llvm::Function*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Function*&&)
Line
Count
Source
156
23
                                InitTy &&... InitVals) {
157
23
    size_t KeyLength = Key.size();
158
23
159
23
    // Allocate a new item with space for the string at the end and a null
160
23
    // terminator.
161
23
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
23
    size_t Alignment = alignof(StringMapEntry);
163
23
164
23
    StringMapEntry *NewItem =
165
23
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
23
    assert(NewItem && "Unhandled out-of-memory");
167
23
168
23
    // Construct the value.
169
23
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
23
171
23
    // Copy the string information.
172
23
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
23
    if (KeyLength > 0)
174
23
      memcpy(StrBuffer, Key.data(), KeyLength);
175
23
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
23
    return NewItem;
177
23
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
889k
                                InitTy &&... InitVals) {
157
889k
    size_t KeyLength = Key.size();
158
889k
159
889k
    // Allocate a new item with space for the string at the end and a null
160
889k
    // terminator.
161
889k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
889k
    size_t Alignment = alignof(StringMapEntry);
163
889k
164
889k
    StringMapEntry *NewItem =
165
889k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
889k
    assert(NewItem && "Unhandled out-of-memory");
167
889k
168
889k
    // Construct the value.
169
889k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
889k
171
889k
    // Copy the string information.
172
889k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
889k
    if (KeyLength > 0)
174
889k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
889k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
889k
    return NewItem;
177
889k
  }
GCOVProfiling.cpp:llvm::StringMapEntry<(anonymous namespace)::GCOVLines>* llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::Create<llvm::MallocAllocator, llvm::StringRef&, llvm::raw_ostream*&>(llvm::StringRef, llvm::MallocAllocator&, llvm::StringRef&&&, llvm::raw_ostream*&&&)
Line
Count
Source
156
84
                                InitTy &&... InitVals) {
157
84
    size_t KeyLength = Key.size();
158
84
159
84
    // Allocate a new item with space for the string at the end and a null
160
84
    // terminator.
161
84
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
84
    size_t Alignment = alignof(StringMapEntry);
163
84
164
84
    StringMapEntry *NewItem =
165
84
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
84
    assert(NewItem && "Unhandled out-of-memory");
167
84
168
84
    // Construct the value.
169
84
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
84
171
84
    // Copy the string information.
172
84
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
84
    if (KeyLength > 0)
174
84
      memcpy(StrBuffer, Key.data(), KeyLength);
175
84
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
84
    return NewItem;
177
84
  }
llvm::StringMapEntry<llvm::MCSymbol*>* llvm::StringMapEntry<llvm::MCSymbol*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
4.24M
                                InitTy &&... InitVals) {
157
4.24M
    size_t KeyLength = Key.size();
158
4.24M
159
4.24M
    // Allocate a new item with space for the string at the end and a null
160
4.24M
    // terminator.
161
4.24M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.24M
    size_t Alignment = alignof(StringMapEntry);
163
4.24M
164
4.24M
    StringMapEntry *NewItem =
165
4.24M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.24M
    assert(NewItem && "Unhandled out-of-memory");
167
4.24M
168
4.24M
    // Construct the value.
169
4.24M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.24M
171
4.24M
    // Copy the string information.
172
4.24M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.24M
    if (KeyLength > 0)
174
4.24M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.24M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.24M
    return NewItem;
177
4.24M
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, bool>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, bool&&)
Line
Count
Source
156
4.64M
                                InitTy &&... InitVals) {
157
4.64M
    size_t KeyLength = Key.size();
158
4.64M
159
4.64M
    // Allocate a new item with space for the string at the end and a null
160
4.64M
    // terminator.
161
4.64M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.64M
    size_t Alignment = alignof(StringMapEntry);
163
4.64M
164
4.64M
    StringMapEntry *NewItem =
165
4.64M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.64M
    assert(NewItem && "Unhandled out-of-memory");
167
4.64M
168
4.64M
    // Construct the value.
169
4.64M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.64M
171
4.64M
    // Copy the string information.
172
4.64M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.64M
    if (KeyLength > 0)
174
4.64M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.64M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.64M
    return NewItem;
177
4.64M
  }
llvm::StringMapEntry<llvm::MCSectionMachO*>* llvm::StringMapEntry<llvm::MCSectionMachO*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
860k
                                InitTy &&... InitVals) {
157
860k
    size_t KeyLength = Key.size();
158
860k
159
860k
    // Allocate a new item with space for the string at the end and a null
160
860k
    // terminator.
161
860k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
860k
    size_t Alignment = alignof(StringMapEntry);
163
860k
164
860k
    StringMapEntry *NewItem =
165
860k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
860k
    assert(NewItem && "Unhandled out-of-memory");
167
860k
168
860k
    // Construct the value.
169
860k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
860k
171
860k
    // Copy the string information.
172
860k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
860k
    if (KeyLength > 0)
174
860k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
860k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
860k
    return NewItem;
177
860k
  }
llvm::StringMapEntry<bool>* llvm::StringMapEntry<bool>::Create<llvm::MallocAllocator, bool>(llvm::StringRef, llvm::MallocAllocator&, bool&&)
Line
Count
Source
156
4.25k
                                InitTy &&... InitVals) {
157
4.25k
    size_t KeyLength = Key.size();
158
4.25k
159
4.25k
    // Allocate a new item with space for the string at the end and a null
160
4.25k
    // terminator.
161
4.25k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
4.25k
    size_t Alignment = alignof(StringMapEntry);
163
4.25k
164
4.25k
    StringMapEntry *NewItem =
165
4.25k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
4.25k
    assert(NewItem && "Unhandled out-of-memory");
167
4.25k
168
4.25k
    // Construct the value.
169
4.25k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
4.25k
171
4.25k
    // Copy the string information.
172
4.25k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
4.25k
    if (KeyLength > 0)
174
4.25k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
4.25k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
4.25k
    return NewItem;
177
4.25k
  }
AsmParser.cpp:llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>* llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.01M
                                InitTy &&... InitVals) {
157
3.01M
    size_t KeyLength = Key.size();
158
3.01M
159
3.01M
    // Allocate a new item with space for the string at the end and a null
160
3.01M
    // terminator.
161
3.01M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.01M
    size_t Alignment = alignof(StringMapEntry);
163
3.01M
164
3.01M
    StringMapEntry *NewItem =
165
3.01M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.01M
    assert(NewItem && "Unhandled out-of-memory");
167
3.01M
168
3.01M
    // Construct the value.
169
3.01M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.01M
171
3.01M
    // Copy the string information.
172
3.01M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.01M
    if (KeyLength > 0)
174
3.01M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.01M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.01M
    return NewItem;
177
3.01M
  }
llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >* llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
711k
                                InitTy &&... InitVals) {
157
711k
    size_t KeyLength = Key.size();
158
711k
159
711k
    // Allocate a new item with space for the string at the end and a null
160
711k
    // terminator.
161
711k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
711k
    size_t Alignment = alignof(StringMapEntry);
163
711k
164
711k
    StringMapEntry *NewItem =
165
711k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
711k
    assert(NewItem && "Unhandled out-of-memory");
167
711k
168
711k
    // Construct the value.
169
711k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
711k
171
711k
    // Copy the string information.
172
711k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
711k
    if (KeyLength > 0)
174
711k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
711k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
711k
    return NewItem;
177
711k
  }
llvm::StringMapEntry<llvm::MCAsmMacro>* llvm::StringMapEntry<llvm::MCAsmMacro>::Create<llvm::MallocAllocator, llvm::MCAsmMacro>(llvm::StringRef, llvm::MallocAllocator&, llvm::MCAsmMacro&&)
Line
Count
Source
156
239
                                InitTy &&... InitVals) {
157
239
    size_t KeyLength = Key.size();
158
239
159
239
    // Allocate a new item with space for the string at the end and a null
160
239
    // terminator.
161
239
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
239
    size_t Alignment = alignof(StringMapEntry);
163
239
164
239
    StringMapEntry *NewItem =
165
239
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
239
    assert(NewItem && "Unhandled out-of-memory");
167
239
168
239
    // Construct the value.
169
239
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
239
171
239
    // Copy the string information.
172
239
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
239
    if (KeyLength > 0)
174
239
      memcpy(StrBuffer, Key.data(), KeyLength);
175
239
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
239
    return NewItem;
177
239
  }
llvm::StringMapEntry<llvm::cl::Option*>* llvm::StringMapEntry<llvm::cl::Option*>::Create<llvm::MallocAllocator, llvm::cl::Option*>(llvm::StringRef, llvm::MallocAllocator&, llvm::cl::Option*&&)
Line
Count
Source
156
139M
                                InitTy &&... InitVals) {
157
139M
    size_t KeyLength = Key.size();
158
139M
159
139M
    // Allocate a new item with space for the string at the end and a null
160
139M
    // terminator.
161
139M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
139M
    size_t Alignment = alignof(StringMapEntry);
163
139M
164
139M
    StringMapEntry *NewItem =
165
139M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
139M
    assert(NewItem && "Unhandled out-of-memory");
167
139M
168
139M
    // Construct the value.
169
139M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
139M
171
139M
    // Copy the string information.
172
139M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
139M
    if (KeyLength > 0)
174
139M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
139M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
139M
    return NewItem;
177
139M
  }
llvm::StringMapEntry<unsigned long>* llvm::StringMapEntry<unsigned long>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
32.7k
                                InitTy &&... InitVals) {
157
32.7k
    size_t KeyLength = Key.size();
158
32.7k
159
32.7k
    // Allocate a new item with space for the string at the end and a null
160
32.7k
    // terminator.
161
32.7k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
32.7k
    size_t Alignment = alignof(StringMapEntry);
163
32.7k
164
32.7k
    StringMapEntry *NewItem =
165
32.7k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
32.7k
    assert(NewItem && "Unhandled out-of-memory");
167
32.7k
168
32.7k
    // Construct the value.
169
32.7k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
32.7k
171
32.7k
    // Copy the string information.
172
32.7k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
32.7k
    if (KeyLength > 0)
174
32.7k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
32.7k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
32.7k
    return NewItem;
177
32.7k
  }
llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >* llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
301
                                InitTy &&... InitVals) {
157
301
    size_t KeyLength = Key.size();
158
301
159
301
    // Allocate a new item with space for the string at the end and a null
160
301
    // terminator.
161
301
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
301
    size_t Alignment = alignof(StringMapEntry);
163
301
164
301
    StringMapEntry *NewItem =
165
301
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
301
    assert(NewItem && "Unhandled out-of-memory");
167
301
168
301
    // Construct the value.
169
301
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
301
171
301
    // Copy the string information.
172
301
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
301
    if (KeyLength > 0)
174
301
      memcpy(StrBuffer, Key.data(), KeyLength);
175
301
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
301
    return NewItem;
177
301
  }
llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>* llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
326
                                InitTy &&... InitVals) {
157
326
    size_t KeyLength = Key.size();
158
326
159
326
    // Allocate a new item with space for the string at the end and a null
160
326
    // terminator.
161
326
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
326
    size_t Alignment = alignof(StringMapEntry);
163
326
164
326
    StringMapEntry *NewItem =
165
326
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
326
    assert(NewItem && "Unhandled out-of-memory");
167
326
168
326
    // Construct the value.
169
326
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
326
171
326
    // Copy the string information.
172
326
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
326
    if (KeyLength > 0)
174
44
      memcpy(StrBuffer, Key.data(), KeyLength);
175
326
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
326
    return NewItem;
177
326
  }
llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >* llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
5
                                InitTy &&... InitVals) {
157
5
    size_t KeyLength = Key.size();
158
5
159
5
    // Allocate a new item with space for the string at the end and a null
160
5
    // terminator.
161
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5
    size_t Alignment = alignof(StringMapEntry);
163
5
164
5
    StringMapEntry *NewItem =
165
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5
    assert(NewItem && "Unhandled out-of-memory");
167
5
168
5
    // Construct the value.
169
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5
171
5
    // Copy the string information.
172
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5
    if (KeyLength > 0)
174
5
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5
    return NewItem;
177
5
  }
llvm::StringMapEntry<llvm::Timer>* llvm::StringMapEntry<llvm::Timer>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
5
                                InitTy &&... InitVals) {
157
5
    size_t KeyLength = Key.size();
158
5
159
5
    // Allocate a new item with space for the string at the end and a null
160
5
    // terminator.
161
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5
    size_t Alignment = alignof(StringMapEntry);
163
5
164
5
    StringMapEntry *NewItem =
165
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5
    assert(NewItem && "Unhandled out-of-memory");
167
5
168
5
    // Construct the value.
169
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5
171
5
    // Copy the string information.
172
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5
    if (KeyLength > 0)
174
5
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5
    return NewItem;
177
5
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::Create<llvm::MallocAllocator, std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> >&&)
Line
Count
Source
156
116k
                                InitTy &&... InitVals) {
157
116k
    size_t KeyLength = Key.size();
158
116k
159
116k
    // Allocate a new item with space for the string at the end and a null
160
116k
    // terminator.
161
116k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
116k
    size_t Alignment = alignof(StringMapEntry);
163
116k
164
116k
    StringMapEntry *NewItem =
165
116k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
116k
    assert(NewItem && "Unhandled out-of-memory");
167
116k
168
116k
    // Construct the value.
169
116k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
116k
171
116k
    // Copy the string information.
172
116k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
116k
    if (KeyLength > 0)
174
116k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
116k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
116k
    return NewItem;
177
116k
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::yaml::Input::HNode, std::__1::default_delete<llvm::yaml::Input::HNode> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
328k
                                InitTy &&... InitVals) {
157
328k
    size_t KeyLength = Key.size();
158
328k
159
328k
    // Allocate a new item with space for the string at the end and a null
160
328k
    // terminator.
161
328k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
328k
    size_t Alignment = alignof(StringMapEntry);
163
328k
164
328k
    StringMapEntry *NewItem =
165
328k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
328k
    assert(NewItem && "Unhandled out-of-memory");
167
328k
168
328k
    // Construct the value.
169
328k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
328k
171
328k
    // Copy the string information.
172
328k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
328k
    if (KeyLength > 0)
174
328k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
328k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
328k
    return NewItem;
177
328k
  }
llvm::StringMapEntry<void*>* llvm::StringMapEntry<void*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3
                                InitTy &&... InitVals) {
157
3
    size_t KeyLength = Key.size();
158
3
159
3
    // Allocate a new item with space for the string at the end and a null
160
3
    // terminator.
161
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3
    size_t Alignment = alignof(StringMapEntry);
163
3
164
3
    StringMapEntry *NewItem =
165
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3
    assert(NewItem && "Unhandled out-of-memory");
167
3
168
3
    // Construct the value.
169
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3
171
3
    // Copy the string information.
172
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3
    if (KeyLength > 0)
174
3
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3
    return NewItem;
177
3
  }
llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >* llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
36
                                InitTy &&... InitVals) {
157
36
    size_t KeyLength = Key.size();
158
36
159
36
    // Allocate a new item with space for the string at the end and a null
160
36
    // terminator.
161
36
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
36
    size_t Alignment = alignof(StringMapEntry);
163
36
164
36
    StringMapEntry *NewItem =
165
36
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
36
    assert(NewItem && "Unhandled out-of-memory");
167
36
168
36
    // Construct the value.
169
36
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
36
171
36
    // Copy the string information.
172
36
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
36
    if (KeyLength > 0)
174
36
      memcpy(StrBuffer, Key.data(), KeyLength);
175
36
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
36
    return NewItem;
177
36
  }
llvm::StringMapEntry<clang::IdentifierInfo*>* llvm::StringMapEntry<clang::IdentifierInfo*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::IdentifierInfo*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::IdentifierInfo*&&)
Line
Count
Source
156
145M
                                InitTy &&... InitVals) {
157
145M
    size_t KeyLength = Key.size();
158
145M
159
145M
    // Allocate a new item with space for the string at the end and a null
160
145M
    // terminator.
161
145M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
145M
    size_t Alignment = alignof(StringMapEntry);
163
145M
164
145M
    StringMapEntry *NewItem =
165
145M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
145M
    assert(NewItem && "Unhandled out-of-memory");
167
145M
168
145M
    // Construct the value.
169
145M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
145M
171
145M
    // Copy the string information.
172
145M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
145M
    if (KeyLength > 0)
174
145M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
145M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
145M
    return NewItem;
177
145M
  }
llvm::StringMapEntry<clang::DirectoryEntry*>* llvm::StringMapEntry<clang::DirectoryEntry*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::DirectoryEntry*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::DirectoryEntry*&&)
Line
Count
Source
156
393k
                                InitTy &&... InitVals) {
157
393k
    size_t KeyLength = Key.size();
158
393k
159
393k
    // Allocate a new item with space for the string at the end and a null
160
393k
    // terminator.
161
393k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
393k
    size_t Alignment = alignof(StringMapEntry);
163
393k
164
393k
    StringMapEntry *NewItem =
165
393k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
393k
    assert(NewItem && "Unhandled out-of-memory");
167
393k
168
393k
    // Construct the value.
169
393k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
393k
171
393k
    // Copy the string information.
172
393k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
393k
    if (KeyLength > 0)
174
393k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
393k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
393k
    return NewItem;
177
393k
  }
llvm::StringMapEntry<clang::FileEntry*>* llvm::StringMapEntry<clang::FileEntry*>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::FileEntry*>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::FileEntry*&&)
Line
Count
Source
156
1.36M
                                InitTy &&... InitVals) {
157
1.36M
    size_t KeyLength = Key.size();
158
1.36M
159
1.36M
    // Allocate a new item with space for the string at the end and a null
160
1.36M
    // terminator.
161
1.36M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1.36M
    size_t Alignment = alignof(StringMapEntry);
163
1.36M
164
1.36M
    StringMapEntry *NewItem =
165
1.36M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1.36M
    assert(NewItem && "Unhandled out-of-memory");
167
1.36M
168
1.36M
    // Construct the value.
169
1.36M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1.36M
171
1.36M
    // Copy the string information.
172
1.36M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1.36M
    if (KeyLength > 0)
174
1.36M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1.36M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1.36M
    return NewItem;
177
1.36M
  }
llvm::StringMapEntry<clang::FileData>* llvm::StringMapEntry<clang::FileData>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
17
                                InitTy &&... InitVals) {
157
17
    size_t KeyLength = Key.size();
158
17
159
17
    // Allocate a new item with space for the string at the end and a null
160
17
    // terminator.
161
17
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
17
    size_t Alignment = alignof(StringMapEntry);
163
17
164
17
    StringMapEntry *NewItem =
165
17
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
17
    assert(NewItem && "Unhandled out-of-memory");
167
17
168
17
    // Construct the value.
169
17
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
17
171
17
    // Copy the string information.
172
17
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
17
    if (KeyLength > 0)
174
17
      memcpy(StrBuffer, Key.data(), KeyLength);
175
17
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
17
    return NewItem;
177
17
  }
llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>* llvm::StringMapEntry<clang::MemoryBufferCache::BufferEntry>::Create<llvm::MallocAllocator, clang::MemoryBufferCache::BufferEntry>(llvm::StringRef, llvm::MallocAllocator&, clang::MemoryBufferCache::BufferEntry&&)
Line
Count
Source
156
5.67k
                                InitTy &&... InitVals) {
157
5.67k
    size_t KeyLength = Key.size();
158
5.67k
159
5.67k
    // Allocate a new item with space for the string at the end and a null
160
5.67k
    // terminator.
161
5.67k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5.67k
    size_t Alignment = alignof(StringMapEntry);
163
5.67k
164
5.67k
    StringMapEntry *NewItem =
165
5.67k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5.67k
    assert(NewItem && "Unhandled out-of-memory");
167
5.67k
168
5.67k
    // Construct the value.
169
5.67k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5.67k
171
5.67k
    // Copy the string information.
172
5.67k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5.67k
    if (KeyLength > 0)
174
5.67k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5.67k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5.67k
    return NewItem;
177
5.67k
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, unsigned long>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, unsigned long&&)
Line
Count
Source
156
109k
                                InitTy &&... InitVals) {
157
109k
    size_t KeyLength = Key.size();
158
109k
159
109k
    // Allocate a new item with space for the string at the end and a null
160
109k
    // terminator.
161
109k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
109k
    size_t Alignment = alignof(StringMapEntry);
163
109k
164
109k
    StringMapEntry *NewItem =
165
109k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
109k
    assert(NewItem && "Unhandled out-of-memory");
167
109k
168
109k
    // Construct the value.
169
109k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
109k
171
109k
    // Copy the string information.
172
109k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
109k
    if (KeyLength > 0)
174
109k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
109k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
109k
    return NewItem;
177
109k
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.68M
                                InitTy &&... InitVals) {
157
3.68M
    size_t KeyLength = Key.size();
158
3.68M
159
3.68M
    // Allocate a new item with space for the string at the end and a null
160
3.68M
    // terminator.
161
3.68M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.68M
    size_t Alignment = alignof(StringMapEntry);
163
3.68M
164
3.68M
    StringMapEntry *NewItem =
165
3.68M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.68M
    assert(NewItem && "Unhandled out-of-memory");
167
3.68M
168
3.68M
    // Construct the value.
169
3.68M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.68M
171
3.68M
    // Copy the string information.
172
3.68M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.68M
    if (KeyLength > 0)
174
3.68M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.68M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.68M
    return NewItem;
177
3.68M
  }
llvm::StringMapEntry<clang::OpenCLOptions::Info>* llvm::StringMapEntry<clang::OpenCLOptions::Info>::Create<llvm::MallocAllocator, clang::OpenCLOptions::Info&>(llvm::StringRef, llvm::MallocAllocator&, clang::OpenCLOptions::Info&&&)
Line
Count
Source
156
425k
                                InitTy &&... InitVals) {
157
425k
    size_t KeyLength = Key.size();
158
425k
159
425k
    // Allocate a new item with space for the string at the end and a null
160
425k
    // terminator.
161
425k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
425k
    size_t Alignment = alignof(StringMapEntry);
163
425k
164
425k
    StringMapEntry *NewItem =
165
425k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
425k
    assert(NewItem && "Unhandled out-of-memory");
167
425k
168
425k
    // Construct the value.
169
425k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
425k
171
425k
    // Copy the string information.
172
425k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
425k
    if (KeyLength > 0)
174
425k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
425k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
425k
    return NewItem;
177
425k
  }
llvm::StringMapEntry<llvm::Constant*>* llvm::StringMapEntry<llvm::Constant*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
47
                                InitTy &&... InitVals) {
157
47
    size_t KeyLength = Key.size();
158
47
159
47
    // Allocate a new item with space for the string at the end and a null
160
47
    // terminator.
161
47
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
47
    size_t Alignment = alignof(StringMapEntry);
163
47
164
47
    StringMapEntry *NewItem =
165
47
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
47
    assert(NewItem && "Unhandled out-of-memory");
167
47
168
47
    // Construct the value.
169
47
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
47
171
47
    // Copy the string information.
172
47
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
47
    if (KeyLength > 0)
174
47
      memcpy(StrBuffer, Key.data(), KeyLength);
175
47
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
47
    return NewItem;
177
47
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.07k
                                InitTy &&... InitVals) {
157
2.07k
    size_t KeyLength = Key.size();
158
2.07k
159
2.07k
    // Allocate a new item with space for the string at the end and a null
160
2.07k
    // terminator.
161
2.07k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.07k
    size_t Alignment = alignof(StringMapEntry);
163
2.07k
164
2.07k
    StringMapEntry *NewItem =
165
2.07k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.07k
    assert(NewItem && "Unhandled out-of-memory");
167
2.07k
168
2.07k
    // Construct the value.
169
2.07k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.07k
171
2.07k
    // Copy the string information.
172
2.07k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.07k
    if (KeyLength > 0)
174
1.90k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.07k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.07k
    return NewItem;
177
2.07k
  }
llvm::StringMapEntry<llvm::GlobalVariable*>* llvm::StringMapEntry<llvm::GlobalVariable*>::Create<llvm::MallocAllocator, llvm::GlobalVariable*>(llvm::StringRef, llvm::MallocAllocator&, llvm::GlobalVariable*&&)
Line
Count
Source
156
309
                                InitTy &&... InitVals) {
157
309
    size_t KeyLength = Key.size();
158
309
159
309
    // Allocate a new item with space for the string at the end and a null
160
309
    // terminator.
161
309
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
309
    size_t Alignment = alignof(StringMapEntry);
163
309
164
309
    StringMapEntry *NewItem =
165
309
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
309
    assert(NewItem && "Unhandled out-of-memory");
167
309
168
309
    // Construct the value.
169
309
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
309
171
309
    // Copy the string information.
172
309
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
309
    if (KeyLength > 0)
174
275
      memcpy(StrBuffer, Key.data(), KeyLength);
175
309
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
309
    return NewItem;
177
309
  }
llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >* llvm::StringMapEntry<llvm::AssertingVH<llvm::Constant> >::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, std::nullptr_t>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, std::nullptr_t&&)
Line
Count
Source
156
212
                                InitTy &&... InitVals) {
157
212
    size_t KeyLength = Key.size();
158
212
159
212
    // Allocate a new item with space for the string at the end and a null
160
212
    // terminator.
161
212
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
212
    size_t Alignment = alignof(StringMapEntry);
163
212
164
212
    StringMapEntry *NewItem =
165
212
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
212
    assert(NewItem && "Unhandled out-of-memory");
167
212
168
212
    // Construct the value.
169
212
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
212
171
212
    // Copy the string information.
172
212
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
212
    if (KeyLength > 0)
174
212
      memcpy(StrBuffer, Key.data(), KeyLength);
175
212
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
212
    return NewItem;
177
212
  }
llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >* llvm::StringMapEntry<llvm::DenseMap<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion, llvm::DenseMapInfo<unsigned int>, llvm::detail::DenseMapPair<unsigned int, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoTargetRegion> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.45k
                                InitTy &&... InitVals) {
157
3.45k
    size_t KeyLength = Key.size();
158
3.45k
159
3.45k
    // Allocate a new item with space for the string at the end and a null
160
3.45k
    // terminator.
161
3.45k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.45k
    size_t Alignment = alignof(StringMapEntry);
163
3.45k
164
3.45k
    StringMapEntry *NewItem =
165
3.45k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.45k
    assert(NewItem && "Unhandled out-of-memory");
167
3.45k
168
3.45k
    // Construct the value.
169
3.45k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.45k
171
3.45k
    // Copy the string information.
172
3.45k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.45k
    if (KeyLength > 0)
174
3.45k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.45k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.45k
    return NewItem;
177
3.45k
  }
llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>* llvm::StringMapEntry<clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OffloadEntryInfoDeviceGlobalVar>::Create<llvm::MallocAllocator, unsigned int&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&, clang::CodeGen::CGOpenMPRuntime::OffloadEntriesInfoManagerTy::OMPTargetGlobalVarEntryKind&&&)
Line
Count
Source
156
34
                                InitTy &&... InitVals) {
157
34
    size_t KeyLength = Key.size();
158
34
159
34
    // Allocate a new item with space for the string at the end and a null
160
34
    // terminator.
161
34
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
34
    size_t Alignment = alignof(StringMapEntry);
163
34
164
34
    StringMapEntry *NewItem =
165
34
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
34
    assert(NewItem && "Unhandled out-of-memory");
167
34
168
34
    // Construct the value.
169
34
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
34
171
34
    // Copy the string information.
172
34
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
34
    if (KeyLength > 0)
174
34
      memcpy(StrBuffer, Key.data(), KeyLength);
175
34
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
34
    return NewItem;
177
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
156
21
                                InitTy &&... InitVals) {
157
21
    size_t KeyLength = Key.size();
158
21
159
21
    // Allocate a new item with space for the string at the end and a null
160
21
    // terminator.
161
21
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
21
    size_t Alignment = alignof(StringMapEntry);
163
21
164
21
    StringMapEntry *NewItem =
165
21
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
21
    assert(NewItem && "Unhandled out-of-memory");
167
21
168
21
    // Construct the value.
169
21
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
21
171
21
    // Copy the string information.
172
21
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
21
    if (KeyLength > 0)
174
21
      memcpy(StrBuffer, Key.data(), KeyLength);
175
21
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
21
    return NewItem;
177
21
  }
llvm::StringMapEntry<llvm::WeakTrackingVH>* llvm::StringMapEntry<llvm::WeakTrackingVH>::Create<llvm::MallocAllocator, llvm::Constant*&>(llvm::StringRef, llvm::MallocAllocator&, llvm::Constant*&&&)
Line
Count
Source
156
11
                                InitTy &&... InitVals) {
157
11
    size_t KeyLength = Key.size();
158
11
159
11
    // Allocate a new item with space for the string at the end and a null
160
11
    // terminator.
161
11
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
11
    size_t Alignment = alignof(StringMapEntry);
163
11
164
11
    StringMapEntry *NewItem =
165
11
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
11
    assert(NewItem && "Unhandled out-of-memory");
167
11
168
11
    // Construct the value.
169
11
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
11
171
11
    // Copy the string information.
172
11
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
11
    if (KeyLength > 0)
174
11
      memcpy(StrBuffer, Key.data(), KeyLength);
175
11
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
11
    return NewItem;
177
11
  }
llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >* llvm::StringMapEntry<llvm::TrackingVH<llvm::Constant> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
115
                                InitTy &&... InitVals) {
157
115
    size_t KeyLength = Key.size();
158
115
159
115
    // Allocate a new item with space for the string at the end and a null
160
115
    // terminator.
161
115
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
115
    size_t Alignment = alignof(StringMapEntry);
163
115
164
115
    StringMapEntry *NewItem =
165
115
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
115
    assert(NewItem && "Unhandled out-of-memory");
167
115
168
115
    // Construct the value.
169
115
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
115
171
115
    // Copy the string information.
172
115
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
115
    if (KeyLength > 0)
174
115
      memcpy(StrBuffer, Key.data(), KeyLength);
175
115
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
115
    return NewItem;
177
115
  }
llvm::StringMapEntry<clang::GlobalDecl>* llvm::StringMapEntry<clang::GlobalDecl>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, clang::GlobalDecl>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, clang::GlobalDecl&&)
Line
Count
Source
156
2.08M
                                InitTy &&... InitVals) {
157
2.08M
    size_t KeyLength = Key.size();
158
2.08M
159
2.08M
    // Allocate a new item with space for the string at the end and a null
160
2.08M
    // terminator.
161
2.08M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.08M
    size_t Alignment = alignof(StringMapEntry);
163
2.08M
164
2.08M
    StringMapEntry *NewItem =
165
2.08M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.08M
    assert(NewItem && "Unhandled out-of-memory");
167
2.08M
168
2.08M
    // Construct the value.
169
2.08M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.08M
171
2.08M
    // Copy the string information.
172
2.08M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.08M
    if (KeyLength > 0)
174
2.08M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.08M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.08M
    return NewItem;
177
2.08M
  }
llvm::StringMapEntry<clang::ASTContext::SectionInfo>* llvm::StringMapEntry<clang::ASTContext::SectionInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
193
                                InitTy &&... InitVals) {
157
193
    size_t KeyLength = Key.size();
158
193
159
193
    // Allocate a new item with space for the string at the end and a null
160
193
    // terminator.
161
193
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
193
    size_t Alignment = alignof(StringMapEntry);
163
193
164
193
    StringMapEntry *NewItem =
165
193
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
193
    assert(NewItem && "Unhandled out-of-memory");
167
193
168
193
    // Construct the value.
169
193
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
193
171
193
    // Copy the string information.
172
193
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
193
    if (KeyLength > 0)
174
193
      memcpy(StrBuffer, Key.data(), KeyLength);
175
193
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
193
    return NewItem;
177
193
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
29.1k
                                InitTy &&... InitVals) {
157
29.1k
    size_t KeyLength = Key.size();
158
29.1k
159
29.1k
    // Allocate a new item with space for the string at the end and a null
160
29.1k
    // terminator.
161
29.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
29.1k
    size_t Alignment = alignof(StringMapEntry);
163
29.1k
164
29.1k
    StringMapEntry *NewItem =
165
29.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
29.1k
    assert(NewItem && "Unhandled out-of-memory");
167
29.1k
168
29.1k
    // Construct the value.
169
29.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
29.1k
171
29.1k
    // Copy the string information.
172
29.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
29.1k
    if (KeyLength > 0)
174
29.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
29.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
29.1k
    return NewItem;
177
29.1k
  }
llvm::StringMapEntry<char const*>* llvm::StringMapEntry<char const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
103
                                InitTy &&... InitVals) {
157
103
    size_t KeyLength = Key.size();
158
103
159
103
    // Allocate a new item with space for the string at the end and a null
160
103
    // terminator.
161
103
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
103
    size_t Alignment = alignof(StringMapEntry);
163
103
164
103
    StringMapEntry *NewItem =
165
103
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
103
    assert(NewItem && "Unhandled out-of-memory");
167
103
168
103
    // Construct the value.
169
103
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
103
171
103
    // Copy the string information.
172
103
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
103
    if (KeyLength > 0)
174
103
      memcpy(StrBuffer, Key.data(), KeyLength);
175
103
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
103
    return NewItem;
177
103
  }
llvm::StringMapEntry<int>* llvm::StringMapEntry<int>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
778k
                                InitTy &&... InitVals) {
157
778k
    size_t KeyLength = Key.size();
158
778k
159
778k
    // Allocate a new item with space for the string at the end and a null
160
778k
    // terminator.
161
778k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
778k
    size_t Alignment = alignof(StringMapEntry);
163
778k
164
778k
    StringMapEntry *NewItem =
165
778k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
778k
    assert(NewItem && "Unhandled out-of-memory");
167
778k
168
778k
    // Construct the value.
169
778k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
778k
171
778k
    // Copy the string information.
172
778k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
778k
    if (KeyLength > 0)
174
778k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
778k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
778k
    return NewItem;
177
778k
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.08k
                                InitTy &&... InitVals) {
157
2.08k
    size_t KeyLength = Key.size();
158
2.08k
159
2.08k
    // Allocate a new item with space for the string at the end and a null
160
2.08k
    // terminator.
161
2.08k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.08k
    size_t Alignment = alignof(StringMapEntry);
163
2.08k
164
2.08k
    StringMapEntry *NewItem =
165
2.08k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.08k
    assert(NewItem && "Unhandled out-of-memory");
167
2.08k
168
2.08k
    // Construct the value.
169
2.08k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.08k
171
2.08k
    // Copy the string information.
172
2.08k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.08k
    if (KeyLength > 0)
174
2.08k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.08k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.08k
    return NewItem;
177
2.08k
  }
llvm::StringMapEntry<char>* llvm::StringMapEntry<char>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, char>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, char&&)
Line
Count
Source
156
155
                                InitTy &&... InitVals) {
157
155
    size_t KeyLength = Key.size();
158
155
159
155
    // Allocate a new item with space for the string at the end and a null
160
155
    // terminator.
161
155
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
155
    size_t Alignment = alignof(StringMapEntry);
163
155
164
155
    StringMapEntry *NewItem =
165
155
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
155
    assert(NewItem && "Unhandled out-of-memory");
167
155
168
155
    // Construct the value.
169
155
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
155
171
155
    // Copy the string information.
172
155
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
155
    if (KeyLength > 0)
174
155
      memcpy(StrBuffer, Key.data(), KeyLength);
175
155
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
155
    return NewItem;
177
155
  }
llvm::StringMapEntry<clang::SourceLocation>* llvm::StringMapEntry<clang::SourceLocation>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
15
                                InitTy &&... InitVals) {
157
15
    size_t KeyLength = Key.size();
158
15
159
15
    // Allocate a new item with space for the string at the end and a null
160
15
    // terminator.
161
15
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
15
    size_t Alignment = alignof(StringMapEntry);
163
15
164
15
    StringMapEntry *NewItem =
165
15
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
15
    assert(NewItem && "Unhandled out-of-memory");
167
15
168
15
    // Construct the value.
169
15
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
15
171
15
    // Copy the string information.
172
15
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
15
    if (KeyLength > 0)
174
15
      memcpy(StrBuffer, Key.data(), KeyLength);
175
15
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
15
    return NewItem;
177
15
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&)
Line
Count
Source
156
2.61M
                                InitTy &&... InitVals) {
157
2.61M
    size_t KeyLength = Key.size();
158
2.61M
159
2.61M
    // Allocate a new item with space for the string at the end and a null
160
2.61M
    // terminator.
161
2.61M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.61M
    size_t Alignment = alignof(StringMapEntry);
163
2.61M
164
2.61M
    StringMapEntry *NewItem =
165
2.61M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.61M
    assert(NewItem && "Unhandled out-of-memory");
167
2.61M
168
2.61M
    // Construct the value.
169
2.61M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.61M
171
2.61M
    // Copy the string information.
172
2.61M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.61M
    if (KeyLength > 0)
174
2.61M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.61M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.61M
    return NewItem;
177
2.61M
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
14
                                InitTy &&... InitVals) {
157
14
    size_t KeyLength = Key.size();
158
14
159
14
    // Allocate a new item with space for the string at the end and a null
160
14
    // terminator.
161
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14
    size_t Alignment = alignof(StringMapEntry);
163
14
164
14
    StringMapEntry *NewItem =
165
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14
    assert(NewItem && "Unhandled out-of-memory");
167
14
168
14
    // Construct the value.
169
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14
171
14
    // Copy the string information.
172
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14
    if (KeyLength > 0)
174
14
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14
    return NewItem;
177
14
  }
llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>* llvm::StringMapEntry<clang::LayoutOverrideSource::Layout>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
32
                                InitTy &&... InitVals) {
157
32
    size_t KeyLength = Key.size();
158
32
159
32
    // Allocate a new item with space for the string at the end and a null
160
32
    // terminator.
161
32
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
32
    size_t Alignment = alignof(StringMapEntry);
163
32
164
32
    StringMapEntry *NewItem =
165
32
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
32
    assert(NewItem && "Unhandled out-of-memory");
167
32
168
32
    // Construct the value.
169
32
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
32
171
32
    // Copy the string information.
172
32
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
32
    if (KeyLength > 0)
174
32
      memcpy(StrBuffer, Key.data(), KeyLength);
175
32
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
32
    return NewItem;
177
32
  }
llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>* llvm::StringMapEntry<clang::PrecompiledPreamble::PreambleFileHash>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
151
                                InitTy &&... InitVals) {
157
151
    size_t KeyLength = Key.size();
158
151
159
151
    // Allocate a new item with space for the string at the end and a null
160
151
    // terminator.
161
151
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
151
    size_t Alignment = alignof(StringMapEntry);
163
151
164
151
    StringMapEntry *NewItem =
165
151
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
151
    assert(NewItem && "Unhandled out-of-memory");
167
151
168
151
    // Construct the value.
169
151
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
151
171
151
    // Copy the string information.
172
151
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
151
    if (KeyLength > 0)
174
151
      memcpy(StrBuffer, Key.data(), KeyLength);
175
151
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
151
    return NewItem;
177
151
  }
llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >* llvm::StringMapEntry<std::__1::pair<llvm::StringRef, bool> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3.95k
                                InitTy &&... InitVals) {
157
3.95k
    size_t KeyLength = Key.size();
158
3.95k
159
3.95k
    // Allocate a new item with space for the string at the end and a null
160
3.95k
    // terminator.
161
3.95k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.95k
    size_t Alignment = alignof(StringMapEntry);
163
3.95k
164
3.95k
    StringMapEntry *NewItem =
165
3.95k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.95k
    assert(NewItem && "Unhandled out-of-memory");
167
3.95k
168
3.95k
    // Construct the value.
169
3.95k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.95k
171
3.95k
    // Copy the string information.
172
3.95k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.95k
    if (KeyLength > 0)
174
3.95k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.95k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.95k
    return NewItem;
177
3.95k
  }
llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >* llvm::StringMapEntry<std::__1::shared_ptr<clang::ModuleFileExtension> >::Create<llvm::MallocAllocator, std::__1::shared_ptr<clang::ModuleFileExtension> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::shared_ptr<clang::ModuleFileExtension>&&)
Line
Count
Source
156
27
                                InitTy &&... InitVals) {
157
27
    size_t KeyLength = Key.size();
158
27
159
27
    // Allocate a new item with space for the string at the end and a null
160
27
    // terminator.
161
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
27
    size_t Alignment = alignof(StringMapEntry);
163
27
164
27
    StringMapEntry *NewItem =
165
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
27
    assert(NewItem && "Unhandled out-of-memory");
167
27
168
27
    // Construct the value.
169
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
27
171
27
    // Copy the string information.
172
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
27
    if (KeyLength > 0)
174
27
      memcpy(StrBuffer, Key.data(), KeyLength);
175
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
27
    return NewItem;
177
27
  }
llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >* llvm::StringMapEntry<llvm::SmallVector<unsigned int, 2u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
73.0k
                                InitTy &&... InitVals) {
157
73.0k
    size_t KeyLength = Key.size();
158
73.0k
159
73.0k
    // Allocate a new item with space for the string at the end and a null
160
73.0k
    // terminator.
161
73.0k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
73.0k
    size_t Alignment = alignof(StringMapEntry);
163
73.0k
164
73.0k
    StringMapEntry *NewItem =
165
73.0k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
73.0k
    assert(NewItem && "Unhandled out-of-memory");
167
73.0k
168
73.0k
    // Construct the value.
169
73.0k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
73.0k
171
73.0k
    // Copy the string information.
172
73.0k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
73.0k
    if (KeyLength > 0)
174
73.0k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
73.0k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
73.0k
    return NewItem;
177
73.0k
  }
llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >* llvm::StringMapEntry<std::__1::unique_ptr<polly::ScopArrayInfo, std::__1::default_delete<polly::ScopArrayInfo> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
85
                                InitTy &&... InitVals) {
157
85
    size_t KeyLength = Key.size();
158
85
159
85
    // Allocate a new item with space for the string at the end and a null
160
85
    // terminator.
161
85
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
85
    size_t Alignment = alignof(StringMapEntry);
163
85
164
85
    StringMapEntry *NewItem =
165
85
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
85
    assert(NewItem && "Unhandled out-of-memory");
167
85
168
85
    // Construct the value.
169
85
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
85
171
85
    // Copy the string information.
172
85
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
85
    if (KeyLength > 0)
174
85
      memcpy(StrBuffer, Key.data(), KeyLength);
175
85
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
85
    return NewItem;
177
85
  }
llvm::StringMapEntry<llvm::DIE const*>* llvm::StringMapEntry<llvm::DIE const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
67.6k
                                InitTy &&... InitVals) {
157
67.6k
    size_t KeyLength = Key.size();
158
67.6k
159
67.6k
    // Allocate a new item with space for the string at the end and a null
160
67.6k
    // terminator.
161
67.6k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
67.6k
    size_t Alignment = alignof(StringMapEntry);
163
67.6k
164
67.6k
    StringMapEntry *NewItem =
165
67.6k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
67.6k
    assert(NewItem && "Unhandled out-of-memory");
167
67.6k
168
67.6k
    // Construct the value.
169
67.6k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
67.6k
171
67.6k
    // Copy the string information.
172
67.6k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
67.6k
    if (KeyLength > 0)
174
67.5k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
67.6k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
67.6k
    return NewItem;
177
67.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
156
20
                                InitTy &&... InitVals) {
157
20
    size_t KeyLength = Key.size();
158
20
159
20
    // Allocate a new item with space for the string at the end and a null
160
20
    // terminator.
161
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
20
    size_t Alignment = alignof(StringMapEntry);
163
20
164
20
    StringMapEntry *NewItem =
165
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
20
    assert(NewItem && "Unhandled out-of-memory");
167
20
168
20
    // Construct the value.
169
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
20
171
20
    // Copy the string information.
172
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
20
    if (KeyLength > 0)
174
20
      memcpy(StrBuffer, Key.data(), KeyLength);
175
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
20
    return NewItem;
177
20
  }
llvm::StringMapEntry<llvm::AccelTableBase::HashData>* llvm::StringMapEntry<llvm::AccelTableBase::HashData>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>, llvm::DwarfStringPoolEntryRef&, unsigned int (*&)(llvm::StringRef)>(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&, llvm::DwarfStringPoolEntryRef&&&, unsigned int (*&&&)(llvm::StringRef))
Line
Count
Source
156
69.1k
                                InitTy &&... InitVals) {
157
69.1k
    size_t KeyLength = Key.size();
158
69.1k
159
69.1k
    // Allocate a new item with space for the string at the end and a null
160
69.1k
    // terminator.
161
69.1k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
69.1k
    size_t Alignment = alignof(StringMapEntry);
163
69.1k
164
69.1k
    StringMapEntry *NewItem =
165
69.1k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
69.1k
    assert(NewItem && "Unhandled out-of-memory");
167
69.1k
168
69.1k
    // Construct the value.
169
69.1k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
69.1k
171
69.1k
    // Copy the string information.
172
69.1k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
69.1k
    if (KeyLength > 0)
174
69.1k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
69.1k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
69.1k
    return NewItem;
177
69.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
156
81.3k
                                InitTy &&... InitVals) {
157
81.3k
    size_t KeyLength = Key.size();
158
81.3k
159
81.3k
    // Allocate a new item with space for the string at the end and a null
160
81.3k
    // terminator.
161
81.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
81.3k
    size_t Alignment = alignof(StringMapEntry);
163
81.3k
164
81.3k
    StringMapEntry *NewItem =
165
81.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
81.3k
    assert(NewItem && "Unhandled out-of-memory");
167
81.3k
168
81.3k
    // Construct the value.
169
81.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
81.3k
171
81.3k
    // Copy the string information.
172
81.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
81.3k
    if (KeyLength > 0)
174
80.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
81.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
81.3k
    return NewItem;
177
81.3k
  }
llvm::StringMapEntry<llvm::SDNode*>* llvm::StringMapEntry<llvm::SDNode*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
15.9k
                                InitTy &&... InitVals) {
157
15.9k
    size_t KeyLength = Key.size();
158
15.9k
159
15.9k
    // Allocate a new item with space for the string at the end and a null
160
15.9k
    // terminator.
161
15.9k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
15.9k
    size_t Alignment = alignof(StringMapEntry);
163
15.9k
164
15.9k
    StringMapEntry *NewItem =
165
15.9k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
15.9k
    assert(NewItem && "Unhandled out-of-memory");
167
15.9k
168
15.9k
    // Construct the value.
169
15.9k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
15.9k
171
15.9k
    // Copy the string information.
172
15.9k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
15.9k
    if (KeyLength > 0)
174
15.9k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
15.9k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
15.9k
    return NewItem;
177
15.9k
  }
llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>* llvm::StringMapEntry<llvm::lto::LTO::GlobalResolution>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
928
                                InitTy &&... InitVals) {
157
928
    size_t KeyLength = Key.size();
158
928
159
928
    // Allocate a new item with space for the string at the end and a null
160
928
    // terminator.
161
928
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
928
    size_t Alignment = alignof(StringMapEntry);
163
928
164
928
    StringMapEntry *NewItem =
165
928
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
928
    assert(NewItem && "Unhandled out-of-memory");
167
928
168
928
    // Construct the value.
169
928
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
928
171
928
    // Copy the string information.
172
928
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
928
    if (KeyLength > 0)
174
928
      memcpy(StrBuffer, Key.data(), KeyLength);
175
928
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
928
    return NewItem;
177
928
  }
llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >* llvm::StringMapEntry<std::__1::map<unsigned long long, llvm::GlobalValue::LinkageTypes, std::__1::less<unsigned long long>, std::__1::allocator<std::__1::pair<unsigned long long const, llvm::GlobalValue::LinkageTypes> > > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
389
                                InitTy &&... InitVals) {
157
389
    size_t KeyLength = Key.size();
158
389
159
389
    // Allocate a new item with space for the string at the end and a null
160
389
    // terminator.
161
389
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
389
    size_t Alignment = alignof(StringMapEntry);
163
389
164
389
    StringMapEntry *NewItem =
165
389
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
389
    assert(NewItem && "Unhandled out-of-memory");
167
389
168
389
    // Construct the value.
169
389
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
389
171
389
    // Copy the string information.
172
389
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
389
    if (KeyLength > 0)
174
386
      memcpy(StrBuffer, Key.data(), KeyLength);
175
389
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
389
    return NewItem;
177
389
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator, clang::Stmt*>(llvm::StringRef, llvm::MallocAllocator&, clang::Stmt*&&)
Line
Count
Source
156
2
                                InitTy &&... InitVals) {
157
2
    size_t KeyLength = Key.size();
158
2
159
2
    // Allocate a new item with space for the string at the end and a null
160
2
    // terminator.
161
2
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2
    size_t Alignment = alignof(StringMapEntry);
163
2
164
2
    StringMapEntry *NewItem =
165
2
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2
    assert(NewItem && "Unhandled out-of-memory");
167
2
168
2
    // Construct the value.
169
2
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2
171
2
    // Copy the string information.
172
2
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2
    if (KeyLength > 0)
174
2
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2
    return NewItem;
177
2
  }
llvm::StringMapEntry<clang::Stmt*>* llvm::StringMapEntry<clang::Stmt*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
12.2k
                                InitTy &&... InitVals) {
157
12.2k
    size_t KeyLength = Key.size();
158
12.2k
159
12.2k
    // Allocate a new item with space for the string at the end and a null
160
12.2k
    // terminator.
161
12.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
12.2k
    size_t Alignment = alignof(StringMapEntry);
163
12.2k
164
12.2k
    StringMapEntry *NewItem =
165
12.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
12.2k
    assert(NewItem && "Unhandled out-of-memory");
167
12.2k
168
12.2k
    // Construct the value.
169
12.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
12.2k
171
12.2k
    // Copy the string information.
172
12.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
12.2k
    if (KeyLength > 0)
174
12.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
12.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
12.2k
    return NewItem;
177
12.2k
  }
llvm::StringMapEntry<FoundationClass>* llvm::StringMapEntry<FoundationClass>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
91
                                InitTy &&... InitVals) {
157
91
    size_t KeyLength = Key.size();
158
91
159
91
    // Allocate a new item with space for the string at the end and a null
160
91
    // terminator.
161
91
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
91
    size_t Alignment = alignof(StringMapEntry);
163
91
164
91
    StringMapEntry *NewItem =
165
91
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
91
    assert(NewItem && "Unhandled out-of-memory");
167
91
168
91
    // Construct the value.
169
91
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
91
171
91
    // Copy the string information.
172
91
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
91
    if (KeyLength > 0)
174
91
      memcpy(StrBuffer, Key.data(), KeyLength);
175
91
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
91
    return NewItem;
177
91
  }
llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >* llvm::StringMapEntry<llvm::SmallSet<clang::Selector, 16u, std::__1::less<clang::Selector> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
20
                                InitTy &&... InitVals) {
157
20
    size_t KeyLength = Key.size();
158
20
159
20
    // Allocate a new item with space for the string at the end and a null
160
20
    // terminator.
161
20
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
20
    size_t Alignment = alignof(StringMapEntry);
163
20
164
20
    StringMapEntry *NewItem =
165
20
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
20
    assert(NewItem && "Unhandled out-of-memory");
167
20
168
20
    // Construct the value.
169
20
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
20
171
20
    // Copy the string information.
172
20
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
20
    if (KeyLength > 0)
174
20
      memcpy(StrBuffer, Key.data(), KeyLength);
175
20
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
20
    return NewItem;
177
20
  }
StdLibraryFunctionsChecker.cpp:llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >* llvm::StringMapEntry<std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >::Create<llvm::MallocAllocator, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::vector<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy, std::__1::allocator<(anonymous namespace)::StdLibraryFunctionsChecker::FunctionSummaryTy> >&&)
Line
Count
Source
156
286
                                InitTy &&... InitVals) {
157
286
    size_t KeyLength = Key.size();
158
286
159
286
    // Allocate a new item with space for the string at the end and a null
160
286
    // terminator.
161
286
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
286
    size_t Alignment = alignof(StringMapEntry);
163
286
164
286
    StringMapEntry *NewItem =
165
286
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
286
    assert(NewItem && "Unhandled out-of-memory");
167
286
168
286
    // Construct the value.
169
286
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
286
171
286
    // Copy the string information.
172
286
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
286
    if (KeyLength > 0)
174
286
      memcpy(StrBuffer, Key.data(), KeyLength);
175
286
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
286
    return NewItem;
177
286
  }
llvm::StringMapEntry<clang::ento::BugType*>* llvm::StringMapEntry<clang::ento::BugType*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
516
                                InitTy &&... InitVals) {
157
516
    size_t KeyLength = Key.size();
158
516
159
516
    // Allocate a new item with space for the string at the end and a null
160
516
    // terminator.
161
516
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
516
    size_t Alignment = alignof(StringMapEntry);
163
516
164
516
    StringMapEntry *NewItem =
165
516
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
516
    assert(NewItem && "Unhandled out-of-memory");
167
516
168
516
    // Construct the value.
169
516
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
516
171
516
    // Copy the string information.
172
516
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
516
    if (KeyLength > 0)
174
516
      memcpy(StrBuffer, Key.data(), KeyLength);
175
516
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
516
    return NewItem;
177
516
  }
llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >* llvm::StringMapEntry<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > >::Create<llvm::MallocAllocator, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&>(llvm::StringRef, llvm::MallocAllocator&, std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >&&&)
Line
Count
Source
156
71
                                InitTy &&... InitVals) {
157
71
    size_t KeyLength = Key.size();
158
71
159
71
    // Allocate a new item with space for the string at the end and a null
160
71
    // terminator.
161
71
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
71
    size_t Alignment = alignof(StringMapEntry);
163
71
164
71
    StringMapEntry *NewItem =
165
71
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
71
    assert(NewItem && "Unhandled out-of-memory");
167
71
168
71
    // Construct the value.
169
71
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
71
171
71
    // Copy the string information.
172
71
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
71
    if (KeyLength > 0)
174
71
      memcpy(StrBuffer, Key.data(), KeyLength);
175
71
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
71
    return NewItem;
177
71
  }
llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >* llvm::StringMapEntry<std::__1::unique_ptr<clang::ASTUnit, std::__1::default_delete<clang::ASTUnit> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
32
                                InitTy &&... InitVals) {
157
32
    size_t KeyLength = Key.size();
158
32
159
32
    // Allocate a new item with space for the string at the end and a null
160
32
    // terminator.
161
32
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
32
    size_t Alignment = alignof(StringMapEntry);
163
32
164
32
    StringMapEntry *NewItem =
165
32
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
32
    assert(NewItem && "Unhandled out-of-memory");
167
32
168
32
    // Construct the value.
169
32
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
32
171
32
    // Copy the string information.
172
32
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
32
    if (KeyLength > 0)
174
32
      memcpy(StrBuffer, Key.data(), KeyLength);
175
32
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
32
    return NewItem;
177
32
  }
llvm::StringMapEntry<clang::ASTUnit*>* llvm::StringMapEntry<clang::ASTUnit*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
35
                                InitTy &&... InitVals) {
157
35
    size_t KeyLength = Key.size();
158
35
159
35
    // Allocate a new item with space for the string at the end and a null
160
35
    // terminator.
161
35
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
35
    size_t Alignment = alignof(StringMapEntry);
163
35
164
35
    StringMapEntry *NewItem =
165
35
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
35
    assert(NewItem && "Unhandled out-of-memory");
167
35
168
35
    // Construct the value.
169
35
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
35
171
35
    // Copy the string information.
172
35
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
35
    if (KeyLength > 0)
174
35
      memcpy(StrBuffer, Key.data(), KeyLength);
175
35
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
35
    return NewItem;
177
35
  }
llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >* llvm::StringMapEntry<std::__1::vector<clang::FunctionDecl*, std::__1::allocator<clang::FunctionDecl*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
3
                                InitTy &&... InitVals) {
157
3
    size_t KeyLength = Key.size();
158
3
159
3
    // Allocate a new item with space for the string at the end and a null
160
3
    // terminator.
161
3
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3
    size_t Alignment = alignof(StringMapEntry);
163
3
164
3
    StringMapEntry *NewItem =
165
3
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3
    assert(NewItem && "Unhandled out-of-memory");
167
3
168
3
    // Construct the value.
169
3
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3
171
3
    // Copy the string information.
172
3
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3
    if (KeyLength > 0)
174
3
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3
    return NewItem;
177
3
  }
llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >* llvm::StringMapEntry<llvm::SmallVector<clang::TypoCorrection, 1u> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
9.58k
                                InitTy &&... InitVals) {
157
9.58k
    size_t KeyLength = Key.size();
158
9.58k
159
9.58k
    // Allocate a new item with space for the string at the end and a null
160
9.58k
    // terminator.
161
9.58k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
9.58k
    size_t Alignment = alignof(StringMapEntry);
163
9.58k
164
9.58k
    StringMapEntry *NewItem =
165
9.58k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
9.58k
    assert(NewItem && "Unhandled out-of-memory");
167
9.58k
168
9.58k
    // Construct the value.
169
9.58k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
9.58k
171
9.58k
    // Copy the string information.
172
9.58k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
9.58k
    if (KeyLength > 0)
174
9.58k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
9.58k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
9.58k
    return NewItem;
177
9.58k
  }
llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >* llvm::StringMapEntry<std::__1::pair<clang::OMPCriticalDirective const*, llvm::APSInt> >::Create<llvm::MallocAllocator, clang::OMPCriticalDirective const*&, llvm::APSInt&>(llvm::StringRef, llvm::MallocAllocator&, clang::OMPCriticalDirective const*&&&, llvm::APSInt&&&)
Line
Count
Source
156
38
                                InitTy &&... InitVals) {
157
38
    size_t KeyLength = Key.size();
158
38
159
38
    // Allocate a new item with space for the string at the end and a null
160
38
    // terminator.
161
38
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
38
    size_t Alignment = alignof(StringMapEntry);
163
38
164
38
    StringMapEntry *NewItem =
165
38
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
38
    assert(NewItem && "Unhandled out-of-memory");
167
38
168
38
    // Construct the value.
169
38
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
38
171
38
    // Copy the string information.
172
38
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
38
    if (KeyLength > 0)
174
38
      memcpy(StrBuffer, Key.data(), KeyLength);
175
38
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
38
    return NewItem;
177
38
  }
llvm::StringMapEntry<llvm::TimeRecord>* llvm::StringMapEntry<llvm::TimeRecord>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
1
                                InitTy &&... InitVals) {
157
1
    size_t KeyLength = Key.size();
158
1
159
1
    // Allocate a new item with space for the string at the end and a null
160
1
    // terminator.
161
1
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
1
    size_t Alignment = alignof(StringMapEntry);
163
1
164
1
    StringMapEntry *NewItem =
165
1
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
1
    assert(NewItem && "Unhandled out-of-memory");
167
1
168
1
    // Construct the value.
169
1
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
1
171
1
    // Copy the string information.
172
1
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
1
    if (KeyLength > 0)
174
1
      memcpy(StrBuffer, Key.data(), KeyLength);
175
1
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
1
    return NewItem;
177
1
  }
llvm::StringMapEntry<clang::comments::TParamCommandComment*>* llvm::StringMapEntry<clang::comments::TParamCommandComment*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
88
                                InitTy &&... InitVals) {
157
88
    size_t KeyLength = Key.size();
158
88
159
88
    // Allocate a new item with space for the string at the end and a null
160
88
    // terminator.
161
88
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
88
    size_t Alignment = alignof(StringMapEntry);
163
88
164
88
    StringMapEntry *NewItem =
165
88
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
88
    assert(NewItem && "Unhandled out-of-memory");
167
88
168
88
    // Construct the value.
169
88
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
88
171
88
    // Copy the string information.
172
88
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
88
    if (KeyLength > 0)
174
88
      memcpy(StrBuffer, Key.data(), KeyLength);
175
88
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
88
    return NewItem;
177
88
  }
llvm::StringMapEntry<clang::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
156
394
                                InitTy &&... InitVals) {
157
394
    size_t KeyLength = Key.size();
158
394
159
394
    // Allocate a new item with space for the string at the end and a null
160
394
    // terminator.
161
394
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
394
    size_t Alignment = alignof(StringMapEntry);
163
394
164
394
    StringMapEntry *NewItem =
165
394
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
394
    assert(NewItem && "Unhandled out-of-memory");
167
394
168
394
    // Construct the value.
169
394
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
394
171
394
    // Copy the string information.
172
394
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
394
    if (KeyLength > 0)
174
394
      memcpy(StrBuffer, Key.data(), KeyLength);
175
394
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
394
    return NewItem;
177
394
  }
llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>* llvm::StringMapEntry<clang::HeaderSearch::LookupFileCacheInfo>::Create<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::StringRef, llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
156
366k
                                InitTy &&... InitVals) {
157
366k
    size_t KeyLength = Key.size();
158
366k
159
366k
    // Allocate a new item with space for the string at the end and a null
160
366k
    // terminator.
161
366k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
366k
    size_t Alignment = alignof(StringMapEntry);
163
366k
164
366k
    StringMapEntry *NewItem =
165
366k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
366k
    assert(NewItem && "Unhandled out-of-memory");
167
366k
168
366k
    // Construct the value.
169
366k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
366k
171
366k
    // Copy the string information.
172
366k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
366k
    if (KeyLength > 0)
174
366k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
366k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
366k
    return NewItem;
177
366k
  }
Unexecuted instantiation: llvm::StringMapEntry<clang::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
156
14
                                InitTy &&... InitVals) {
157
14
    size_t KeyLength = Key.size();
158
14
159
14
    // Allocate a new item with space for the string at the end and a null
160
14
    // terminator.
161
14
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
14
    size_t Alignment = alignof(StringMapEntry);
163
14
164
14
    StringMapEntry *NewItem =
165
14
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
14
    assert(NewItem && "Unhandled out-of-memory");
167
14
168
14
    // Construct the value.
169
14
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
14
171
14
    // Copy the string information.
172
14
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
14
    if (KeyLength > 0)
174
14
      memcpy(StrBuffer, Key.data(), KeyLength);
175
14
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
14
    return NewItem;
177
14
  }
llvm::StringMapEntry<clang::Module*>* llvm::StringMapEntry<clang::Module*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
72.3k
                                InitTy &&... InitVals) {
157
72.3k
    size_t KeyLength = Key.size();
158
72.3k
159
72.3k
    // Allocate a new item with space for the string at the end and a null
160
72.3k
    // terminator.
161
72.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
72.3k
    size_t Alignment = alignof(StringMapEntry);
163
72.3k
164
72.3k
    StringMapEntry *NewItem =
165
72.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
72.3k
    assert(NewItem && "Unhandled out-of-memory");
167
72.3k
168
72.3k
    // Construct the value.
169
72.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
72.3k
171
72.3k
    // Copy the string information.
172
72.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
72.3k
    if (KeyLength > 0)
174
72.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
72.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
72.3k
    return NewItem;
177
72.3k
  }
llvm::StringMapEntry<clang::PragmaHandler*>* llvm::StringMapEntry<clang::PragmaHandler*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
2.07M
                                InitTy &&... InitVals) {
157
2.07M
    size_t KeyLength = Key.size();
158
2.07M
159
2.07M
    // Allocate a new item with space for the string at the end and a null
160
2.07M
    // terminator.
161
2.07M
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
2.07M
    size_t Alignment = alignof(StringMapEntry);
163
2.07M
164
2.07M
    StringMapEntry *NewItem =
165
2.07M
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
2.07M
    assert(NewItem && "Unhandled out-of-memory");
167
2.07M
168
2.07M
    // Construct the value.
169
2.07M
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
2.07M
171
2.07M
    // Copy the string information.
172
2.07M
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
2.07M
    if (KeyLength > 0)
174
2.02M
      memcpy(StrBuffer, Key.data(), KeyLength);
175
2.07M
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
2.07M
    return NewItem;
177
2.07M
  }
llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >* llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Create<llvm::MallocAllocator, std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >(llvm::StringRef, llvm::MallocAllocator&, std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> >&&)
Line
Count
Source
156
852
                                InitTy &&... InitVals) {
157
852
    size_t KeyLength = Key.size();
158
852
159
852
    // Allocate a new item with space for the string at the end and a null
160
852
    // terminator.
161
852
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
852
    size_t Alignment = alignof(StringMapEntry);
163
852
164
852
    StringMapEntry *NewItem =
165
852
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
852
    assert(NewItem && "Unhandled out-of-memory");
167
852
168
852
    // Construct the value.
169
852
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
852
171
852
    // Copy the string information.
172
852
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
852
    if (KeyLength > 0)
174
829
      memcpy(StrBuffer, Key.data(), KeyLength);
175
852
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
852
    return NewItem;
177
852
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >* llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::Create<llvm::MallocAllocator, std::__1::pair<llvm::Type*, llvm::SMLoc> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::pair<llvm::Type*, llvm::SMLoc>&&)
Line
Count
Source
156
55
                                InitTy &&... InitVals) {
157
55
    size_t KeyLength = Key.size();
158
55
159
55
    // Allocate a new item with space for the string at the end and a null
160
55
    // terminator.
161
55
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
55
    size_t Alignment = alignof(StringMapEntry);
163
55
164
55
    StringMapEntry *NewItem =
165
55
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
55
    assert(NewItem && "Unhandled out-of-memory");
167
55
168
55
    // Construct the value.
169
55
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
55
171
55
    // Copy the string information.
172
55
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
55
    if (KeyLength > 0)
174
55
      memcpy(StrBuffer, Key.data(), KeyLength);
175
55
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
55
    return NewItem;
177
55
  }
llvm::StringMapEntry<llvm::Type*>* llvm::StringMapEntry<llvm::Type*>::Create<llvm::MallocAllocator, llvm::Type*>(llvm::StringRef, llvm::MallocAllocator&, llvm::Type*&&)
Line
Count
Source
156
88
                                InitTy &&... InitVals) {
157
88
    size_t KeyLength = Key.size();
158
88
159
88
    // Allocate a new item with space for the string at the end and a null
160
88
    // terminator.
161
88
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
88
    size_t Alignment = alignof(StringMapEntry);
163
88
164
88
    StringMapEntry *NewItem =
165
88
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
88
    assert(NewItem && "Unhandled out-of-memory");
167
88
168
88
    // Construct the value.
169
88
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
88
171
88
    // Copy the string information.
172
88
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
88
    if (KeyLength > 0)
174
88
      memcpy(StrBuffer, Key.data(), KeyLength);
175
88
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
88
    return NewItem;
177
88
  }
llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >* llvm::StringMapEntry<std::__1::pair<llvm::Type*, llvm::SMLoc> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
12.2k
                                InitTy &&... InitVals) {
157
12.2k
    size_t KeyLength = Key.size();
158
12.2k
159
12.2k
    // Allocate a new item with space for the string at the end and a null
160
12.2k
    // terminator.
161
12.2k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
12.2k
    size_t Alignment = alignof(StringMapEntry);
163
12.2k
164
12.2k
    StringMapEntry *NewItem =
165
12.2k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
12.2k
    assert(NewItem && "Unhandled out-of-memory");
167
12.2k
168
12.2k
    // Construct the value.
169
12.2k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
12.2k
171
12.2k
    // Copy the string information.
172
12.2k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
12.2k
    if (KeyLength > 0)
174
12.2k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
12.2k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
12.2k
    return NewItem;
177
12.2k
  }
llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>* llvm::StringMapEntry<llvm::sampleprof::FunctionSamples>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
262
                                InitTy &&... InitVals) {
157
262
    size_t KeyLength = Key.size();
158
262
159
262
    // Allocate a new item with space for the string at the end and a null
160
262
    // terminator.
161
262
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
262
    size_t Alignment = alignof(StringMapEntry);
163
262
164
262
    StringMapEntry *NewItem =
165
262
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
262
    assert(NewItem && "Unhandled out-of-memory");
167
262
168
262
    // Construct the value.
169
262
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
262
171
262
    // Copy the string information.
172
262
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
262
    if (KeyLength > 0)
174
262
      memcpy(StrBuffer, Key.data(), KeyLength);
175
262
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
262
    return NewItem;
177
262
  }
llvm::StringMapEntry<llvm::RecordStreamer::State>* llvm::StringMapEntry<llvm::RecordStreamer::State>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
257
                                InitTy &&... InitVals) {
157
257
    size_t KeyLength = Key.size();
158
257
159
257
    // Allocate a new item with space for the string at the end and a null
160
257
    // terminator.
161
257
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
257
    size_t Alignment = alignof(StringMapEntry);
163
257
164
257
    StringMapEntry *NewItem =
165
257
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
257
    assert(NewItem && "Unhandled out-of-memory");
167
257
168
257
    // Construct the value.
169
257
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
257
171
257
    // Copy the string information.
172
257
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
257
    if (KeyLength > 0)
174
257
      memcpy(StrBuffer, Key.data(), KeyLength);
175
257
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
257
    return NewItem;
177
257
  }
llvm::StringMapEntry<llvm::GlobalValue const*>* llvm::StringMapEntry<llvm::GlobalValue const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
256
                                InitTy &&... InitVals) {
157
256
    size_t KeyLength = Key.size();
158
256
159
256
    // Allocate a new item with space for the string at the end and a null
160
256
    // terminator.
161
256
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
256
    size_t Alignment = alignof(StringMapEntry);
163
256
164
256
    StringMapEntry *NewItem =
165
256
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
256
    assert(NewItem && "Unhandled out-of-memory");
167
256
168
256
    // Construct the value.
169
256
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
256
171
256
    // Copy the string information.
172
256
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
256
    if (KeyLength > 0)
174
256
      memcpy(StrBuffer, Key.data(), KeyLength);
175
256
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
256
    return NewItem;
177
256
  }
llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >* llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::Create<llvm::MallocAllocator, std::__1::shared_ptr<llvm::msgpack::Node> >(llvm::StringRef, llvm::MallocAllocator&, std::__1::shared_ptr<llvm::msgpack::Node>&&)
Line
Count
Source
156
6.82k
                                InitTy &&... InitVals) {
157
6.82k
    size_t KeyLength = Key.size();
158
6.82k
159
6.82k
    // Allocate a new item with space for the string at the end and a null
160
6.82k
    // terminator.
161
6.82k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
6.82k
    size_t Alignment = alignof(StringMapEntry);
163
6.82k
164
6.82k
    StringMapEntry *NewItem =
165
6.82k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
6.82k
    assert(NewItem && "Unhandled out-of-memory");
167
6.82k
168
6.82k
    // Construct the value.
169
6.82k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
6.82k
171
6.82k
    // Copy the string information.
172
6.82k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
6.82k
    if (KeyLength > 0)
174
6.82k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
6.82k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
6.82k
    return NewItem;
177
6.82k
  }
llvm::StringMapEntry<unsigned int const*>* llvm::StringMapEntry<unsigned int const*>::Create<llvm::MallocAllocator, unsigned int const*>(llvm::StringRef, llvm::MallocAllocator&, unsigned int const*&&)
Line
Count
Source
156
10.3k
                                InitTy &&... InitVals) {
157
10.3k
    size_t KeyLength = Key.size();
158
10.3k
159
10.3k
    // Allocate a new item with space for the string at the end and a null
160
10.3k
    // terminator.
161
10.3k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
10.3k
    size_t Alignment = alignof(StringMapEntry);
163
10.3k
164
10.3k
    StringMapEntry *NewItem =
165
10.3k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
10.3k
    assert(NewItem && "Unhandled out-of-memory");
167
10.3k
168
10.3k
    // Construct the value.
169
10.3k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
10.3k
171
10.3k
    // Copy the string information.
172
10.3k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
10.3k
    if (KeyLength > 0)
174
10.3k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
10.3k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
10.3k
    return NewItem;
177
10.3k
  }
llvm::StringMapEntry<llvm::MachineMemOperand::Flags>* llvm::StringMapEntry<llvm::MachineMemOperand::Flags>::Create<llvm::MallocAllocator, llvm::MachineMemOperand::Flags>(llvm::StringRef, llvm::MallocAllocator&, llvm::MachineMemOperand::Flags&&)
Line
Count
Source
156
38
                                InitTy &&... InitVals) {
157
38
    size_t KeyLength = Key.size();
158
38
159
38
    // Allocate a new item with space for the string at the end and a null
160
38
    // terminator.
161
38
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
38
    size_t Alignment = alignof(StringMapEntry);
163
38
164
38
    StringMapEntry *NewItem =
165
38
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
38
    assert(NewItem && "Unhandled out-of-memory");
167
38
168
38
    // Construct the value.
169
38
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
38
171
38
    // Copy the string information.
172
38
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
38
    if (KeyLength > 0)
174
38
      memcpy(StrBuffer, Key.data(), KeyLength);
175
38
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
38
    return NewItem;
177
38
  }
llvm::StringMapEntry<llvm::VRegInfo*>* llvm::StringMapEntry<llvm::VRegInfo*>::Create<llvm::MallocAllocator, llvm::VRegInfo*>(llvm::StringRef, llvm::MallocAllocator&, llvm::VRegInfo*&&)
Line
Count
Source
156
27
                                InitTy &&... InitVals) {
157
27
    size_t KeyLength = Key.size();
158
27
159
27
    // Allocate a new item with space for the string at the end and a null
160
27
    // terminator.
161
27
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
27
    size_t Alignment = alignof(StringMapEntry);
163
27
164
27
    StringMapEntry *NewItem =
165
27
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
27
    assert(NewItem && "Unhandled out-of-memory");
167
27
168
27
    // Construct the value.
169
27
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
27
171
27
    // Copy the string information.
172
27
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
27
    if (KeyLength > 0)
174
27
      memcpy(StrBuffer, Key.data(), KeyLength);
175
27
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
27
    return NewItem;
177
27
  }
llvm::StringMapEntry<llvm::TargetRegisterClass const*>* llvm::StringMapEntry<llvm::TargetRegisterClass const*>::Create<llvm::MallocAllocator, llvm::TargetRegisterClass const*>(llvm::StringRef, llvm::MallocAllocator&, llvm::TargetRegisterClass const*&&)
Line
Count
Source
156
116k
                                InitTy &&... InitVals) {
157
116k
    size_t KeyLength = Key.size();
158
116k
159
116k
    // Allocate a new item with space for the string at the end and a null
160
116k
    // terminator.
161
116k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
116k
    size_t Alignment = alignof(StringMapEntry);
163
116k
164
116k
    StringMapEntry *NewItem =
165
116k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
116k
    assert(NewItem && "Unhandled out-of-memory");
167
116k
168
116k
    // Construct the value.
169
116k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
116k
171
116k
    // Copy the string information.
172
116k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
116k
    if (KeyLength > 0)
174
116k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
116k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
116k
    return NewItem;
177
116k
  }
llvm::StringMapEntry<llvm::RegisterBank const*>* llvm::StringMapEntry<llvm::RegisterBank const*>::Create<llvm::MallocAllocator, llvm::RegisterBank const*>(llvm::StringRef, llvm::MallocAllocator&, llvm::RegisterBank const*&&)
Line
Count
Source
156
3.65k
                                InitTy &&... InitVals) {
157
3.65k
    size_t KeyLength = Key.size();
158
3.65k
159
3.65k
    // Allocate a new item with space for the string at the end and a null
160
3.65k
    // terminator.
161
3.65k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
3.65k
    size_t Alignment = alignof(StringMapEntry);
163
3.65k
164
3.65k
    StringMapEntry *NewItem =
165
3.65k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
3.65k
    assert(NewItem && "Unhandled out-of-memory");
167
3.65k
168
3.65k
    // Construct the value.
169
3.65k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
3.65k
171
3.65k
    // Copy the string information.
172
3.65k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
3.65k
    if (KeyLength > 0)
174
3.65k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
3.65k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
3.65k
    return NewItem;
177
3.65k
  }
llvm::StringMapEntry<lld::elf::OutputSection*>* llvm::StringMapEntry<lld::elf::OutputSection*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
371k
                                InitTy &&... InitVals) {
157
371k
    size_t KeyLength = Key.size();
158
371k
159
371k
    // Allocate a new item with space for the string at the end and a null
160
371k
    // terminator.
161
371k
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
371k
    size_t Alignment = alignof(StringMapEntry);
163
371k
164
371k
    StringMapEntry *NewItem =
165
371k
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
371k
    assert(NewItem && "Unhandled out-of-memory");
167
371k
168
371k
    // Construct the value.
169
371k
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
371k
171
371k
    // Copy the string information.
172
371k
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
371k
    if (KeyLength > 0)
174
371k
      memcpy(StrBuffer, Key.data(), KeyLength);
175
371k
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
371k
    return NewItem;
177
371k
  }
llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >* llvm::StringMapEntry<std::__1::vector<lld::elf::Symbol*, std::__1::allocator<lld::elf::Symbol*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
43
                                InitTy &&... InitVals) {
157
43
    size_t KeyLength = Key.size();
158
43
159
43
    // Allocate a new item with space for the string at the end and a null
160
43
    // terminator.
161
43
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
43
    size_t Alignment = alignof(StringMapEntry);
163
43
164
43
    StringMapEntry *NewItem =
165
43
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
43
    assert(NewItem && "Unhandled out-of-memory");
167
43
168
43
    // Construct the value.
169
43
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
43
171
43
    // Copy the string information.
172
43
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
43
    if (KeyLength > 0)
174
43
      memcpy(StrBuffer, Key.data(), KeyLength);
175
43
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
43
    return NewItem;
177
43
  }
llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >* llvm::StringMapEntry<std::__1::vector<lld::wasm::InputSection*, std::__1::allocator<lld::wasm::InputSection*> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
18
                                InitTy &&... InitVals) {
157
18
    size_t KeyLength = Key.size();
158
18
159
18
    // Allocate a new item with space for the string at the end and a null
160
18
    // terminator.
161
18
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
18
    size_t Alignment = alignof(StringMapEntry);
163
18
164
18
    StringMapEntry *NewItem =
165
18
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
18
    assert(NewItem && "Unhandled out-of-memory");
167
18
168
18
    // Construct the value.
169
18
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
18
171
18
    // Copy the string information.
172
18
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
18
    if (KeyLength > 0)
174
18
      memcpy(StrBuffer, Key.data(), KeyLength);
175
18
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
18
    return NewItem;
177
18
  }
Unexecuted instantiation: llvm::StringMapEntry<lld::wasm::SectionSymbol*>* llvm::StringMapEntry<lld::wasm::SectionSymbol*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
llvm::StringMapEntry<lld::Atom const*>* llvm::StringMapEntry<lld::Atom const*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
395
                                InitTy &&... InitVals) {
157
395
    size_t KeyLength = Key.size();
158
395
159
395
    // Allocate a new item with space for the string at the end and a null
160
395
    // terminator.
161
395
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
395
    size_t Alignment = alignof(StringMapEntry);
163
395
164
395
    StringMapEntry *NewItem =
165
395
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
395
    assert(NewItem && "Unhandled out-of-memory");
167
395
168
395
    // Construct the value.
169
395
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
395
171
395
    // Copy the string information.
172
395
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
395
    if (KeyLength > 0)
174
395
      memcpy(StrBuffer, Key.data(), KeyLength);
175
395
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
395
    return NewItem;
177
395
  }
llvm::StringMapEntry<lld::mach_o::MachODylibFile*>* llvm::StringMapEntry<lld::mach_o::MachODylibFile*>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
231
                                InitTy &&... InitVals) {
157
231
    size_t KeyLength = Key.size();
158
231
159
231
    // Allocate a new item with space for the string at the end and a null
160
231
    // terminator.
161
231
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
231
    size_t Alignment = alignof(StringMapEntry);
163
231
164
231
    StringMapEntry *NewItem =
165
231
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
231
    assert(NewItem && "Unhandled out-of-memory");
167
231
168
231
    // Construct the value.
169
231
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
231
171
231
    // Copy the string information.
172
231
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
231
    if (KeyLength > 0)
174
231
      memcpy(StrBuffer, Key.data(), KeyLength);
175
231
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
231
    return NewItem;
177
231
  }
llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >* llvm::StringMapEntry<std::__1::vector<lld::MachOLinkingContext::OrderFileNode, std::__1::allocator<lld::MachOLinkingContext::OrderFileNode> > >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
5
                                InitTy &&... InitVals) {
157
5
    size_t KeyLength = Key.size();
158
5
159
5
    // Allocate a new item with space for the string at the end and a null
160
5
    // terminator.
161
5
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
5
    size_t Alignment = alignof(StringMapEntry);
163
5
164
5
    StringMapEntry *NewItem =
165
5
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
5
    assert(NewItem && "Unhandled out-of-memory");
167
5
168
5
    // Construct the value.
169
5
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
5
171
5
    // Copy the string information.
172
5
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
5
    if (KeyLength > 0)
174
5
      memcpy(StrBuffer, Key.data(), KeyLength);
175
5
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
5
    return NewItem;
177
5
  }
MachONormalizedFileFromAtoms.cpp:llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>* llvm::StringMapEntry<(anonymous namespace)::Util::DylibInfo>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
113
                                InitTy &&... InitVals) {
157
113
    size_t KeyLength = Key.size();
158
113
159
113
    // Allocate a new item with space for the string at the end and a null
160
113
    // terminator.
161
113
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
113
    size_t Alignment = alignof(StringMapEntry);
163
113
164
113
    StringMapEntry *NewItem =
165
113
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
113
    assert(NewItem && "Unhandled out-of-memory");
167
113
168
113
    // Construct the value.
169
113
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
113
171
113
    // Copy the string information.
172
113
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
113
    if (KeyLength > 0)
174
113
      memcpy(StrBuffer, Key.data(), KeyLength);
175
113
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
113
    return NewItem;
177
113
  }
llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >* llvm::StringMapEntry<std::__1::weak_ptr<llvm::DWARFContext::DWOFile> >::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
21
                                InitTy &&... InitVals) {
157
21
    size_t KeyLength = Key.size();
158
21
159
21
    // Allocate a new item with space for the string at the end and a null
160
21
    // terminator.
161
21
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
21
    size_t Alignment = alignof(StringMapEntry);
163
21
164
21
    StringMapEntry *NewItem =
165
21
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
21
    assert(NewItem && "Unhandled out-of-memory");
167
21
168
21
    // Construct the value.
169
21
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
21
171
21
    // Copy the string information.
172
21
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
21
    if (KeyLength > 0)
174
21
      memcpy(StrBuffer, Key.data(), KeyLength);
175
21
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
21
    return NewItem;
177
21
  }
llvm::StringMapEntry<unsigned short>* llvm::StringMapEntry<unsigned short>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
33
                                InitTy &&... InitVals) {
157
33
    size_t KeyLength = Key.size();
158
33
159
33
    // Allocate a new item with space for the string at the end and a null
160
33
    // terminator.
161
33
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
33
    size_t Alignment = alignof(StringMapEntry);
163
33
164
33
    StringMapEntry *NewItem =
165
33
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
33
    assert(NewItem && "Unhandled out-of-memory");
167
33
168
33
    // Construct the value.
169
33
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
33
171
33
    // Copy the string information.
172
33
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
33
    if (KeyLength > 0)
174
33
      memcpy(StrBuffer, Key.data(), KeyLength);
175
33
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
33
    return NewItem;
177
33
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&>(llvm::StringRef, llvm::MallocAllocator&, llvm::support::detail::packed_endian_specific_integral<unsigned int, (llvm::support::endianness)1, 1ul> const&&&)
Line
Count
Source
156
29
                                InitTy &&... InitVals) {
157
29
    size_t KeyLength = Key.size();
158
29
159
29
    // Allocate a new item with space for the string at the end and a null
160
29
    // terminator.
161
29
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
29
    size_t Alignment = alignof(StringMapEntry);
163
29
164
29
    StringMapEntry *NewItem =
165
29
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
29
    assert(NewItem && "Unhandled out-of-memory");
167
29
168
29
    // Construct the value.
169
29
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
29
171
29
    // Copy the string information.
172
29
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
29
    if (KeyLength > 0)
174
29
      memcpy(StrBuffer, Key.data(), KeyLength);
175
29
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
29
    return NewItem;
177
29
  }
llvm::StringMapEntry<unsigned int>* llvm::StringMapEntry<unsigned int>::Create<llvm::MallocAllocator, unsigned int&>(llvm::StringRef, llvm::MallocAllocator&, unsigned int&&&)
Line
Count
Source
156
358
                                InitTy &&... InitVals) {
157
358
    size_t KeyLength = Key.size();
158
358
159
358
    // Allocate a new item with space for the string at the end and a null
160
358
    // terminator.
161
358
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
358
    size_t Alignment = alignof(StringMapEntry);
163
358
164
358
    StringMapEntry *NewItem =
165
358
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
358
    assert(NewItem && "Unhandled out-of-memory");
167
358
168
358
    // Construct the value.
169
358
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
358
171
358
    // Copy the string information.
172
358
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
358
    if (KeyLength > 0)
174
258
      memcpy(StrBuffer, Key.data(), KeyLength);
175
358
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
358
    return NewItem;
177
358
  }
llvm::StringMapEntry<unsigned long long>* llvm::StringMapEntry<unsigned long long>::Create<llvm::MallocAllocator, unsigned long long>(llvm::StringRef, llvm::MallocAllocator&, unsigned long long&&)
Line
Count
Source
156
326
                                InitTy &&... InitVals) {
157
326
    size_t KeyLength = Key.size();
158
326
159
326
    // Allocate a new item with space for the string at the end and a null
160
326
    // terminator.
161
326
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
326
    size_t Alignment = alignof(StringMapEntry);
163
326
164
326
    StringMapEntry *NewItem =
165
326
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
326
    assert(NewItem && "Unhandled out-of-memory");
167
326
168
326
    // Construct the value.
169
326
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
326
171
326
    // Copy the string information.
172
326
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
326
    if (KeyLength > 0)
174
326
      memcpy(StrBuffer, Key.data(), KeyLength);
175
326
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
326
    return NewItem;
177
326
  }
llvm::StringMapEntry<llvm::FileInfo::LineData>* llvm::StringMapEntry<llvm::FileInfo::LineData>::Create<llvm::MallocAllocator>(llvm::StringRef, llvm::MallocAllocator&)
Line
Count
Source
156
44
                                InitTy &&... InitVals) {
157
44
    size_t KeyLength = Key.size();
158
44
159
44
    // Allocate a new item with space for the string at the end and a null
160
44
    // terminator.
161
44
    size_t AllocSize = sizeof(StringMapEntry) + KeyLength + 1;
162
44
    size_t Alignment = alignof(StringMapEntry);
163
44
164
44
    StringMapEntry *NewItem =
165
44
      static_cast<StringMapEntry*>(Allocator.Allocate(AllocSize,Alignment));
166
44
    assert(NewItem && "Unhandled out-of-memory");
167
44
168
44
    // Construct the value.
169
44
    new (NewItem) StringMapEntry(KeyLength, std::forward<InitTy>(InitVals)...);
170
44
171
44
    // Copy the string information.
172
44
    char *StrBuffer = const_cast<char*>(NewItem->getKeyData());
173
44
    if (KeyLength > 0)
174
44
      memcpy(StrBuffer, Key.data(), KeyLength);
175
44
    StrBuffer[KeyLength] = 0;  // Null terminate for convenience of clients.
176
44
    return NewItem;
177
44
  }
178
179
  /// Create - Create a StringMapEntry with normal malloc/free.
180
  template <typename... InitType>
181
2.53M
  static StringMapEntry *Create(StringRef Key, InitType &&... InitVal) {
182
2.53M
    MallocAllocator A;
183
2.53M
    return Create(Key, A, std::forward<InitType>(InitVal)...);
184
2.53M
  }
185
186
2.53M
  static StringMapEntry *Create(StringRef Key) {
187
2.53M
    return Create(Key, ValueTy());
188
2.53M
  }
189
190
  /// GetStringMapEntryFromKeyData - Given key data that is known to be embedded
191
  /// into a StringMapEntry, return the StringMapEntry itself.
192
  static StringMapEntry &GetStringMapEntryFromKeyData(const char *KeyData) {
193
    char *Ptr = const_cast<char*>(KeyData) - sizeof(StringMapEntry<ValueTy>);
194
    return *reinterpret_cast<StringMapEntry*>(Ptr);
195
  }
196
197
  /// Destroy - Destroy this StringMapEntry, releasing memory back to the
198
  /// specified allocator.
199
  template<typename AllocatorTy>
200
382M
  void Destroy(AllocatorTy &Allocator) {
201
382M
    // Free memory referenced by the item.
202
382M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
382M
    this->~StringMapEntry();
204
382M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
382M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::driver::ToolChain, std::__1::default_delete<clang::driver::ToolChain> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
29.1k
  void Destroy(AllocatorTy &Allocator) {
201
29.1k
    // Free memory referenced by the item.
202
29.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
29.1k
    this->~StringMapEntry();
204
29.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
29.1k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerReader, std::__1::default_delete<clang::PCHContainerReader> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
52.4k
  void Destroy(AllocatorTy &Allocator) {
201
52.4k
    // Free memory referenced by the item.
202
52.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
52.4k
    this->~StringMapEntry();
204
52.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
52.4k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<clang::PCHContainerWriter, std::__1::default_delete<clang::PCHContainerWriter> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
52.4k
  void Destroy(AllocatorTy &Allocator) {
201
52.4k
    // Free memory referenced by the item.
202
52.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
52.4k
    this->~StringMapEntry();
204
52.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
52.4k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::AArch64Subtarget, std::__1::default_delete<llvm::AArch64Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.64k
  void Destroy(AllocatorTy &Allocator) {
201
1.64k
    // Free memory referenced by the item.
202
1.64k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.64k
    this->~StringMapEntry();
204
1.64k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.64k
  }
AArch64AsmParser.cpp:void llvm::StringMapEntry<std::__1::pair<(anonymous namespace)::RegKind, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
17
  void Destroy(AllocatorTy &Allocator) {
201
17
    // Free memory referenced by the item.
202
17
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
17
    this->~StringMapEntry();
204
17
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
17
  }
void llvm::StringMapEntry<std::__1::shared_ptr<llvm::msgpack::Node> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
66.9k
  void Destroy(AllocatorTy &Allocator) {
201
66.9k
    // Free memory referenced by the item.
202
66.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
66.9k
    this->~StringMapEntry();
204
66.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
66.9k
  }
void llvm::StringMapEntry<unsigned int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
57.0M
  void Destroy(AllocatorTy &Allocator) {
201
57.0M
    // Free memory referenced by the item.
202
57.0M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
57.0M
    this->~StringMapEntry();
204
57.0M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
57.0M
  }
void llvm::StringMapEntry<int>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
19.9M
  void Destroy(AllocatorTy &Allocator) {
201
19.9M
    // Free memory referenced by the item.
202
19.9M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
19.9M
    this->~StringMapEntry();
204
19.9M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
19.9M
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::R600Subtarget, std::__1::default_delete<llvm::R600Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
289
  void Destroy(AllocatorTy &Allocator) {
201
289
    // Free memory referenced by the item.
202
289
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
289
    this->~StringMapEntry();
204
289
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
289
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::GCNSubtarget, std::__1::default_delete<llvm::GCNSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.77k
  void Destroy(AllocatorTy &Allocator) {
201
2.77k
    // Free memory referenced by the item.
202
2.77k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.77k
    this->~StringMapEntry();
204
2.77k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.77k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode, std::__1::default_delete<llvm::ImportedFunctionsInliningStatistics::InlineGraphNode> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
36
  void Destroy(AllocatorTy &Allocator) {
201
36
    // Free memory referenced by the item.
202
36
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
36
    this->~StringMapEntry();
204
36
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
36
  }
void llvm::StringMapEntry<char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
450k
  void Destroy(AllocatorTy &Allocator) {
201
450k
    // Free memory referenced by the item.
202
450k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
450k
    this->~StringMapEntry();
204
450k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
450k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ARMSubtarget, std::__1::default_delete<llvm::ARMSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3.09k
  void Destroy(AllocatorTy &Allocator) {
201
3.09k
    // Free memory referenced by the item.
202
3.09k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.09k
    this->~StringMapEntry();
204
3.09k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.09k
  }
void llvm::StringMapEntry<std::__1::vector<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> >, std::__1::allocator<std::__1::basic_string<char, std::__1::char_traits<char>, std::__1::allocator<char> > > > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
19
  void Destroy(AllocatorTy &Allocator) {
201
19
    // Free memory referenced by the item.
202
19
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
19
    this->~StringMapEntry();
204
19
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
19
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::HexagonSubtarget, std::__1::default_delete<llvm::HexagonSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.00k
  void Destroy(AllocatorTy &Allocator) {
201
1.00k
    // Free memory referenced by the item.
202
1.00k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.00k
    this->~StringMapEntry();
204
1.00k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.00k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::MipsSubtarget, std::__1::default_delete<llvm::MipsSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.97k
  void Destroy(AllocatorTy &Allocator) {
201
1.97k
    // Free memory referenced by the item.
202
1.97k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.97k
    this->~StringMapEntry();
204
1.97k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.97k
  }
void llvm::StringMapEntry<llvm::AsmToken>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1
  void Destroy(AllocatorTy &Allocator) {
201
1
    // Free memory referenced by the item.
202
1
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1
    this->~StringMapEntry();
204
1
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::PPCSubtarget, std::__1::default_delete<llvm::PPCSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
1.70k
  void Destroy(AllocatorTy &Allocator) {
201
1.70k
    // Free memory referenced by the item.
202
1.70k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
1.70k
    this->~StringMapEntry();
204
1.70k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
1.70k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::SparcSubtarget, std::__1::default_delete<llvm::SparcSubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
191
  void Destroy(AllocatorTy &Allocator) {
201
191
    // Free memory referenced by the item.
202
191
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
191
    this->~StringMapEntry();
204
191
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
191
  }
void llvm::StringMapEntry<llvm::Function*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
313
  void Destroy(AllocatorTy &Allocator) {
201
313
    // Free memory referenced by the item.
202
313
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
313
    this->~StringMapEntry();
204
313
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
313
  }
void llvm::StringMapEntry<llvm::RTLIB::Libcall>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
2.96k
  void Destroy(AllocatorTy &Allocator) {
201
2.96k
    // Free memory referenced by the item.
202
2.96k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
2.96k
    this->~StringMapEntry();
204
2.96k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
2.96k
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::WebAssemblySubtarget, std::__1::default_delete<llvm::WebAssemblySubtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
319
  void Destroy(AllocatorTy &Allocator) {
201
319
    // Free memory referenced by the item.
202
319
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
319
    this->~StringMapEntry();
204
319
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
319
  }
void llvm::StringMapEntry<unsigned long long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
981
  void Destroy(AllocatorTy &Allocator) {
201
981
    // Free memory referenced by the item.
202
981
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
981
    this->~StringMapEntry();
204
981
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
981
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::X86Subtarget, std::__1::default_delete<llvm::X86Subtarget> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
11.1k
  void Destroy(AllocatorTy &Allocator) {
201
11.1k
    // Free memory referenced by the item.
202
11.1k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
11.1k
    this->~StringMapEntry();
204
11.1k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
11.1k
  }
void llvm::StringMapEntry<std::__1::pair<unsigned int, unsigned int> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
155
  void Destroy(AllocatorTy &Allocator) {
201
155
    // Free memory referenced by the item.
202
155
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
155
    this->~StringMapEntry();
204
155
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
155
  }
void llvm::StringMapEntry<std::__1::pair<unsigned long long, std::__1::array<unsigned int, 5ul> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
846
  void Destroy(AllocatorTy &Allocator) {
201
846
    // Free memory referenced by the item.
202
846
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
846
    this->~StringMapEntry();
204
846
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
846
  }
void llvm::StringMapEntry<llvm::GCStrategy*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
25
  void Destroy(AllocatorTy &Allocator) {
201
25
    // Free memory referenced by the item.
202
25
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
25
    this->~StringMapEntry();
204
25
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
25
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::ExternalSymbolPseudoSourceValue const, std::__1::default_delete<llvm::ExternalSymbolPseudoSourceValue const> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
614
  void Destroy(AllocatorTy &Allocator) {
201
614
    // Free memory referenced by the item.
202
614
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
614
    this->~StringMapEntry();
204
614
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
614
  }
void llvm::StringMapEntry<llvm::ConstantDataSequential*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
80.9k
  void Destroy(AllocatorTy &Allocator) {
201
80.9k
    // Free memory referenced by the item.
202
80.9k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
80.9k
    this->~StringMapEntry();
204
80.9k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
80.9k
  }
void llvm::StringMapEntry<llvm::MDString>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
99.7k
  void Destroy(AllocatorTy &Allocator) {
201
99.7k
    // Free memory referenced by the item.
202
99.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
99.7k
    this->~StringMapEntry();
204
99.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
99.7k
  }
void llvm::StringMapEntry<llvm::StructType*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
59.2k
  void Destroy(AllocatorTy &Allocator) {
201
59.2k
    // Free memory referenced by the item.
202
59.2k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
59.2k
    this->~StringMapEntry();
204
59.2k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
59.2k
  }
void llvm::StringMapEntry<unsigned char>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
175k
  void Destroy(AllocatorTy &Allocator) {
201
175k
    // Free memory referenced by the item.
202
175k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
175k
    this->~StringMapEntry();
204
175k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
175k
  }
void llvm::StringMapEntry<llvm::Comdat>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
29.6k
  void Destroy(AllocatorTy &Allocator) {
201
29.6k
    // Free memory referenced by the item.
202
29.6k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
29.6k
    this->~StringMapEntry();
204
29.6k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
29.6k
  }
void llvm::StringMapEntry<llvm::NamedMDNode*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
30.4k
  void Destroy(AllocatorTy &Allocator) {
201
30.4k
    // Free memory referenced by the item.
202
30.4k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
30.4k
    this->~StringMapEntry();
204
30.4k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
30.4k
  }
void llvm::StringMapEntry<llvm::DenseMap<unsigned long long, llvm::GlobalValueSummary*, llvm::DenseMapInfo<unsigned long long>, llvm::detail::DenseMapPair<unsigned long long, llvm::GlobalValueSummary*> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
641
  void Destroy(AllocatorTy &Allocator) {
201
641
    // Free memory referenced by the item.
202
641
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
641
    this->~StringMapEntry();
204
641
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
641
  }
void llvm::StringMapEntry<llvm::PassInfo const*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
28.2M
  void Destroy(AllocatorTy &Allocator) {
201
28.2M
    // Free memory referenced by the item.
202
28.2M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
28.2M
    this->~StringMapEntry();
204
28.2M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
28.2M
  }
void llvm::StringMapEntry<llvm::Value*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
10.9M
  void Destroy(AllocatorTy &Allocator) {
201
10.9M
    // Free memory referenced by the item.
202
10.9M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
10.9M
    this->~StringMapEntry();
204
10.9M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
10.9M
  }
void llvm::StringMapEntry<std::__1::unordered_set<unsigned long long, std::__1::hash<unsigned long long>, std::__1::equal_to<unsigned long long>, std::__1::allocator<unsigned long long> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
601
  void Destroy(AllocatorTy &Allocator) {
201
601
    // Free memory referenced by the item.
202
601
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
601
    this->~StringMapEntry();
204
601
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
601
  }
GCOVProfiling.cpp:void llvm::StringMapEntry<(anonymous namespace)::GCOVLines>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
84
  void Destroy(AllocatorTy &Allocator) {
201
84
    // Free memory referenced by the item.
202
84
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
84
    this->~StringMapEntry();
204
84
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
84
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
893k
  void Destroy(AllocatorTy &Allocator) {
201
893k
    // Free memory referenced by the item.
202
893k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
893k
    this->~StringMapEntry();
204
893k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
893k
  }
void llvm::StringMapEntry<llvm::MCSymbol*>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
4.24M
  void Destroy(AllocatorTy &Allocator) {
201
4.24M
    // Free memory referenced by the item.
202
4.24M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.24M
    this->~StringMapEntry();
204
4.24M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.24M
  }
void llvm::StringMapEntry<bool>::Destroy<llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul> >(llvm::BumpPtrAllocatorImpl<llvm::MallocAllocator, 4096ul, 4096ul>&)
Line
Count
Source
200
4.63M
  void Destroy(AllocatorTy &Allocator) {
201
4.63M
    // Free memory referenced by the item.
202
4.63M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
4.63M
    this->~StringMapEntry();
204
4.63M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
4.63M
  }
void llvm::StringMapEntry<llvm::MCSectionMachO*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
860k
  void Destroy(AllocatorTy &Allocator) {
201
860k
    // Free memory referenced by the item.
202
860k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
860k
    this->~StringMapEntry();
204
860k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
860k
  }
void llvm::StringMapEntry<llvm::MCAsmMacro>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
239
  void Destroy(AllocatorTy &Allocator) {
201
239
    // Free memory referenced by the item.
202
239
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
239
    this->~StringMapEntry();
204
239
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
239
  }
AsmParser.cpp:void llvm::StringMapEntry<(anonymous namespace)::AsmParser::DirectiveKind>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
3.00M
  void Destroy(AllocatorTy &Allocator) {
201
3.00M
    // Free memory referenced by the item.
202
3.00M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
3.00M
    this->~StringMapEntry();
204
3.00M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
3.00M
  }
void llvm::StringMapEntry<std::__1::pair<llvm::MCAsmParserExtension*, bool (*)(llvm::MCAsmParserExtension*, llvm::StringRef, llvm::SMLoc)> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
710k
  void Destroy(AllocatorTy &Allocator) {
201
710k
    // Free memory referenced by the item.
202
710k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
710k
    this->~StringMapEntry();
204
710k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
710k
  }
void llvm::StringMapEntry<llvm::cl::Option*>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
135M
  void Destroy(AllocatorTy &Allocator) {
201
135M
    // Free memory referenced by the item.
202
135M
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
135M
    this->~StringMapEntry();
204
135M
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
135M
  }
void llvm::StringMapEntry<llvm::StringMap<llvm::SpecialCaseList::Matcher, llvm::MallocAllocator> >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
294
  void Destroy(AllocatorTy &Allocator) {
201
294
    // Free memory referenced by the item.
202
294
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
294
    this->~StringMapEntry();
204
294
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
294
  }
void llvm::StringMapEntry<llvm::SpecialCaseList::Matcher>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
319
  void Destroy(AllocatorTy &Allocator) {
201
319
    // Free memory referenced by the item.
202
319
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
319
    this->~StringMapEntry();
204
319
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
319
  }
void llvm::StringMapEntry<unsigned long>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
32.7k
  void Destroy(AllocatorTy &Allocator) {
201
32.7k
    // Free memory referenced by the item.
202
32.7k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
32.7k
    this->~StringMapEntry();
204
32.7k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
32.7k
  }
void llvm::StringMapEntry<std::__1::pair<llvm::TimerGroup*, llvm::StringMap<llvm::Timer, llvm::MallocAllocator> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
5
  void Destroy(AllocatorTy &Allocator) {
201
5
    // Free memory referenced by the item.
202
5
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
5
    this->~StringMapEntry();
204
5
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
5
  }
void llvm::StringMapEntry<llvm::Timer>::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
5
  void Destroy(AllocatorTy &Allocator) {
201
5
    // Free memory referenced by the item.
202
5
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
5
    this->~StringMapEntry();
204
5
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
5
  }
void llvm::StringMapEntry<std::__1::unique_ptr<llvm::vfs::detail::InMemoryNode, std::__1::default_delete<llvm::vfs::detail::InMemoryNode> > >::Destroy<llvm::MallocAllocator>(llvm::MallocAllocator&)
Line
Count
Source
200
116k
  void Destroy(AllocatorTy &Allocator) {
201
116k
    // Free memory referenced by the item.
202
116k
    size_t AllocSize = sizeof(StringMapEntry) + getKeyLength() + 1;
203
116k
    this->~StringMapEntry();
204
116k
    Allocator.Deallocate(static_cast<void *>(this), AllocSize);
205
116k
  }