Home
last modified time | relevance | path

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

12345678910

/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/Orc/
DCore.cpp128 bool operator()(const orc::SymbolFlagsMap::value_type &KV) { in operator ()()
129 return flagsMatchCLOpts(KV.second); in operator ()()
134 bool operator()(const orc::SymbolMap::value_type &KV) { in operator ()()
135 return flagsMatchCLOpts(KV.second.getFlags()); in operator ()()
188 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap::value_type &KV) { in operator <<() argument
189 return OS << "(\"" << KV.first << "\", " << KV.second << ")"; in operator <<()
192 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap::value_type &KV) { in operator <<() argument
193 return OS << "(\"" << KV.first << "\": " << KV.second << ")"; in operator <<()
207 const SymbolDependenceMap::value_type &KV) { in operator <<() argument
208 return OS << "(" << KV.first << ", " << KV.second << ")"; in operator <<()
[all …]
DRTDyldObjectLinkingLayer.cpp40 for (auto &KV : *InternedResult) in lookup()
41 Result[*KV.first] = std::move(KV.second); in lookup()
61 for (auto &KV : MR.getSymbols()) { in getResponsibilitySet() local
62 if (Symbols.count(*KV.first)) in getResponsibilitySet()
63 Result.insert(*KV.first); in getResponsibilitySet()
197 for (auto &KV : Resolved) { in onObjLoad() local
201 if (InternalSymbols.count(KV.first)) in onObjLoad()
204 auto InternedName = getExecutionSession().intern(KV.first); in onObjLoad()
205 auto Flags = KV.second.getFlags(); in onObjLoad()
218 Symbols[InternedName] = JITEvaluatedSymbol(KV.second.getAddress(), Flags); in onObjLoad()
[all …]
/external/llvm-project/llvm/include/llvm/ExecutionEngine/Orc/
DOrcRPCTargetProcessControl.h76 for (auto &KV : HostAllocs) { in finalizeAsync()
77 assert(TargetAllocs.count(KV.first) && in finalizeAsync()
79 auto &HA = KV.second; in finalizeAsync()
80 auto &TA = TargetAllocs[KV.first]; in finalizeAsync()
83 static_cast<sys::Memory::ProtectionFlags>(KV.first)), in finalizeAsync()
133 for (auto &KV : TargetAllocs) in deallocate()
135 static_cast<sys::Memory::ProtectionFlags>(KV.first)), in deallocate()
136 KV.second.Address, KV.second.AllocatedSize}); in deallocate()
155 for (auto &KV : Request) { in allocate()
156 assert(KV.second.getContentSize() <= std::numeric_limits<size_t>::max() && in allocate()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/Orc/
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 ()()
180 raw_ostream &operator<<(raw_ostream &OS, const SymbolFlagsMap::value_type &KV) { in operator <<() argument
181 return OS << "(\"" << KV.first << "\", " << KV.second << ")"; in operator <<()
184 raw_ostream &operator<<(raw_ostream &OS, const SymbolMap::value_type &KV) { in operator <<() argument
185 return OS << "(\"" << KV.first << "\": " << KV.second << ")"; in operator <<()
199 const SymbolDependenceMap::value_type &KV) { in operator <<() argument
200 return OS << "(" << KV.first->getName() << ", " << KV.second << ")"; in operator <<()
[all …]
DCore.cpp151 for (auto &KV : Symbols) in AsynchronousSymbolQuery() local
152 ResolvedSymbols[KV.first] = nullptr; in AsynchronousSymbolQuery()
217 for (auto &KV : QueryRegistrations) in detach() local
218 KV.first->detachQueryHelper(*this, KV.second); in detach()
247 for (const auto &KV : Symbols) in extractFlags() local
248 Flags[KV.first] = KV.second.getFlags(); in extractFlags()
331 for (auto &KV : RequestedAliases) { in materialize() local
333 if (&SrcJD == &TgtJD && (QueryAliases.count(KV.second.Aliasee) || in materialize()
334 RequestedAliases.count(KV.second.Aliasee))) in materialize()
337 ResponsibilitySymbols.insert(KV.first); in materialize()
[all …]
DObjectLinkingLayer.cpp63 for (auto &KV : Symbols) { in lookup() local
65 switch (KV.second) { in lookup()
73 LookupSet.add(ES.intern(KV.first), LookupFlags); in lookup()
83 for (auto &KV : *Result) in lookup()
84 LR[*KV.first] = KV.second; in lookup()
89 for (auto &KV : InternalNamedSymbolDeps) { in lookup() local
91 InternalDeps[&MR->getTargetJITDylib()] = std::move(KV.second); in lookup()
92 MR->addDependencies(KV.first, InternalDeps); in lookup()
159 for (auto &KV : MR->getSymbols()) { in notifyResolved() local
164 if (KV.second.hasMaterializationSideEffectsOnly()) { in notifyResolved()
[all …]
DRTDyldObjectLinkingLayer.cpp40 for (auto &KV : *InternedResult) in lookup()
41 Result[*KV.first] = std::move(KV.second); in lookup()
61 for (auto &KV : MR.getSymbols()) { in getResponsibilitySet() local
62 if (Symbols.count(*KV.first)) in getResponsibilitySet()
63 Result.insert(*KV.first); in getResponsibilitySet()
226 for (auto &KV : Resolved) { in onObjLoad() local
230 if (InternalSymbols.count(KV.first)) in onObjLoad()
233 auto InternedName = getExecutionSession().intern(KV.first); in onObjLoad()
234 auto Flags = KV.second.getFlags(); in onObjLoad()
247 Symbols[InternedName] = JITEvaluatedSymbol(KV.second.getAddress(), Flags); in onObjLoad()
[all …]
DTPCDynamicLibrarySearchGenerator.cpp35 for (auto &KV : Symbols) { in tryToGenerate() local
37 if (Allow && !Allow(KV.first)) in tryToGenerate()
39 LookupSymbols.add(KV.first, SymbolLookupFlags::WeaklyReferencedSymbol); in tryToGenerate()
54 for (auto &KV : LookupSymbols) { in tryToGenerate() local
56 NewSymbols[KV.first] = in tryToGenerate()
DLLJIT.cpp201 for (auto &KV : MU.getSymbols()) in notifyAdding() local
202 if ((*KV.first).startswith(InitFunctionPrefix)) { in notifyAdding()
203 InitSymbols[&JD].add(KV.first, in notifyAdding()
205 InitFunctions[&JD].add(KV.first); in notifyAdding()
286 for (auto &KV : LookupSymbols) in getInitializers()
287 dbgs() << " \"" << KV.first->getName() << "\": " << KV.second << "\n"; in getInitializers()
303 for (auto &KV : InitsItr->second) in getInitializers() local
304 Initializers.push_back(KV.second.getAddress()); in getInitializers()
339 for (auto &KV : LookupSymbols) in getDeinitializers()
340 dbgs() << " \"" << KV.first->getName() << "\": " << KV.second << "\n"; in getDeinitializers()
[all …]
/external/llvm-project/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp45 for (auto &KV : SegBlocks) { in allocate() local
46 SlabStart = std::min(SlabStart, KV.second.base()); in allocate()
47 SlabEnd = std::max(SlabEnd, (char *)(KV.second.base()) + in allocate()
48 KV.second.allocatedSize()); in allocate()
61 for (auto &KV : SegBlocks) { in allocate() local
62 auto &Prot = KV.first; in allocate()
63 auto &Block = KV.second; in allocate()
87 for (auto &KV : Request) { in allocate() local
88 const auto &Seg = KV.second; in allocate()
109 for (auto &KV : Request) { in allocate() local
[all …]
DJITLinkGeneric.cpp193 for (auto &KV : Layout) { in layOutBlocks() local
204 auto &SegLists = KV.second; in layOutBlocks()
211 for (auto &KV : Layout) { in layOutBlocks()
213 << static_cast<sys::Memory::ProtectionFlags>(KV.first) << ":\n"; in layOutBlocks()
214 auto &SL = KV.second; in layOutBlocks()
233 for (auto &KV : Layout) { in allocateSegments() local
234 auto &Prot = KV.first; in allocateSegments()
235 auto &SegLists = KV.second; in allocateSegments()
260 dbgs() << (&KV == &*Layout.begin() ? "" : "; ") in allocateSegments()
276 for (auto &KV : Layout) { in allocateSegments()
[all …]
DMachOLinkGraphBuilder.cpp194 for (auto &KV : IndexToSection) in createNormalizedSections() local
195 Sections.push_back(&KV.second); in createNormalizedSections()
336 for (auto &KV : IndexToSymbol) { in graphifyRegularSymbols() local
337 auto &NSym = *KV.second; in graphifyRegularSymbols()
344 Twine(KV.first)); in graphifyRegularSymbols()
353 Twine(KV.first)); in graphifyRegularSymbols()
362 Twine(KV.first)); in graphifyRegularSymbols()
374 " at index " + Twine(KV.first)); in graphifyRegularSymbols()
379 " at index " + Twine(KV.first)); in graphifyRegularSymbols()
385 " at index " + Twine(KV.first)); in graphifyRegularSymbols()
[all …]
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/JITLink/
DJITLinkMemoryManager.cpp45 for (auto &KV : SegBlocks) { in allocate() local
46 SlabStart = std::min(SlabStart, KV.second.base()); in allocate()
47 SlabEnd = std::max(SlabEnd, (char *)(KV.second.base()) + in allocate()
48 KV.second.allocatedSize()); in allocate()
61 for (auto &KV : SegBlocks) { in allocate() local
62 auto &Prot = KV.first; in allocate()
63 auto &Block = KV.second; in allocate()
87 for (auto &KV : Request) { in allocate() local
88 const auto &Seg = KV.second; in allocate()
109 for (auto &KV : Request) { in allocate() local
[all …]
DJITLinkGeneric.cpp151 for (auto &KV : Layout) { in layOutBlocks() local
162 auto &SegLists = KV.second; in layOutBlocks()
169 for (auto &KV : Layout) { in layOutBlocks()
171 << static_cast<sys::Memory::ProtectionFlags>(KV.first) << ":\n"; in layOutBlocks()
172 auto &SL = KV.second; in layOutBlocks()
191 for (auto &KV : Layout) { in allocateSegments() local
192 auto &Prot = KV.first; in allocateSegments()
193 auto &SegLists = KV.second; in allocateSegments()
218 dbgs() << (&KV == &*Layout.begin() ? "" : "; ") in allocateSegments()
234 for (auto &KV : Layout) { in allocateSegments()
[all …]
DMachOLinkGraphBuilder.cpp171 for (auto &KV : IndexToSection) in createNormalizedSections() local
172 Sections.push_back(&KV.second); in createNormalizedSections()
306 for (auto &KV : IndexToSymbol) { in graphifyRegularSymbols() local
307 auto &NSym = *KV.second; in graphifyRegularSymbols()
314 Twine(KV.first)); in graphifyRegularSymbols()
323 Twine(KV.first)); in graphifyRegularSymbols()
332 Twine(KV.first)); in graphifyRegularSymbols()
344 " at index " + Twine(KV.first)); in graphifyRegularSymbols()
349 " at index " + Twine(KV.first)); in graphifyRegularSymbols()
355 " at index " + Twine(KV.first)); in graphifyRegularSymbols()
[all …]
/external/llvm-project/llvm/lib/Remarks/
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()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Remarks/
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()
/external/llvm-project/compiler-rt/lib/gwp_asan/tests/
Dalignment.cpp21 for (const auto &KV : AskedSizeToAlignedSize) { in TEST() local
22 EXPECT_EQ(KV.second, in TEST()
24 KV.first, gwp_asan::AlignmentStrategy::POWER_OF_TWO)); in TEST()
35 for (const auto &KV : AskedSizeToAlignedSize) { in TEST() local
36 EXPECT_EQ(KV.second, gwp_asan::rightAlignedAllocationSize( in TEST()
37 KV.first, gwp_asan::AlignmentStrategy::BIONIC)); in TEST()
/external/perfetto/src/traced/probes/sys_stats/
Dsys_stats_data_source_unittest.cc279 using KV = std::pair<int, uint64_t>; in TEST_F() typedef
280 std::vector<KV> kvs; in TEST_F()
285 UnorderedElementsAre(KV{C::MEMINFO_MEM_TOTAL, 3744240}, // in TEST_F()
286 KV{C::MEMINFO_MEM_FREE, 73328}, // in TEST_F()
287 KV{C::MEMINFO_ACTIVE_ANON, 1322636}, // in TEST_F()
288 KV{C::MEMINFO_INACTIVE_FILE, 296320}, // in TEST_F()
289 KV{C::MEMINFO_CMA_FREE, 60})); in TEST_F()
331 using KV = std::pair<int, uint64_t>; in TEST_F() typedef
332 std::vector<KV> kvs; in TEST_F()
336 EXPECT_THAT(kvs, UnorderedElementsAre(KV{C::VMSTAT_NR_FREE_PAGES, 16449}, // in TEST_F()
[all …]
/external/llvm/lib/Target/
DTargetRecip.cpp99 for (auto &KV : RecipMap) in parseGlobalParams() local
100 KV.second.Enabled = Enable; in parseGlobalParams()
104 for (auto &KV : RecipMap) in parseGlobalParams() local
105 KV.second.RefinementSteps = RefSteps; in parseGlobalParams()
198 for (auto &KV : RecipMap) { in setDefaults() local
199 RecipParams &RP = KV.second; in setDefaults()
215 for (const auto &KV : RecipMap) { in operator ==() local
216 StringRef Op = KV.first; in operator ==()
217 const RecipParams &RP = KV.second; in operator ==()
/external/rust/crates/unicode-normalization/src/
Dperfect_hash.rs30 pub(crate) fn mph_lookup<KV, V, FK, FV>( in mph_lookup() argument
33 kv: &[KV], in mph_lookup() argument
39 KV: Copy, in mph_lookup()
40 FK: Fn(KV) -> u32, in mph_lookup()
41 FV: Fn(KV) -> V, in mph_lookup()
/external/pigweed/pw_kvs/
Ddocs.rst18 in `flash memory`_ as a `key-value entry`_ (KV entry) that consists of a
19 header/metadata, the key data, and value data. KV entries are accessed through
28 Individual KV entries are contained within a single flash sector (do not cross
29 sector boundaries). Flash sectors can contain as many KV entries as fit in the
32 KVS does not store any data/metadata/state in flash beyond the KV entries. All
33 KVS system state can be derived from the stored KV entries. Current KVS system
34 state is determined at boot from flash-stored KV entries and then maintained in
41 each KVS update transaction. When determining system state from flash-stored KV
46 Updates/rewrites of a key that has been previously stored is done as a new KV
48 internal state is updated to reflect the new entry. The previously stored KV
[all …]
/external/libcxx/test/std/containers/container.requirements/container.requirements.general/
Dallocator_move.pass.cpp84 using KV = std::pair<const int, int>; in main() typedef
85 test<std::map<int, int, std::less<int>, test_allocator<KV> > >(); in main()
86 test<std::multimap<int, int, std::less<int>, test_allocator<KV> > >(); in main()
100 using KV = std::pair<const int, int>; in main() typedef
102 test_allocator<KV> > >(stored_allocators); in main()
104 test_allocator<KV> > >(stored_allocators); in main()
/external/llvm-project/libcxx/test/std/containers/container.requirements/container.requirements.general/
Dallocator_move.pass.cpp83 using KV = std::pair<const int, int>; in main() typedef
84 test<std::map<int, int, std::less<int>, test_allocator<KV> > >(); in main()
85 test<std::multimap<int, int, std::less<int>, test_allocator<KV> > >(); in main()
99 using KV = std::pair<const int, int>; in main() typedef
101 test_allocator<KV> > >(stored_allocators); in main()
103 test_allocator<KV> > >(stored_allocators); in main()
/external/llvm-project/llvm/lib/Analysis/
DStackSafetyAnalysis.cpp190 for (auto &KV : Params) { in print() local
193 O << F->getArg(KV.first)->getName(); in print()
195 O << formatv("arg{0}", KV.first); in print()
196 O << "[]: " << KV.second << "\n"; in print()
532 for (auto &KV : US.Calls) { in updateOneUse() local
533 assert(!KV.second.isEmptySet() && in updateOneUse()
537 getArgumentAccessRange(KV.first.Callee, KV.first.ParamNo, KV.second); in updateOneUse()
554 for (auto &KV : FS.Params) in updateOneNode() local
555 Changed |= updateOneUse(KV.second, UpdateToFullSet); in updateOneNode()
575 for (auto &KV : FS.Params) in runDataFlow() local
[all …]

12345678910