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

References

include/llvm/ADT/DirectedGraph.h
   74   explicit DGNode(EdgeType &E) : Edges() { Edges.insert(&E); }
  117   bool addEdge(EdgeType &E) { return Edges.insert(&E); }
include/llvm/ADT/SetVector.h
  250       if (insert(*SI))
include/llvm/CodeGen/MachinePipeliner.h
  338   bool insert(SUnit *SU) { return Nodes.insert(SU); }
include/llvm/MC/MCContext.h
  635       return SectionsForRanges.insert(Sec);
include/llvm/Transforms/IPO/Attributor.h
  772     QueryMap[&FromAA].insert(const_cast<AbstractAttribute *>(&ToAA));
  945       QueryMap[&AA].insert(const_cast<AbstractAttribute *>(QueryingAA));
  967         QueryMap[AA].insert(const_cast<AbstractAttribute *>(QueryingAA));
lib/Analysis/AliasAnalysisEvaluator.cpp
  105       Pointers.insert(&I);
  109       Pointers.insert(&*I);
  111       Loads.insert(&*I);
  113       Stores.insert(&*I);
  119         Pointers.insert(Callee);
  123           Pointers.insert(DataOp);
  124       Calls.insert(Call);
  130           Pointers.insert(*OI);
lib/Analysis/CGSCCPassManager.cpp
  468             PromotedRefTargets.insert(&CalleeN);
  490       DemotedCallTargets.insert(&RefereeN);
lib/Analysis/DemandedBits.cpp
  331         Worklist.insert(&I);
  344         Worklist.insert(J);
  409             Worklist.insert(I);
  413         Worklist.insert(I);
lib/Analysis/InlineCost.cpp
 1712       if (DeadBlocks.insert(Dead))
 1826   BBWorklist.insert(&F.getEntryBlock());
 1868           BBWorklist.insert(NextBB);
 1879         BBWorklist.insert(NextBB);
 1890       BBWorklist.insert(TI->getSuccessor(TIdx));
lib/Analysis/InstructionSimplify.cpp
 5429         Worklist.insert(cast<Instruction>(U));
 5440     Worklist.insert(I);
 5451         UnsimplifiedUsers->insert(I);
 5461       Worklist.insert(cast<Instruction>(U));
lib/Analysis/LazyCallGraph.cpp
  164       LibFunctions.insert(&F);
lib/Analysis/LoopAccessAnalysis.cpp
  512     Accesses.insert(MemAccessInfo(Ptr, false));
  521     Accesses.insert(MemAccessInfo(Ptr, true));
  888             DeferredAccesses.insert(Access);
lib/Analysis/MemDepPrinter.cpp
  105       Deps[Inst].insert(std::make_pair(getInstTypePair(Res),
  114         InstDeps.insert(std::make_pair(getInstTypePair(Res), I.getBB()));
  125         InstDeps.insert(std::make_pair(getInstTypePair(Res), I.getBB()));
lib/Analysis/MemorySSAUpdater.cpp
  917     AddedBlockSet.insert(Edge.getFrom());
  930         PrevBlockSet.insert(Pi);
 1067         PhisToFill.insert(IDFPhi);
 1315           PhisToCheck.insert(MP);
lib/Analysis/ModuleSummaryAnalysis.cpp
  116           RefEdges.insert(Index.getOrInsertValueInfo(GV));
  150       VCalls.insert({Guid, Call.Offset});
  155   ConstVCalls.insert({{Guid, Call.Offset}, std::move(Args)});
  187       TypeTests.insert(Guid);
  215       TypeTests.insert(Guid);
  299             RefEdges.insert(Index.getOrInsertValueInfo(GV));
  427         RefEdges.insert(VI);
  434       RefEdges.insert(VI);
  438       RefEdges.insert(VI);
lib/Analysis/ScalarEvolution.cpp
 3911       ExprValueMap[S].insert({V, nullptr});
 3925         ExprValueMap[Stripped].insert({V, Offset});
lib/Analysis/StackSafetyAnalysis.cpp
  494       WorkList.insert(CallerID);
lib/Analysis/TypeBasedAliasAnalysis.cpp
  493     PathA.insert(TA.getNode());
  502     PathB.insert(TB.getNode());
lib/Analysis/VectorUtils.cpp
  515     List.insert(AccGroups);
  522     List.insert(Item);
  933         StoreGroups.insert(Group);
  935         LoadGroups.insert(Group);
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
  282     InlinedSubprograms.insert(Inlinee);
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1877   ProcessedSPNodes.insert(SP);
lib/CodeGen/CodeGenPrepare.cpp
  517           WorkList.insert(*II);
  531           WorkList.insert(*II);
 3284     Matcher.insert({ PHI, Candidate });
 3322           Matcher.insert({ FirstPhi, SecondPhi });
 6196     MaybeDead.insert(UI);
lib/CodeGen/GlobalISel/Localizer.cpp
  145         LocalizedInstrs.insert(LocalizedMI);
lib/CodeGen/InlineSpiller.cpp
 1463       Virt2SiblingsMap[Original].insert(Reg);
lib/CodeGen/LiveRangeCalc.cpp
  296     WorkList.insert(P->getNumber());
  339       WorkList.insert(P->getNumber());
  596   PredQueue.insert(MBB->getNumber());
  603       PredQueue.insert(P->getNumber());
lib/CodeGen/LiveRangeEdit.cpp
  328       ToShrink.insert(&LI);
lib/CodeGen/LocalStackSlotAllocation.cpp
  229         SmallArrayObjs.insert(i);
  232         AddrOfObjs.insert(i);
  235         LargeArrayObjs.insert(i);
lib/CodeGen/MachineBlockPlacement.cpp
 2450       LoopBlockSet.insert(LoopBB);
lib/CodeGen/MachineCopyPropagation.cpp
  517         MaybeDeadCopies.insert(MI);
lib/CodeGen/MachinePipeliner.cpp
 1201   Stack.insert(SV);
 1458         Preds.insert(PI->getSUnit());
 1469         Preds.insert(IS->getSUnit());
 1491         Succs.insert(SI->getSUnit());
 1501         Succs.insert(PI->getSUnit());
 1529     Path.insert(Cur);
 1741   NodesAdded.insert(SU);
 1762       Result.insert(SU);
 1833           R.insert(N);
 1844       R.insert(maxASAP);
 1868           NodeOrder.insert(maxHeight);
 1878             R.insert(I.getSUnit());
 1888             R.insert(I.getSUnit());
 1913           NodeOrder.insert(maxDepth);
 1919             R.insert(Nodes.getNode(0));
 1927             R.insert(I.getSUnit());
 1937             R.insert(I.getSUnit());
lib/CodeGen/MachineSink.cpp
  533   ToSplit.insert(std::make_pair(FromBB, ToBB));
 1318           DbgValsToSinkSet.insert(MI);
lib/CodeGen/ProcessImplicitDefs.cpp
   88       WorkList.insert(UserMI);
  151         WorkList.insert(&*MBBI);
lib/CodeGen/PrologEpilogInserter.cpp
  967         SmallArrayObjs.insert(i);
  970         AddrOfObjs.insert(i);
  973         LargeArrayObjs.insert(i);
lib/CodeGen/RegAllocGreedy.cpp
  789       SetOfBrokenHints.insert(&VirtReg);
 3077         SetOfBrokenHints.insert(&VirtReg);
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
  232       PruningList.insert(N);
 1370   Nodes.insert(N);
 1378         Nodes.insert(ChildN.getNode());
12484         Users.insert(U);
lib/CodeGen/SelectionDAG/LegalizeDAG.cpp
  203       UpdatedNodes->insert(N);
  215       UpdatedNodes->insert(New);
  225       UpdatedNodes->insert(New.getNode());
  237         UpdatedNodes->insert(New[i].getNode());
  248       UpdatedNodes->insert(New.getNode());
  713         UpdatedNodes->insert(RVal.getNode());
  714         UpdatedNodes->insert(RChain.getNode());
  955       UpdatedNodes->insert(Value.getNode());
  956       UpdatedNodes->insert(Chain.getNode());
 4216       UpdatedNodes->insert(Tmp2.getNode());
 4217       UpdatedNodes->insert(Chain.getNode());
lib/CodeGen/SelectionDAG/LegalizeTypes.cpp
  603         NodesToAnalyze.insert(E);
  614       NodesToAnalyze.insert(N);
lib/CodeGen/ShrinkWrap.cpp
  174         CurrentCSRs.insert((unsigned)Reg);
lib/CodeGen/SjLjEHPrepare.cpp
  370       LPads.insert(II->getUnwindDest()->getLandingPadInst());
lib/IR/AsmWriter.cpp
 2461       Comdats.insert(C);
lib/IR/DIBuilder.cpp
  227   AllMacrosPerParent[Parent].insert(M);
  236   AllMacrosPerParent[Parent].insert(MF);
lib/IR/SafepointIRVerifier.cpp
  131         DeadBlocks.insert(&BB);
  185     if (!DeadEdges.insert(&DeadEdge))
  610     Worklist.insert(BBI.first);
lib/Linker/IRMover.cpp
 1217       Requirements.insert(cast<MDNode>(Op->getOperand(2)));
 1239       if (Requirements.insert(cast<MDNode>(SrcOp->getOperand(2)))) {
lib/Linker/LinkModules.cpp
  392     ValuesToLink.insert(&GV);
  541         ValuesToLink.insert(GV2);
lib/TableGen/SetTheory.cpp
   58         Elts.insert(*I);
   74         Elts.insert(*I);
  153       Elts.insert(Set[I]);
  172           Elts.insert(Args[i][n]);
  233         Elts.insert(Rec);
  287     Elts.insert(Def->getDef());
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
  252       Chains.insert(Rd);
  257     Chains.insert(Rd);
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  422           UsedKnownRegs.insert(KnownReg.Reg);
lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
  195         TaggedSlots.insert(FI);
lib/Target/AMDGPU/AMDGPUAnnotateUniformValues.cpp
   81     if (Set.insert(I))
   92   Checklist.insert(Start);
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  546   void addChild(MRT *Tree) { Children.insert(Tree); }
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  763   worklist.insert(&MI);
  780           worklist.insert(UseMI);
lib/Target/AMDGPU/SIFoldOperands.cpp
  714             if (!SeenAGPRs.insert(Src)) {
lib/Target/AMDGPU/SIInstrInfo.cpp
 4819   Worklist.insert(&TopInst);
 5217       Worklist.insert(Not);
 5222     Worklist.insert(Xor);
 5250   Worklist.insert(&Op);
 5251   Worklist.insert(&Not);
 5279   Worklist.insert(&Not);
 5280   Worklist.insert(&Op);
 5330   Worklist.insert(&LoHalf);
 5331   Worklist.insert(&HiHalf);
 5469   Worklist.insert(&LoHalf);
 5470   Worklist.insert(&HiHalf);
 5515   Worklist.insert(&Xor);
 5641       Worklist.insert(&UseMI);
 5727       Worklist.insert(&MI);
lib/Target/ARM/ARMCodeGenPrepare.cpp
  500     Visited->insert(I);
  911   WorkList.insert(V);
  930     WorkList.insert(V);
  952     CurrentVisited.insert(V);
lib/Target/ARM/ARMParallelDSP.cpp
   96     void InsertAdd(Instruction *I) { Adds.insert(I); }
lib/Target/ARM/MVETailPredication.cpp
  412           MaybeDead.insert(&I);
  429         MaybeDead.insert(OpI);
  473     Predicates.insert(Predicate);
lib/Target/Hexagon/BitTracker.cpp
  963         Targets.insert(SB);
  969         Targets.insert(&*Next);
  973       Targets.insert(SB);
lib/Target/Hexagon/HexagonBitTracker.cpp
 1007       Targets.insert(BI.getOperand(0).getMBB());
 1035   Targets.insert(BI.getOperand(1).getMBB());
lib/Target/Hexagon/HexagonCommonGEP.cpp
  374     Us.insert(&UI.getUse());
  985       NewUs.insert(U);
 1030           LSs.insert(U);
 1034           LSs.insert(U);
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1307     RangeMap[Ranges[I-Begin]].insert(I);
 1398         IMap[{BestV,Extenders[I].Expr}].insert(I);
lib/Target/Hexagon/HexagonConstPropagation.cpp
  753         Targets.insert(SB);
  760         Targets.insert(&*Next);
  772       Targets.insert(SB);
  835       Targets.insert(&*NextI);
  841       Targets.insert(SB);
 2272       Targets.insert(BrI.getOperand(0).getMBB());
 2309       Targets.insert(BranchTarget);
lib/Target/Hexagon/HexagonExpandCondsets.cpp
  405         Work.insert(P);
  419     Defs.insert(DefI->getParent());
lib/Target/Hexagon/HexagonFrameLowering.cpp
  779   Worklist.insert(EntryB.getNumber());
  792         Worklist.insert(SB->getNumber());
 1956     SpillRCs.insert(&Hexagon::IntRegsRegClass);
 1959       SpillRCs.insert(MRI.getRegClass(VR));
lib/Target/Hexagon/HexagonGenPredicate.cpp
  240       PUsers.insert(UseI);
  484       Erase.insert(&MI);
  523         Processed.insert(MI);
lib/Target/Hexagon/HexagonISelDAGToDAGHVX.cpp
  192     Q.insert(N);
  962   WorkQ.insert(N);
  968       WorkQ.insert(W->getOperand(j).getNode());
 1452   SubNodes.insert(LV.getNode());
 1459       SubNodes.insert(Op.getNode());
 1464       TmpQ.insert(S);
 1476         TmpQ.insert(F->first);
lib/Target/Hexagon/HexagonLoopIdiomRecognition.cpp
 1137     Cycle.insert(I);
 1166     First.insert(Cycle[J]);
 1169   Second.insert(Cycle[I]);
 1174     Second.insert(V);
 1178     First.insert(Cycle[I]);
 1191       Early.insert(UseI);
 1195       Late.insert(UseI);
 1227     Early.insert(UseI);
 1229     Late.insert(UseI);
 1316     C.insert(&I);
 1319     RShifts.insert(&I);
 1342       Users.insert(T);
 1361         Inputs.insert(Op);
 1363         Internal.insert(Op);
 2324       Worklist.insert(OpI);
lib/Target/Hexagon/HexagonRDFOpt.cpp
  169             PartlyDead.insert(SA.Id);
  268     Remove.insert(D.Id);
lib/Target/Hexagon/HexagonVectorLoopCarriedReuse.cpp
  737       Dependences.insert(D);
lib/Target/Hexagon/RDFDeadCode.cpp
  102     LiveNodes.insert(TA.Id);
  134     LiveNodes.insert(N);
  161           DeadNodes.insert(RA.Id);
  166         DeadInstrs.insert(IA.Id);
lib/Target/Hexagon/RDFGraph.cpp
 1522       PhiQ.insert(P.Id);
 1550           PhiQ.insert(OA.Id);
lib/Target/Hexagon/RDFLiveness.cpp
  127     DefQ.insert(RD);
  131         DefQ.insert(RD);
  153         DefQ.insert(RD);
  164     Defs.insert(TA.Id);
  165     Owners.insert(TA.Addr->getOwner(DFG).Id);
  457       DefQ.insert(R.Id);
  494             DefQ.insert(T.Id);
  710     IDFB.insert(&B);
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  364   OnStack.insert(nullptr);
  385       assert(OnStack.insert(Region) &&
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  586         Blocks.insert(SuccMBB);
lib/Transforms/IPO/AlwaysInliner.cpp
   56             Calls.insert(CS);
lib/Transforms/IPO/Attributor.cpp
  715       Uses.insert(&U);
  739             NextUses.insert(&Us);
  743       Uses.insert(U);
  890           ReturnInstSet.insert(cast<ReturnInst>(RI));
 1117     RVS.RetInsts.insert(&Ret);
 1139       UnresolvedCalls.insert(CB);
 1155       UnresolvedCalls.insert(CB);
 1163       UnresolvedCalls.insert(CB);
 1180       UnresolvedCalls.insert(CB);
 1224       if (ReturnInsts.insert(RI)) {
 2108     ToBeExploredPaths.insert(&(F->getEntryBlock().front()));
 2113         NoReturnCalls.insert(NextNoReturnI);
 2355           ToBeExploredPaths.insert(&Invoke->getUnwindDest()->front());
 2370     ToBeExploredPaths.insert(&SuccBB->front());
 2395         NoReturnCalls.insert(NextNoReturnI);
 2403         NoReturnCalls.insert(NextNoReturnI);
 3722             MallocCalls.insert(&I);
 3732               MallocCalls.insert(&I);
 3864       Uses.insert(&U);
 4118         Uses.insert(&UserIUse);
lib/Transforms/IPO/CrossDSOCFI.cpp
   89         TypeIds.insert(TypeId->getZExtValue());
   99           TypeIds.insert(TypeId->getZExtValue());
lib/Transforms/IPO/FunctionAttrs.cpp
  865       FlowsToReturn.insert(Ret->getReturnValue());
  886         FlowsToReturn.insert(RVI->getOperand(0));
  890         FlowsToReturn.insert(SI->getTrueValue());
  891         FlowsToReturn.insert(SI->getFalseValue());
  897           FlowsToReturn.insert(IncValue);
  978       FlowsToReturn.insert(Ret->getReturnValue());
  999       FlowsToReturn.insert(RVI->getOperand(0));
 1003       FlowsToReturn.insert(SI->getTrueValue());
 1004       FlowsToReturn.insert(SI->getFalseValue());
 1010         FlowsToReturn.insert(PN->getIncomingValue(i));
 1447     SCCNodes.insert(&F);
 1509     SCCNodes.insert(F);
lib/Transforms/IPO/FunctionImport.cpp
 1126         GlobalsToImport.insert(&F);
 1140         ImportedGVCount += GlobalsToImport.insert(&GV);
 1170         GlobalsToImport.insert(Fn);
lib/Transforms/IPO/Inliner.cpp
 1089       InlinedCallees.insert(&Callee);
lib/Transforms/IPO/LowerTypeTests.cpp
 1279       Out.insert(GV);
 1734         Constants.insert(C);
lib/Transforms/IPO/ThinLTOBitcodeWriter.cpp
  300       CfiFunctions.insert(&F);
lib/Transforms/InstCombine/InstCombineCasts.cpp
 2179   OldPhiNodes.insert(PN);
 2202         if (OldPhiNodes.insert(PNode))
lib/Transforms/InstCombine/InstCombineCompares.cpp
  523   Explored.insert(Base);
  577         Explored.insert(V);
  584         Explored.insert(PN);
  585         PHIs.insert(PN);
lib/Transforms/ObjCARC/ProvenanceAnalysisEvaluator.cpp
   50   Values.insert(V);
lib/Transforms/Scalar/ADCE.cpp
  322       BlocksWithDeadTerminators.insert(BBInfo.second.BB);
lib/Transforms/Scalar/ConstantHoisting.cpp
  277         BBs.insert(Entry);
  298       ParentInsertPts.insert(Node);
  316       BBs.insert(findMatInsertPt(U.Inst, U.OpndIdx)->getParent());
  319     InsertPts.insert(&Entry->front());
  329       InsertPts.insert(&*InsertPt);
  340       InsertPts.insert(&Entry->front());
  343     BBs.insert(BB);
  347   InsertPts.insert(findMatInsertPt(&FirstInst));
lib/Transforms/Scalar/DCE.cpp
  106           WorkList.insert(OpI);
lib/Transforms/Scalar/DeadStoreElimination.cpp
  762       DeadStackObjects.insert(&I);
  767       DeadStackObjects.insert(&I);
  774       DeadStackObjects.insert(&AI);
lib/Transforms/Scalar/GVN.cpp
 2553           DF.insert(S);
 2583           DeadBlocks.insert(P = S);
lib/Transforms/Scalar/GVNSink.cpp
  133       ActiveBlocks.insert(BB);
lib/Transforms/Scalar/InferAddressSpaces.cpp
  689       Worklist.insert(User);
lib/Transforms/Scalar/LICM.cpp
  449           PointerMustAliases.insert(ASI.getValue());
lib/Transforms/Scalar/LoopIdiomRecognize.cpp
  684       Heads.insert(SL[i]);
  744         Tails.insert(SL[k]);
  745         Heads.insert(SL[i]);
lib/Transforms/Scalar/LoopInterchange.cpp
 1278           WorkList.insert(OpI);
 1288       WorkList.insert(CondI);
 1290     WorkList.insert(cast<Instruction>(InnerIndexVar));
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 2660     Types.insert(SE.getEffectiveSCEVType(Expr->getType()));
 2668           Strides.insert(AR->getStepRecurrence(SE));
 2696           Factors.insert(Factor->getAPInt().getSExtValue());
 2702           Factors.insert(Factor->getAPInt().getSExtValue());
 3301             Factors.insert(-(uint64_t)Factors[i]);
 3302         Factors.insert(-1);
 4917       ReqRegs.insert(S);
lib/Transforms/Scalar/LoopUnrollPass.cpp
  506     BBWorklist.insert(L->getHeader());
  592           BBWorklist.insert(KnownSucc);
  594           ExitWorklist.insert({BB, KnownSucc});
  601           BBWorklist.insert(Succ);
  603           ExitWorklist.insert({BB, Succ});
lib/Transforms/Scalar/PlaceSafepoints.cpp
  553             Headers.insert(Succ);
lib/Transforms/Scalar/Reassociate.cpp
  805     RedoInsts.insert(NodesToRewrite[i]);
  850     ToRedo.insert(I);
  910     ToRedo.insert(TheNeg);
  917   ToRedo.insert(NewNeg);
 1098     RedoInsts.insert(BO);
 1224     RedoInsts.insert(T);
 1301     RedoInsts.insert(T);
 1303     RedoInsts.insert(T);
 1467       RedoInsts.insert(Mul);
 1635       RedoInsts.insert(VI);
 1642     RedoInsts.insert(V2);
 1771       RedoInsts.insert(MI);
 1905         Insts.insert(OpInst);
 1935         RedoInsts.insert(Op);
 2041   RedoInsts.insert(I);
 2084       RedoInsts.insert(I);
 2117       RedoInsts.insert(I);
 2131             RedoInsts.insert(Tmp);
 2133         RedoInsts.insert(I);
 2142       RedoInsts.insert(I);
 2158             RedoInsts.insert(Tmp);
 2160         RedoInsts.insert(I);
 2180       RedoInsts.insert(BO->user_back());
 2232     RedoInsts.insert(I);
 2270     RedoInsts.insert(I);
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 2665         LiveTmp.insert(V);
 2682         LiveTmp.insert(V);
 2691       KillSet.insert(&I);
lib/Transforms/Scalar/SROA.cpp
 2456       Pass.DeadInsts.insert(I);
 2592     Pass.DeadInsts.insert(&LI);
 2620     Pass.DeadInsts.insert(&SI);
 2643     Pass.DeadInsts.insert(&SI);
 2662         Pass.PostPromotionWorklist.insert(AI);
 2714     Pass.DeadInsts.insert(&SI);
 2775     Pass.DeadInsts.insert(&II);
 2941     Pass.DeadInsts.insert(&II);
 2950       Pass.Worklist.insert(AI);
 3076     Pass.DeadInsts.insert(&II);
 3174     PHIUsers.insert(&PN);
 3201     SelectUsers.insert(&SI);
 3936         Worklist.insert(OtherAI);
 3939         Worklist.insert(OtherAI);
 3943       DeadInsts.insert(SI);
 3951     DeadInsts.insert(LI);
 4053         Worklist.insert(OtherAI);
 4057         Worklist.insert(OtherAI);
 4072       DeadInsts.insert(LI);
 4074     DeadInsts.insert(SI);
 4229         SpeculatablePHIs.insert(PHIUser);
 4231         SpeculatableSelects.insert(SelectUser);
 4232       Worklist.insert(NewAI);
 4247     Worklist.insert(NewAI);
 4425       DeadInsts.insert(OldI);
 4473     DeadInsts.insert(DeadUser);
 4530           DeadInsts.insert(U);
 4568       Worklist.insert(AI);
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1239       ClonedLoopBlocks.insert(ClonedBB);
 1499       DeadBlockSet.insert(BB);
 1948     UnswitchedSuccBBs.insert(BI->getSuccessor(ClonedSucc));
 1952         UnswitchedSuccBBs.insert(Case.getCaseSuccessor());
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  772     if (!PredSet.insert(PredBB))
lib/Transforms/Utils/BreakCriticalEdges.cpp
  369       Targets.insert(IBI->getSuccessor(Succ));
lib/Transforms/Utils/CloneFunction.cpp
  611       Worklist.insert(PHIToResolve[Idx]);
  635       Worklist.insert(cast<Instruction>(U));
lib/Transforms/Utils/CodeExtractor.cpp
  208     if (!Result.insert(BB))
  434   Blocks.insert(CommonExitBlock);
  499       SinkCands.insert(LMI.LifeStart);
  503       HoistCands.insert(LMI.LifeEnd);
  525       SinkCands.insert(AI);
  555     SinkCands.insert(AI);
  565         SinkCands.insert(BitcastAddr);
  607           Inputs.insert(V);
  612           Outputs.insert(&II);
  654   Blocks.insert(NewBB);
  728         Blocks.insert(NewBB);
  999         LifetimesStart.insert(Mem);
lib/Transforms/Utils/InlineFunction.cpp
  825         MD.insert(M);
  827         MD.insert(M);
  840         if (MD.insert(M1))
lib/Transforms/Utils/LCSSA.cpp
  255         PHIsToRemove.insert(PN);
  315     if (BlocksDominatingExits.insert(IDomBB))
lib/Transforms/Utils/Local.cpp
  565           WorkList.insert(OpI);
  578         WorkList.insert(cast<Instruction>(U));
 2231     DeadBlockSet.insert(&BB);
lib/Transforms/Utils/LoopSimplify.cpp
  685         ExitBlockSet.insert(ExitingBlock);
lib/Transforms/Utils/LoopUnroll.cpp
  585     LoopsToSimplify.insert(SubLoop);
  616         LoopsToSimplify.insert(NewLoops[OldLoop]);
lib/Transforms/Utils/SimplifyCFG.cpp
  249             FailBlocks->insert(Succ);
 3860       TrivialUnwindBlocks.insert(IncomingBB);
lib/Transforms/Vectorize/LoopVectorize.cpp
 4419       ScalarPtrs.insert(I);
 4451       Worklist.insert(I);
 4465     Worklist.insert(Ind);
 4466     Worklist.insert(IndUpdate);
 4478       Worklist.insert(I);
 4496       Worklist.insert(Src);
 4535     Worklist.insert(Ind);
 4536     Worklist.insert(IndUpdate);
 4676     Worklist.insert(Cmp);
 4731         ConsecutiveLikePtrs.insert(Ptr);
 4739       Worklist.insert(V);
 4767         Worklist.insert(OI);
 4811     Worklist.insert(Ind);
 4812     Worklist.insert(IndUpdate);
lib/Transforms/Vectorize/SLPVectorizer.cpp
 3622       GatherSeq.insert(Insrt);
 3623       CSEBlocks.insert(Insrt->getParent());
 3706       GatherSeq.insert(I);
 3707       CSEBlocks.insert(I->getParent());
 3745         GatherSeq.insert(I);
 3746         CSEBlocks.insert(I->getParent());
 3818           GatherSeq.insert(I);
 3819           CSEBlocks.insert(I->getParent());
 3853           GatherSeq.insert(I);
 3854           CSEBlocks.insert(I->getParent());
 4308       CSEBlocks.insert(cast<Instruction>(Scalar)->getParent());
 4333             CSEBlocks.insert(PH->getIncomingBlock(i));
 4341         CSEBlocks.insert(cast<Instruction>(User)->getParent());
 4348       CSEBlocks.insert(&F->getEntryBlock());
 5409         Heads.insert(Stores[K]);
tools/clang/include/clang/Basic/Module.h
  504     TopHeaders.insert(File);
tools/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExplodedGraph.h
  470     Impl.insert(N);
  476     if (N && !static_cast<ExplodedNode*>(N)->isSink()) Impl.insert(N);
tools/clang/lib/AST/ASTImporterLookupTable.cpp
   74   Decls.insert(ND);
tools/clang/lib/AST/CXXInheritance.cpp
   44     Decls.insert(Path->Decls.front());
tools/clang/lib/AST/VTableBuilder.cpp
 1361   PrimaryBases.insert(RD);
 1391     if (!PrimaryBases.insert(PrimaryBase))
 1473     if (!PrimaryBases.insert(PrimaryBase))
 2633         Bases.insert(OverriddenMD->getParent());
 2926     if (!VisitedBases.insert(NextBase))
 3395     FullPath.insert(BaseSubobject(Base, NewOffset));
tools/clang/lib/Analysis/CFG.cpp
 1747       DeclsWithEndedScope.insert(*I);
 2355   AddressTakenLabels.insert(A->getLabel());
tools/clang/lib/Basic/Module.cpp
  250         TopHeaders.insert(*FE);
tools/clang/lib/CodeGen/CGException.cpp
 1678       Captures.insert(ParentThis);
 1684       Captures.insert(D);
 1688     Captures.insert(ParentThis);
tools/clang/lib/CodeGen/CGObjCMac.cpp
 2989   LazySymbols.insert(&CGM.getContext().Idents.get("Protocol"));
 3058   LazySymbols.insert(&CGM.getContext().Idents.get("Protocol"));
 3380   LazySymbols.insert(Interface->getIdentifier());
 3411   DefinedCategoryNames.insert(llvm::CachedHashString(ExtName));
 3522   DefinedSymbols.insert(RuntimeName);
 3578     LazySymbols.insert(Super->getIdentifier());
 5086   LazySymbols.insert(II);
tools/clang/lib/CodeGen/CGOpenMPRuntimeNVPTX.cpp
  362       EscapedVariableLengthDecls.insert(VD);
  364       EscapedDecls.insert(VD);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 1472       MostBases.insert(RD);
 2051       LinkModules.insert(Mod);
 5400     if (!ImportedModules.insert(Import->getImportedModule()))
tools/clang/lib/CodeGen/MicrosoftCXXABI.cpp
 4142       CatchableTypes.insert(getCatchableType(RTTITy, Class.OffsetInVBase,
 4151   CatchableTypes.insert(getCatchableType(T));
 4164     CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy));
 4175     CatchableTypes.insert(getCatchableType(getContext().VoidPtrTy));
tools/clang/lib/Frontend/CompilerInvocation.cpp
 2093     Opts.ModulesIgnoreMacros.insert(
tools/clang/lib/Frontend/DependencyGraph.cpp
   90   AllFiles.insert(File);
   91   AllFiles.insert(FromFile);
tools/clang/lib/Frontend/Rewrite/RewriteModernObjC.cpp
  902   ReferencedIvars[const_cast<ObjCInterfaceDecl *>(ClassDecl)].insert(D);
 7469       ReferencedIvars[clsDeclared].insert(D);
tools/clang/lib/Lex/Preprocessor.cpp
 1299     BuildingSubmoduleStack.back().M->Imports.insert(M);
tools/clang/lib/Sema/SemaDecl.cpp
 1849     UnusedLocalTypedefNameCandidates.insert(TD);
tools/clang/lib/Sema/SemaDeclCXX.cpp
 3445         UnusedPrivateFields.insert(FD);
tools/clang/lib/Sema/SemaDeclObjC.cpp
 4302       Overridden.insert(meth);
tools/clang/lib/Sema/SemaExprCXX.cpp
  606     UuidAttrs.insert(Uuid);
  621         UuidAttrs.insert(UuidForTA);
  834       PublicSubobjectsSeen.insert(BaseDecl);
  848   PublicSubobjectsSeen.insert(RD);
 7606     TypoExprs.insert(TE);
 7886     if (!TypoExprs.insert(E) && !CacheEntry.isUnset()) {
 7910           AmbiguousTypoExprs.insert(E);
tools/clang/lib/Sema/SemaLookup.cpp
 2621       Classes.insert(RD);
 2622       return ClassesTransitive.insert(RD);
 2661   Namespaces.insert(Ctx->getPrimaryContext());
 2692           Result.Classes.insert(EnclosingClass);
 2735     Result.Classes.insert(EnclosingClass);
 2753       Result.Classes.insert(EnclosingClass);
 2877         Result.Classes.insert(EnclosingClass);
 2950       Result.Namespaces.insert(Result.S.Context.getTranslationUnitDecl());
tools/clang/lib/Sema/SemaOpenMP.cpp
16206   if (!SameDirectiveDecls.insert(cast<NamedDecl>(ND->getCanonicalDecl())))
tools/clang/lib/Sema/SemaOverload.cpp
 7641   if (!PointerTypes.insert(Ty))
 7690     PointerTypes.insert(QPointerTy);
 7709   if (!MemberPointerTypes.insert(Ty))
 7731     MemberPointerTypes.insert(
 7776     PointerTypes.insert(Ty);
 7788     EnumerationTypes.insert(Ty);
 7793     VectorTypes.insert(Ty);
12156           SuggestedNamespaces.insert(*it);
tools/clang/lib/Sema/SemaStmt.cpp
 1444       Decls.insert(VD);
tools/clang/lib/Serialization/ASTReader.cpp
 4065       PendingMergedDefinitionsToDeduplicate.insert(Def);
 4326         Unresolved.Mod->Imports.insert(ResolvedMod);
 8720       Decls.insert(D);
tools/clang/lib/Serialization/ASTReaderDecl.cpp
 4506       Reader.PendingMergedDefinitionsToDeduplicate.insert(Exported);
tools/clang/lib/Serialization/ASTWriter.cpp
 4211     UpdatedDeclContexts.insert(DC->getPrimaryContext());
 5317         UpdatedDeclContexts.insert(RD->getPrimaryContext());
 6378   if (UpdatedDeclContexts.insert(DC) && !cast<Decl>(DC)->isFromASTFile()) {
 6514   ObjCClassesWithCategories.insert(
tools/clang/lib/Serialization/ASTWriterDecl.cpp
  323       Writer.UpdatedDeclContexts.insert(NS->getPrimaryContext());
  759       Writer.ObjCClassesWithCategories.insert(D);
tools/clang/lib/Serialization/ModuleManager.cpp
   92     MF.ImportedBy.insert(ImportedBy);
   93     ImportedBy->Imports.insert(&MF);
tools/clang/lib/StaticAnalyzer/Checkers/IvarInvalidationChecker.cpp
   73       InvalidationMethods.insert(MD);
tools/clang/lib/StaticAnalyzer/Frontend/CheckerRegistry.cpp
  254     Ret.insert(Dependency);
  282     EnabledCheckers.insert(&Checker);
tools/clang/tools/extra/clang-reorder-fields/ReorderFieldsAction.cpp
  113         Results.insert(FD);
tools/clang/utils/TableGen/NeonEmitter.cpp
 1740         Elts.insert(R->getRecords().getDef("sv" + utostr(I + Addend)));
tools/lld/ELF/Driver.cpp
  798     if (!names.insert(s) && config->warnSymbolOrdering)
tools/lld/ELF/MapFile.cpp
  239         map[sym].insert(file);
  242           map[d].insert(file);
tools/llvm-extract/llvm-extract.cpp
  161     GVs.insert(GA);
  176         GVs.insert(&*GA);
  195     GVs.insert(GV);
  209         GVs.insert(&GV);
  228     GVs.insert(GV);
  243         GVs.insert(&*F);
  266     GVs.insert(F);
  311           GVs.insert(CF);
tools/llvm-objdump/llvm-objdump.cpp
  456       MissingSections.insert(S);
tools/llvm-reduce/deltas/ReduceFunctions.cpp
   45           CallsToRemove.insert(Call);
tools/polly/include/polly/ScopInfo.h
  388     DerivedSAIs.insert(DerivedSAI);
 2469   void addRequiredInvariantLoad(LoadInst *LI) { DC.RequiredILS.insert(LI); }
tools/polly/lib/Analysis/ScopBuilder.cpp
 1553       NewParams.insert(Param);
 2034     bool Inserted = SeenLeaders.insert(Leader);
 2307   ArrayBasePointers.insert(BaseAddress);
tools/polly/lib/Analysis/ScopDetection.cpp
  435   if (!Context.NonAffineSubRegionSet.insert(AR))
  444       Context.BoxedLoopsSet.insert(L);
  582       Context.RequiredILS.insert(Load);
  803     Ctx.RequiredILS.insert(LI);
  928           Context.RequiredILS.insert(Load);
 1112       Context.NonAffineAccesses.insert(
 1157               Context.RequiredILS.insert(Load);
 1158               InvariantLS.insert(Load);
 1161               VariantLS.insert(Load);
 1481     ValidRegions.insert(&R);
 1516     ValidRegions.insert(ExpandedR);
tools/polly/lib/Analysis/ScopInfo.cpp
 1533     if (Parameters.insert(Parameter))
 1830     ScopArrayInfoSet.insert(SAI.get());
tools/polly/lib/CodeGen/BlockGenerators.cpp
 1495   SeenBlocks.insert(EntryBB);
 1533       if (R->contains(*SI) && SeenBlocks.insert(*SI))
tools/polly/lib/CodeGen/IslNodeBuilder.cpp
  214         References.Values.insert(InvariantLoad);
  219         References.SCEVs.insert(References.SE.getSCEVAtScope(SrcVal, Scope));
  222         References.Values.insert(NewVal);
  255       References.Values.insert(BasePtr);
  260       References.Values.insert(References.BlockGen.getOrCreateAlloca(*Access));
  316     Values.insert(I.second);
  320     Values.insert(cast<SCEVUnknown>(I.second)->getValue());
  356     ReplacedValues.insert(getLatestValue(V));
  676     SubtreeValues.insert(LoopInductionVar);
tools/polly/lib/Support/SCEVValidator.cpp
   59     Parameters.insert(Expr);
  366       ILS->insert(cast<LoadInst>(I));
  565       Loops.insert(AddRec->getLoop());
  591     Values.insert(Unknown->getValue());
unittests/ADT/SetVectorTest.cpp
   20   S.insert(0);
   21   S.insert(1);
   22   S.insert(2);
unittests/Analysis/AliasAnalysisTest.cpp
   50         Pointers.insert(&A);
   53         Pointers.insert(&I);
utils/TableGen/AsmMatcherEmitter.cpp
 1924   IsNew = Table.insert(CachedHashString(Name));
 2029   OperandConversionKinds.insert(CachedHashString("CVT_Done"));
 2030   OperandConversionKinds.insert(CachedHashString("CVT_Reg"));
 2031   OperandConversionKinds.insert(CachedHashString("CVT_Tied"));
 2047       if (!InstructionConversionKinds.insert(CachedHashString(Signature)))
 2052       OperandConversionKinds.insert(
 2247     if (!InstructionConversionKinds.insert(CachedHashString(Signature)))
utils/TableGen/CodeGenRegisters.cpp
  582     if (OSet.insert(SR))
  588     OSet.insert(I->second);
  675       Elts.insert(NewReg);
 2392     if (Set.insert(Reg))
 2417         Set.insert(Super);
utils/TableGen/CodeGenSchedule.cpp
  124           Elts.insert(Inst->TheDef);
  151           Elts.insert(Inst->TheDef);
utils/TableGen/FixedLenDecoderEmitter.cpp
 1180   Decoders.insert(CachedHashString(Decoder));
 1252   TableInfo.Predicates.insert(CachedHashString(Predicate));