Home
last modified time | relevance | path

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

12

/freebsd-13.1/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()
H A DPassManager.h717 bool Inserted; in invalidateImpl() local
718 std::tie(IMapI, Inserted) = in invalidateImpl()
720 (void)Inserted; in invalidateImpl()
721 assert(Inserted && "Should not have already inserted this ID, likely " in invalidateImpl()
/freebsd-13.1/contrib/llvm-project/llvm/utils/TableGen/GlobalISel/
H A DCodeExpansions.h27 bool Inserted = Expansions.try_emplace(Name, Expansion).second; in declare() local
28 assert(Inserted && "Declared variable twice"); in declare()
29 (void)Inserted; in declare()
/freebsd-13.1/contrib/llvm-project/clang/lib/Analysis/
H A DMacroExpansionContext.cpp61 bool Inserted; in MacroExpands() local
62 std::tie(It, Inserted) = in MacroExpands()
64 if (Inserted) { in MacroExpands()
225 bool Inserted; in onTokenLexed() local
226 std::tie(It, Inserted) = in onTokenLexed()
228 if (!Inserted) in onTokenLexed()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DCodeMoverUtils.cpp134 bool Inserted = false; in collectControlConditions() local
143 Inserted = Conditions.addControlCondition( in collectControlConditions()
149 Inserted = Conditions.addControlCondition( in collectControlConditions()
154 if (Inserted) in collectControlConditions()
167 bool Inserted = false; in addControlCondition() local
172 Inserted = true; in addControlCondition()
175 LLVM_DEBUG(dbgs() << (Inserted ? "Inserted " : "Not inserted ") << C << "\n"); in addControlCondition()
176 return Inserted; in addControlCondition()
H A DLoopRotationUtils.cpp95 bool Inserted = VM.insert({K, V}).second; in InsertNewValueIntoMap() local
96 assert(Inserted); in InsertNewValueIntoMap()
97 (void)Inserted; in InsertNewValueIntoMap()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DPassRegistry.cpp57 bool Inserted = in registerPass() local
59 assert(Inserted && "Pass registered multiple times!"); in registerPass()
60 (void)Inserted; in registerPass()
/freebsd-13.1/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp165 bool Inserted; in getChildDeclContext() local
169 std::tie(ContextIter, Inserted) = Contexts.insert(NewContext); in getChildDeclContext()
170 assert(Inserted && "Failed to insert DeclContext"); in getChildDeclContext()
171 (void)Inserted; in getChildDeclContext()
/freebsd-13.1/contrib/llvm-project/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()
/freebsd-13.1/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-13.1/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-13.1/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineDominators.h235 bool Inserted = NewBBs.insert(NewBB).second; in recordSplitCriticalEdge() local
236 (void)Inserted; in recordSplitCriticalEdge()
237 assert(Inserted && in recordSplitCriticalEdge()
H A DMachineFunction.h1179 bool Inserted =
1181 (void)Inserted;
1182 assert(Inserted && "Call site info not unique");
/freebsd-13.1/contrib/llvm-project/llvm/lib/Support/
H A DSignposts.cpp54 const auto &Inserted = Signposts.insert(std::make_pair(O, ID)); in getSignpostForObject() local
55 return Inserted.first->second; in getSignpostForObject()
/freebsd-13.1/contrib/llvm-project/llvm/lib/Analysis/
H A DCaptureTracking.cpp381 bool Inserted; in isNonEscapingLocalObject() local
382 std::tie(CacheIt, Inserted) = IsCapturedCache->insert({V, false}); in isNonEscapingLocalObject()
383 if (!Inserted) in isNonEscapingLocalObject()
H A DCGSCCPassManager.cpp930 bool Inserted = RetainedEdges.insert(CalleeN).second; in updateCGAndAnalysisManagerForPass() local
931 (void)Inserted; in updateCGAndAnalysisManagerForPass()
932 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
966 bool Inserted = RetainedEdges.insert(RefereeN).second; in updateCGAndAnalysisManagerForPass() local
967 (void)Inserted; in updateCGAndAnalysisManagerForPass()
968 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
H A DIRSimilarityIdentifier.cpp768 bool Inserted; in findCandidateStructures() local
785 std::tie(CandToGroupIt, Inserted) = in findCandidateStructures()
796 std::tie(CurrentGroupPair, Inserted) = StructuralGroups.insert( in findCandidateStructures()
H A DLazyCallGraph.cpp348 bool Inserted = SCCSet.insert(C).second; in verify() local
349 assert(Inserted && "Found a duplicate SCC!"); in verify()
1954 bool Inserted = in buildRefSCCs() local
1956 (void)Inserted; in buildRefSCCs()
1957 assert(Inserted && "Cannot already have this RefSCC in the index map!"); in buildRefSCCs()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Remarks/
H A DRemarkLinker.cpp55 auto Inserted = Remarks.insert(std::move(Remark)); in keep() local
56 return **Inserted.first; in keep()
/freebsd-13.1/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-13.1/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp383 bool Inserted; in collectConstantCandidates() local
385 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
386 if (Inserted) { in collectConstantCandidates()
433 bool Inserted; in collectConstantCandidates() local
435 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
436 if (Inserted) { in collectConstantCandidates()
H A DSimpleLoopUnswitch.cpp1510 bool Inserted = ExitLoopMap.insert({PredBB, ExitL}).second; in buildClonedLoops() local
1511 (void)Inserted; in buildClonedLoops()
1512 assert(Inserted && "Should only visit an unlooped block once!"); in buildClonedLoops()
1917 bool Inserted = NewExitLoopBlocks.insert(PredBB).second; in rebuildLoopAfterUnswitch() local
1918 (void)Inserted; in rebuildLoopAfterUnswitch()
1919 assert(Inserted && "Should only visit an unlooped block once!"); in rebuildLoopAfterUnswitch()
2499 bool Inserted = DTCostMap.insert({&N, Cost}).second; in computeDomSubtreeCost() local
2500 (void)Inserted; in computeDomSubtreeCost()
2501 assert(Inserted && "Should not insert a node while visiting children!"); in computeDomSubtreeCost()
H A DLoopUnrollPass.cpp536 bool Inserted = InstCostMap.insert({&I, (int)Iteration, in analyzeLoopUnrollCost() local
539 (void)Inserted; in analyzeLoopUnrollCost()
540 assert(Inserted && "Cannot have a state for an unvisited instruction!"); in analyzeLoopUnrollCost()
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/ADT/
H A DFoldingSet.h477 T *Inserted = GetOrInsertNode(N); in InsertNode() local
478 (void)Inserted; in InsertNode()
479 assert(Inserted == N && "Node already inserted!"); in InsertNode()

12