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

References

include/llvm/ADT/DirectedGraph.h
  248     Nodes.erase(IT);
include/llvm/ADT/MapVector.h
  175     auto Next = Vector.erase(Iterator);
include/llvm/ADT/SetVector.h
  161       vector_.erase(I);
  182     return vector_.erase(NI);
include/llvm/ADT/SmallSet.h
  212         Vector.erase(I);
include/llvm/ADT/TinyPtrVector.h
  293       return Vec->erase(I);
include/llvm/CodeGen/GlobalISel/GISelChangeObserver.h
   80       Observers.erase(It);
include/llvm/CodeGen/LiveInterval.h
  526       return segments.erase(I);
include/llvm/MC/MCInst.h
  189   void erase(iterator I) { Operands.erase(I); }
include/llvm/MC/MCParser/MCAsmLexer.h
   77     CurTok.erase(CurTok.begin());
include/llvm/Support/CommandLine.h
  824     Values.erase(Values.begin() + N);
include/llvm/TableGen/Record.h
 1553         Values.erase(Values.begin()+i);
lib/Analysis/BasicAliasAnalysis.cpp
  617           Decomposed.VarIndices.erase(Decomposed.VarIndices.begin() + i);
 1964         Dest.erase(Dest.begin() + j);
lib/Analysis/LazyCallGraph.cpp
 1324   G->PostOrderRefSCCs.erase(G->PostOrderRefSCCs.begin() + Idx);
 1538   PostOrderRefSCCs.erase(PostOrderRefSCCs.begin() + RCIndex);
lib/Analysis/PHITransAddr.cpp
   67     InstInputs.erase(Entry);
  130     InstInputs.erase(Entry);
  165     InstInputs.erase(find(InstInputs, Inst));
lib/Analysis/ScalarEvolution.cpp
 2434       Ops.erase(Ops.begin()+1);  // Erase the folded element
 2440       Ops.erase(Ops.begin());
 2553       Ops.erase(Ops.begin()+Idx);
 2636             Ops.erase(Ops.begin()+AddOp);
 2637             Ops.erase(Ops.begin()+Idx-1);
 2639             Ops.erase(Ops.begin()+Idx);
 2640             Ops.erase(Ops.begin()+AddOp-1);
 2677             Ops.erase(Ops.begin()+Idx);
 2678             Ops.erase(Ops.begin()+OtherMulIdx-1);
 2702         Ops.erase(Ops.begin()+i);
 2767             Ops.erase(Ops.begin() + OtherIdx); --OtherIdx;
 2956       Ops.erase(Ops.begin()+1);  // Erase the folded element
 2963       Ops.erase(Ops.begin());
 3012       Ops.erase(Ops.begin()+Idx);
 3040         Ops.erase(Ops.begin()+i);
 3138         Ops.erase(Ops.begin() + OtherIdx); --OtherIdx;
 3593       Ops.erase(Ops.begin()+1);  // Erase the folded element
 3603       Ops.erase(Ops.begin());
 3624       Ops.erase(Ops.begin()+Idx);
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  119   VarSet.erase(VarPos);
lib/CodeGen/CodeGenPrepare.cpp
 5385       LargeOffsetGEP = LargeOffsetGEPs.erase(LargeOffsetGEP);
lib/CodeGen/LiveDebugVariables.cpp
 1090   locations.erase(locations.begin() + OldLocNo);
lib/CodeGen/LiveInterval.cpp
  609       segments.erase(I);  // Removed the whole Segment.
  776         segments.erase(S);
  792         segments.erase(I);
lib/CodeGen/MachineBlockPlacement.cpp
  257         Blocks.erase(i);
lib/CodeGen/MachineFunction.cpp
  739         LandingPad.BeginLabels.erase(LandingPad.BeginLabels.begin() + j);
  740         LandingPad.EndLabels.erase(LandingPad.EndLabels.begin() + j);
lib/CodeGen/MachinePipeliner.cpp
 1780         NodeSets.erase(J);
 1797         NodeSets.erase(J);
lib/CodeGen/ModuloSchedule.cpp
 1408     Defaults.erase(Defaults.begin());
lib/CodeGen/RegisterPressure.cpp
  417       RegUnits.erase(I);
  591         RI = Defs.erase(RI);
  615       I = Defs.erase(I);
  626       I = Uses.erase(I);
lib/CodeGen/ScheduleDAG.cpp
  186   N->Succs.erase(Succ);
  187   Preds.erase(I);
lib/CodeGen/SelectionDAG/StatepointLowering.h
   84     PendingGCRelocateCalls.erase(I);
lib/ExecutionEngine/ExecutionEngine.cpp
  148       Modules.erase(I);
lib/ExecutionEngine/Orc/OrcMCJITReplacement.h
  321     Modules.erase(I);
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
 1336           I = PendingRelocs.erase(I);
lib/ProfileData/GCOV.cpp
  467   Blocked.erase(it);
  470   BlockLists.erase(BlockLists.begin() + index);
lib/Support/CommandLine.cpp
  272           Sub.PositionalOpts.erase(Opt);
  279           Sub.SinkOpts.erase(Opt);
 1168     Argv.erase(Argv.begin() + I);
lib/Support/YAMLParser.cpp
  993       i = SimpleKeys.erase(i);
lib/Target/AMDGPU/SIISelLowering.cpp
 5549       ResultTypes.erase(&ResultTypes[1]);
lib/Target/ARM/ARMFrameLowering.cpp
 1885           UnspilledCS1GPRs.erase(LRPos);
 1889         UnspilledCS1GPRs.erase(FPPos);
 2016         UnspilledCS1GPRs.erase(llvm::find(UnspilledCS1GPRs, Reg));
 2036         UnspilledCS1GPRs.erase(LRPos);
lib/Target/ARM/AsmParser/ARMAsmParser.cpp
 4270       Regs.erase(J.base());
 6493     Operands.erase(Operands.begin() + 3);
 6954     Operands.erase(Operands.begin() + 1);
 6962     Operands.erase(Operands.begin() + 1);
 6971       Operands.erase(Operands.begin() + 1);
 6972       Operands.erase(Operands.begin());
 6986       Operands.erase(Operands.begin() + 1);
 6987       Operands.erase(Operands.begin());
 7000       Operands.erase(Operands.begin() + 1);
 7001       Operands.erase(Operands.begin());
 7027             Operands.erase(Operands.begin());
 7036         Operands.erase(Operands.begin() + 1);
 7049           Operands.erase(Operands.begin() + 2);
 7051           Operands.erase(Operands.begin() + 1);
 7053         Operands.erase(Operands.begin() + 1);
 7072       Operands.erase(Operands.begin());
 7085       Operands.erase(Operands.begin() + 1);
 7121         Operands.erase(Operands.begin() + Idx + 1);
 7140     Operands.erase(Operands.begin() + 1);
lib/Target/Hexagon/HexagonISelDAGToDAG.cpp
 1745     Q.erase(&Q[ResultPos]);
 1772     Q.erase(&Q[ResultPos]);
lib/Target/Mips/MipsAnalyzeImmediate.cpp
  106   Seq.erase(Seq.begin() + 1);
lib/Target/PowerPC/PPCExpandISEL.cpp
  294       MI = BIL.erase(MI);
  317       MI = BIL.erase(MI);
lib/Target/PowerPC/PPCISelDAGToDAG.cpp
 1519         BitGroups.erase(BitGroups.begin());
 1645         I = BitGroups.erase(I);
 1679               I = BitGroups.erase(I);
 1687               I = BitGroups.erase(I);
 1688               BitGroups.erase(BitGroups.begin());
 2294             BitGroups.erase(I);
lib/Target/PowerPC/PPCQPXLoadSplat.cpp
   88             SI = Splats.erase(SI);
  113             SI = Splats.erase(SI);
  137           SI = Splats.erase(SI);
lib/Target/X86/AsmParser/X86AsmParser.cpp
 2841         Operands.erase(Operands.begin() + 1);
 2852           Operands.erase(Operands.begin() + 1);
lib/Target/X86/X86OptimizeLEAs.cpp
  664         I2 = List.erase(I2);
lib/Transforms/AggressiveInstCombine/TruncInstCombine.cpp
  338           Worklist.erase(Entry);
lib/Transforms/IPO/Inliner.cpp
  746         CallSites.erase(CallSites.begin() + CSi);
lib/Transforms/InstCombine/InstructionCombining.cpp
 3021         NewClauses.erase(J);
 3038           NewClauses.erase(J);
 3052             NewClauses.erase(J);
 3080         NewClauses.erase(J);
lib/Transforms/Instrumentation/ControlHeightReduction.cpp
  266         It = Subs.erase(It);
  922         it = Selects.erase(it);
lib/Transforms/Scalar/GVNSink.cpp
  163         II = Insts.erase(II);
  281         BI = Blocks.erase(BI);
  282         VI = Values.erase(VI);
  780       I = Preds.erase(I);
lib/Transforms/Scalar/LoopStrengthReduce.cpp
 3630         F.BaseRegs.erase(F.BaseRegs.begin() + Idx);
 4452             NewF.BaseRegs.erase(NewF.BaseRegs.begin() +
 4468                 NewF.BaseRegs.erase(NewF.BaseRegs.begin() +
lib/Transforms/Scalar/MemCpyOptimizer.cpp
  244       Ranges.erase(NextI);
lib/Transforms/Scalar/Reassociate.cpp
 1061       Factors.erase(Factors.begin()+i);
 1070           Factors.erase(Factors.begin()+i);
 1080           Factors.erase(Factors.begin() + i);
 1156         Ops.erase(Ops.begin()+i);
 1450         Ops.erase(Ops.begin()+i);
 1502     Ops.erase(Ops.begin()+i);
 1507     Ops.erase(Ops.begin()+FoundX);
 1616             Ops.erase(Ops.begin()+j);
 2313       Ops.erase(&Ops[BestPair.second]);
 2314       Ops.erase(&Ops[BestPair.first]);
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  748       Preds.erase(EntIt);
lib/Transforms/Vectorize/VPlan.h
  374     Predecessors.erase(Pos);
  381     Successors.erase(Pos);
tools/clang/include/clang/AST/DeclContextInternals.h
  118     Vec.erase(I);
tools/clang/include/clang/Sema/DeclSpec.h
 2209     DeclTypeInfo.erase(DeclTypeInfo.begin());
tools/clang/lib/ASTMatchers/ASTMatchersInternal.cpp
  420         Patterns.erase(Patterns.begin() + I);
tools/clang/lib/CodeGen/CGBuiltin.cpp
 9240     Ops.erase(Ops.begin()+1);
 9254     Ops.erase(Ops.begin()+1);
 9269     Ops.erase(Ops.begin()+1);
 9283     Ops.erase(Ops.begin());
 9291     Ops.erase(Ops.begin());
 9300     Ops.erase(Ops.begin());
 9308     Ops.erase(Ops.begin());
 9317     Ops.erase(Ops.begin());
 9325     Ops.erase(Ops.begin());
11892     Ops.erase(&Ops[2]);
11987     Ops.erase(&Ops[2]);
tools/clang/lib/CodeGen/CodeGenModule.cpp
 2999       Options.erase(Options.end() - 2);
 3001       Options.erase(Options.end() - 1);
tools/clang/lib/Driver/Driver.cpp
 1295       it = Inputs.erase(it);
tools/clang/lib/Format/FormatTokenLexer.cpp
  143   Tokens.erase(Tokens.end() - 1);
  162   Tokens.erase(Tokens.end() - 1);
  190       Tokens.erase(Tokens.end() - 2);
  191       Tokens.erase(Tokens.end() - 1);
  202   Tokens.erase(Tokens.end() - 1);
  219   Tokens.erase(Tokens.end() - 1);
  238   Tokens.erase(Tokens.end() - 1);
  255   Tokens.erase(Tokens.end() - 1);
  296   Tokens.erase(Tokens.end() - 2);
tools/clang/lib/Lex/PPCaching.cpp
  161   CachedTokens.erase(CachedTokens.begin() + CachedLexPos - 1 + NewToks.size());
tools/clang/lib/Lex/TokenLexer.cpp
  348             ResultToks.erase(ResultToks.begin() +
tools/clang/lib/Sema/IdentifierResolver.cpp
   77       Decls.erase(I-1);
tools/clang/lib/Sema/SemaAttr.cpp
  795       PragmaAttributeStack.erase(PragmaAttributeStack.begin() + Index);
tools/clang/lib/Sema/SemaChecking.cpp
14661         MisalignedMembers.erase(MA);
tools/clang/lib/Sema/SemaDecl.cpp
 2640           NewAttributes.erase(NewAttributes.begin() + I);
 2692         NewAttributes.erase(NewAttributes.begin() + I);
 2710     NewAttributes.erase(NewAttributes.begin() + I);
tools/clang/lib/Sema/SemaDeclAttr.cpp
 2243         Attrs.erase(Attrs.begin() + i);
 2299         Attrs.erase(Attrs.begin() + i);
 2318         Attrs.erase(Attrs.begin() + i);
tools/clang/lib/Sema/SemaExprCXX.cpp
 2269       Args.erase(Args.begin() + 1);
 2311         Args.erase(Args.begin() + 1);
 7735             SemaTypoExprs.erase(SI);
 7836       Iterator = SemaTypoExprs.erase(Iterator);
tools/clang/lib/StaticAnalyzer/Checkers/PaddingChecker.cpp
  288         Fields.erase(Iter);
tools/clang/lib/StaticAnalyzer/Core/PlistDiagnostics.cpp
 1240       It = CurrExpArgTokens.erase(It);
tools/clang/tools/driver/driver.cpp
  140         Args.erase(Args.begin() + i);
  144             Args.erase(Args.begin() + i);
  162         Args.erase(Args.begin() + i);
tools/clang/tools/extra/clang-change-namespace/ChangeNamespace.cpp
  362     OldNsSplitted.erase(OldNsSplitted.begin());
  363     NewNsSplitted.erase(NewNsSplitted.begin());
tools/clang/tools/extra/clang-include-fixer/SymbolIndexManager.cpp
   82     Names.erase(Names.begin()); // Drop first (empty) element.
tools/clang/utils/TableGen/MveEmitter.cpp
 1120         NameParts.erase(it);
tools/clang/utils/TableGen/NeonEmitter.cpp
 2518       I = Defs.erase(I);
 2625       I = Defs.erase(I);
tools/lldb/include/lldb/Utility/RangeMap.h
  145       m_entries.erase(m_entries.begin() + idx);
tools/lldb/source/Utility/Broadcaster.cpp
   66       it = m_listeners.erase(it);
tools/llvm-ar/llvm-ar.cpp
  235   PositionalArgs.erase(PositionalArgs.begin());
  248   PositionalArgs.erase(PositionalArgs.begin());
  256   PositionalArgs.erase(PositionalArgs.begin());
tools/llvm-xray/xray-stacks.cpp
  538           MergedByThreadRoots.erase(MaybeFoundIter);
tools/polly/lib/Analysis/ScopBuilder.cpp
 3516         AGI = AG.erase(AGI);
tools/polly/lib/Analysis/ScopInfo.cpp
 1342     MemAccs.erase(MAIt);
unittests/ADT/SmallVectorTest.cpp
  524   this->theVector.erase(theConstVector.begin());
utils/TableGen/AsmMatcherEmitter.cpp
  864   AsmOperands.erase(AsmOperands.begin() + SrcAsmOperand);
  936     AsmOperands.erase(AsmOperands.begin());
utils/TableGen/CodeGenRegisters.cpp
  144       I = ConcatenationOf.erase(I);
utils/TableGen/DAGISelMatcherOpt.cpp
  265         OptionsToMatch.erase(OptionsToMatch.begin()+Scan);
utils/TableGen/GlobalISelEmitter.cpp
  729     Conditions.erase(Conditions.begin());