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

References

include/llvm/CodeGen/LiveIntervals.h
  272       for (MachineBasicBlock::iterator I = B; I != E; ++I)
include/llvm/CodeGen/MachineDominators.h
  139     for (; &*I != A && &*I != B; ++I)
include/llvm/CodeGen/MachineInstrBuilder.h
  528     ++B;
  531       ++B;
include/llvm/CodeGen/MachineInstrBundleIterator.h
  171       : MachineInstrBundleIterator(++I.getReverse()) {}
  270     ++*this;
include/llvm/CodeGen/SlotIndexes.h
  447         ++I;
include/llvm/Transforms/Utils/SSAUpdaterImpl.h
  390     for (auto &SomePHI : BB->phis()) {
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
 1055     for (auto &MI : MBB) {
 3034   for (const auto &MI : Pred->terminators()) {
lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
 1408     for (const auto &MI : MBB) {
 1427     for (const auto &MI : MBB) {
 2859     for (const auto &MI : MBB) {
 2895     for (const auto &NextMI : *MI->getParent()) {
lib/CodeGen/AsmPrinter/DbgEntityHistoryCalculator.cpp
  241     for (const auto &MI : MBB) {
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
 1318   for (++Pred; Pred != MBB->rend(); ++Pred) {
 1318   for (++Pred; Pred != MBB->rend(); ++Pred) {
 1730     for (const auto &MI : MBB)
lib/CodeGen/AsmPrinter/EHStreamer.cpp
  244     for (const auto &MI : MBB) {
lib/CodeGen/AsmPrinter/WinException.cpp
  456     for (auto MBBE = MFI->end(); MBBI != MBBE; ++MBBI) {
  468         ++MBBI;
  502       ++MBBI;
lib/CodeGen/BranchFolding.cpp
  231     for (const MachineInstr &I : BB)
  332         ++I2;
  341         ++I1;
  355       ++I1; ++I2;
  355       ++I1; ++I2;
  371     ++I2;
  380     ++I1;
  406     ++I1;
  410     ++I2;
  498   for (; I != E; ++I) {
  847   for (auto E = MBB->end(); MBBIStartPos != E; ++MBBIStartPos)
  860       ++MBBI;
  865       ++MBBICommon;
  884     ++MBBI;
  885     ++MBBICommon;
  903   for (auto &MI : *MBB) {
  915         ++Pos;
  921       NextCommonInsts[i] = ++Pos;
 1492           ++MBBIter; -- PrevBBIter;
 2097     ++TIB;
 2098     ++FIB;
lib/CodeGen/BranchRelaxation.cpp
  170   for (const MachineInstr &MI : MBB)
  187   for (MachineBasicBlock::const_iterator I = MBB->begin(); &*I != &MI; ++I) {
lib/CodeGen/BreakFalseDeps.cpp
  232   for (MachineInstr &I : make_range(MBB->rbegin(), MBB->rend())) {
  256   for (MachineInstr &MI : *MBB) {
lib/CodeGen/CFGuardLongjmp.cpp
   75     for (MachineInstr &MI : MBB) {
lib/CodeGen/CFIInstrInserter.cpp
  166   for (MachineInstr &MI : *MBBInfo.MBB) {
lib/CodeGen/DFAPacketizer.cpp
  252   for (; BeginItr != EndItr; ++BeginItr) {
lib/CodeGen/DetectDeadLanes.cpp
  535     for (MachineInstr &MI : MBB) {
lib/CodeGen/EarlyIfConversion.cpp
  212        E = MBB->getFirstTerminator(); I != E; ++I) {
  307        I != E; ++I) {
  344        I != E; ++I) {
  508        I != E && I->isPHI(); ++I) {
  987     for (MachineInstr &I : IfBlock) {
 1001   for (MachineInstr &I : *IfConv.TBB) {
 1007   for (MachineInstr &I : *IfConv.FBB) {
lib/CodeGen/ExecutionDomainFix.cpp
  402   for (MachineInstr &MI : *TraversedMBB.MBB) {
lib/CodeGen/ExpandPostRAPseudos.cpp
  196       ++mi;
lib/CodeGen/GCRootLowering.cpp
  268   ++RAI;
  277          MI != ME; ++MI)
lib/CodeGen/GlobalISel/CSEInfo.cpp
  235     for (MachineInstr &MI : MBB) {
lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp
   28   for (; &*I != A && &*I != B; ++I)
lib/CodeGen/GlobalISel/Combiner.cpp
  137         ++MII;
lib/CodeGen/GlobalISel/CombinerHelper.cpp
  540   for (; &*I != &DefMI && &*I != &UseMI; ++I)
lib/CodeGen/GlobalISel/InstructionSelect.cpp
  146         for (auto &InsertedMI : make_range(InsertedBegin, AfterIt))
  235     for (const auto &MI : MBB) {
lib/CodeGen/GlobalISel/Legalizer.cpp
  167     for (MachineInstr &MI : *MBB) {
lib/CodeGen/GlobalISel/LegalizerHelper.cpp
 1006       MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
 1100   MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
 1109   MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
 1118   MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
 1501     MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
 1525     MIRBuilder.setInsertPt(MIRBuilder.getMBB(), ++MIRBuilder.getInsertPt());
lib/CodeGen/GlobalISel/LegalizerInfo.cpp
  741       for (const MachineInstr &MI : MBB)
lib/CodeGen/GlobalISel/Localizer.cpp
  117   for (auto RI = MBB.rbegin(), RE = MBB.rend(); RI != RE; ++RI) {
  194     ++II;
  196       ++II;
lib/CodeGen/GlobalISel/RegBankSelect.cpp
  788       for (; It != REnd && It->isTerminator(); ++It) {
  805          ++It != End;)
lib/CodeGen/IfConversion.cpp
  308         for (auto &I : make_range(TBBInfo.BB->begin(), TIB)) {
  312         for (auto &I : make_range(FBBInfo.BB->begin(), FIB)) {
  321         for (auto &I : make_range(TIE, TBBInfo.BB->end())) {
  330         for (auto &I : make_range(FIE, FBBInfo.BB->end())) {
  339         for (auto &I : CommBB.terminators()) {
  352         for (auto &I : make_range(TIB, TIE)) {
  358         for (auto &I : make_range(FIB, FIE)) {
  757     ++TIB;
  758     ++FIB;
  776         ++RTIE;
  778         ++RFIE;
  796     ++RTIE;
  797     ++RFIE;
  858     ++E1;
  859     ++E2;
 1066   for (MachineInstr &MI : make_range(Begin, End)) {
 1838   for (unsigned i = 0; i < NumDups1; ++DI1) {
 1850     ++DI2;
 1858     for (const MachineInstr &MI : make_range(MBB1.begin(), DI1)) {
 1941     for (const MachineInstr &FI : make_range(MBB2.begin(), DI2)) {
 2134   for (MachineInstr &I : make_range(BBI.BB->begin(), E)) {
 2177   for (MachineInstr &I : FromMBB) {
lib/CodeGen/ImplicitNullChecks.cpp
  524   for (auto I = MBB.rbegin(); MBP.ConditionDef != &*I; ++I)
  584   for (auto &MI : *NotNullSucc) {
lib/CodeGen/InlineSpiller.cpp
  409     ++MII;
  765   for (MachineBasicBlock::iterator I = B; I != E; ++I) {
  875   for (MachineInstr &MI : MIS)
lib/CodeGen/LexicalScopes.cpp
   76     for (const auto &MInsn : MBB) {
  312   for (auto &I : *MBB) {
lib/CodeGen/LiveDebugValues.cpp
 1318   for (auto &MI : First_MBB)
 1329     for (auto &MI : MBB) {
 1380         for (auto &MI : *MBB)
lib/CodeGen/LiveDebugVariables.cpp
  691         ++MBBI;
  709           ++MBBI;
  975         ++MBBI;
 1279     ++I;
lib/CodeGen/LiveIntervals.cpp
  225     for (const MachineInstr &MI : MBB) {
 1585     ++End;
lib/CodeGen/LivePhysRegs.cpp
  253   for (const MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend()))
  289   for (MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/CodeGen/LiveRangeShrink.cpp
  103   for (MachineInstr &I : make_range(Start, Start->getParent()->end()))
  131       ++Next;
  238                ++EndIter, ++Next)
  238                ++EndIter, ++Next)
lib/CodeGen/LiveVariables.cpp
  576   for (MachineInstr &MI : *MBB) {
  710     for (const auto &BBI : MBB) {
  771   for (; BBI != BBE && BBI->isPHI(); ++BBI) {
  782   for (; BBI != BBE; ++BBI) {
lib/CodeGen/LocalStackSlotAllocation.cpp
  304     for (MachineInstr &MI : BB) {
lib/CodeGen/MIRCanonicalizerPass.cpp
  147     for (auto &CurMI : *MI.getParent()) {
  158   for (auto &MI : *MBB) {
  356   for (auto &MI : *MBB) {
lib/CodeGen/MIRParser/MIRParser.cpp
  322     for (const MachineInstr &MI : MBB) {
  614     for (const MachineInstr &MI : MBB) {
lib/CodeGen/MIRPrinter.cpp
  554   for (const MachineInstr &MI : MBB) {
lib/CodeGen/MIRVRegNamerUtils.cpp
   55   for (auto II = MBB->begin(), IE = MBB->end(); II != IE; ++II) {
lib/CodeGen/MachineBasicBlock.cpp
  176     ++I;
  191     ++I;
  205     ++I;
  507     for (;I != E && I->isCopy(); ++I)
 1218   for (MachineInstr &MI : phis())
 1316     ++TI;
 1320     for (++TI ; TI != end() ; ++TI)
 1320     for (++TI ; TI != end() ; ++TI)
 1392   for (; I != end() && N > 0; ++I) {
lib/CodeGen/MachineCSE.cpp
  252     ++I;
  359       ++I;
  389     ++I;
  518     ++I;
  673         for (MachineBasicBlock::iterator II = CSMI, IE = MI; II != IE; ++II)
  796     ++I;
lib/CodeGen/MachineCopyPropagation.cpp
  466     ++I;
lib/CodeGen/MachineFrameInfo.cpp
  198     for (const MachineInstr &MI : MBB) {
lib/CodeGen/MachineInstr.cpp
 2110   MachineBasicBlock::iterator DI = MI; ++DI;
 2112        DI != DE; ++DI) {
lib/CodeGen/MachineLICM.cpp
  517     for (MachineInstr &MI : *BB)
  577     for (MachineInstr &MI : *BB) {
  736       MachineBasicBlock::iterator NextMII = MII; ++NextMII;
  821   for (const MachineInstr &MI : *BB)
 1342   for (MachineInstr &MI : *BB)
lib/CodeGen/MachineLoopUtils.cpp
   47   for (MachineInstr &MI : *Loop) {
   74   for (auto I = NewBB->getFirstNonPHI(); I != NewBB->end(); ++I)
   79   for (auto I = NewBB->begin(); I->isPHI(); ++I) {
lib/CodeGen/MachineOutliner.cpp
 1139        ++I) {
lib/CodeGen/MachinePipeliner.cpp
  352   for (MachineInstr &PI : make_range(B.begin(), B.getFirstNonPHI())) {
  398        I != E; ++I, --size)
 1026        I != E; ++I)
 1033        I != E; ++I)
lib/CodeGen/MachineSSAUpdater.cpp
  107     ++I;
lib/CodeGen/MachineScheduler.cpp
  300   for(; I != End; ++I) {
  717     ++RegionBegin;
  783         CurrentTop = nextIfDebug(++CurrentTop, CurrentBottom);
  794           CurrentTop = nextIfDebug(++CurrentTop, priorII);
  899       ++RegionBegin;
  900     BB->splice(++OrigPrevMI, BB, DbgValue);
  910   for (MachineBasicBlock::iterator MI = begin(), ME = end(); MI != ME; ++MI) {
 1393       CurrentTop = nextIfDebug(++CurrentTop, CurrentBottom);
 1427         CurrentTop = nextIfDebug(++CurrentTop, priorII);
 3256     ++InsertPos;
lib/CodeGen/MachineSink.cpp
  780                       ++MachineBasicBlock::iterator(MI));
  948     ++InsertPos;
 1152       for (MachineInstr &UI : make_range(NI, CurBB.end())) {
 1246     ++I;
lib/CodeGen/MachineTraceMetrics.cpp
  111   for (const auto &MI : *MBB) {
  581   for (const auto &I : *BadMBB)
  883     for (const auto &UseMI : *MBB) {
 1074       for (const auto &PHI : *Succ) {
lib/CodeGen/MachineVerifier.cpp
 2209   for (const MachineInstr &Phi : MBB) {
 2779     for (const auto &I : *MBB) {
lib/CodeGen/ModuloSchedule.cpp
  146        I != E; ++I) {
  183   for (auto &I : *BB)
  215            BBI != BBE; ++BBI) {
  290       for (auto &BBI : *BB) {
  384        BBI != BBE; ++BBI) {
  622        BBI != BBE; ++BBI) {
  766     ++BBI;
  788   for (auto &PHI : KernelBB->phis()) {
  822           for (auto &I : *Epilog)
  833   for (MachineInstr &MI : *BB) {
 1110   for (auto &PHI : BB->phis()) {
 1316   for (MachineInstr &MI : *BB) {
 1332   for (auto MI = BB->getFirstNonPHI(); MI != BB->end(); ++MI) {
 1576        ++I, ++NI) {
 1576        ++I, ++NI) {
 1638     for (MachineInstr &MI : (*EI)->phis()) {
 1678   for (MachineInstr &MI : BB->phis()) {
 1787       for (MachineInstr &P : Fallthrough->phis()) {
 1797       for (MachineInstr &P : Epilog->phis()) {
 1861   for (auto NI = BB->getFirstNonPHI(); NI != BB->end(); ++NI) {
 1871   for (; !OI->isTerminator() && !NI->isTerminator(); ++OI, ++NI) {
 1871   for (; !OI->isTerminator() && !NI->isTerminator(); ++OI, ++NI) {
 1873       ++OI;
 1875       ++NI;
 1992   for (MachineInstr &MI : *BB) {
lib/CodeGen/OptimizePHIs.cpp
  201           ++MII;
lib/CodeGen/PHIElimination.cpp
  445           Term != opBlock.end(); ++Term) {
  505               Term != opBlock.end(); ++Term) {
  553     for (const auto &BBI : MBB) {
  573        BBI != BBE && BBI->isPHI(); ++BBI) {
lib/CodeGen/PHIEliminationUtils.cpp
   48     ++InsertPoint;
   53     ++InsertPoint;
lib/CodeGen/PatchableFunction.cpp
   68   for (; doesNotGeneratecode(*FirstActualI); ++FirstActualI)
lib/CodeGen/PeepholeOptimizer.cpp
 1642       ++MII;
 1739         ++MII;
lib/CodeGen/PostRAHazardRecognizer.cpp
   81     for (MachineInstr &MI : MBB) {
lib/CodeGen/PostRASchedulerList.cpp
  698     BB->splice(++OrigPrivMI, BB, DbgValue);
lib/CodeGen/PrologEpilogInserter.cpp
  182   for (auto &MI : MBB) {
  316     for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I)
 1298     if (DoIncr && I != BB->end()) ++I;
lib/CodeGen/ReachingDefAnalysis.cpp
  127   for (MachineInstr &MI : *TraversedMBB.MBB) {
lib/CodeGen/RegAllocFast.cpp
 1263   for (MachineInstr &MI : MBB) {
lib/CodeGen/RegAllocGreedy.cpp
 3169       for (MachineInstr &MI : *MBB) {
lib/CodeGen/RegAllocPBQP.cpp
  446       for (const auto &MI : MBB) {
lib/CodeGen/RegUsageInfoPropagate.cpp
  116     for (MachineInstr &MI : MBB) {
lib/CodeGen/RegisterCoalescer.cpp
  390   for (const auto &MI : *MBB) {
 2872       ++MI;
 2894       ++MI;
 3584          MII != E; ++MII) {
 3606     for (MachineInstr &MII : *MBB)
lib/CodeGen/RegisterScavenging.cpp
  319   for (++MI; InstrLimit > 0 && MI != ME; ++MI, --InstrLimit) {
  319   for (++MI; InstrLimit > 0 && MI != ME; ++MI, --InstrLimit) {
lib/CodeGen/ScheduleDAGInstrs.cpp
  565   for (MachineInstr &MI : make_range(RegionBegin, RegionEnd)) {
 1110   for (MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/CodeGen/SelectionDAG/FastISel.cpp
  201       ++RI;
  234   for (MachineInstr &I : *MBB) {
  534     ++FuncInfo.InsertPt;
  541     ++FuncInfo.InsertPt;
  559     ++I;
 1582       ++FirstDeadInst;
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp
  605       BuildMI(*EntryMBB, ++InsertPos, DL, TII->get(TargetOpcode::DBG_VALUE),
  641     for (const auto &MI : MBB) {
 1936              MBBI != MBBE && MBBI->isPHI(); ++MBBI) {
lib/CodeGen/ShrinkWrap.cpp
  353     for (const MachineInstr &Terminator : MBB.terminators()) {
  512     for (const MachineInstr &MI : MBB) {
lib/CodeGen/SlotIndexes.cpp
   74     for (MachineInstr &MI : MBB) {
  177     ++End;
lib/CodeGen/StackColoring.cpp
  653     for (MachineInstr &MI : *MBB) {
  722     for (MachineInstr &MI : *MBB) {
  833     for (const MachineInstr &MI : MBB) {
  963     for (MachineInstr &I : BB) {
 1079     for (MachineInstr &I : BB) {
lib/CodeGen/StackMapLivenessAnalysis.cpp
  133     for (auto I = MBB.rbegin(), E = MBB.rend(); I != E; ++I) {
lib/CodeGen/StackSlotColoring.cpp
  163          MII != EE; ++MII) {
  375     for (MachineInstr &MI : MBB)
  430        I != E; ++I) {
  453       ++NextMI;
  454       ++I;
  472     ++I;
lib/CodeGen/TailDuplicator.cpp
  138       ++MI;
  311   for (const auto &MI : BB) {
  465     for (MachineInstr &MI : *SuccBB) {
  593   for (MachineInstr &MI : TailBB) {
  638     for (auto &I : *SB) {
  846       ++I;
lib/CodeGen/TwoAddressInstructionPass.cpp
  288   ++KillPos;
  291   for (MachineInstr &OtherMI : make_range(std::next(OldPos), KillPos)) {
  936     ++End;
  942   ++KillPos;
  943   for (MachineInstr &OtherMI : make_range(End, KillPos)) {
 1116   for (MachineInstr &OtherMI :
lib/CodeGen/UnreachableBlockElim.cpp
  204       ++phi;
lib/CodeGen/XRayInstrumentation.cpp
   94     for (auto &T : MBB.terminators()) {
  127     for (auto &T : MBB.terminators()) {
lib/Target/AArch64/AArch64A53Fix835769.cpp
  162     for (MachineInstr &I : make_range(FMBB->rbegin(), FMBB->rend()))
  207   for (auto &MI : MBB) {
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp
  251     return ++MachineBasicBlock::iterator(KillInst ? KillInst : LastInst);
  343   for (auto &MI : MBB)
  546   for (MachineInstr &I : *G) {
lib/Target/AArch64/AArch64AsmPrinter.cpp
  803   ++MII;
  810     ++MII;
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp
   68          ++I) {
lib/Target/AArch64/AArch64CollectLOH.cpp
  525     for (const MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/Target/AArch64/AArch64CompressJumpTables.cpp
   68   for (const MachineInstr &MI : MBB)
  151     for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64CondBrTuning.cpp
  198       for (I = std::next(I); I != E; ++I) {
  257       for (I = std::next(I); I != E; ++I) {
  308          I != E; ++I) {
lib/Target/AArch64/AArch64ConditionalCompares.cpp
  216   for (auto &I : *Tail) {
  242   for (auto &I : *Tail) {
  395   for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) {
lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp
  119   for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp
  680     for (MachineInstr &MI : *MBB) {
  716     for (auto I = MBB->rbegin(); I != MBB->rend(); LR.stepBackward(*I), ++I) {
lib/Target/AArch64/AArch64FrameLowering.cpp
  189     for (MachineInstr &MI : MBB) {
  636     ++MBBI;
  972     ++MBBI;
 1448       ++LastPopI;
 2365     ++MBBI;
lib/Target/AArch64/AArch64InstrInfo.cpp
 1153   assert(std::find_if(++To.getReverse(), To->getParent()->rend(),
 5503   for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp
  724   ++NextI;
  730     ++NextI;
  791   ++NextI;
  797     ++NextI;
  876       for (MachineInstr &MI : make_range(std::next(I), Paired))
  945   ++NextI;
 1219   ++MBBI;
 1237   for (unsigned Count = 0; MBBI != E && Count < Limit; ++MBBI) {
 1383   if (++NextI == Update)
 1384     ++NextI;
 1522   ++MBBI;
 1523   for (unsigned Count = 0; MBBI != E && Count < Limit; ++MBBI) {
 1761       ++MBBI;
 1780         ++MBBI;
 1794       ++MBBI;
 1808       ++MBBI;
lib/Target/AArch64/AArch64PBQPRegAlloc.cpp
  336     for (const auto &MI: MBB) {
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp
  168   for (MachineInstr &PredI : make_range(std::next(RIt), PredMBB->rend())) {
  377     ++I;
  462   for (MachineInstr &MMI : make_range(FirstUse, PredMBB->end()))
  464   for (MachineInstr &MMI : make_range(MBB->begin(), LastChange))
lib/Target/AArch64/AArch64SIMDInstrOpt.cpp
  725           ++MII;
lib/Target/AArch64/AArch64SpeculationHardening.cpp
  414     for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64StackTaggingPreRA.cpp
  191     for (auto &I : BB) {
lib/Target/AArch64/AArch64StorePairSuppress.cpp
  147     for (auto &MI : MBB) {
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp
  577     for (const MachineInstr &MI : MBB) {
  697     for (const MachineInstr &MI : MBB) {
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp
  756   for (auto &II : *MBB) {
  772     for (auto &II : *(*SI)) {
  798   for (auto &II : *MBB) {
  843     for (auto &II : *Succ) {
 1023     for (auto &II : *MBB) {
 1283     for (auto &TI : MBB->terminators()) {
 1315   for (auto &TI : Exit->terminators()) {
 1658   for (auto &BBI : *MBB) {
 2502   for (auto &II : *Succ) {
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp
  685   for (MachineInstr &MI : Range) {
  764   for (MachineInstr &MI : make_range(NewBegin, NewEnd)) {
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp
  599       ++It) {
  619       It != E; ++It) {
  664   for (const MachineInstr &It : *MBB)
  693      ++It;
lib/Target/AMDGPU/GCNIterativeScheduler.cpp
   71   for (; I != End && MaxInstNum; ++I, --MaxInstNum) {
lib/Target/AMDGPU/GCNNSAReassign.cpp
  242     for (const MachineInstr &MI : MBB) {
lib/Target/AMDGPU/GCNSchedStrategy.cpp
  332   for (auto &I : *this) {
  425     ++RegionEnd;
lib/Target/AMDGPU/R600AsmPrinter.cpp
   52     for (const MachineInstr &MI : MBB) {
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp
  339     for (MachineBasicBlock::iterator E = MBB.end(); I != E; ++I) {
  417         ++I;
lib/Target/AMDGPU/R600EmitClauseMarkers.cpp
  210       for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) {
  248     for (MachineBasicBlock::iterator E = MBB.end(); I != E; ++I) {
  332           ++I;
lib/Target/AMDGPU/R600InstrInfo.cpp
  748       It != E; ++It) {
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp
  349          MII != MIIE; ++MII) {
lib/Target/AMDGPU/R600Packetizer.cpp
  359         ++MI;
  364       ++MI;
lib/Target/AMDGPU/SIFixSGPRCopies.cpp
  412     ++I;
  601          I != E; ++I) {
lib/Target/AMDGPU/SIFixVGPRCopies.cpp
   55     for (MachineInstr &MI : MBB) {
lib/Target/AMDGPU/SIISelLowering.cpp
 3035   ++SplitPoint;
 3689         FirstMI = &*++BB->begin();
10718       for (auto &MI : MBB) {
10773     for (const MachineInstr &MI : *MBB) {
lib/Target/AMDGPU/SIInsertSkips.cpp
  118          NumInstr < SkipThreshold && I != E; ++I) {
  356   for (++A ; A != E ; ++A) {
  356   for (++A ; A != E ; ++A) {
  387     for ( ; M != E ; ++M) {
lib/Target/AMDGPU/SIInsertWaitcnts.cpp
 1548          ++I) {
 1570            ++I) {
lib/Target/AMDGPU/SIInstrInfo.cpp
  629           for (auto I = Def; I != MI && SafeToPropagate; ++I)
 1927   ++I;
 1977     ++I;
 1986   ++I;
 5722   for (MachineInstr &MI : // Skip the def inst itself.
 6533       ++Cur;
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp
  552   ++I;
  771   ++MBBI;
  777   for (; MBBI != E; ++MBBI) {
 1591   ++MBBI;
 1595   for ( ; MBBI != E; ++MBBI) {
lib/Target/AMDGPU/SILowerControlFlow.cpp
  170     for(auto &Term : MBB->terminators())
lib/Target/AMDGPU/SILowerI1Copies.cpp
  177       for (MachineInstr &MI : MBB->terminators()) {
  505     for (MachineInstr &MI : MBB) {
  553     for (MachineInstr &MI : MBB.phis()) {
  675     for (MachineInstr &MI : MBB) {
  790   for (auto I = InsertionPt, E = MBB.end(); I != E; ++I) {
lib/Target/AMDGPU/SIMachineScheduler.cpp
 1278   for (; I != End; ++I) {
 1367         CurrentTopFastSched = nextIfDebug(++CurrentTopFastSched,
lib/Target/AMDGPU/SIMemoryLegalizer.cpp
  723     ++MI;
  767     ++MI;
  867     ++MI;
  963     ++MI;
 1017     ++MI;
 1291     for (auto MI = MBB.begin(); MI != MBB.end(); ++MI) {
lib/Target/AMDGPU/SIModeRegister.cpp
  238   for (MachineInstr &MI : MBB) {
lib/Target/AMDGPU/SIOptimizeExecMasking.cpp
  226   for (; I != E; ++I) {
  246   for (unsigned N = 0; N <= InstLimit && I != E; ++I, ++N) {
  331          J != JE; ++J) {
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp
  136   for ( ; I != E; ++I) {
  338             ++I;
lib/Target/AMDGPU/SIPeepholeSDWA.cpp
  853   for (MachineInstr &MI : MBB) {
lib/Target/AMDGPU/SIPreAllocateWWMRegs.cpp
  122     for (MachineInstr &MI : MBB) {
  189     for (MachineInstr &MI : *MBB) {
lib/Target/AMDGPU/SIWholeQuadMode.cpp
  236     for (const MachineInstr &MI : *BII.first) {
  326     for (auto II = MBB.begin(), IE = MBB.end(); II != IE; ++II) {
  715     ++II; // Skip the instruction that saves LiveMask
  765       ++Next;
lib/Target/ARC/ARCBranchFinalize.cpp
  155     for (auto &MI : MBB) {
lib/Target/ARC/ARCInstrInfo.cpp
  234           ++DI;
lib/Target/ARC/ARCOptAddrMode.cpp
  395   for (; MI != ME && MI != End; ++MI) {
  426   for (; MI != ME && MI != End; ++MI) {
  469   for (auto MI = MBB.begin(), ME = MBB.end(); MI != ME; ++MI) {
lib/Target/ARM/A15SDOptimizer.cpp
  676     for (MachineInstr &MI : MBB) {
lib/Target/ARM/ARMBaseInstrInfo.cpp
  381           ++DI;
 1973   while (++I != MBB->end() && I->isDebugInstr())
 3054   while (!isSafe && ++I != E) {
 3190   ++Next;
 4025   MachineBasicBlock::const_iterator I = MI; ++I;
 5357   for (auto I = From; I != To; ++I)
lib/Target/ARM/ARMBasicBlockInfo.cpp
   54   for (MachineInstr &I : *MBB) {
   84   for (MachineBasicBlock::const_iterator I = MBB->begin(); &*I != MI; ++I) {
lib/Target/ARM/ARMConstantIslandPass.cpp
  679     for (MachineInstr &I : MBB)
  708     for (MachineInstr &I : MBB) {
  892   auto LivenessEnd = ++MachineBasicBlock::iterator(MI).getReverse();
  893   for (MachineInstr &LiveMI : make_range(OrigBB->rbegin(), LivenessEnd))
 1366     ++I;
 1381   ++MI;
 2054   for (++I; &*I != JumpMI; ++I) {
 2054   for (++I; &*I != JumpMI; ++I) {
 2078   for (++I; &*I != JumpMI; ++I) {
 2078   for (++I; &*I != JumpMI; ++I) {
 2129   for (++I; &*I != JumpMI; ++I) {
 2129   for (++I; &*I != JumpMI; ++I) {
 2139   for (++J; &*J != JumpMI; ++J) {
 2139   for (++J; &*J != JumpMI; ++J) {
lib/Target/ARM/ARMFrameLowering.cpp
  805         ++MBBI;
 1155       ++MI;
 1310   ++MI; ++MI; ++MI;
 1310   ++MI; ++MI; ++MI;
 1310   ++MI; ++MI; ++MI;
 1316     ++MI;
 1320     ++MI;
 1327     ++MI;
 1491     for (auto &MI : MBB)
 1514     for (auto &MI : MBB) {
lib/Target/ARM/ARMISelLowering.cpp
 9487            II = BB->begin(), IE = BB->end(); II != IE; ++II) {
 9836            II = BB->rbegin(), IE = BB->rend(); II != IE; ++II) {
10371   for (MachineBasicBlock::iterator miE = BB->end(); miI != miE; ++miI) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp
  490   for (; MBBI != MBB.end(); ++MBBI) {
  936     for (MachineInstr &MI : FixupRange) {
  955     for (MachineInstr &MI : FixupRange) {
 1239     ++NextMBBI;
 2111   while (++I != E) {
 2303           ++InsertPos;
 2399     for (; MBBI != E; ++MBBI) {
 2403         ++MBBI;
lib/Target/ARM/ARMLowOverheadLoops.cpp
  121   for(auto &MI : make_range(T(Begin), End)) {
  134   for(auto &MI : make_range(MachineBasicBlock::iterator(Begin), End)) {
  227     for (auto &MI : *MBB) {
  267     for (auto &MI : *MBB) {
  523     for (auto &I : MBB) {
lib/Target/ARM/ARMOptimizeBarriersPass.cpp
   66     for (auto &MI : MBB) {
lib/Target/ARM/Thumb1FrameLowering.cpp
  234     ++MBBI;
  500         ++MBBI;
lib/Target/ARM/Thumb2ITBlockPass.cpp
  179   ++I;
  183     ++I;
  205       ++MBBI;
  223     ++MBBI;
  235              (!MI->isBranch() && !MI->isReturn()) ; ++MBBI) {
lib/Target/ARM/Thumb2InstrInfo.cpp
  112     ++MBBI;
lib/Target/AVR/AVRFrameLowering.cpp
  110     ++MBBI;
  461       for (const MachineInstr &MI : BB) {
lib/Target/AVR/AVRISelLowering.cpp
 1585   ++I; // in any case insert *after* the mul instruction
 1587     ++I;
 1589     ++I;
lib/Target/BPF/BPFMIChecking.cpp
  158     for (MachineInstr &MI : MBB) {
lib/Target/BPF/BPFMIPeephole.cpp
  124     for (MachineInstr &MI : MBB) {
  241     for (MachineInstr &MI : MBB) {
  362     for (MachineInstr &MI : MBB) {
lib/Target/BPF/BPFMISimplifyPatchable.cpp
   81     for (MachineInstr &MI : MBB) {
lib/Target/BPF/BPFRegisterInfo.cpp
   69     for (auto &I : MBB)
   90     BuildMI(MBB, ++II, DL, TII.get(BPF::ADD_ri), reg)
  110     BuildMI(MBB, ++II, DL, TII.get(BPF::MOV_rr), reg)
lib/Target/Hexagon/BitTracker.cpp
  954     ++It;
lib/Target/Hexagon/HexagonBitSimplify.cpp
  271   for (auto &I : B)
  996   for (auto I = B->rbegin(), E = B->rend(); I != E; ++I)
 1306   for (auto I = B.begin(), E = B.end(), NextI = I; I != E; ++I) {
 1462   for (auto I = B.begin(), E = B.end(); I != E; ++I) {
 1591        ++I, AVB.insert(Defs)) {
 1718   for (auto I = B.rbegin(), E = B.rend(); I != E; ++I)
 2704   for (auto I = B.begin(), E = B.end(); I != E; ++I, AVB.insert(Defs)) {
 2810       for (auto &I : B)
 3108   for (auto &I : *C.LB) {
 3151   for (auto I = C.LB->rbegin(), E = C.LB->rend(); I != E; ++I) {
lib/Target/Hexagon/HexagonBlockRanges.cpp
  161   for (auto &In : B) {
  315   for (auto &In : B) {
  522   for (auto &In : M.Block) {
lib/Target/Hexagon/HexagonBranchRelaxation.cpp
  198     for (auto &MI : B) {
lib/Target/Hexagon/HexagonConstExtenders.cpp
 1250     for (MachineInstr &MI : MBB)
 1515     for (It = DomB->begin(); It != End; ++It)
lib/Target/Hexagon/HexagonConstPropagation.cpp
  744     ++It;
  804   for (const MachineInstr &MI : *MB) {
  817   for (MachineBasicBlock::const_iterator I = FirstBr; I != End; ++I) {
  851   for (auto I = To->begin(), E = To->getFirstNonPHI(); I != E; ++I) {
  896       ++It;
  903       ++It;
  915       ++It;
  984     for (auto I = B->rbegin(), E = B->rend(); I != E; ++I) {
  995     for (auto I = B->begin(), E = B->end(); I != E; ++I) {
 1000       while (++P != E)
lib/Target/Hexagon/HexagonCopyToCombine.cpp
  295     for (; I != End; ++I) {
  342     while(++I != End) {
  397   for (MachineInstr &MI : BB) {
  427           ++It;
  529     ++I2;
  534        ++I2) {
  579     ++MI;
  637         ++MI;
lib/Target/Hexagon/HexagonEarlyIfConv.cpp
  341   for (auto &I : *B)
  355     ++I;
  369   for (auto &MI : *B) {
  435     for (auto &MI : B) {
  454   for (const MachineInstr &MI : *B) {
  490   for (auto &MI : *B) {
  814   for (auto I = WhereB->begin(); I != NonPHI; ++I) {
lib/Target/Hexagon/HexagonExpandCondsets.cpp
  834   for (MachineBasicBlock::iterator I = std::next(StartI); I != EndI; ++I) {
  911   for (MachineBasicBlock::iterator I = First; I != End; ++I) {
  974   for (MachineBasicBlock::iterator I = std::next(DefIt); I != TfrIt; ++I) {
  981   for (MachineBasicBlock::iterator I = std::next(DefIt); I != TfrIt; ++I) {
 1268     for (auto &I : B)
lib/Target/Hexagon/HexagonFixupHwLoops.cpp
  125     for (const MachineInstr &MI : MBB)
  141         ++MII;
  155           ++MII;
  158         ++MII;
lib/Target/Hexagon/HexagonFrameLowering.cpp
  284     for (auto &I : MBB) {
  346     for (auto I = MBB.getFirstTerminator(), E = MBB.end(); I != E; ++I)
  355     for (auto &I : MBB)
  613     for (auto &MI : MBB)
  687     ++It;
  693         ++It;
  849     for (MachineInstr &I : B) {
 1742   for (auto R = B.begin(); R != It; ++R) {
 2063     for (auto &In : B) {
 2279         ++StartIt;
 2401     for (auto &I : B)
 2502     for (const MachineInstr &MI : B) {
lib/Target/Hexagon/HexagonGenInsert.cpp
  604     for (mb_iterator I = B.begin(), E = B.end(); I != E; ++I) {
  943   for (MachineBasicBlock::iterator I = B->begin(), E = B->end(); I != E; ++I) {
 1460   for (auto I = B->rbegin(), E = B->rend(); I != E; ++I)
lib/Target/Hexagon/HexagonGenMux.cpp
  186   for (MachineBasicBlock::iterator I = B.begin(), E = B.end(); I != E; ++I) {
  357   for (auto I = B.rbegin(), E = B.rend(); I != E; ++I) {
lib/Target/Hexagon/HexagonGenPredicate.cpp
  208     for (MachineBasicBlock::iterator I = B.begin(), E = B.end(); I != E; ++I) {
  469     for (MachineInstr &MI : MBB) {
lib/Target/Hexagon/HexagonHardwareLoops.cpp
 1017            MII = MBB->begin(), E = MBB->end(); MII != E; ++MII) {
lib/Target/Hexagon/HexagonInstrInfo.cpp
 1010   auto E = ++MachineBasicBlock::const_iterator(MI.getIterator()).getReverse();
 1011   for (auto I = B.rbegin(); I != E; ++I)
 2982   for (auto &I : *B)
 3036     ++I;
 3602     for (const MachineInstr &I : B) {
lib/Target/Hexagon/HexagonNewValueJump.cpp
  179       ++localII;
  182            ++localBegin) {
  302   ++II;
  303   for (MachineBasicBlock::iterator localII = II; localII != end; ++localII) {
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp
   75       ++I;
lib/Target/Hexagon/HexagonSplitDouble.cpp
  534   for (auto &MI : *HB) {
lib/Target/Hexagon/HexagonStoreWidening.cpp
  215   for (auto &I : MBB)
  498   for (auto &I : *MBB) {
  522     ++InsertAt;
lib/Target/Hexagon/HexagonVExtract.cpp
  110     for (MachineInstr &MI : MBB) {
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp
  252         ++RB;
  257         ++RE;
  260         ++RE;
 1348   ++NextMII;
 1708     MachineInstr &NvjMI = *++MII;
lib/Target/Hexagon/HexagonVectorPrint.cpp
  137     for (auto &MI : MBB) {
lib/Target/Hexagon/RDFGraph.cpp
  876     for (MachineInstr &I : B) {
lib/Target/Hexagon/RDFLiveness.cpp
  879   for (auto I = B->rbegin(), E = B->rend(); I != E; ++I) {
lib/Target/Hexagon/RDFRegisters.cpp
   78     for (const MachineInstr &In : B)
lib/Target/Lanai/LanaiInstrInfo.cpp
  355     while (!isSafe && ++I != E) {
lib/Target/Lanai/LanaiMemAluCombiner.cpp
  339     Decrement ? --First : ++First;
  401     ++MBBIter;
lib/Target/MSP430/MSP430BranchSelector.cpp
   98     for (MachineInstr &MI : MBB) {
  120     for (auto MI = MBB->begin(), EE = MBB->end(); MI != EE; ++MI) {
  200         ++MI;
lib/Target/MSP430/MSP430FrameLowering.cpp
   83     ++MBBI;
lib/Target/Mips/MipsBranchExpansion.cpp
  239   for (; B != E; ++B)
  740     for (Iter I = FI->begin(); I != FI->end(); ++I) {
lib/Target/Mips/MipsConstantIslandPass.cpp
  658     for (MachineInstr &MI : MBB) {
  794   for (const MachineInstr &MI : *MBB)
  810   for (MachineBasicBlock::iterator I = MBB->begin(); &*I != MI; ++I) {
 1278   ++MI;
lib/Target/Mips/MipsDelaySlotFiller.cpp
  603   for (Iter I = MBB.begin(); I != MBB.end(); ++I) {
  682     ++I;
  754   if (!searchRange(MBB, ++SlotI.getReverse(), MBB.rend(), RegDU, MemDU, Slot,
lib/Target/Mips/MipsInstrInfo.cpp
  166       ++I;
  198     ++I;
  221   ++I;
  223     ++I;
  249   if (++I != REnd && isUnpredicatedTerminator(*I))
lib/Target/Mips/MipsOptimizePICCall.cpp
  233        ++I) {
lib/Target/Mips/MipsSEFrameLowering.cpp
  451       ++MBBI;
lib/Target/Mips/MipsSEISelDAGToDAG.cpp
  160     for (auto &MI: MBB) {
lib/Target/NVPTX/NVPTXPrologEpilogPass.cpp
   59     for (MachineInstr &MI : MBB) {
lib/Target/NVPTX/NVPTXProxyRegErasure.cpp
   70     for (auto &MI : BB) {
  103     for (auto &I : BB) {
lib/Target/NVPTX/NVPTXReplaceImageHandles.cpp
   62          I != E; ++I) {
lib/Target/PowerPC/PPCAsmPrinter.cpp
  361   ++MII;
  368     ++MII;
lib/Target/PowerPC/PPCBranchCoalescing.cpp
  244   for (auto &I : Cand.BranchBlock->terminators()) {
  538        I != E; ++I) {
  563        I != E; ++I) {
  686     ++I;
lib/Target/PowerPC/PPCBranchSelector.cpp
  137     for (MachineInstr &MI : *MBB) {
  302            I != E; ++I) {
lib/Target/PowerPC/PPCCTRLoops.cpp
  209       MIIE = MBB->end(); MII != MIIE; ++MII) {
lib/Target/PowerPC/PPCExpandISEL.cpp
  160     for (MachineInstr &MI : MBB)
  395     for (MachineInstr &MI : *MBB)
lib/Target/PowerPC/PPCFrameLowering.cpp
  299   ++MBBI;
  800     for (unsigned i = 0; MBBI != MBB.end(); ++i, ++MBBI) {
 2430       ++I;
lib/Target/PowerPC/PPCISelLowering.cpp
14197       for (auto J = (*I)->begin(), JE = (*I)->end(); J != JE; ++J) {
lib/Target/PowerPC/PPCInstrInfo.cpp
 1394        I != IE; ++I)
 1722        ++I) {
 2331   for (; It != E; ++It) {
 2494   for (; It != E; ++It) {
 2604     for (auto It = ++Start; It != End; It++)
 3524   for (; It != E; ++It) {
lib/Target/PowerPC/PPCMIPeephole.cpp
  277         for (MachineInstr &MI : MBB) {
  297     for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCPreEmitPeephole.cpp
  174         for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCQPXLoadSplat.cpp
   68     for (auto MBBI = MBB->rbegin(); MBBI != MBB->rend(); ++MBBI) {
  118             ++MBBI;
lib/Target/PowerPC/PPCReduceCRLogicals.cpp
  643   for (auto E = CRI.MI->getParent()->end(); Def2It != E; ++Def2It) {
  712     for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCTLSDynamicCall.cpp
   71           ++I;
  140         ++I;
lib/Target/PowerPC/PPCTOCRegDeps.cpp
  117       for (auto &MI : MBB) {
lib/Target/PowerPC/PPCVSXCopy.cpp
   87       for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCVSXFMAMutate.cpp
   76            I != IE; ++I) {
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp
  245     for (MachineInstr &MI : MBB) {
  905     auto InsertPoint = ++MachineBasicBlock::iterator(MI);
lib/Target/RISCV/RISCVFrameLowering.cpp
  279     for (auto &I = LastFrameDestroy; I != MBBI; ++I) {
lib/Target/RISCV/RISCVISelLowering.cpp
 1263        SequenceMBBI != E; ++SequenceMBBI) {
lib/Target/RISCV/RISCVMergeBaseOffset.cpp
  266     for (MachineInstr &HiLUI : MBB) {
lib/Target/Sparc/DelaySlotFiller.cpp
  113     ++I;
  153       ++J; // skip the delay filler.
  155       BuildMI(MBB, ++J, MI->getDebugLoc(),
lib/Target/Sparc/LeonPasses.cpp
   48     for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) {
   83     for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) {
  135     for (auto MBBI = MBB.begin(), E = MBB.end(); MBBI != E; ++MBBI) {
lib/Target/SystemZ/SystemZAsmPrinter.cpp
  582   ++MII;
  591     ++MII;
lib/Target/SystemZ/SystemZElimCompare.cpp
  226   for (++MBBI; MBBI != MBBE; ++MBBI)
  226   for (++MBBI; MBBI != MBBE; ++MBBI)
  270   for (++MBBI; MBBI != MBBE; ++MBBI)
  270   for (++MBBI; MBBI != MBBE; ++MBBI)
  387   for (++MBBI; MBBI != MBBE; ++MBBI)
  387   for (++MBBI; MBBI != MBBE; ++MBBI)
  396     for (++MBBI; MBBI != MBBE; ++MBBI)
  396     for (++MBBI; MBBI != MBBE; ++MBBI)
  529   for (++MBBI; MBBI != MBBE; ++MBBI)
  529   for (++MBBI; MBBI != MBBE; ++MBBI)
  581   for (++MBBI; MBBI != MBBE; ++MBBI) {
  581   for (++MBBI; MBBI != MBBE; ++MBBI) {
  606       ++MBBI;
lib/Target/SystemZ/SystemZFrameLowering.cpp
  364       ++MBBI;
  443         ++MBBI;
  449         ++MBBI;
lib/Target/SystemZ/SystemZISelLowering.cpp
 6525   for (MachineBasicBlock::iterator miE = MBB->end(); miI != miE; ++miI) {
 6637        NextMIIt != MBB->end(); ++NextMIIt) {
lib/Target/SystemZ/SystemZLDCleanup.cpp
   93   for (auto I = BB->begin(), E = BB->end(); I != E; ++I) {
lib/Target/SystemZ/SystemZLongBranch.cpp
  291       ++MI;
  303       ++MI;
lib/Target/SystemZ/SystemZMachineScheduler.cpp
   67   for (; I != NextBegin; ++I) {
lib/Target/SystemZ/SystemZRegisterInfo.cpp
  387   for (; MII != MEE; ++MII) {
lib/Target/SystemZ/SystemZShortenInst.cpp
  205   for (auto MBBI = MBB.rbegin(), MBBE = MBB.rend(); MBBI != MBBE; ++MBBI) {
lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp
   80   for (MachineInstr &MI : EntryMBB) {
   89   for (MachineInstr &MI : llvm::make_range(InsertPt, EntryMBB.end())) {
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp
  148   for (const MachineInstr &Term : MBB->terminators()) {
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp
  123   for (MachineInstr &MI : Pred->terminators())
  168       for (auto Pos = InsertPos, E = MBB->end(); Pos != E; ++Pos)
  173     ++InsertPos;
  266   for (const auto &MI : *Header) {
  336   for (auto &MI : MBB) {
  395   for (const auto &MI : MBB) {
  416   for (const auto &MI : MBB)
  497   for (const auto &MI : *Header) {
  540       for (auto &MI : reverse(*Header)) {
  584   for (const auto &MI : *Cont) {
  682     for (auto &MI : MBB) {
  714   for (auto &MI : Split) {
  873     for (auto &MI : reverse(MBB)) {
  914     for (auto &MI : reverse(MBB)) {
 1015     for (auto &MI : *EHPad) {
 1174     for (auto &MI : reverse(MBB)) {
 1244     for (MachineInstr &MI : reverse(MBB)) {
 1301     for (auto I = MBB.rbegin(), E = MBB.rend(); I != E; ++I) {
lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp
  111     for (MachineInstr &MI : MBB) {
lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp
  385     for (const MachineInstr &MI : MBB) {
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp
  453     for (MachineInstr &Term : Pred->terminators())
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp
  169     ++InsertPt;
lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp
  114   for (MachineInstr &MI : MBB.terminators()) {
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp
  134         ++InsertPos;
  170         ++CatchPos;
  188     for (auto &MI : MBB) {
  242     for (auto &MI : MBB) {
  260     for (auto &MI : MBB) {
  275       ++CatchPos;
  384       ++InsertPos;
  386       ++InsertPos;
lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp
  200     for (auto &MI : MBB)
lib/Target/WebAssembly/WebAssemblyPeephole.cpp
  148     for (auto &MI : MBB)
lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp
   74   for (MachineInstr &MI : EntryMBB) {
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp
  326     for (auto E = MBB->end(); NextI != E && NextI->isDebugInstr(); ++NextI)
  788     for (auto MII = MBB.rbegin(); MII != MBB.rend(); ++MII) {
  912     for (MachineInstr &MI : MBB) {
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp
   86     for (auto &MI : MBB) {
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp
  343        PBInst != E; ++PBInst) {
  368            PBInst != PME; ++PBInst) {
  538     for (auto &MI : MBB) {
lib/Target/X86/X86CallFrameOptimization.cpp
  170     for (MachineInstr &MI : BB) {
  258     for (auto &MI : MBB)
  381     ++I;
  393   for (auto J = I; !J->isCall(); ++J)
  411   for (InstClassification Classification = Skip; Classification != Exit; ++I) {
  470   if ((++I)->getOpcode() != TII->getCallFrameDestroyOpcode())
  629   for (MachineBasicBlock::iterator I = DefMI; I != FrameSetup; ++I)
lib/Target/X86/X86CmovConversion.cpp
  288     for (auto &I : *MBB) {
  428       for (MachineInstr &MI : *MBB) {
  574   for (auto I = std::next(ItrMI), E = BB->end(); I != E; ++I) {
  812   for (MachineBasicBlock::iterator MIIt = MIItBegin; MIIt != MIItEnd; ++MIIt) {
lib/Target/X86/X86DiscriminateMemOps.cpp
  109     for (auto &MI : MBB) {
  128     for (auto &MI : MBB) {
lib/Target/X86/X86EvexToVex.cpp
  108     for (MachineInstr &MI : MBB)
lib/Target/X86/X86FixupBWInsts.cpp
  429   for (auto I = MBB.rbegin(); I != MBB.rend(); ++I) {
lib/Target/X86/X86FixupLEAs.cpp
  212     for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) {
  228       for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I)
lib/Target/X86/X86FixupSetCC.cpp
   79   for (int i = 0; (i < SearchBound) && (MI != MBBStart); ++i, ++MI)
  103     for (auto &MI : MBB) {
lib/Target/X86/X86FlagsCopyLowering.cpp
  305     for (MachineInstr &MI : *Succ) {
  359     for (MachineInstr &MI : *MBB)
  701     for (MachineInstr &MI : MBB)
lib/Target/X86/X86FloatingPoint.cpp
  417   for (MachineBasicBlock::iterator I = BB.begin(); I != BB.end(); ++I) {
  490         while (++Start != std::next(I)) {
  847     I = BuildMI(*MBB, ++I, dl, TII->get(X86::ST_FPrr)).addReg(X86::ST0);
  864   I = freeStackSlotBefore(++I, FPRegNo);
 1690        I != E; ++I) {
lib/Target/X86/X86FrameLowering.cpp
  214   for (const MachineInstr &MI : MBB.terminators()) {
  505   for (MachineInstr &MI : PrologMBB) {
  745     for (++BeforeMBBI; BeforeMBBI != MBB.end(); ++BeforeMBBI) {
  745     for (++BeforeMBBI; BeforeMBBI != MBB.end(); ++BeforeMBBI) {
  748     for (MachineInstr &MI : *RoundMBB) {
  751     for (MachineInstr &MI : *LoopMBB) {
  755          CMBBI != ContinueMBBI; ++CMBBI) {
  819     for (++ExpansionMBBI; ExpansionMBBI != MBBI; ++ExpansionMBBI)
  819     for (++ExpansionMBBI; ExpansionMBBI != MBBI; ++ExpansionMBBI)
 1189     ++MBBI;
 1386     ++MBBI;
 1739       ++MBBI;
 2130     ++MI;
 2619       for (auto &MI : MBB) {
 3118     for (auto &MI : MBB) {
 3219     ++MBBI;
lib/Target/X86/X86ISelLowering.cpp
29597   for (MachineBasicBlock::iterator miE = BB->end(); miI != miE; ++miI) {
29683   for (MachineBasicBlock::iterator MIIt = MIItBegin; MIIt != MIItEnd; ++MIIt) {
29939       ++NextMIIt;
30951     for (const auto &MI : MBB) {
31131     for (auto &II : reverse(*MBB)) {
31395       ++RMBBI;
lib/Target/X86/X86IndirectBranchTracking.cpp
  130     for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) {
lib/Target/X86/X86InstrInfo.cpp
  156     auto I = ++MachineBasicBlock::const_iterator(MI);
  157     for (auto E = MBB->end(); I != E; ++I) {
 2701   for (auto I = std::next(MBB.rbegin()), E = MBB.rend(); I != E; ++I) {
 3627     for (MachineBasicBlock::iterator J = MI;; ++J) {
 3657       RI = ++I.getReverse(),
 3662   for (; RI != RE; ++RI) {
 3704   for (++I; I != E; ++I) {
 3704   for (++I; I != E; ++I) {
 3800     for (; InsertI != InsertE; ++InsertI) {
 7872            ++I) {
lib/Target/X86/X86OptimizeLEAs.cpp
  474   for (auto &MI : MBB) {
lib/Target/X86/X86PadShortFunction.cpp
  181   for (MachineInstr &MI : *MBB) {
lib/Target/X86/X86SpeculativeLoadHardening.cpp
  286   for (MachineInstr &MI : Succ) {
  331     for (auto &MI : MBB) {
  373     for (MachineInstr &MI : MBB) {
  632     for (MachineInstr &MI : llvm::reverse(MBB)) {
 1029         for (MachineInstr &MI : MBB.terminators()) {
 1670       for (MachineInstr &MI : MBB) {
 1771     for (MachineInstr &MI : MBB) {
lib/Target/X86/X86VZeroUpper.cpp
  202   for (MachineInstr &MI : MBB) {
lib/Target/X86/X86WinAllocaExpander.cpp
  154     for (MachineInstr &MI : *MBB) {
lib/Target/XCore/XCoreFrameLowering.cpp
  317       ++Pos;
  478       ++MI;
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp
   55          MBBI != EE; ++MBBI) {
unittests/CodeGen/GlobalISel/GISelMITest.h
  130     for (MachineInstr &MI : MBB) {
unittests/CodeGen/MachineInstrBundleIteratorTest.cpp
  171   EXPECT_EQ(++begin(), iterator(++rbegin()));
  171   EXPECT_EQ(++begin(), iterator(++rbegin()));
  174   EXPECT_EQ(++rbegin(), reverse_iterator(++begin()));
  174   EXPECT_EQ(++rbegin(), reverse_iterator(++begin()));
unittests/MI/LiveIntervalTest.cpp
  108   for (MachineInstr &MI : MBB) {
unittests/Target/AArch64/InstSizes.cpp
   91               ++I;
  106               ++I;
usr/include/c++/7.4.0/bits/stl_algo.h
  105 	++__first;
 3193       for (; __first != __last; ++__first)
 3883       for (; __first != __last; ++__first)
usr/include/c++/7.4.0/bits/stl_iterator_base_funcs.h
   89 	  ++__first;
  166 	  ++__i;
usr/include/c++/7.4.0/bits/stl_numeric.h
  153       for (; __first != __last; ++__first)