Home
last modified time | relevance | path

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

1234

/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DPassManagerImpl.h140 bool Inserted; in getResultImpl() local
141 std::tie(RI, Inserted) = AnalysisResults.insert(std::make_pair( in getResultImpl()
146 if (Inserted) { in getResultImpl()
201 bool Inserted = in invalidate() local
203 (void)Inserted; in invalidate()
204 assert(Inserted && "Should never have already inserted this ID, likely " in invalidate()
/freebsd/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/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 DAMDGPUSplitModule.cpp354 auto [It, Inserted] = Fns.insert(Callee); in addAllDependencies()
355 if (Inserted) in addAllDependencies()
420 auto [It, Inserted] = Total.insert(F); in calculateOverlap()
421 if (!Inserted) in calculateOverlap()
H A DAMDGPUInsertDelayAlu.cpp221 bool Inserted; in merge() local
222 std::tie(It, Inserted) = insert(KV); in merge()
223 if (!Inserted) in merge()
/freebsd/contrib/llvm-project/llvm/lib/ProfileData/
H A DPGOCtxProfReader.cpp38 auto [Iter, Inserted] = Callsites[Index].insert( in getOrEmplace()
40 if (!Inserted) in getOrEmplace()
132 auto [_, Inserted] = in readContext()
134 if (!Inserted) in readContext()
/freebsd/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/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/contrib/llvm-project/llvm/lib/DWARFLinker/
H A DDWARFLinkerDeclContext.cpp
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h279 bool Inserted;
280 std::tie(Iter, Inserted) = BBInfos.insert(std::make_pair(Src, nullptr));
281 if (Inserted) {
286 std::tie(Iter, Inserted) = BBInfos.insert(std::make_pair(Dest, nullptr));
287 if (Inserted)
263 bool Inserted; addEdge() local
/freebsd/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/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/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/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp133 auto [It, Inserted] = CacheByFilename.insert({Filename, {nullptr, nullptr}}); in getOrEmplaceEntryForFilename()
138 assert((Inserted || CachedRealPath) && "existing file with empty pair"); in getOrEmplaceEntryForFilename()
150 auto [It, Inserted] = EntriesByUID.insert({UID, nullptr}); in getOrEmplaceEntryForUID()
152 if (Inserted) { in getOrEmplaceEntryForUID()
168 auto [It, Inserted] = CacheByFilename.insert({Filename, {&Entry, nullptr}}); in getOrInsertEntryForFilename()
170 if (!Inserted || !CachedEntry) in getOrInsertEntryForFilename()
/freebsd/contrib/llvm-project/clang/include/clang/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.h250 auto [It, Inserted] = Cache.insert({Filename, {&Entry, nullptr}}); in insertEntryForFilename()
252 if (!Inserted) { in insertEntryForFilename()
275 auto [It, Inserted] = Cache.insert({Filename, {nullptr, &RealPath}}); in insertRealPathForFilename()
277 if (!Inserted) { in insertRealPathForFilename()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DMachineDominators.h262 bool Inserted = NewBBs.insert(NewBB).second; in recordSplitCriticalEdge() local
263 (void)Inserted; in recordSplitCriticalEdge()
264 assert(Inserted && in recordSplitCriticalEdge()
/freebsd/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/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/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.cpp915 bool Inserted = RetainedEdges.insert(CalleeN).second; in updateCGAndAnalysisManagerForPass() local
916 (void)Inserted; in updateCGAndAnalysisManagerForPass()
917 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
951 bool Inserted = RetainedEdges.insert(RefereeN).second; in updateCGAndAnalysisManagerForPass() local
952 (void)Inserted; in updateCGAndAnalysisManagerForPass()
953 assert(Inserted && "We should never visit a function twice."); in updateCGAndAnalysisManagerForPass()
/freebsd/contrib/llvm-project/llvm/utils/TableGen/Common/GlobalISel/
H A DCombinerUtils.cpp19 auto [It, Inserted] = Pool.insert(S); in insertStrRef()
/freebsd/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()
922 if (auto [It, Inserted] = SM.try_emplace(F, Index, Index + 1); !Inserted) in findSpecializations()
/freebsd/contrib/llvm-project/llvm/lib/Target/Hexagon/
H A DHexagonTfrCleanup.cpp295 bool Inserted = false, Erased = false; in runOnMachineFunction() local
303 Inserted |= rewriteIfImm(MI, IMap, Indexes); in runOnMachineFunction()
307 bool BlockC = Inserted | Erased; in runOnMachineFunction()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DConstantHoisting.cpp386 bool Inserted; in collectConstantCandidates() local
388 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
389 if (Inserted) { in collectConstantCandidates()
444 bool Inserted; in collectConstantCandidates() local
446 std::tie(Itr, Inserted) = ConstCandMap.insert(std::make_pair(Cand, 0)); in collectConstantCandidates()
447 if (Inserted) { in collectConstantCandidates()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DSmallSet.h181 auto [I, Inserted] = Set.insert(V); in insert()
182 return std::make_pair(const_iterator(I), Inserted); in insert()

1234