Home
last modified time | relevance | path

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

12345678910

/freebsd/contrib/llvm-project/llvm/lib/Target/WebAssembly/
H A DWebAssemblySortRegion.cpp31 auto [It, Inserted] = LoopMap.try_emplace(ML); in getRegionFor()
32 if (Inserted) in getRegionFor()
37 auto [It, Inserted] = ExceptionMap.try_emplace(WE); in getRegionFor()
38 if (Inserted) in getRegionFor()
/freebsd/contrib/llvm-project/clang/lib/AST/
H A DParentMap.cpp38 auto [Iter, Inserted] = M.try_emplace(SF, S); in BuildParentMap()
39 if (!Inserted) { in BuildParentMap()
84 auto [Iter, Inserted] = M.try_emplace(SrcExpr, S); in BuildParentMap()
86 if (!Inserted && OVMode == OV_Transparent) { in BuildParentMap()
88 Inserted = true; in BuildParentMap()
90 if (Inserted) in BuildParentMap()
/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/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/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/include/llvm/IR/
H A DPassManagerImpl.h134 auto [RI, Inserted] = AnalysisResults.try_emplace(std::make_pair(ID, &IR)); in getResultImpl()
138 if (Inserted) { in getResultImpl()
193 bool Inserted = in invalidate() local
195 (void)Inserted; in invalidate()
196 assert(Inserted && "Should never have already inserted this ID, likely " in invalidate()
/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/DWARFLinker/
H A DIndexedValuesMap.h24 auto [It, Inserted] = ValueToIndexMap.try_emplace(Value, Values.size()); in getValueIndex()
25 if (Inserted) in getValueIndex()
/freebsd/contrib/llvm-project/llvm/lib/Target/AMDGPU/
H A DGCNRewritePartialRegUses.cpp154 const auto [I, Inserted] = SubRegs.try_emplace({Offset, Size}, 0); in getSubReg()
155 if (Inserted) { in getSubReg()
175 const auto [I, Inserted] = in getSuperRegClassMask()
177 if (Inserted) { in getSuperRegClassMask()
191 const auto [I, Inserted] = in getAllocatableAndAlignedRegClassMask()
193 if (Inserted) { in getAllocatableAndAlignedRegClassMask()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Instrumentation/
H A DCFGMST.h307 bool Inserted; in addEdge() local
308 std::tie(Iter, Inserted) = BBInfos.try_emplace(Src); in addEdge()
309 if (Inserted) { in addEdge()
314 std::tie(Iter, Inserted) = BBInfos.try_emplace(Dest); in addEdge()
315 if (Inserted) in addEdge()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DFunctionComparator.h74 bool Inserted; in getNumber() local
75 std::tie(MapIter, Inserted) = GlobalNumbers.insert({Global, NextNumber}); in getNumber()
76 if (Inserted) in getNumber()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/IPO/
H A DProfiledCallGraph.h138 auto [It, Inserted] = ProfiledFunctions.try_emplace(Name); in addProfiledFunction()
139 if (Inserted) { in addProfiledFunction()
160 auto [EdgeIt, Inserted] = Edges.insert(Edge);
161 if (!Inserted) {
/freebsd/contrib/llvm-project/llvm/lib/XRay/
H A DProfile.cpp211 bool Inserted; in mergeProfilesByThread() local
212 std::tie(PathDataIt, Inserted) = It->second->insert({NewPathID, Data}); in mergeProfilesByThread()
213 if (!Inserted) { in mergeProfilesByThread()
244 bool Inserted; in mergeProfilesByStack() local
245 std::tie(PathDataIt, Inserted) = PathData.insert({NewPathID, Data}); in mergeProfilesByStack()
246 if (!Inserted) { in mergeProfilesByStack()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DMaterializationUtils.cpp73 auto [It, Inserted] = Remats.try_emplace(N->Node); in addNode()
74 if (!Inserted) in addNode()
296 auto [It, Inserted] = AllRemats.try_emplace(U); in doRematerializations()
297 if (!Inserted) in doRematerializations()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DRegisterBankInfo.cpp105 const auto [RegRCIt, Inserted] = PhysRegMinimalRCs.try_emplace(Reg); in getMinimalPhysRegClass()
106 if (Inserted) in getMinimalPhysRegClass()
285 auto [It, Inserted] = MapOfPartialMappings.try_emplace(Hash); in getPartialMapping()
286 if (!Inserted) in getPartialMapping()
319 auto [It, Inserted] = MapOfValueMappings.try_emplace(Hash); in getValueMapping()
320 if (!Inserted) in getValueMapping()
393 auto [It, Inserted] = MapOfInstructionMappings.try_emplace(Hash); in getInstructionMappingImpl()
394 if (!Inserted) in getInstructionMappingImpl()
/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/llvm/lib/TableGen/
H A DStringToOffsetTable.cpp18 auto [II, Inserted] = StringOffset.insert({Str, size()}); in GetOrAddStringOffset()
19 if (Inserted) { in GetOrAddStringOffset()
/freebsd/contrib/llvm-project/llvm/lib/Analysis/
H A DInstructionPrecedenceTracking.cpp50 auto [It, Inserted] = FirstSpecialInsts.try_emplace(BB); in getFirstSpecialInstruction()
51 if (Inserted) { in getFirstSpecialInstruction()
H A DFunctionPropertiesAnalysis.cpp434 DenseSet<const BasicBlock *> Inserted; in FunctionPropertiesUpdater() local
436 if (Inserted.insert(Succ).second) in FunctionPropertiesUpdater()
442 Inserted.clear(); in FunctionPropertiesUpdater()
455 if (Inserted.insert(Succ).second) in FunctionPropertiesUpdater()
485 DenseSet<const BasicBlock *> Inserted; in getUpdatedDominatorTree() local
487 if (Inserted.insert(Succ).second) in getUpdatedDominatorTree()
/freebsd/contrib/llvm-project/clang/utils/TableGen/
H A DClangSyntaxEmitter.cpp89 bool Inserted = ByName.try_emplace(R->getName(), &AllTypes.back()).second; in add() local
90 assert(Inserted && "Duplicate node name"); in add()
91 (void)Inserted; in add()
/freebsd/contrib/llvm-project/llvm/include/llvm/ProfileData/
H A DPGOCtxProfReader.h153 auto [_, Inserted] = callsites().try_emplace(CSId, std::move(Other)); in ingestAllContexts()
154 (void)Inserted; in ingestAllContexts()
155 assert(Inserted && in ingestAllContexts()
/freebsd/contrib/llvm-project/llvm/include/llvm/ADT/
H A DMapVector.h121 auto [It, Inserted] = Map.try_emplace(Key); in try_emplace()
122 if (Inserted) { in try_emplace()
132 auto [It, Inserted] = Map.try_emplace(Key); in try_emplace()
133 if (Inserted) { in try_emplace()
/freebsd/contrib/llvm-project/clang/lib/Tooling/DependencyScanning/
H A DDependencyScanningFilesystem.cpp176 auto [It, Inserted] = CacheByFilename.insert({Filename, {nullptr, nullptr}}); in getOrEmplaceEntryForFilename()
181 assert((Inserted || CachedRealPath) && "existing file with empty pair"); in getOrEmplaceEntryForFilename()
193 auto [It, Inserted] = EntriesByUID.try_emplace(UID); in getOrEmplaceEntryForUID()
195 if (Inserted) { in getOrEmplaceEntryForUID()
211 auto [It, Inserted] = CacheByFilename.insert({Filename, {&Entry, nullptr}}); in getOrInsertEntryForFilename()
213 if (!Inserted || !CachedEntry) in getOrInsertEntryForFilename()
/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()

12345678910