Home
last modified time | relevance | path

Searched refs:Inserted (Results 1 – 25 of 59) sorted by relevance

123

/openbsd-src/gnu/llvm/llvm/include/llvm/IR/
H A DPassManagerImpl.h57 bool Inserted; in getResultImpl() local
58 std::tie(RI, Inserted) = AnalysisResults.insert(std::make_pair( in getResultImpl()
63 if (Inserted) { in getResultImpl()
118 bool Inserted = in invalidate() local
120 (void)Inserted; in invalidate()
121 assert(Inserted && "Should never have already inserted this ID, likely " in invalidate()
H A DPassManager.h722 bool Inserted; in invalidateImpl() local
723 std::tie(IMapI, Inserted) = in invalidateImpl()
725 (void)Inserted; in invalidateImpl()
726 assert(Inserted && "Should not have already inserted this ID, likely " in invalidateImpl()
/openbsd-src/gnu/llvm/libcxx/benchmarks/
H A Dmap.bench.cpp250 bool Inserted = Map.insert(std::make_pair(K, 1)).second; in run()
252 if (Inserted) in run()
255 if (!Inserted) in run()
292 auto Inserted = Map.insert(*H, std::make_pair(K, 1)); in run()
294 if (Inserted != *H) in run()
297 if (++Inserted != *H) in run()
369 bool Inserted = Map.insert_or_assign(K, 1).second; in run()
371 if (Inserted) in run()
374 if (!Inserted) in run()
411 auto Inserted = Map.insert_or_assign(*H, K, 1); in run()
[all …]
/openbsd-src/gnu/llvm/clang/lib/Analysis/
H A DMacroExpansionContext.cpp62 bool Inserted; in MacroExpands() local
63 std::tie(It, Inserted) = in MacroExpands()
65 if (Inserted) { in MacroExpands()
226 bool Inserted; in onTokenLexed() local
227 std::tie(It, Inserted) = in onTokenLexed()
229 if (!Inserted) in onTokenLexed()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp136 bool Inserted = false; in collectControlConditions() local
145 Inserted = Conditions.addControlCondition( in collectControlConditions()
151 Inserted = Conditions.addControlCondition( in collectControlConditions()
156 if (Inserted) in collectControlConditions()
169 bool Inserted = false; in addControlCondition() local
174 Inserted = true; in addControlCondition()
177 LLVM_DEBUG(dbgs() << (Inserted ? "Inserted " : "Not inserted ") << C << "\n"); in addControlCondition()
178 return Inserted; in addControlCondition()
H A DLoopRotationUtils.cpp88 bool Inserted = VM.insert({K, V}).second; in InsertNewValueIntoMap() local
89 assert(Inserted); in InsertNewValueIntoMap()
90 (void)Inserted; in InsertNewValueIntoMap()
/openbsd-src/gnu/llvm/llvm/lib/IR/
H A DPassRegistry.cpp51 bool Inserted = in registerPass() local
53 assert(Inserted && "Pass registered multiple times!"); in registerPass()
54 (void)Inserted; in registerPass()
/openbsd-src/gnu/llvm/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp166 bool Inserted; in getChildDeclContext() local
170 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext); in getChildDeclContext()
171 assert(Inserted && "Failed to insert DeclContext"); in getChildDeclContext()
172 (void)Inserted; in getChildDeclContext()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Instrumentation/
H A DCFGMST.h263 bool Inserted; in addEdge() local
264 std::tie(Iter, Inserted) = BBInfos.insert(std::make_pair(Src, nullptr)); in addEdge()
265 if (Inserted) { in addEdge()
270 std::tie(Iter, Inserted) = BBInfos.insert(std::make_pair(Dest, nullptr)); in addEdge()
271 if (Inserted) in addEdge()
/openbsd-src/gnu/llvm/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h73 bool Inserted; in getNumber() local
74 std::tie(MapIter, Inserted) = GlobalNumbers.insert({Global, NextNumber}); in getNumber()
75 if (Inserted) in getNumber()
/openbsd-src/gnu/llvm/llvm/lib/XRay/
H A DProfile.cpp212 bool Inserted; in mergeProfilesByThread() local
213 std::tie(PathDataIt, Inserted) = It->second->insert({NewPathID, Data}); in mergeProfilesByThread()
214 if (!Inserted) { in mergeProfilesByThread()
245 bool Inserted; in mergeProfilesByStack() local
246 std::tie(PathDataIt, Inserted) = PathData.insert({NewPathID, Data}); in mergeProfilesByStack()
247 if (!Inserted) { in mergeProfilesByStack()
/openbsd-src/gnu/llvm/llvm/lib/Support/
H A DSignposts.cpp58 const auto &Inserted = Signposts.insert(std::make_pair(O, ID)); in getSignpostForObject() local
59 return Inserted.first->second; in getSignpostForObject()
/openbsd-src/gnu/llvm/llvm/include/llvm/CodeGen/
H A DMachineDominators.h246 bool Inserted = NewBBs.insert(NewBB).second; in recordSplitCriticalEdge() local
247 (void)Inserted; in recordSplitCriticalEdge()
248 assert(Inserted && in recordSplitCriticalEdge()
/openbsd-src/gnu/llvm/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp88 bool Inserted = ByName.try_emplace(R->getName(), &AllTypes.back()).second; in add() local
89 assert(Inserted && "Duplicate node name"); in add()
90 (void)Inserted; in add()
/openbsd-src/gnu/llvm/llvm/lib/Remarks/
H A DRemarkLinker.cpp61 auto Inserted = Remarks.insert(std::move(Remark)); in keep() local
62 return **Inserted.first; in keep()
/openbsd-src/gnu/llvm/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp127 bool Inserted = false; in createEntriesInEntryBlock() local
140 Inserted = true; in createEntriesInEntryBlock()
143 return Inserted; in createEntriesInEntryBlock()
/openbsd-src/gnu/llvm/llvm/lib/Analysis/
H A DCaptureTracking.cpp477 bool Inserted; in isNonEscapingLocalObject() local
478 std::tie(CacheIt, Inserted) = IsCapturedCache->insert({V, false}); in isNonEscapingLocalObject()
479 if (!Inserted) in isNonEscapingLocalObject()
H A DCGSCCPassManager.cpp914 bool Inserted = RetainedEdges.insert(CalleeN).second; in updateCGAndAnalysisManagerForPass() local
915 (void)Inserted; in updateCGAndAnalysisManagerForPass()
916 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
950 bool Inserted = RetainedEdges.insert(RefereeN).second; in updateCGAndAnalysisManagerForPass() local
951 (void)Inserted; in updateCGAndAnalysisManagerForPass()
952 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
H A DLazyCallGraph.cpp343 bool Inserted = SCCSet.insert(C).second; in verify() local
344 assert(Inserted && "Found a duplicate SCC!"); in verify()
1404 auto [Iterator, Inserted] = in insertTrivialCallEdge()
1406 if (!Inserted) { in insertTrivialCallEdge()
1431 auto [Iterator, Inserted] = in insertTrivialRefEdge()
1434 if (!Inserted) in insertTrivialRefEdge()
1949 bool Inserted = in buildRefSCCs() local
1951 (void)Inserted; in buildRefSCCs()
1952 assert(Inserted && "Cannot already have this RefSCC in the index map!"); in buildRefSCCs()
/openbsd-src/gnu/llvm/llvm/lib/Target/AMDGPU/
H A DAMDGPUInsertDelayAlu.cpp215 bool Inserted; in merge() local
216 std::tie(It, Inserted) = insert(KV); in merge()
217 if (!Inserted) in merge()
/openbsd-src/gnu/llvm/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp381 bool Inserted; in collectConstantCandidates() local
383 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
384 if (Inserted) { in collectConstantCandidates()
439 bool Inserted; in collectConstantCandidates() local
441 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
442 if (Inserted) { in collectConstantCandidates()
/openbsd-src/gnu/llvm/llvm/include/llvm/ADT/
H A DSmallSet.h179 auto [I, Inserted] = Set.insert(V); in insert()
180 return std::make_pair(const_iterator(I), Inserted); in insert()
H A DFoldingSet.h504 T *Inserted = GetOrInsertNode(N); in InsertNode() local
505 (void)Inserted; in InsertNode()
506 assert(Inserted == N && "Node already inserted!"); in InsertNode()
/openbsd-src/gnu/llvm/llvm/tools/obj2yaml/
H A Dcoff2yaml.cpp149 bool Inserted; in dumpSections() local
150 std::tie(It, Inserted) = SymbolUnique.insert(std::make_pair(Name, true)); in dumpSections()
151 if (!Inserted) in dumpSections()
/openbsd-src/gnu/llvm/clang/lib/Tooling/DependencyScanning/
H A DModuleDepCollector.cpp297 bool Inserted = ModuleDepsByID.insert({Deps.ID, &Deps}).second; in associateWithContextHash() local
298 (void)Inserted; in associateWithContextHash()
299 assert(Inserted && "duplicate module mapping"); in associateWithContextHash()

123