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

References

include/llvm/ADT/MapVector.h
  226   Vector.erase(O, Vector.end());
include/llvm/ADT/PriorityWorklist.h
  202     V.erase(E, V.end());
include/llvm/ADT/STLExtras.h
 1333   C.erase(remove_if(C, P), C.end());
 1344       Cont.erase(ContIt, ContEnd);
include/llvm/ADT/SetVector.h
  204     vector_.erase(I, vector_.end());
include/llvm/ADT/TinyPtrVector.h
  307       return Vec->erase(S, E);
include/llvm/MC/MCInst.h
  190   void erase(iterator First, iterator Last) { Operands.erase(First, Last); }
include/llvm/Support/Allocator.h
  210     Slabs.erase(std::next(Slabs.begin()), Slabs.end());
include/llvm/Support/GenericDomTreeConstruction.h
  151           Res.erase(std::remove(Res.begin(), Res.end(), Child), Res.end());
lib/Analysis/AssumptionCache.cpp
  134   AssumeHandles.erase(
lib/Analysis/BlockFrequencyInfoImpl.cpp
  174   Weights.erase(O, Weights.end());
  802   OuterLoop.Nodes.erase(O, OuterLoop.Nodes.end());
lib/Analysis/CFLAndersAliasAnalysis.cpp
  484   ExtRelations.erase(std::unique(ExtRelations.begin(), ExtRelations.end()),
lib/Analysis/CGSCCPassManager.cpp
  526   DeadTargets.erase(
lib/Analysis/DomTreeUpdater.cpp
  425   PendUpdates.erase(B, E);
lib/Analysis/LazyCallGraph.cpp
  667   auto EraseEnd = SCCs.erase(MergeRange.begin(), MergeRange.end());
  867       PendingSCCStack.erase(SCCNodes.end().base(), PendingSCCStack.end());
 1093       G->PostOrderRefSCCs.erase(MergeRange.begin(), MergeRange.end());
 1299       PendingRefSCCStack.erase(RefSCCNodes.begin(), PendingRefSCCStack.end());
 1656       PendingSCCStack.erase(SCCNodes.end().base(), PendingSCCStack.end());
lib/Analysis/ScalarEvolution.cpp
 2468       Ops.erase(Ops.begin()+i+1, Ops.begin()+i+Count);
 3647       Ops.erase(Ops.begin() + i + 1, Ops.begin() + i + 2);
 3653       Ops.erase(Ops.begin() + i, Ops.begin() + i + 1);
11087   Terms.erase(
11166   Terms.erase(std::unique(Terms.begin(), Terms.end()), Terms.end());
lib/Analysis/StackSafetyAnalysis.cpp
  516     Callees.erase(std::unique(Callees.begin(), Callees.end()), Callees.end());
lib/CodeGen/AsmPrinter/DebugLocEntry.h
  139     Values.erase(std::unique(Values.begin(), Values.end(),
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
  917   GVEs.erase(std::unique(GVEs.begin(), GVEs.end(),
 1401     OpenRanges.erase(Last, OpenRanges.end());
lib/CodeGen/CodeGenPrepare.cpp
 5298     LargeOffsetGEPs.erase(
lib/CodeGen/InlineSpiller.cpp
  708   RegsToSpill.erase(RegsToSpill.begin() + ResultPos, RegsToSpill.end());
lib/CodeGen/LiveInterval.cpp
  180     segments().erase(std::next(I), MergeTo);
  196         segments().erase(MergeTo, I);
  215     segments().erase(std::next(MergeTo), std::next(I));
  634   segments.erase(remove_if(*this, [ValNo](const Segment &S) {
  688     segments.erase(OutIt, end());
 1274   Spills.erase(SpillSrc, Spills.end());
 1287     LR->segments.erase(WriteI, ReadI);
 1302     LR->segments.erase(WriteI + Spills.size(), ReadI);
lib/CodeGen/LiveRangeUtils.h
   40   LR.segments.erase(J, E);
lib/CodeGen/MachineBlockPlacement.cpp
 1587   WorkList.erase(llvm::remove_if(WorkList,
 2925           RemoveList.erase(
lib/CodeGen/MachineRegisterInfo.cpp
  633     UpdatedCSRs.erase(std::remove(UpdatedCSRs.begin(), UpdatedCSRs.end(), *AI),
lib/CodeGen/RegisterCoalescer.cpp
 3622     WorkList.erase(std::remove(WorkList.begin() + PrevSize, WorkList.end(),
 3711   InflateRegs.erase(std::unique(InflateRegs.begin(), InflateRegs.end()),
lib/CodeGen/SelectionDAG/DAGCombiner.cpp
15557       StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + StartIdx);
15573       StoreNodes.erase(StoreNodes.begin(),
15677           StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumSkip);
15685           StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem);
15694         StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem);
15743           StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumSkip);
15751           StoreNodes.erase(StoreNodes.begin(),
15760         StoreNodes.erase(StoreNodes.begin(),
15806         StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + 2);
15807         LoadNodes.erase(LoadNodes.begin(), LoadNodes.begin() + 2);
15925         StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumSkip);
15926         LoadNodes.erase(LoadNodes.begin(), LoadNodes.begin() + NumSkip);
15934         StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem);
15935         LoadNodes.erase(LoadNodes.begin(), LoadNodes.begin() + NumElem);
16011       StoreNodes.erase(StoreNodes.begin(), StoreNodes.begin() + NumElem);
16012       LoadNodes.erase(LoadNodes.begin(), LoadNodes.begin() + NumElem);
lib/CodeGen/SelectionDAG/SelectionDAG.cpp
 9591     Vals.erase(Vals.begin() + SliceIdx, Vals.end());
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
 3461           Chain.erase(std::remove(Chain.begin(), Chain.end(), N), Chain.end());
lib/CodeGen/SplitKit.cpp
  184   UseSlots.erase(std::unique(UseSlots.begin(), UseSlots.end(),
lib/CodeGen/StackMaps.cpp
  289   LiveOuts.erase(
lib/ExecutionEngine/SectionMemoryManager.cpp
  213   MemGroup.FreeMem.erase(remove_if(MemGroup.FreeMem,
lib/IR/LLVMContextImpl.h
 1206     Attachments.erase(llvm::remove_if(Attachments, shouldRemove),
lib/IR/Metadata.cpp
 1171   Attachments.erase(I, Attachments.end());
lib/Linker/IRMover.cpp
  912     SrcElements.erase(It, SrcElements.end());
lib/MC/MCParser/AsmParser.cpp
 5866   ClobberRegs.erase(std::unique(ClobberRegs.begin(), ClobberRegs.end()),
lib/MCA/Stages/EntryStage.cpp
   69     Instructions.erase(Instructions.begin(), It);
lib/ProfileData/Coverage/CoverageMapping.cpp
   99   Terms.erase(++Prev, Terms.end());
  462     ActiveRegions.erase(CompletedRegionsIt, ActiveRegions.end());
lib/Support/APFloat.cpp
 3406       buffer.erase(&buffer[0], &buffer[FirstSignificant]);
 3430     buffer.erase(&buffer[0], &buffer[FirstSignificant]);
lib/Target/AArch64/AArch64ISelLowering.cpp
 3931         CSInfo.erase(std::remove_if(CSInfo.begin(), CSInfo.end(),
lib/Target/Lanai/AsmParser/LanaiAsmParser.cpp
 1177     Operands.erase(Operands.begin(), Operands.begin() + 1);
 1190     Operands.erase(Operands.begin(), Operands.begin() + 2);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 2383     BitGroups.erase(remove_if(BitGroups, F), BitGroups.end());
lib/Target/X86/X86ISelLowering.cpp
 6237         EltBits.erase(EltBits.begin() + BaseIdx + NumSubElts, EltBits.end());
 6239         EltBits.erase(EltBits.begin(), EltBits.begin() + BaseIdx);
13428   LoInputs.erase(std::unique(LoInputs.begin(), LoInputs.end()), LoInputs.end());
13432   HiInputs.erase(std::unique(HiInputs.begin(), HiInputs.end()), HiInputs.end());
14236       LoInputs.erase(std::unique(LoInputs.begin(), LoInputs.end()),
14241       HiInputs.erase(std::unique(HiInputs.begin(), HiInputs.end()),
33284     Mask.erase(Mask.begin(), Mask.begin() + 4);
lib/Target/XCore/XCoreLowerThreadLocal.cpp
  132     WUsers.erase(std::unique(WUsers.begin(), WUsers.end()), WUsers.end());
lib/Transforms/IPO/AlwaysInliner.cpp
   81   InlinedFunctions.erase(NonComdatBegin, InlinedFunctions.end());
lib/Transforms/IPO/HotColdSplitting.cpp
  520     Blocks.erase(RegionStartIt, RegionEndIt);
lib/Transforms/IPO/Inliner.cpp
  855   FunctionsToRemove.erase(
 1120           Calls.erase(
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  953         Selects.erase(std::remove_if(Selects.begin(), Selects.end(),
lib/Transforms/Scalar/GuardWidening.cpp
  704     Checks.erase(remove_if(Checks, IsCurrentCheck), Checks.end());
lib/Transforms/Scalar/IndVarSimplify.cpp
 2709   ExitingBlocks.erase(NewEnd, ExitingBlocks.end());
lib/Transforms/Scalar/Reassociate.cpp
 1168       Ops.erase(Ops.begin()+i, Ops.begin()+i+2);
 1709     Ops.erase(Ops.begin()+Idx, Ops.begin()+Idx+Count);
 1777   Factors.erase(std::unique(Factors.begin(), Factors.end(),
lib/Transforms/Scalar/RewriteStatepointsForGC.cpp
 1822     Uses.erase(Last, Uses.end());
 1884   Vec.erase(remove_if(Vec, [&](const T &V) { return !Seen.insert(V).second; }),
lib/Transforms/Scalar/SROA.cpp
  258   void erase(iterator Start, iterator Stop) { Slices.erase(Start, Stop); }
  472         P.SplitTails.erase(llvm::remove_if(P.SplitTails,
 1067   Slices.erase(
 1455     Indices.erase(Indices.end() - NumLayers, Indices.end());
 1927     CandidateTys.erase(
 1951     CandidateTys.erase(
 3751   Stores.erase(
 3794   Stores.erase(llvm::remove_if(Stores,
 3803   Loads.erase(llvm::remove_if(Loads,
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  755   PNs.erase(llvm::remove_if(PNs,
lib/Transforms/Utils/InlineFunction.cpp
 2122       Returns.erase(NewEnd, Returns.end());
lib/Transforms/Utils/Local.cpp
 2739         P.erase(std::prev(P.end(), BitShift), P.end());
 2742         P.erase(P.begin(), std::next(P.begin(), BitShift));
lib/Transforms/Utils/SimplifyCFG.cpp
 3723   Values.erase(std::unique(Values.begin(), Values.end()), Values.end());
tools/clang/include/clang/AST/DeclBase.h
  517     Vec.erase(std::remove_if(Vec.begin(), Vec.end(), isa<T, Attr*>), Vec.end());
tools/clang/include/clang/AST/DeclContextInternals.h
  133       Vec.erase(std::remove_if(Vec.begin(), Vec.end(),
tools/clang/include/clang/AST/ExternalASTSource.h
  582       Loaded.erase(&*From, &*To);
  587       Loaded.erase(&*From, Loaded.end());
  591     Local.erase(&*From, &*To);
tools/clang/include/clang/ASTMatchers/ASTMatchersInternal.h
  243     Bindings.erase(std::remove_if(Bindings.begin(), Bindings.end(), Predicate),
tools/clang/include/clang/Analysis/Analyses/Dominators.h
  207     Ret.erase(std::remove(Ret.begin(), Ret.end(), nullptr), Ret.end());
  297   Ret.erase(std::remove(Ret.begin(), Ret.end(), nullptr), Ret.end());
  312   Ret.erase(std::remove(Ret.begin(), Ret.end(), nullptr), Ret.end());
  327   Ret.erase(std::remove(Ret.begin(), Ret.end(), nullptr), Ret.end());
  342   Ret.erase(std::remove(Ret.begin(), Ret.end(), nullptr), Ret.end());
tools/clang/include/clang/Sema/ScopeInfo.h
  988     PotentiallyCapturingExprs.erase(
tools/clang/lib/AST/ASTContext.cpp
 4550   Protocols.erase(ProtocolsEnd, Protocols.end());
 8304     IntersectionSet.erase(
tools/clang/lib/AST/CXXInheritance.cpp
  761       Overriding.erase(
tools/clang/lib/AST/ExprConstant.cpp
 1032       CleanupStack.erase(
 1329       Info.CleanupStack.erase(NewEnd, Info.CleanupStack.end());
tools/clang/lib/AST/ItaniumMangle.cpp
  323       TagList.erase(std::unique(TagList.begin(), TagList.end()), TagList.end());
  339       UsedAbiTags.erase(std::unique(UsedAbiTags.begin(), UsedAbiTags.end()),
  693   AdditionalAbiTags.erase(
  836     AdditionalAbiTags.erase(
tools/clang/lib/CodeGen/CGBlocks.cpp
  725       layout.erase(first, li);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2974     Features.erase(std::remove_if(
tools/clang/lib/CodeGen/ConstantInitBuilder.cpp
  109   Buffer.erase(Buffer.begin() + newEnd, Buffer.end());
  255   buffer.erase(buffer.begin() + Begin, buffer.end());
  277   buffer.erase(buffer.begin() + Begin, buffer.end());
tools/clang/lib/Format/Format.cpp
 1922   Indices.erase(std::unique(Indices.begin(), Indices.end(),
 2099   Indices.erase(std::unique(Indices.begin(), Indices.end(),
tools/clang/lib/Format/UsingDeclarationsSorter.cpp
  131   SortedUsingDeclarations.erase(
tools/clang/lib/Frontend/ASTUnit.cpp
 1073   StoredDiags.erase(
tools/clang/lib/Frontend/DiagnosticRenderer.cpp
  557   LocationStack.erase(LocationStack.begin(),
tools/clang/lib/Lex/PPCaching.cpp
  131         CachedTokens.erase(AnnotBegin + 1, CachedTokens.begin() + CachedLexPos);
tools/clang/lib/Sema/SemaAttr.cpp
  449         Stack.erase(std::prev(I.base()), Stack.end());
tools/clang/lib/Sema/SemaDeclAttr.cpp
 5425   Tags.erase(std::unique(Tags.begin(), Tags.end()), Tags.end());
tools/clang/lib/Sema/SemaExpr.cpp
15147       LHSs.erase(std::remove(LHSs.begin(), LHSs.end(), BO->getLHS()),
15199     ExprCleanupObjects.erase(ExprCleanupObjects.begin() + Rec.NumCleanupObjects,
15219   ExprCleanupObjects.erase(
tools/clang/lib/Serialization/ASTReaderDecl.cpp
  277         IDs.erase(std::unique(IDs.begin(), IDs.end()), IDs.end());
tools/clang/lib/Serialization/ASTWriter.cpp
 4612     Path.erase(Path.begin(), Path.begin() + (PathPtr - PathBegin));
 5215       Imports.erase(std::unique(Imports.begin(), Imports.end(), Eq),
tools/clang/lib/Serialization/ModuleManager.cpp
  246   Roots.erase(std::remove_if(Roots.begin(), Roots.end(), IsVictim),
  252       PCHChain.erase(llvm::find(PCHChain, &*I), PCHChain.end());
  270   Chain.erase(Chain.begin() + (First - begin()), Chain.end());
tools/clang/lib/StaticAnalyzer/Checkers/MallocOverflowSecurityChecker.cpp
  156       toScanFor.erase(std::remove_if(toScanFor.begin(), toScanFor.end(), P),
tools/clang/tools/extra/clang-doc/Representation.cpp
  161   Loc.erase(Last, Loc.end());
tools/clang/tools/libclang/CIndex.cpp
 7922   AvailabilityAttrs.erase(It, AvailabilityAttrs.end());
tools/lldb/source/Breakpoint/BreakpointResolver.cpp
  287     all_scs.erase(worklist_begin, all_scs.end());
tools/llvm-dwarfdump/llvm-dwarfdump.cpp
  376   Dies.erase(std::unique(Dies.begin(), Dies.end()), Dies.end());
tools/llvm-xray/xray-stacks.cpp
  441       TS.erase(I, TS.end());
tools/polly/lib/Analysis/ScopBuilder.cpp
 1296   LoopStack.erase(LoopStack.begin() + Dimension, LoopStack.end());
tools/polly/lib/Analysis/ScopInfo.cpp
 1333   MemAccs.erase(std::remove_if(MemAccs.begin(), MemAccs.end(), Predicate),
 2500     Uses.erase(NewEnd, Uses.end());
 2507     Incomings.erase(NewEnd, Incomings.end());
unittests/ADT/SmallVectorTest.cpp
  534   this->theVector.erase(theConstVector.begin(), theConstVector.begin() + 2);
utils/TableGen/CodeGenTarget.cpp
  386   LegalValueTypes.erase(std::unique(LegalValueTypes.begin(),
utils/TableGen/DFAEmitter.cpp
   78     NewStates.erase(std::unique(NewStates.begin(), NewStates.end()),
   81     TI.erase(std::unique(TI.begin(), TI.end()), TI.end());