Home
last modified time | relevance | path

Searched refs:KV (Results 1 – 25 of 129) sorted by relevance

123456

/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/Orc/
H A DDebugUtils.cpp125 bool operator()(const orc::SymbolFlagsMap::value_type &KV) { in operator ()()
126 return flagsMatchCLOpts(KV.second); in operator ()()
131 bool operator()(const orc::SymbolMap::value_type &KV) { in operator ()()
132 return flagsMatchCLOpts(KV.second.getFlags()); in operator ()()
183 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap::value_type &KV) { in operator <<() argument
184 return OS << "(\"" << KV.first << "\", " << KV.second << ")"; in operator <<()
187 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap::value_type &KV) { in operator <<() argument
188 return OS << "(\"" << KV.first << "\": " << KV.second << ")"; in operator <<()
202 const SymbolDependenceMap::value_type &KV) { in operator <<() argument
203 return OS << "(" << KV.first->getName() << ", " << KV.second << ")"; in operator <<()
[all …]
H A DCore.cpp400 for (auto &KV : RequestedAliases) { in materialize() local
402 if (&SrcJD == &TgtJD && (QueryAliases.count(KV.second.Aliasee) || in materialize()
403 RequestedAliases.count(KV.second.Aliasee))) in materialize()
406 ResponsibilitySymbols.insert(KV.first); in materialize()
407 QuerySymbols.add(KV.second.Aliasee, in materialize()
408 KV.second.AliasFlags.hasMaterializationSideEffectsOnly() in materialize()
411 QueryAliases[KV.first] = std::move(KV.second); in materialize()
415 for (auto &KV : QueryAliases) in materialize() local
416 RequestedAliases.erase(KV.first); in materialize()
461 for (auto &KV : QueryInfo->Aliases) { in materialize() local
[all …]
H A DEPCGenericJITLinkMemoryManager.cpp47 for (auto &KV : Segs) { in finalize() local
48 assert(KV.second.ContentSize <= std::numeric_limits<size_t>::max()); in finalize()
50 KV.first, in finalize()
51 KV.second.Addr, in finalize()
52 alignTo(KV.second.ContentSize + KV.second.ZeroFillSize, in finalize()
54 {KV.second.WorkingMem, static_cast<size_t>(KV.second.ContentSize)}}); in finalize()
149 for (auto &KV : BL.segments()) { in completeAllocation() local
150 const auto &AG = KV.first; in completeAllocation()
151 auto &Seg = KV.second; in completeAllocation()
154 KV.second.WorkingMem = BL.getGraph().allocateBuffer(Seg.ContentSize).data(); in completeAllocation()
H A DLookupAndRecordAddrs.cpp23 for (auto &KV : Pairs) in lookupAndRecordAddrs() local
24 Symbols.add(KV.first, LookupFlags); in lookupAndRecordAddrs()
32 for (auto &KV : Pairs) { in lookupAndRecordAddrs() local
33 auto I = Result->find(KV.first); in lookupAndRecordAddrs()
34 *KV.second = in lookupAndRecordAddrs()
60 for (auto &KV : Pairs) in lookupAndRecordAddrs() local
61 Symbols.add(KV.first, LookupFlags); in lookupAndRecordAddrs()
H A DExecutionUtils.cpp147 for (auto &KV : CtorDtorsByPriority) in run() local
148 for (auto &Name : KV.second) in run()
157 for (auto &KV : CtorDtorsByPriority) { in run() local
158 for (auto &Name : KV.second) { in run()
248 for (auto &KV : Symbols) { in tryToGenerate() local
249 auto &Name = KV.first; in tryToGenerate()
397 for (const auto &KV : Symbols) { in tryToGenerate() local
398 const auto &Name = KV.first; in tryToGenerate()
510 for (auto &KV : LO) { in tryToGenerate() local
511 if (KV.first == &JD) in tryToGenerate()
[all …]
H A DRTDyldObjectLinkingLayer.cpp42 for (auto &KV : *InternedResult) in lookup()
43 Result[*KV.first] = {KV.second.getAddress().getValue(), in lookup()
44 KV.second.getFlags()}; in lookup()
60 for (auto &KV : MR.getSymbols()) { in getResponsibilitySet() local
61 if (Symbols.count(*KV.first)) in getResponsibilitySet()
62 Result.insert(*KV.first); in getResponsibilitySet()
305 for (auto &KV : Resolved) { in onObjLoad() local
309 if (InternalSymbols.count(KV.first)) in onObjLoad()
312 auto InternedName = getExecutionSession().intern(KV.first); in onObjLoad()
313 auto Flags = KV.second.getFlags(); in onObjLoad()
[all …]
H A DEPCDynamicLibrarySearchGenerator.cpp44 for (auto &KV : Symbols) { in tryToGenerate() local
46 if (Allow && !Allow(KV.first)) in tryToGenerate()
48 LookupSymbols.add(KV.first, SymbolLookupFlags::WeaklyReferencedSymbol); in tryToGenerate()
68 for (auto &KV : LookupSymbols) { in tryToGenerate() local
70 NewSymbols[KV.first] = *ResultI; in tryToGenerate()
H A DObjectLinkingLayer.cpp197 for (auto &KV : Symbols) { in lookup() local
199 switch (KV.second) { in lookup()
207 LookupSet.add(ES.intern(KV.first), LookupFlags); in lookup()
217 for (auto &KV : *Result) in lookup()
218 LR[*KV.first] = KV.second; in lookup()
280 for (auto &KV : MR->getSymbols()) { in notifyResolved() local
282 auto I = InternedResult.find(KV.first); in notifyResolved()
287 if (KV.second.hasMaterializationSideEffectsOnly()) { in notifyResolved()
290 ExtraSymbols.push_back(KV.first); in notifyResolved()
293 MissingSymbols.push_back(KV.first); in notifyResolved()
[all …]
H A DCOFFPlatform.cpp259 for (auto &KV : AL) { in addAliases() local
260 auto AliasName = ES.intern(KV.first); in addAliases()
262 Aliases[std::move(AliasName)] = {ES.intern(KV.second), in addAliases()
478 for (auto &KV : O) { in buildJDDepMap() local
479 if (KV.first == CurJD) in buildJDDepMap()
484 if (!JITDylibToHeaderAddr.count(KV.first)) { in buildJDDepMap()
493 DM.push_back(KV.first); in buildJDDepMap()
495 if (!JDDepMap.count(KV.first)) { in buildJDDepMap()
496 Worklist.push_back(KV.first); in buildJDDepMap()
497 JDDepMap[KV in buildJDDepMap()
537 for (auto &KV : JDDepMap) { pushInitializersLoop() local
715 for (auto KV : JDBootstrapStates) { bootstrapCOFFRuntime() local
731 for (auto KV : JDBootstrapStates) { bootstrapCOFFRuntime() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkStringTable.cpp33 auto KV = StrTab.insert({Str, NextID}); in add() local
35 if (KV.second) in add()
36 SerializedSize += KV.first->first().size() + 1; // +1 for the '\0' in add()
38 return {KV.first->second, KV.first->first()}; in add()
67 for (const auto &KV : StrTab) in serialize() local
68 Strings[KV.second] = KV.first(); in serialize()
/freebsd/contrib/llvm-project/lldb/source/Plugins/Platform/QemuUser/
H A DPlatformQemuUser.cpp129 for (const auto &KV : target) { in ComputeLaunchEnvironment() local
132 auto host_it = host.find(KV.first()); in ComputeLaunchEnvironment()
133 if (host_it == host.end() || host_it->second != KV.second) in ComputeLaunchEnvironment()
134 set_env.push_back(Environment::compose(KV)); in ComputeLaunchEnvironment()
139 for (const auto &KV : host) { in ComputeLaunchEnvironment() local
142 if (target.count(KV.first()) == 0) in ComputeLaunchEnvironment()
143 unset_env.push_back(KV.first()); in ComputeLaunchEnvironment()
205 for (const auto &KV : GetGlobalProperties().GetEmulatorEnvVars()) in DebugProcess()
206 emulator_env[KV.first()] = KV in DebugProcess()
196 for (const auto &KV : GetGlobalProperties().GetEmulatorEnvVars()) DebugProcess() local
239 for (const auto &KV : GetGlobalProperties().GetTargetEnvVars()) GetEnvironment() local
[all...]
/freebsd/contrib/llvm-project/compiler-rt/lib/orc/
H A Dmacho_platform.cpp657 for (auto &KV : Secs) { in dlopen()
659 if (KV.first == "__TEXT,__eh_frame") { in dlopen()
662 if (auto Err = registerEHFrames(KV.second.toSpan<const char>())) in dlopen()
665 } else if (KV.first == "__DATA,__data") { in dlopen()
666 assert(!JDS->DataSectionContent.count(KV.second.Start.toPtr<char *>()) && in dlopen()
668 auto S = KV.second.toSpan<char>(); in dlopen()
669 JDS->DataSectionContent[KV.second.Start.toPtr<char *>()] =
671 } else if (KV.first == "__DATA,__common") { in dlclose()
672 JDS->ZeroInitRanges[KV.second.Start.toPtr<char *>()] = KV in dlclose()
538 for (auto &KV : Secs) { registerObjectPlatformSections() local
622 for (auto &KV : Secs) { deregisterObjectPlatformSections() local
822 for (auto &KV : JDStates) { lookupUnwindSections() local
1073 for (auto &KV : JDS.DataSectionContent) dlcloseDeinitialize() local
1075 for (auto &KV : JDS.ZeroInitRanges) dlcloseDeinitialize() local
[all...]
H A Dcoff_platform.cpp468 for (auto &KV : Secs) { in registerObjectSections() local
469 if (auto Err = registerBlockRange(HeaderAddr, KV.second)) in registerObjectSections()
471 if (KV.first.empty()) in registerObjectSections()
473 char LastChar = KV.first.data()[KV.first.size() - 1]; in registerObjectSections()
474 if (KV.first == ".pdata") { in registerObjectSections()
475 if (auto Err = registerSEHFrames(HeaderAddr, KV.second)) in registerObjectSections()
477 } else if (KV.first >= ".CRT$XIA" && KV.first <= ".CRT$XIZ") { in registerObjectSections()
480 KV in registerObjectSections()
513 for (auto &KV : Secs) { deregisterObjectSections() local
[all...]
/freebsd/contrib/llvm-project/clang/lib/Basic/
H A DDarwinSDKInfo.cpp25 auto KV = Mapping.find(Key.normalize()); in map() local
26 if (KV != Mapping.end()) in map()
27 return KV->getSecond(); in map()
44 for (const auto &KV : Obj) { in parseJSON() local
45 if (auto Val = KV.getSecond().getAsString()) { in parseJSON()
48 if (KeyVersion.tryParse(KV.getFirst()) || ValueVersion.tryParse(*Val)) in parseJSON()
91 for (const auto &KV : *VM) { in parseDarwinSDKSettingsJSON()
92 auto Pair = StringRef(KV.getFirst()).split("_"); in parseDarwinSDKSettingsJSON()
97 *KV.getSecond().getAsObject(), *MaximumDeploymentVersion); in parseDarwinSDKSettingsJSON()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DAnnotationRemarks.cpp70 for (const auto &KV : Mapping) in runImpl() local
73 << "Annotated " << NV("count", KV.second) << " instructions with " in runImpl()
74 << NV("type", KV.first)); in runImpl()
78 for (auto &KV : DebugLoc2Annotated) { in runImpl() local
80 if (!KV.first) in runImpl()
83 tryEmitAutoInitRemark(KV.second, ORE, TLI); in runImpl()
/freebsd/contrib/llvm-project/llvm/lib/ExecutionEngine/JITLink/
H A DJITLinkMemoryManager.cpp51 for (auto &KV : Segments) { in BasicLayout() local
52 auto &Seg = KV.second; in BasicLayout()
72 dbgs() << " Seg " << KV.first in BasicLayout()
84 for (auto &KV : segments()) { in getContiguousPageBasedLayoutSizes() local
85 auto &AG = KV.first; in getContiguousPageBasedLayoutSizes()
86 auto &Seg = KV.second; in getContiguousPageBasedLayoutSizes()
103 for (auto &KV : Segments) { in apply() local
104 auto &Seg = KV.second; in apply()
163 for (auto &KV : Segments) { in Create() local
164 auto &AG = KV.first; in Create()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DStackSafetyAnalysis.cpp198 for (auto &KV : Params) { in print() local
201 O << F->getArg(KV.first)->getName(); in print()
203 O << formatv("arg{0}", KV.first); in print()
204 O << "[]: " << KV.second << "\n"; in print()
645 for (auto &KV : US.Calls) { in updateOneUse() local
646 assert(!KV.second.isEmptySet() && in updateOneUse()
650 getArgumentAccessRange(KV.first.Callee, KV.first.ParamNo, KV.second); in updateOneUse()
667 for (auto &KV in updateOneNode() local
688 for (auto &KV : FS.Params) runDataFlow() local
848 for (auto &KV : FnKV.second.Params) { createGlobalStackSafetyInfo() local
861 for (auto &KV : FI.Allocas) { createGlobalStackSafetyInfo() local
871 for (auto &KV : FI.Params) { createGlobalStackSafetyInfo() local
921 for (auto &KV : FnKV.second.Allocas) { getInfo() local
945 for (const auto &KV : getInfo().Info.Params) { getParamAccesses() local
1194 for (const auto &KV : SSDFA.run()) { generateParamAccessSummary() local
[all...]
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DAMDGPURemoveIncompatibleFunctions.cpp76 for (const SubtargetFeatureKV &KV : AMDGPUFeatureKV) in getFeatureName() local
77 if (Feature == KV.Value) in getFeatureName()
78 return KV.Key; in getFeatureName()
85 for (const SubtargetSubTypeKV &KV : ST.getAllProcessorDescriptions()) in getGPUInfo() local
86 if (StringRef(KV.Key) == GPUName) in getGPUInfo()
87 return &KV; in getGPUInfo()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/
H A DVTEmitter.cpp158 for (const auto &KV : VTRanges) { in run() local
159 assert(KV.second.Closed); in run()
160 OS << " FIRST_" << KV.first << " = " << KV.second.First << ",\n" in run()
161 << " LAST_" << KV.first << " = " << KV.second.Last << ",\n"; in run()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DForceFunctionAttrs.cpp55 auto KV = StringRef(S).split(':'); in forceAttributes()
56 if (KV.first != F.getName()) in forceAttributes()
58 AttributeText = KV.second; in forceAttributes()
40 auto KV = StringRef(S).split(':'); forceAttributes() local
/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblyMachineFunctionInfo.cpp143 for (auto KV : EHInfo->SrcToUnwindDest) { in WebAssemblyFunctionInfo() local
144 auto *SrcBB = KV.first.get<MachineBasicBlock *>(); in WebAssemblyFunctionInfo()
145 auto *DestBB = KV.second.get<MachineBasicBlock *>(); in WebAssemblyFunctionInfo()
168 for (auto KV : YamlMFI.SrcToUnwindDest) in initializeBaseYamlFields() local
169 WasmEHInfo->setUnwindDest(MF.getBlockNumbered(KV.first), in initializeBaseYamlFields()
170 MF.getBlockNumbered(KV.second)); in initializeBaseYamlFields()
/freebsd/contrib/llvm-project/compiler-rt/lib/sanitizer_common/
H A Dsanitizer_dense_map.h123 detail::DenseMapPair<value_type *, bool> insert(const value_type &KV) { in insert() argument
124 return try_emplace(KV.first, KV.second); in insert()
130 detail::DenseMapPair<value_type *, bool> insert(value_type &&KV) { in insert() argument
131 return try_emplace(__sanitizer::move(KV.first), in insert()
132 __sanitizer::move(KV.second)); in insert()
173 detail::DenseMapPair<value_type *, bool> insert_as(value_type &&KV, in insert_as() argument
181 InsertIntoBucketWithLookup(TheBucket, __sanitizer::move(KV.first), in insert_as()
182 __sanitizer::move(KV.second), Val); in insert_as()
248 [&](const value_type &KV) { return fn(KV); }); in forEach()
542 BucketT>::value_type &KV) -> bool {
[all …]
/freebsd/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
H A DDebugUtils.h51 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap::value_type &KV);
54 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap::value_type &KV);
64 const SymbolDependenceMap::value_type &KV);
80 raw_ostream &operator<<(raw_ostream &OS, const SymbolLookupSet::value_type &KV);
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h141 std::pair<iterator, bool> insert(const std::pair<KeyT, ValueT> &KV) {
142 return try_emplace(KV.first, KV.second); in contains()
144 std::pair<iterator, bool> insert(std::pair<KeyT, ValueT> &&KV) { in count()
145 return try_emplace(std::move(KV.first), std::move(KV.second));
117 insert(const std::pair<KeyT,ValueT> & KV) insert() argument
129 insert(std::pair<KeyT,ValueT> && KV) insert() argument
/freebsd/contrib/llvm-project/lldb/source/Utility/
H A DEnvironment.cpp32 for (const auto &KV : Env) in Envp() local
33 *Next++ = make_entry(KV.first(), KV.second); in Envp()

123456