Searched refs:KV (Results 1 - 25 of 72) sorted by relevance

123

/freebsd-12-stable/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkStringTable.cpp33 auto KV = StrTab.insert({Str, NextID}); local
35 if (KV.second)
36 SerializedSize += KV.first->first().size() + 1; // +1 for the '\0'
38 return {KV.first->second, KV.first->first()};
67 for (const auto &KV : StrTab)
68 Strings[KV.second] = KV.first();
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp45 for (auto &KV : SegBlocks) {
46 SlabStart = std::min(SlabStart, KV.second.base());
47 SlabEnd = std::max(SlabEnd, (char *)(KV.second.base()) +
48 KV.second.allocatedSize());
61 for (auto &KV : SegBlocks) {
62 auto &Prot = KV.first;
63 auto &Block = KV.second;
87 for (auto &KV : Request) {
88 const auto &Seg = KV.second;
109 for (auto &KV
[all...]
H A DJITLinkGeneric.cpp151 for (auto &KV : Layout) {
162 auto &SegLists = KV.second;
169 for (auto &KV : Layout) {
171 << static_cast<sys::Memory::ProtectionFlags>(KV.first) << ":\n";
172 auto &SL = KV.second;
191 for (auto &KV : Layout) {
192 auto &Prot = KV.first;
193 auto &SegLists = KV.second;
218 dbgs() << (&KV == &*Layout.begin() ? "" : "; ")
234 for (auto &KV
[all...]
H A DMachOLinkGraphBuilder.cpp171 for (auto &KV : IndexToSection)
172 Sections.push_back(&KV.second);
306 for (auto &KV : IndexToSymbol) {
307 auto &NSym = *KV.second;
314 Twine(KV.first));
323 Twine(KV.first));
332 Twine(KV.first));
344 " at index " + Twine(KV.first));
349 " at index " + Twine(KV.first));
355 " at index " + Twine(KV
[all...]
H A DJITLinkGeneric.h151 for (auto &KV : Layout) {
152 auto &Prot = KV.first;
153 auto &SegLayout = KV.second;
/freebsd-12-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DRTDyldObjectLinkingLayer.cpp40 for (auto &KV : *InternedResult)
41 Result[*KV.first] = std::move(KV.second);
61 for (auto &KV : MR.getSymbols()) {
62 if (Symbols.count(*KV.first))
63 Result.insert(*KV.first);
197 for (auto &KV : Resolved) {
201 if (InternalSymbols.count(KV.first))
204 auto InternedName = getExecutionSession().intern(KV.first);
205 auto Flags = KV
[all...]
H A DCore.cpp128 bool operator()(const orc::SymbolFlagsMap::value_type &KV) { argument
129 return flagsMatchCLOpts(KV.second);
134 bool operator()(const orc::SymbolMap::value_type &KV) { argument
135 return flagsMatchCLOpts(KV.second.getFlags());
188 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap::value_type &KV) { argument
189 return OS << "(\"" << KV.first << "\", " << KV.second << ")";
192 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap::value_type &KV) { argument
193 return OS << "(\"" << KV.first << "\": " << KV
206 operator <<(raw_ostream &OS, const SymbolDependenceMap::value_type &KV) argument
254 operator <<(raw_ostream &OS, const SymbolLookupSet::value_type &KV) argument
[all...]
H A DLegacy.cpp34 for (auto &KV : *InternedResult)
35 Result[*KV.first] = std::move(KV.second);
H A DExecutionUtils.cpp148 for (auto &KV : CtorDtorsByPriority)
149 for (auto &Name : KV.second)
158 for (auto &KV : CtorDtorsByPriority) {
159 for (auto &Name : KV.second) {
224 for (auto &KV : Symbols) {
225 auto &Name = KV.first;
290 for (const auto &KV : Symbols) {
291 const auto &Name = KV.first;
H A DOrcMCJITReplacement.cpp129 for (auto &KV : CtorDtorsMap)
131 AcknowledgeORCv1Deprecation, std::move(KV.second), KV.first)
H A DLazyReexports.cpp203 for (auto &KV : Aliases) {
204 assert(KV.second.AliasFlags.isCallable() &&
206 SymbolFlags[KV.first] = KV.second.AliasFlags;
H A DObjectLinkingLayer.cpp60 for (auto &KV : Symbols) {
62 switch (KV.second) {
70 LookupSet.add(ES.intern(KV.first), LookupFlags);
81 for (auto &KV : *Result)
82 LR[*KV.first] = KV.second;
408 for (auto &KV : TrackedAllocs)
409 Allocs.push_back(std::move(KV.second));
478 for (auto &KV : TrackedEHFrameRanges)
479 EHFrameRanges.push_back(KV
[all...]
/freebsd-12-stable/contrib/llvm-project/lldb/source/Utility/
H A DEnvironment.cpp32 for (const auto &KV : Env)
33 *Next++ = make_entry(KV.first(), KV.second);
H A DStructuredData.cpp75 for (auto &KV : *object) {
76 StringRef key = KV.first;
77 json::Value value = KV.second;
/freebsd-12-stable/contrib/llvm-project/llvm/utils/TableGen/
H A DOptRSTEmitter.cpp52 for (const auto &KV : OptionsByGroup) {
53 std::string GroupName = KV.getKey().upper();
58 for (Record *R : KV.getValue()) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp75 auto KV = StringRef(S).split(':'); local
76 if (KV.first != F.getName())
79 auto Kind = parseAttrKind(KV.second);
81 LLVM_DEBUG(dbgs() << "ForcedAttribute: " << KV.second
/freebsd-12-stable/contrib/llvm-project/lldb/include/lldb/Utility/
H A DEnvironment.h89 for (const auto &KV : Env)
90 Stream << "env[" << KV.first() << "] = " << KV.second << "\n";
/freebsd-12-stable/contrib/llvm-project/clang/lib/Tooling/
H A DExecution.cpp33 for (const auto &KV : KVResults) {
34 Callback(KV.first, KV.second);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Object/
H A DModuleSymbolTable.cpp131 for (auto &KV : Streamer) {
132 StringRef Key = KV.first();
133 RecordStreamer::State Value = KV.second;
165 for (auto &KV : Streamer.symverAliases())
166 for (auto &Alias : KV.second)
167 AsmSymver(KV.first->getName(), Alias);
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h117 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { argument
118 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(KV.first, 0);
122 Vector.push_back(std::make_pair(KV.first, KV.second));
129 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) { argument
130 // Copy KV.first into the map, then move it into the vector.
131 std::pair<KeyT, typename MapType::mapped_type> Pair = std::make_pair(KV.first, 0);
135 Vector.push_back(std::move(KV));
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyTargetMachine.cpp223 for (const SubtargetFeatureKV &KV : WebAssemblyFeatureKV) {
224 if (Features[KV.Value])
225 Ret += (StringRef("+") + KV.Key + ",").str();
276 for (const SubtargetFeatureKV &KV : WebAssemblyFeatureKV) {
277 std::string MDKey = (StringRef("wasm-feature-") + KV.Key).str();
278 if (KV.Value == WebAssembly::FeatureAtomics && Stripped) {
286 } else if (Features[KV.Value]) {
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPUPropagateAttributes.cpp304 for (const SubtargetFeatureKV &KV : AMDGPUFeatureKV) {
305 if (Features[KV.Value])
306 Ret += (StringRef("+") + KV.Key + ",").str();
307 else if (TargetFeatures[KV.Value])
308 Ret += (StringRef("-") + KV.Key + ",").str();
/freebsd-12-stable/contrib/llvm-project/clang/lib/Serialization/
H A DMultiOnDiskHashTable.h269 for (auto &KV : M->Data)
270 Info::MergeDataInto(KV.second, ResultBuilder);
326 for (auto &KV : Merged->Data) {
327 if (!Gen.contains(KV.first, Info))
328 Gen.insert(KV.first, Info.ImportData(KV.second), Info);
/freebsd-12-stable/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopRerollPass.cpp840 for (auto &KV : Roots) {
841 if (KV.first == 0)
843 if (!KV.second->hasNUses(NumBaseUses)) {
846 << ", #Root=" << KV.second->getNumUses() << "\n");
936 for (auto &KV : V) {
938 DRS.BaseInst = KV.second;
941 DRS.Roots.push_back(KV.second);
942 } else if (V.find(KV.first - 1) != V.end()) {
943 DRS.Roots.push_back(KV.second);
951 DRS.BaseInst = KV
[all...]
/freebsd-12-stable/contrib/llvm-project/llvm/include/llvm/IR/
H A DValueMap.h173 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) { argument
174 auto MapResult = Map.insert(std::make_pair(Wrap(KV.first), KV.second));
178 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) { argument
180 Map.insert(std::make_pair(Wrap(KV.first), std::move(KV.second)));

Completed in 619 milliseconds

123