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

References

include/llvm/ADT/TinyPtrVector.h
  194       return begin() + (Val.isNull() ? 0 : 1);
  200     return (const_iterator)const_cast<TinyPtrVector*>(this)->begin();
  283     assert(I >= begin() && "Iterator to erase is out of bounds.");
  288       if (I == begin())
  299     assert(S >= begin() && "Range to erase is out of bounds.");
  304       if (S == begin() && S != E)
  313     assert(I >= this->begin() && "Insertion iterator is out of bounds.");
  322       assert(I == begin());
  325       return begin();
  333     assert(I >= this->begin() && "Insertion iterator is out of bounds.");
  339     ptrdiff_t Offset = I - begin();
  343         return begin();
  352     return Val.template get<VecTy*>()->insert(begin() + Offset, From, To);
include/llvm/IR/PassManager.h
 1208       auto InvalidatedIt = std::find(InvalidatedIDList.begin(),
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 2401     for (const DISubprogram *SP : MethodItr.second) {
lib/CodeGen/MachineModuleInfo.cpp
  149   for (MCSymbol *Sym : Entry.Symbols) {
  179   NewEntry.Symbols.insert(NewEntry.Symbols.end(), OldEntry.Symbols.begin(),
lib/CodeGen/MachineSink.cpp
  959     DbgUsersToSink.insert(DbgUsersToSink.end(), Users.begin(), Users.end());
 1317         for (auto *MI : SeenDbgInstrs.lookup(Reg))
lib/CodeGen/SelectionDAG/FunctionLoweringInfo.cpp
  165             for (int *CatchObjPtr : Iter->second)
lib/CodeGen/WinEHPrepare.cpp
  684     for (BasicBlock *Color : Colors)
  788           std::remove(OldColors.begin(), OldColors.end(), FuncletPadBB),
  908             *ColorsForUserBB.begin() != FuncletPadBB)
 1217       for (BasicBlock *FuncletPad : ColorsForPHIBlock)
lib/Transforms/IPO/LowerTypeTests.cpp
 2062             for (Metadata *MD : MetadataByGUID[G])
lib/Transforms/IPO/WholeProgramDevirt.cpp
 1826           for (Metadata *MD : MetadataByGUID[VF.GUID]) {
 1831           for (Metadata *MD : MetadataByGUID[VF.GUID]) {
 1837           for (Metadata *MD : MetadataByGUID[VC.VFunc.GUID]) {
 1845           for (Metadata *MD : MetadataByGUID[VC.VFunc.GUID]) {
lib/Transforms/InstCombine/InstructionCombining.cpp
 2408         for (auto *DII : DIIs)
 2422     for (auto *DII : DIIs)
lib/Transforms/Scalar/SROA.cpp
 4404       for (DbgVariableIntrinsic *OldDII : FindDbgAddrUses(Fragment.Alloca))
 4519       for (DbgVariableIntrinsic *OldDII : FindDbgAddrUses(AI))
lib/Transforms/Scalar/SimpleLoopUnswitch.cpp
  407     for (Value *Invariant : Invariants) {
  529   for (Value *Invariant : Invariants)
lib/Transforms/Scalar/SpeculateAroundPHIs.cpp
  480             UserPNs.begin(), UserPNs.end(), [&](PHINode *UserPN) {
lib/Transforms/Utils/Local.cpp
 1543   for (DbgVariableIntrinsic *DII : DbgAddrs) {
lib/Transforms/Utils/PromoteMemoryToRegister.cpp
  415   for (DbgVariableIntrinsic *DII : Info.DbgDeclares) {
  672     for (auto *DII : Declares)
  913         for (DbgVariableIntrinsic *DII : AllocaDbgDeclares[AllocaNo])
  973       for (DbgVariableIntrinsic *DII : AllocaDbgDeclares[ai->second])
lib/Transforms/Utils/SSAUpdater.cpp
  390     for (Instruction *I : BlockUses) {
  401       for (Instruction *I : BlockUses)
tools/clang/include/clang/Lex/Preprocessor.h
  662                                       Info->ActiveModuleMacros.begin(),
tools/clang/include/clang/Sema/ParsedAttr.h
  771     AttrList.insert(AttrList.begin(), B.I, E.I);
  775     AttrList.insert(AttrList.begin(), B.I, E.I);
  786   iterator begin() { return iterator(AttrList.begin()); }
tools/clang/lib/ARCMigrate/TransGCAttrs.cpp
  226          PI = IndProps.begin(), PE = IndProps.end(); PI != PE; ++PI) {
  237          PI = IndProps.begin(), PE = IndProps.end(); PI != PE; ++PI) {
tools/clang/lib/AST/ASTContext.cpp
 1051   for (Module *&M : Merged)
 1054   Merged.erase(std::remove(Merged.begin(), Merged.end(), nullptr), Merged.end());
tools/clang/lib/Lex/ModuleMap.cpp
 1162     for (auto *M : BySize->second)
 1169     for (auto *M : ByModTime->second)
tools/clang/lib/Lex/PPMacroExpansion.cpp
  155     LeafMacros.erase(std::remove_if(LeafMacros.begin(), LeafMacros.end(),
  197   for (auto *O : Info.OverriddenMacros)
  202   for (auto *LeafMM : Leaf->second) {
  221   std::reverse(Info.ActiveModuleMacros.begin(), Info.ActiveModuleMacros.end());
  235   for (auto *Active : Info.ActiveModuleMacros) {
tools/clang/lib/Sema/ParsedAttr.cpp
   94   for (ParsedAttr *AL : cur.Attrs)
   99   Attrs.insert(Attrs.end(), pool.Attrs.begin(), pool.Attrs.end());
tools/clang/lib/Sema/SemaLookup.cpp
 3676     for (auto *D : Pos->second) {
tools/clang/lib/Serialization/MultiOnDiskHashTable.h
  106     auto Begin = Tables.begin(), End = Tables.end();
  130     Files.insert(PendingOverrides.begin(), PendingOverrides.end());
tools/lld/ELF/ICF.cpp
  499       for (InputSection *isec : sections[i]->dependentSections)
tools/lld/ELF/InputSection.cpp
 1149     for (InputSection *isec : dependentSections)
tools/lld/ELF/LinkerScript.cpp
  458   for (InputSection *ds : s->dependentSections)
  645   for (OutputSection *sec : v) {
  697       for (InputSectionBase *depSec : s->dependentSections)
tools/lld/ELF/MarkLive.cpp
  284     for (InputSectionBase *isec : sec.dependentSections)
tools/lld/ELF/SyntheticSections.cpp
  444   for (auto *ds : sec->dependentSections)
 3154   for (InputSection *d : isec->dependentSections)
unittests/ADT/TinyPtrVectorTest.cpp
  303   this->V.erase(this->V.begin());
  308   this->V.erase(this->V.begin());
  311   this->V.erase(std::next(this->V.begin(), 1));
  314   this->V.erase(std::next(this->V.begin(), 2));
  317   this->V.erase(std::next(this->V.begin(), 5));
  320   this->V.erase(std::next(this->V.begin(), 13));
  324   typename TypeParam::iterator I = this->V.begin();
  334   this->V.erase(this->V.begin(), this->V.begin());
  334   this->V.erase(this->V.begin(), this->V.begin());
  338   this->V.erase(this->V.begin(), this->V.end());
  343   this->V.erase(this->V.begin(), std::next(this->V.begin(), 1));
  343   this->V.erase(this->V.begin(), std::next(this->V.begin(), 1));
  347   this->V.erase(std::next(this->V.begin(), 1), std::next(this->V.begin(), 2));
  347   this->V.erase(std::next(this->V.begin(), 1), std::next(this->V.begin(), 2));
  351   this->V.erase(std::next(this->V.begin(), 2), std::next(this->V.begin(), 4));
  351   this->V.erase(std::next(this->V.begin(), 2), std::next(this->V.begin(), 4));
  355   this->V.erase(std::next(this->V.begin(), 5), std::next(this->V.begin(), 10));
  355   this->V.erase(std::next(this->V.begin(), 5), std::next(this->V.begin(), 10));
  359   this->V.erase(std::next(this->V.begin(), 13), std::next(this->V.begin(), 26));
  359   this->V.erase(std::next(this->V.begin(), 13), std::next(this->V.begin(), 26));
  363   this->V.erase(std::next(this->V.begin(), 7), this->V.end());
  365   this->V.erase(this->V.begin(), this->V.end());
  377   this->V.insert(this->V.begin(), this->TestPtrs[42]);
  380   this->V.insert(std::next(this->V.begin(), 3), this->TestPtrs[43]);
  389   this->V.insert(this->V.begin(), this->TestPtrs.begin(),
  409   this->V.insert(this->V.begin(),
  412   this->V.insert(std::next(this->V.begin(), 2),
  415   this->V.erase(std::next(this->V.begin(), 4));
  416   this->V.insert(std::next(this->V.begin(), 4),
usr/include/c++/7.4.0/bits/range_access.h
   48     begin(_Container& __cont) -> decltype(__cont.begin())
   49     { return __cont.begin(); }
utils/TableGen/DAGISelMatcherEmitter.cpp
  848     for (auto *SimilarPred :