reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

include/llvm/ADT/DenseSet.h
  213       insert(*I);
include/llvm/ADT/SetOperations.h
   27     if (S1.insert(*SI).second)
include/llvm/ADT/SetVector.h
  142     bool result = set_.insert(X).second;
  152       if (set_.insert(*Start).second)
include/llvm/Analysis/BlockFrequencyInfoImpl.h
 1173         HeadersWithoutWeight.insert(H);
include/llvm/ExecutionEngine/JITLink/JITLink.h
  636     Blocks.insert(B);
include/llvm/ExecutionEngine/Orc/CompileOnDemandLayer.h
  543               NotFoundViaLegacyLookup.insert(S);
  548             (*RS).insert(S);
  712               NotFoundViaLegacyLookup.insert(S);
  718             (*RS).insert(S);
include/llvm/ExecutionEngine/Orc/Legacy.h
  124         Result.insert(S);
  162       SymbolsNotFound.insert(S);
include/llvm/ExecutionEngine/Orc/Speculation.h
  100       SymbolsInJD.insert(ImplSymbolName);
include/llvm/ProfileData/SampleProf.h
  647       Syms.insert(Name);
include/llvm/Support/GenericDomTreeConstruction.h
  776     II.Visited.insert(To);
  815           if (SuccLevel <= NCDLevel + 1 || !II.Visited.insert(SuccTN).second)
include/llvm/TableGen/Record.h
 1960   void addShadow(Init *Key) { Shadowed.insert(Key); }
include/llvm/XRay/Graph.h
  392     InNeighbors[I.second].insert(I.first);
  393     OutNeighbors[I.first].insert(I.second);
  484       InNeighbors[EI.second].insert(EI.first);
  485       OutNeighbors[EI.first].insert(EI.second);
lib/Analysis/CFLAndersAliasAnalysis.cpp
  213     return MemMap[LHS].insert(RHS).second;
lib/Analysis/DivergenceAnalysis.cpp
  318     if (!DivergentLoops.insert(BranchLoop).second) {
  356     if (!DivergentLoops.insert(BranchLoop).second) {
lib/Analysis/LazyValueInfo.cpp
  392       if (!BlockValueSet.insert(BV).second)
lib/Analysis/LegacyDivergenceAnalysis.cpp
  234     if (Succ != End && InfluenceRegion.insert(Succ).second)
lib/Analysis/MemorySSA.cpp
  421     if (!VisitedPhis.insert(MAP).second)
lib/Analysis/MustExecute.cpp
  506   Visited.insert(I);
  513   if (Next && !Visited.insert(Next).second)
lib/Analysis/SyntheticCountsUtils.cpp
   34     SCCNodes.insert(Node);
lib/Bitcode/Reader/MetadataLoader.cpp
  205       UnresolvedNodes.insert(Idx);
  239   ForwardReference.insert(Idx);
  383         Temporaries.insert(ID);
  388         Temporaries.insert(ID);
lib/CodeGen/AsmPrinter/AccelTable.cpp
  404         UniqueTags.insert(Tag);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  937   if (ComdatDebugSections.insert(DebugSec).second)
lib/CodeGen/AsmPrinter/DwarfCompileUnit.cpp
  751       Visited.insert(Var);
  757     auto Res = Visiting.insert(Var);
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  561     bool InsertedReg = ForwardedRegWorklist.insert(ArgReg.Reg).second;
 1007       if (Processed.insert(GV).second)
 1274     Processed.insert(Var);
 1534     Processed.insert(IV);
 1608     Processed.insert(IL);
lib/CodeGen/MachineFunction.cpp
 1004       Deleted.insert(Constants[i].Val.MachineCPVal);
 1090     MachineCPVsSharingEntries.insert(V);
lib/CodeGen/MachineVerifier.cpp
  166         return vregsPassed.insert(Reg).second;
  185         return vregsRequired.insert(Reg).second;
lib/CodeGen/RegAllocPBQP.cpp
  383           EC.insert(EK);
lib/CodeGen/RegisterCoalescer.cpp
 1509     ToBeUpdated.insert(SrcReg);
lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
  237   visited.insert(N);
lib/CodeGen/SplitKit.cpp
 1088       NotToHoistSet.insert(ParentVNI->id);
lib/DebugInfo/DWARF/DWARFDebugAranges.cpp
   36     ParsedCUOffsets.insert(CUOffset);
   55     if (ParsedCUOffsets.insert(CUOffset).second) {
lib/DebugInfo/PDB/Native/GSIStreamBuilder.cpp
   70       auto Iter = SymbolHashes.insert(Symbol);
lib/ExecutionEngine/Orc/Core.cpp
  589       ResponsibilitySymbols.insert(KV.first);
  590       QuerySymbols.insert(KV.second.Aliasee);
  725     Added.insert(KV.first);
  841         RequestedSymbols.insert(KV.first);
  902         OtherMI.Dependants[this].insert(Name);
  903         DepsOnOtherJITDylib.insert(OtherSymbol);
  947         SymbolsInErrorState.insert(KV.first);
 1021         SymbolsInErrorState.insert(Name);
 1156       (*FailedSymbolsMap)[&JD].insert(Name);
 1307         Missing.insert(Name);
 1313         Materializing.insert(Name);
 1394       Unresolved.insert(Name);
 1745           Duplicates.insert(KV.first);
 1815       DependencyMI.Dependants[this].insert(DependantName);
 1816       UnemittedDependenciesOnDependencyJD->insert(DependencyName);
lib/ExecutionEngine/Orc/ExecutionUtils.cpp
  125       auto Added = Names.insert(Name).second;
  214       Added.insert(Name);
  272     NewDefs.insert(Name);
lib/ExecutionEngine/Orc/ObjectLinkingLayer.cpp
  221               SymDeps.insert(S);
  281               Changed |= SymNamedDeps.insert(S).second;
  302             DepsForJD.insert(S);
lib/ExecutionEngine/Orc/OrcCBindingsStack.h
  138             Result.insert(S);
  166           UnresolvedSymbols.insert(S);
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  152             Result.insert(S);
  159               Result.insert(S);
  164             Result.insert(S);
  203             UnresolvedSymbols.insert(S);
lib/ExecutionEngine/Orc/SpeculateAnalyses.cpp
  182       PredSkipNodes.insert(I.first);
  223       SuccSkipNodes.insert(I.second);
lib/IR/DebugInfo.cpp
  575     if (!Opened.insert(N).second) {
lib/IR/Globals.cpp
  439     if (Aliases.insert(GA).second)
lib/IR/Instruction.cpp
  715     WLS.insert(M);
lib/IR/Metadata.cpp
  765   Store.insert(N);
lib/IR/MetadataImpl.h
   45     Store.insert(N);
lib/IR/SafepointIRVerifier.cpp
  337     if (!Visited.insert(V).second)
lib/IR/TypeFinder.cpp
   94   if (!VisitedTypes.insert(Ty).second)
  111       if (VisitedTypes.insert(*I).second)
  132   if (!VisitedConstants.insert(V).second)
  152   if (!VisitedMetadata.insert(V).second)
lib/LTO/LTO.cpp
  688       AliasedGlobals.insert(GO);
  911       GUIDPreservedSymbols.insert(GUID);
lib/LTO/ThinLTOCodeGenerator.cpp
  980     GUIDPreservedSymbols.insert(GUID);
lib/Linker/IRMover.cpp
  408     if (ValuesToLink.insert(GV).second)
 1507   NonOpaqueStructTypes.insert(Ty);
 1512   NonOpaqueStructTypes.insert(Ty);
 1520   OpaqueStructTypes.insert(Ty);
lib/Linker/LinkModules.cpp
  481     ReplacedDstComdats.insert(DstC);
lib/Support/StringSaver.cpp
   22   auto R = Unique.insert(S);
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  895 void LinearizedRegion::addLiveOut(unsigned VReg) { LiveOuts.insert(VReg); }
lib/Target/AMDGPU/AMDGPUOpenCLEnqueuedBlockLowering.cpp
   84       if (Callers.insert(Caller).second)
   95     if (Funcs.insert(F).second)
lib/Target/AMDGPU/AsmParser/AMDGPUAsmParser.cpp
 2830       SGPRsUsed.insert(SGPRUsed);
 2854             SGPRsUsed.insert(Reg);
lib/Target/AMDGPU/SIInstrInfo.cpp
 3981           SGPRsUsed.insert(SGPR);
 4160     SGPRsUsed.insert(SGPRReg);
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  311       RecalcRegs.insert(Reg);
lib/Target/AMDGPU/SIRegisterInfo.cpp
  800         VGPRDefined = !SGPRSpillVGPRDefinedSet.insert(Spill.VGPR).second;
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1490   RefMIs.insert(ED0.UseMI);
 1491   Blocks.insert(DomB);
 1495     RefMIs.insert(ED.UseMI);
 1497     Blocks.insert(MBB);
lib/Target/Hexagon/HexagonCopyToCombine.cpp
  433         PotentiallyNewifiableTFR.insert(DefInst);
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  978   Deleted.insert(B);
lib/Target/Hexagon/HexagonOptAddrMode.cpp
  405     Deleted.insert(AddMI);
  661     Deleted.insert(UseMI);
  681     Deleted.insert(UseMI);
  772       Deleted.insert(MI);
lib/Target/Hexagon/RDFDeadCode.cpp
   44     Set.insert(V);
lib/Target/NVPTX/NVPTXAsmPrinter.cpp
  102     Globals.insert(GV);
  125   if (!Visiting.insert(GV).second)
  140   Visited.insert(GV);
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
  399         InLoop.insert(Pred);
lib/Target/X86/X86DomainReassignment.cpp
  336     return Edges.insert(Reg).second;
  557     EnclosedEdges.insert(Reg);
lib/Transforms/IPO/PartialInlining.cpp
  641     Entries.insert(E);
  698     Entries.insert(Cand);
lib/Transforms/IPO/SampleProfile.cpp
  972             PromotedInsns.insert(I);
lib/Transforms/IPO/StripSymbols.cpp
  341       if (!VisitedSet.insert(DIG).second)
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  256         MergedMComdats.insert(C);
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1583         if (SeenCallSites.insert(Call.CS).second)
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  259       TailRegionSet.insert(RI.R);
  574         HoistStops->insert(I);
  646     TrueSet.insert(Key);
  650     FalseSet.insert(Key);
  791         Scopes.insert(Result);
  851         Scopes.insert(Result);
 1212         Scopes.insert(Tail);
 1311         OutermostScope->TrueBiasedRegions.insert(R);
 1313         OutermostScope->FalseBiasedRegions.insert(R);
 1319         OutermostScope->TrueBiasedSelects.insert(SI);
 1321         OutermostScope->FalseBiasedSelects.insert(SI);
 1490     HoistedSet.insert(I);
 1555         Scope->FalseBiasedSelects.insert(SI);
 1559         Scope->TrueBiasedSelects.insert(SI);
 1580       BlocksInScopeSet.insert(BB);
 1622         TrivialPHIs.insert(PN);
lib/Transforms/ObjCARC/ObjCARCOpts.cpp
  621   EquivalentArgs.insert(Arg);
lib/Transforms/Scalar/GVNSink.cpp
  598       PHIs.insert(MPHI);
  680       NewNeededPHIs.insert(P);
  743     NeededPHIs.insert(PHI);
lib/Transforms/Scalar/GuardWidening.cpp
  434   WidenedGuards.insert(BestSoFar);
lib/Transforms/Scalar/InferAddressSpaces.cpp
  324     if (Visited.insert(V).second) {
lib/Transforms/Scalar/LoopRerollPass.cpp
  322           Reds.insert(Idx);
  690     if (!Users.insert(I).second)
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 1544   if (!Uniquifier.insert(Key).second)
 4951           VisitedRegs.insert(F.ScaledReg ? F.ScaledReg : F.BaseRegs[0]);
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  456       Args.insert(Ptr);
  520           Args.insert(A);
lib/Transforms/Scalar/NewGVN.cpp
 2657   AllTempInstructions.insert(TransInst);
lib/Transforms/Scalar/PlaceSafepoints.cpp
  284         if (Seen.insert(Succ).second) {
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1657     VisitedLiveValues.insert(OriginalValue);
 1680     VisitedLiveValues.insert(OriginalValue);
 2835       ToErase.insert(KVPair.first);
lib/Transforms/Utils/AddDiscriminators.cpp
  246       if (!CallLocations.insert(L).second) {
lib/Transforms/Utils/CodeExtractor.cpp
  340       BaseMemAddrs[&BB].insert(Base);
lib/Transforms/Utils/Local.cpp
 1113     auto Inserted = PHISet.insert(PN);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3533     if (!UniqueElements.insert(VL[Idx]).second)
 3534       ShuffledElements.insert(Idx);
 5408         Tails.insert(Stores[Idx]);
lib/Transforms/Vectorize/VPlanVerifier.cpp
   34     VPBlockSet.insert(Block);
tools/clang/include/clang/StaticAnalyzer/Core/Checker.h
  379         RegularEscape.insert(*I);
  419         ConstEscape.insert(*I);
tools/clang/lib/ARCMigrate/ObjCMT.cpp
 2263         Insert = EntriesSet.insert(Entry);
tools/clang/lib/ARCMigrate/TransARCAssign.cpp
   62             ModifiedVars.insert(var);
tools/clang/lib/ARCMigrate/TransBlockObjCVariable.cpp
   95         VarsToChange.insert(var);
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
  108     MigrateCtx.AttrSet.insert(RawLoc);
tools/clang/lib/ARCMigrate/TransformActions.cpp
  461   StmtRemovals.insert(S);
tools/clang/lib/ARCMigrate/Transforms.cpp
  294       Removables.insert(E);
tools/clang/lib/AST/ASTContext.cpp
 1052     if (!Found.insert(M).second)
tools/clang/lib/AST/ASTStructuralEquivalence.cpp
 1589   bool Inserted = Context.VisitedDecls.insert(P).second;
 1897       NonEquivalentDecls.insert(P);
tools/clang/lib/AST/DeclObjC.cpp
 1943     if (!PS.insert(PDecl).second)
tools/clang/lib/Basic/SourceManager.cpp
  668   getOverriddenFilesInfo().OverriddenFilesWithBuffer.insert(SourceFile);
tools/clang/lib/CodeGen/CGStmtOpenMP.cpp
 1055         AlreadyEmittedVars.insert(D);
 1070       if (AlreadyEmittedVars.insert(CanonicalVD).second) {
tools/clang/lib/CodeGen/CodeGenModule.cpp
 3141           DiagnosedConflictingDefinitions.insert(GD).second) {
 4532         DiagnosedConflictingDefinitions.insert(GD).second) {
tools/clang/lib/CodeGen/VarBypassDetector.cpp
  161       Bypasses.insert(ScopeTo.second);
tools/clang/lib/Frontend/Rewrite/FrontendActions.cpp
  219     if (!Rewritten.insert(*File).second)
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
 3774   ObjCInterefaceHasBitfieldGroups.insert(CDecl);
tools/clang/lib/Frontend/SerializedDiagnosticPrinter.cpp
  524   if (!State->Categories.insert(category).second)
tools/clang/lib/Lex/PPMacroExpansion.cpp
  287     Active.insert(MM);
  309         if (Visited.insert(O).second)
tools/clang/lib/Sema/SemaLookup.cpp
 1553     if (M && !LookupModulesCache.insert(M).second)
 5363     if (UniqueModuleSet.insert(M).second)
tools/clang/lib/Sema/SemaOpenMP.cpp
  818     StackElem.MappedClassesQualTypes.insert(QT);
tools/clang/lib/Serialization/ASTReaderInternals.h
   76       if (Found.insert(ID).second)
tools/clang/lib/Serialization/ASTWriterStmt.cpp
 2420       ParentStmts.insert(S);
tools/clang/lib/StaticAnalyzer/Checkers/DeadStoresChecker.cpp
   57         S.insert(D);
tools/clang/lib/StaticAnalyzer/Core/ExplodedGraph.cpp
  468     if (!Pass1.insert(N).second)
tools/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
 1185       Symbols.insert(Sym);
 2742     SymbolsIndirectlyInvalidated.insert(sym);
tools/clang/lib/StaticAnalyzer/Core/ExprEngineCallAndReturn.cpp
  479     VisitedCallees->insert(D);
tools/clang/lib/StaticAnalyzer/Core/RegionStore.cpp
 1044     IS.insert(Sym);
tools/clang/lib/StaticAnalyzer/Core/SymbolManager.cpp
  424     MetadataInUse.insert(sym);
tools/clang/lib/StaticAnalyzer/Core/WorkList.cpp
  161       auto InsertInfo = Reachable.insert(LocId);
tools/clang/tools/extra/clang-move/HelperDeclRefGraph.cpp
   81         ConnectedNodes.insert(Node);
tools/clang/tools/extra/clang-tidy/ExpandModularHeadersPPCallbacks.cpp
   20   void addNecessaryFile(const FileEntry *File) { FilesToRecord.insert(File); }
  105   VisitedModules.insert(MF);
tools/clang/tools/extra/clang-tidy/readability/InconsistentDeclarationParameterNameCheck.cpp
  353     VisitedDeclarations.insert(Redecl);
tools/clang/tools/extra/clangd/CodeComplete.cpp
  858         IndexRequest.IDs.insert(*S.IDForDoc);
tools/clang/tools/extra/clangd/Diagnostics.cpp
  648        IncludeLinesWithErrors.insert(LastDiag->Range.start.line).second)) {
tools/clang/tools/extra/clangd/HeaderSourceSwitch.cpp
   82       Request.IDs.insert(*ID);
tools/clang/tools/extra/clangd/Headers.cpp
  145     Seen.insert(It->second);
  155         if (Seen.insert(Child).second) {
tools/clang/tools/extra/clangd/IncludeFixer.cpp
  429   Req.IDs.insert(ID);
tools/clang/tools/extra/clangd/Trace.cpp
  164     if (ThreadsWithMD.insert(TID).second) {
tools/clang/tools/extra/clangd/XRefs.cpp
  190         Decls.insert(Def);
  193         Decls.insert(D);
  313       QueryRequest.IDs.insert(It.first);
  606   Req.IDs.insert(*ID);
  969         Req.IDs.insert(*ID);
 1112   Req.Subjects.insert(ID);
 1315         DeclRefs.insert(D);
tools/clang/tools/extra/clangd/index/Background.cpp
  499     TUsToIndex.insert(TUForFile);
tools/clang/tools/extra/clangd/index/FileIndex.cpp
  171         if (AddedSymbols.insert(Sym.ID).second)
tools/clang/tools/extra/clangd/index/MemIndex.cpp
  101           LookupReq.IDs.insert(Obj);
tools/clang/tools/extra/clangd/index/Merge.cpp
   58     SeenDynamicSymbols.insert(S.ID);
tools/clang/tools/extra/clangd/index/Serialization.cpp
  162   void intern(llvm::StringRef &S) { S = *Unique.insert(S).first; };
tools/clang/tools/extra/clangd/index/SymbolCollector.cpp
  282     ReferencedDecls.insert(ND);
  373     ReferencedMacros.insert(Name);
  412   IndexedMacros.insert(Name);
tools/clang/tools/extra/clangd/index/dex/Dex.cpp
  280           LookupReq.IDs.insert(Object);
tools/clang/tools/extra/clangd/refactor/Rename.cpp
   50     Req.IDs.insert(*ID);
tools/clang/tools/extra/clangd/unittests/BackgroundIndexTests.cpp
  597     Req.IDs.insert(TestSymbol.ID);
tools/clang/tools/extra/clangd/unittests/DexTests.cpp
  686   Req.IDs.insert(Foo.ID);
  715   Req.Subjects.insert(Parent.ID);
tools/clang/tools/extra/clangd/unittests/FileIndexTests.cpp
  366   Req.Subjects.insert(A);
tools/clang/tools/extra/clangd/unittests/TypeHierarchyTests.cpp
  484   Req.Subjects.insert(Subject);
tools/clang/tools/libclang/CXIndexDataConsumer.cpp
 1027   res = RefFileOccurrences.insert(RefOccur);
tools/clang/utils/TableGen/ClangAttrEmitter.cpp
  796       if (unique_set.insert(i).second)
  912         if (Uniques.insert(enums[I]).second)
 1020         if (Uniques.insert(enums[I]).second)
tools/dsymutil/DeclContext.cpp
  188     std::tie(ContextIter, Inserted) = Contexts.insert(NewContext);
tools/lld/ELF/Driver.cpp
 1333     ret.insert(s);
 1612     if (!seen.insert(name).second)
tools/lld/ELF/InputSection.cpp
 1079       prologues.insert(f);
tools/lld/ELF/Writer.cpp
 1801       syms.insert(e.sym);
 1803       if (reloc.sym && !reloc.useSymVA && syms.insert(reloc.sym).second)
tools/lld/lib/Core/Resolver.cpp
  321   auto exists = _liveAtoms.insert(atom);
tools/lld/wasm/Driver.cpp
  596     if (!seen.insert(name).second)
tools/lldb/source/Breakpoint/BreakpointResolver.cpp
  274       blocks_with_breakpoints.insert(first->block);
tools/lldb/source/Plugins/Process/Linux/NativeProcessLinux.cpp
 1600       m_pt_traced_thread_group.insert(thread_id);
tools/llvm-cfi-verify/lib/GraphBuilder.cpp
  225   OpenedNodes.insert(Address);
tools/llvm-cxxmap/llvm-cxxmap.cpp
   94       UnparseableSymbols.insert(Symbol);
tools/llvm-objcopy/COFF/Object.cpp
   99                            RemovedSections.insert(Sec.UniqueId);
  115                 AssociatedSections.insert(Sym.TargetSectionId);
tools/polly/lib/CodeGen/BlockGenerators.cpp
  740           Encountered.insert(OpInst);
  744       Encountered.insert(Inst);
tools/polly/lib/Support/VirtualInstruction.cpp
  325       auto Inserted = UsedAccs.insert(Acc);
  380     auto InsertResult = UsedInsts.insert(VInst);
tools/polly/lib/Transform/ZoneAlgo.cpp
 1066       AllPHIs.insert(PHI);
tools/verify-uselistorder/verify-uselistorder.cpp
  385   if (!Seen.insert(V).second)
  427   if (!Seen.insert(V).second)
unittests/ADT/DenseSetTest.cpp
  218   Map.insert(B);
unittests/ExecutionEngine/JITLink/JITLinkTestCommon.cpp
  158       MissingSymbols.insert(Symbol);
unittests/ExecutionEngine/Orc/CoreAPIsTest.cpp
  966           NewNames.insert(Name);
unittests/ExecutionEngine/Orc/LegacyAPIInteropTest.cpp
   31             Result.insert(KV.first);
utils/TableGen/CodeGenDAGPatterns.cpp
  116     Modes.insert(M);
  230     Modes.insert(I.first);
  232     Modes.insert(I.first);