Home
last modified time | relevance | path

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

123

/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Analysis/FlowSensitive/
H A DArena.cpp28 auto [It, Inserted] = Cache.try_emplace(std::forward<Key>(K)); in cached()
29 if (Inserted) in cached()
105 auto [It, Inserted] = IntegerLiterals.try_emplace(Value, nullptr); in makeIntLiteral()
107 if (Inserted) in makeIntLiteral()
113 auto [It, Inserted] = FormulaValues.try_emplace(&F); in makeBoolValue()
114 if (Inserted) in makeBoolValue()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRewritePartialRegUses.cpp167 const auto [I, Inserted] = SubRegs.try_emplace({Offset, Size}, 0); in getSubReg()
168 if (Inserted) { in getSubReg()
189 const auto [I, Inserted] = in getSuperRegClassMask()
191 if (Inserted) { in getSuperRegClassMask()
204 const auto [I, Inserted] = in getAllocatableAndAlignedRegClassMask()
206 if (Inserted) { in getAllocatableAndAlignedRegClassMask()
430 const auto [I, Inserted] = SubRegs.try_emplace(SubReg); in rewriteReg()
433 if (Inserted) in rewriteReg()
H A DAMDGPUInsertDelayAlu.cpp221 bool Inserted; in merge() local
222 std::tie(It, Inserted) = insert(KV); in merge()
223 if (!Inserted) in merge()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/DWARFLinker/Classic/
H A DDWARFLinkerDeclContext.cpp169 bool Inserted; in getChildDeclContext() local
173 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext); in getChildDeclContext()
174 assert(Inserted && "Failed to insert DeclContext"); in getChildDeclContext()
175 (void)Inserted; in getChildDeclContext()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h279 bool Inserted; in addEdge() local
280 std::tie(Iter, Inserted) = BBInfos.insert(std::make_pair(Src, nullptr)); in addEdge()
281 if (Inserted) { in addEdge()
286 std::tie(Iter, Inserted) = BBInfos.insert(std::make_pair(Dest, nullptr)); in addEdge()
287 if (Inserted) in addEdge()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h119 auto [It, Inserted] = Map.insert(std::make_pair(Key, 0)); in try_emplace()
120 if (Inserted) { in try_emplace()
130 auto [It, Inserted] = Map.insert(std::make_pair(Key, 0)); in try_emplace()
131 if (Inserted) { in try_emplace()
H A DSmallSet.h181 auto [I, Inserted] = Set.insert(V); in insert()
182 return std::make_pair(const_iterator(I), Inserted); in insert()
H A DFoldingSet.h505 T *Inserted = GetOrInsertNode(N); in InsertNode() local
506 (void)Inserted; in InsertNode()
507 assert(Inserted == N && "Node already inserted!"); in InsertNode()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp61 auto Inserted = Remarks.insert(std::move(Remark)); in keep() local
62 return **Inserted.first; in keep()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DFunctionSpecialization.cpp320 bool Inserted = VisitedPHIs.insert(&I).second; in visitPHINode() local
341 if (Inserted) { in visitPHINode()
636 auto [It, Inserted] = FunctionMetrics.try_emplace(&F); in run()
639 if (Inserted) { in run()
657 if (!Inserted && !Metrics.isRecursive && !SpecializeLiteralConstant) in run()
668 if (Inserted && Metrics.isRecursive) in run()
920 if (auto [It, Inserted] = SM.try_emplace(F, Index, Index + 1); !Inserted) in findSpecializations()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DSwiftErrorValueTracking.cpp127 bool Inserted = false; in createEntriesInEntryBlock() local
140 Inserted = true; in createEntriesInEntryBlock()
143 return Inserted; in createEntriesInEntryBlock()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Analysis/
H A DCaptureTracking.cpp462 bool Inserted; in isNonEscapingLocalObject() local
463 std::tie(CacheIt, Inserted) = IsCapturedCache->insert({V, false}); in isNonEscapingLocalObject()
464 if (!Inserted) in isNonEscapingLocalObject()
H A DCGSCCPassManager.cpp907 bool Inserted = RetainedEdges.insert(CalleeN).second; in updateCGAndAnalysisManagerForPass() local
908 (void)Inserted; in updateCGAndAnalysisManagerForPass()
909 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
943 bool Inserted = RetainedEdges.insert(RefereeN).second; in updateCGAndAnalysisManagerForPass() local
944 (void)Inserted; in updateCGAndAnalysisManagerForPass()
945 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()
/freebsd-14.2/contrib/llvm-project/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()
/freebsd-14.2/contrib/llvm-project/clang/lib/Driver/
H A DMultilib.cpp119 auto [It, Inserted] = ExclusiveGroupsSelected.insert(group); in select()
120 if (!Inserted) in select()

123