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());
include/llvm/ADT/SetVector.h
  204     vector_.erase(I, vector_.end());
include/llvm/Analysis/IntervalIterator.h
  230         Int->Successors.erase(std::remove(Int->Successors.begin(),
include/llvm/Analysis/Trace.h
   99   iterator erase(iterator q1, iterator q2) { return BasicBlocks.erase (q1, q2); }
include/llvm/IR/TypeFinder.h
   57   iterator erase(iterator I, iterator E) { return StructTypes.erase(I, E); }
include/llvm/ProfileData/InstrProf.h
  545   AddrToMD5Map.erase(std::unique(AddrToMD5Map.begin(), AddrToMD5Map.end()),
lib/CodeGen/AsmPrinter/AccelTable.cpp
   62     E.second.Values.erase(
lib/CodeGen/AsmPrinter/DebugLocStream.cpp
   32   Comments.erase(Comments.begin() + Entries.back().CommentOffset,
lib/CodeGen/BranchFolding.cpp
  786   MergePotentials.erase(CurMPIter, MergePotentials.end());
lib/CodeGen/MachineBasicBlock.cpp
  489   LiveIns.erase(Out, LiveIns.end());
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp
 1153     DDIV.erase(remove_if(DDIV, isMatchingDbgValue), DDIV.end());
lib/CodeGen/WinEHPrepare.cpp
  783       BlocksInFunclet.erase(
lib/DebugInfo/DWARF/DWARFContext.cpp
  121   Contributions.erase(
lib/DebugInfo/GSYM/Range.cpp
   30     It = Ranges.erase(It, It2);
lib/DebugInfo/Symbolize/SymbolizableObjectFile.cpp
   99     S.erase(J, S.end());
lib/ProfileData/Coverage/CoverageMapping.cpp
  609   Filenames.erase(Last, Filenames.end());
lib/Target/AArch64/AArch64InstrInfo.cpp
 5087     RepeatedSequenceLocs.erase(std::remove_if(RepeatedSequenceLocs.begin(),
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
  255     MIs.erase(llvm::find(MIs, MI), MIs.end());
  260     MIs.erase(llvm::find(MIs, MI), MIs.end());
lib/Target/Hexagon/HexagonGenInsert.cpp
 1089       LL.erase(End, LL.end());
 1179     LL.erase(End, LL.end());
lib/Target/Hexagon/RDFGraph.cpp
 1458   MaxRefs.erase(NewEnd, MaxRefs.end());
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  823     UncondCodeSeq.erase(std::unique(UncondCodeSeq.begin(), UncondCodeSeq.end()),
lib/Transforms/Scalar/LoopUnswitch.cpp
 1409   Worklist.erase(std::remove(Worklist.begin(), Worklist.end(), I),
lib/Transforms/Scalar/PlaceSafepoints.cpp
  528     PollLocations.erase(std::unique(PollLocations.begin(),
lib/Transforms/Scalar/SROA.cpp
 4094   PromotableAllocas.erase(
 4587         PromotableAllocas.erase(llvm::remove_if(PromotableAllocas, IsInSet),
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
 1738   Blocks.erase(BlocksSplitI, Blocks.end());
 1857   SubLoops.erase(SubLoopsSplitI, SubLoops.end());
lib/Transforms/Utils/ImportedFunctionsInliningStatistics.cpp
  164   NonImportedCallers.erase(
lib/Transforms/Utils/LoopUnroll.cpp
  887         UnrolledLoopBlocks.erase(std::remove(UnrolledLoopBlocks.begin(),
lib/Transforms/Utils/LowerSwitch.cpp
  432     Cases.erase(std::next(I), Cases.end());
  572     Cases.erase(
lib/Transforms/Utils/SimplifyCFG.cpp
  749   Cases.erase(std::remove(Cases.begin(), Cases.end(), BB), Cases.end());
tools/clang/include/clang/Analysis/Analyses/ThreadSafetyUtil.h
  337     Data->Vect.erase(Data->Vect.begin() + i, Data->Vect.end());
tools/clang/include/clang/Analysis/CloneDetection.h
  238     CloneGroups.erase(
tools/clang/lib/AST/ExternalASTMerger.cpp
  428   Importers.erase(
tools/clang/lib/CodeGen/CodeGenModule.cpp
 5867   ParsedAttr.Features.erase(
tools/clang/lib/Driver/Multilib.cpp
  302   Ms.erase(std::remove_if(Ms.begin(), Ms.end(), F), Ms.end());
tools/clang/lib/Driver/XRayArgs.cpp
  177     Modes.erase(std::unique(Modes.begin(), Modes.end()), Modes.end());
tools/clang/lib/Frontend/CompilerInstance.cpp
 1061   PPOpts.Macros.erase(
tools/clang/lib/Tooling/CompilationDatabase.cpp
  297   Args.erase(std::remove_if(Args.begin(), Args.end(), FilterUnusedFlags()),
tools/clang/tools/extra/clang-doc/Representation.cpp
  146   Description.erase(Last, Description.end());
tools/clang/tools/extra/clang-include-fixer/IncludeFixerContext.cpp
   92   QuerySymbolInfos.erase(
  106   HeaderInfos.erase(std::unique(HeaderInfos.begin(), HeaderInfos.end(),
tools/clang/tools/extra/clang-tidy/ClangTidyDiagnosticConsumer.cpp
  722   Errors.erase(std::unique(Errors.begin(), Errors.end(), EqualClangTidyError()),
tools/clang/tools/extra/clangd/SemanticHighlighting.cpp
  137     Tokens.erase(Last, Tokens.end());
tools/clang/tools/extra/clangd/SourceCode.cpp
  938   Found.erase(std::unique(Found.begin(), Found.end()), Found.end());
tools/clang/tools/extra/clangd/XRefs.cpp
  368     References.erase(std::unique(References.begin(), References.end(),
  940   MainFileRefs.erase(std::unique(MainFileRefs.begin(), MainFileRefs.end(),
tools/clang/tools/extra/clangd/index/Relation.cpp
   32   Relations.erase(std::unique(Relations.begin(), Relations.end()),
tools/clang/tools/extra/clangd/refactor/tweaks/RemoveUsingNamespace.cpp
  178   IdentsToQualify.erase(
tools/clang/utils/TableGen/NeonEmitter.cpp
 2084   NewTypeSpecs.erase(std::unique(NewTypeSpecs.begin(), NewTypeSpecs.end()),
tools/lld/COFF/Writer.cpp
 1041   outputSections.erase(
 1050   outputSections.erase(
tools/lld/ELF/AArch64ErrataFix.cpp
  464     mapSyms.erase(
tools/lld/ELF/ARMErrataFix.cpp
  339     mapSyms.erase(std::unique(mapSyms.begin(), mapSyms.end(),
tools/lld/ELF/SyntheticSections.cpp
  534   ret.erase(std::unique(ret.begin(), ret.end(), eq), ret.end());
 2397   v.erase(mid, v.end());
tools/lld/ELF/Writer.cpp
  195   v.erase(std::remove(v.begin(), v.end(), nullptr), v.end());
tools/lld/include/lld/Core/Simple.h
   83     atoms.erase(newEnd, atoms.end());
tools/lld/lib/Core/Resolver.cpp
  383   _atoms.erase(std::remove_if(_atoms.begin(), _atoms.end(),
  399     undefinedAtoms.erase(
  444   _atoms.erase(std::remove_if(_atoms.begin(), _atoms.end(),
tools/lld/tools/lld/lld.cpp
  125     v.erase(v.begin() + 1, v.begin() + 3);
tools/lldb/source/Breakpoint/BreakpointList.cpp
  102   m_breakpoints.erase(
tools/lldb/source/Core/IOHandler.cpp
 3560           submenus.erase(submenus.begin() + 8, submenus.end());
 3587         submenus.erase(submenus.begin() + 7, submenus.end());
tools/lldb/source/Host/common/NativeProcessProtocol.cpp
  315   m_delegates.erase(
tools/lldb/source/Interpreter/Options.cpp
 1396   argv.erase(argv.begin(), argv.begin() + OptionParser::GetOptionIndex());
tools/lldb/source/Plugins/DynamicLoader/Hexagon-DYLD/DynamicLoaderHexagonDYLD.cpp
  453     addrs.erase(std::unique(start, end), end);
tools/lldb/source/Plugins/DynamicLoader/POSIX-DYLD/DynamicLoaderPOSIXDYLD.cpp
  495     addrs.erase(std::unique(start, end), end);
tools/lldb/source/Plugins/Process/Utility/DynamicRegisterInfo.cpp
  461         pos->second.erase(unique_end, pos->second.end());
  511         pos->second.erase(unique_end, pos->second.end());
tools/lldb/source/Symbol/Symtab.cpp
  592     indexes.erase(last, indexes.end());
 1103     symbol_indexes.erase(
tools/lldb/source/Target/JITLoaderList.cpp
   27   m_jit_loaders_vec.erase(std::remove(m_jit_loaders_vec.begin(),
tools/llvm-cov/CodeCoverage.cpp
  438   SourceFiles.erase(UncoveredFilesIt, SourceFiles.end());
tools/llvm-exegesis/lib/Clustering.cpp
  304       OldCluster.PointIndices.erase(it, OldCluster.PointIndices.end());
tools/llvm-objcopy/COFF/Object.cpp
   41   Symbols.erase(
   94     Sections.erase(
  105     Symbols.erase(
tools/llvm-objcopy/ELF/Object.cpp
  701   Symbols.erase(
 1856   Sections.erase(Iter, std::end(Sections));
 2157   OrderedSegments.erase(End, std::end(OrderedSegments));
tools/llvm-objcopy/MachO/Object.cpp
   15     LC.Sections.erase(std::remove_if(std::begin(LC.Sections),
tools/llvm-xray/xray-account.cpp
  213     ThreadStack.erase(I, ThreadStack.end());
  327     Results.erase(Results.begin() + MaxTop, Results.end());
tools/polly/lib/Analysis/ScopInfo.cpp
 1729       StmtMapIt->second.erase(std::remove(StmtMapIt->second.begin(),
unittests/ADT/TinyPtrVectorTest.cpp
  344   this->TestPtrs.erase(this->TestPtrs.begin(),
  348   this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 1),
  352   this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 2),
  356   this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 5),
  360   this->TestPtrs.erase(std::next(this->TestPtrs.begin(), 13),
unittests/Analysis/DomTreeUpdaterTest.cpp
  379     BasicBlocks.erase(
usr/include/c++/7.4.0/bits/regex_compiler.h
  524 	_M_char_set.erase(__end, _M_char_set.end());
utils/TableGen/AsmMatcherEmitter.cpp
 3358   FeatureBitsets.erase(
utils/TableGen/AsmWriterEmitter.cpp
  369           Inst.Operands.erase(Inst.Operands.begin(),
  473   Instructions.erase(I, Instructions.end());
utils/TableGen/CodeEmitterGen.cpp
  574   FeatureBitsets.erase(
utils/TableGen/CodeGenRegisters.cpp
  738   M.erase(std::unique(M.begin(), M.end(), deref<std::equal_to<>>()), M.end());
utils/TableGen/CodeGenSchedule.cpp
 1675     Preds.erase(std::unique(Preds.begin(), Preds.end()), Preds.end());
utils/TableGen/CodeGenTarget.cpp
  375   Result.erase(std::unique(Result.begin(), Result.end()), Result.end());
utils/TableGen/FastISelEmitter.cpp
  832       MI->second.erase(std::unique(MI->second.begin(), MI->second.end()),
utils/TableGen/GlobalISelEmitter.cpp
 5179   FeatureBitsets.erase(
utils/TableGen/RegisterInfoEmitter.cpp
  367   DwarfRegNums.erase(Last, DwarfRegNums.end());