|
reference, declaration → definition
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/MachineBasicBlock.h 710 if (Where != From)
948 while (It != End && It->isDebugInstr())
959 while (It != Begin && It->isDebugInstr())
include/llvm/CodeGen/MachineInstrBuilder.h 527 assert(B != E && "No instructions to bundle");
529 while (B != E) {
include/llvm/CodeGen/RegisterScavenging.h 88 if (!Tracking && MBB->begin() != I) forward();
89 while (MBBI != I) forward();
98 while (MBBI != I) unprocess();
108 while (MBBI != I)
include/llvm/Transforms/Utils/SSAUpdaterImpl.h 390 for (auto &SomePHI : BB->phis()) {
lib/CodeGen/AggressiveAntiDepBreaker.cpp 815 I != E; --Count) {
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) {
1730 for (const auto &MI : MBB)
lib/CodeGen/AsmPrinter/EHStreamer.cpp 244 for (const auto &MI : MBB) {
lib/CodeGen/AsmPrinter/WinException.cpp 420 if (MBBI != O.MBBI)
456 for (auto MBBE = MFI->end(); MBBI != MBBE; ++MBBI) {
lib/CodeGen/BranchFolding.cpp 231 for (const MachineInstr &I : BB)
320 while (I1 != MBB1->begin() && I2 != MBB2->begin()) {
320 while (I1 != MBB1->begin() && I2 != MBB2->begin()) {
364 if (I1 == MBB1->begin() && I2 != MBB2->begin()) {
373 if (I2 == MBB2->begin() && I1 != MBB1->begin()) {
405 while (I1 != MBB1->end() && I1->isCFIInstruction()) {
409 while (I2 != MBB2->end() && I2->isCFIInstruction()) {
428 } while (I != OldInst);
498 for (; I != E; ++I) {
847 for (auto E = MBB->end(); MBBIStartPos != E; ++MBBIStartPos)
856 assert(MBBI != MBBIE && "Reached BB end within common tail length!");
864 while ((MBBICommon != MBBIECommon) && !countsAsInstruction(*MBBICommon))
867 assert(MBBICommon != MBBIECommon &&
903 for (auto &MI : *MBB) {
912 assert(Pos != SameTails[i].getBlock()->end() &&
916 assert(Pos != SameTails[i].getBlock()->end() &&
1305 assert(I != MBB->end() && "empty block!");
1338 if (I != MBB.end() && I->isBranch())
1481 if (PrevBB.begin() != PrevBB.end()) {
1487 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end()
1487 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end()
1998 while (TIB != TIE && FIB != FIE) {
1998 while (TIB != TIE && FIB != FIE) {
lib/CodeGen/BranchRelaxation.cpp 170 for (const MachineInstr &MI : MBB)
188 assert(I != MBB->end() && "Didn't find MI in its own basic block?");
511 J != MBB.end(); J = Next) {
518 if (Next != MBB.end() && Next->isConditionalBranch()) {
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/CriticalAntiDepBreaker.cpp 528 for (MachineBasicBlock::iterator I = End, E = Begin; I != E; --Count) {
lib/CodeGen/DFAPacketizer.cpp 252 for (; BeginItr != EndItr; ++BeginItr) {
lib/CodeGen/DeadMachineInstructionElim.cpp 124 MIE = MBB.rend(); MII != MIE; ) {
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) {
369 while (I != B) {
401 if (I != FirstTerm && I->isTerminator())
508 I != E && I->isPHI(); ++I) {
562 assert(FirstTerm != Head->end() && "No terminators");
582 assert(FirstTerm != Head->end() && "No terminators");
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 193 mi != me;) {
lib/CodeGen/FinalizeISel.cpp 55 MBBI != MBBE; ) {
lib/CodeGen/GCRootLowering.cpp 277 MI != ME; ++MI)
lib/CodeGen/GlobalISel/CSEInfo.cpp 235 for (MachineInstr &MI : MBB) {
lib/CodeGen/GlobalISel/Combiner.cpp 135 for (auto MII = MBB->rbegin(), MIE = MBB->rend(); MII != MIE;) {
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/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) {
195 while (II != MBB.end() && !Users.count(&*II))
200 assert(II != MBB.end() && "Didn't find the user in the MBB");
lib/CodeGen/GlobalISel/RegBankSelect.cpp 685 MII != End;) {
703 if (MII != End) {
751 if (It != MI.getParent()->end())
763 for (auto Begin = Pred.begin(); It != Begin && It->isTerminator(); --It)
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)) {
741 while (TIB != TIE && FIB != FIE) {
741 while (TIB != TIE && FIB != FIE) {
775 while (RTIE != RTIB && RTIE->isUnconditionalBranch())
777 while (RFIE != RFIB && RFIE->isUnconditionalBranch())
783 while (RTIE != RTIB && RFIE != RFIB) {
783 while (RTIE != RTIB && RFIE != RFIB) {
838 while (E1 != B1 && E2 != B2) {
838 while (E1 != B1 && E2 != B2) {
1066 for (MachineInstr &MI : make_range(Begin, End)) {
1858 for (const MachineInstr &MI : make_range(MBB1.begin(), DI1)) {
1881 while (DI1 != MBB1.begin()) {
1890 assert(DI1 != MBB1.begin());
1913 while (DI2 != MBB2.begin()) {
1923 assert(DI2 != MBB2.begin());
1941 for (const MachineInstr &FI : make_range(MBB2.begin(), DI2)) {
1985 bool BB1Predicated = BBI1T != MBB1.end() && TII->isPredicated(*BBI1T);
1986 bool BB2NonPredicated = BBI2T != MBB2.end() && !TII->isPredicated(*BBI2T);
2012 if (TIE != TrueBBI.BB->end())
2077 if (TI != BBI.BB->end() && TII->isPredicated(*TI))
2134 for (MachineInstr &I : make_range(BBI.BB->begin(), E)) {
2177 for (MachineInstr &I : FromMBB) {
2249 if (FromTI != FromMBB.end() && !TII->isPredicated(*FromTI))
lib/CodeGen/ImplicitNullChecks.cpp 584 for (auto &MI : *NotNullSucc) {
lib/CodeGen/InlineSpiller.cpp 765 for (MachineBasicBlock::iterator I = B; I != E; ++I) {
875 for (MachineInstr &MI : MIS)
1178 if (MI != BB.end())
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 687 MBBI != MBBE;) {
710 } while (MBBI != MBBE && MBBI->isDebugInstr());
973 for (auto MBBI = MBB.begin(), MBBE = MBB.end(); MBBI != MBBE; ) {
1272 while (I != MBB->end() && !I->isTerminator()) {
1325 } while (I != MBB->end());
lib/CodeGen/LiveIntervals.cpp 225 for (const MachineInstr &MI : MBB) {
1435 while (MII != Begin) {
1498 for (MachineBasicBlock::iterator I = End; I != Begin;) {
1582 while (Begin != MBB->begin() && !Indexes->hasIndex(*Begin))
1584 while (End != MBB->end() && !Indexes->hasIndex(*End))
1595 for (MachineBasicBlock::iterator I = End; I != Begin;) {
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()))
129 for (MachineBasicBlock::iterator Next = MBB.begin(); Next != MBB.end();) {
158 if (MI.hasUnmodeledSideEffects() && Next != MBB.end()) {
220 while (I != MBB.end() && (I->isPHI() || I->isDebugInstr()))
235 for (; EndIter != MBB.end() && EndIter->isDebugValue() &&
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) {
426 for (unsigned i = 0; i < IdempotentInstCount && MII != MBB->end(); ++i) {
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 174 while (I != E && (I->isPHI() || I->isPosition() ||
189 while (I != E && (I->isPHI() || I->isPosition() || I->isDebugInstr() ||
202 while (I != B && ((--I)->isTerminator() || I->isDebugInstr()))
204 while (I != E && !I->isTerminator())
507 for (;I != E && I->isCopy(); ++I)
1218 for (MachineInstr &MI : phis())
1315 while (TI != end() && !TI->isBranch())
1318 if (TI != end()) {
1320 for (++TI ; TI != end() ; ++TI)
1392 for (; I != end() && N > 0; ++I) {
1428 if (I != begin()) {
1462 } while (I != begin() && N > 0);
lib/CodeGen/MachineCSE.cpp 358 while (I != E && I != EE && I->isDebugInstr())
358 while (I != E && I != EE && I->isDebugInstr())
516 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E; ) {
673 for (MachineBasicBlock::iterator II = CSMI, IE = MI; II != IE; ++II)
794 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
lib/CodeGen/MachineCombiner.cpp 510 while (BlockIter != MBB->end()) {
lib/CodeGen/MachineCopyPropagation.cpp 464 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ) {
lib/CodeGen/MachineFrameInfo.cpp 198 for (const MachineInstr &MI : MBB) {
lib/CodeGen/MachineInstr.cpp 2112 DI != DE; ++DI) {
lib/CodeGen/MachineLICM.cpp 517 for (MachineInstr &MI : *BB)
524 if (TI != Preheader->end()) {
577 for (MachineInstr &MI : *BB) {
735 MII = MBB->begin(), E = MBB->end(); MII != E; ) {
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)
lib/CodeGen/MachineOutliner.cpp 766 for (MachineBasicBlock::iterator Et = MBB.end(); It != Et; It++) {
1138 for (auto I = FirstCand.front(), E = std::next(FirstCand.back()); I != E;
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 95 while (I != BB->end() && I->isPHI()) {
lib/CodeGen/MachineScheduler.cpp 279 assert(I != Beg && "reached the top of the region, cannot decrement");
280 while (--I != Beg) {
300 for(; I != End; ++I) {
475 RegionEnd != MBB->begin(); RegionEnd = I) {
478 if (RegionEnd != MBB->end() ||
487 for (;I != MBB->begin(); --I) {
565 if (RegionEnd != MBB->end()) dbgs() << *RegionEnd;
910 for (MachineBasicBlock::iterator MI = begin(), ME = end(); MI != ME; ++MI) {
1030 if (LiveRegionEnd != RegionEnd) {
1269 if (LiveRegionEnd != RegionEnd)
1446 if (BotRPTracker.getPos() != CurrentBottom)
lib/CodeGen/MachineSink.cpp 771 if (!SuccToSinkTo.empty() && InsertPos != SuccToSinkTo.end())
947 while (InsertPos != SuccToSinkTo->end() && InsertPos->isPHI())
1152 for (MachineInstr &UI : make_range(NI, CurBB.end())) {
1244 for (auto I = CurBB.rbegin(), E = CurBB.rend(); I != E;) {
lib/CodeGen/MachineTraceMetrics.cpp 111 for (const auto &MI : *MBB) {
581 for (const auto &I : *BadMBB)
830 for (; Start != End; Start++)
883 for (const auto &UseMI : *MBB) {
1074 for (const auto &PHI : *Succ) {
1092 BI != BB;) {
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) {
764 BBI != BBE;) {
788 for (auto &PHI : KernelBB->phis()) {
822 for (auto &I : *Epilog)
833 for (MachineInstr &MI : *BB) {
1110 for (auto &PHI : BB->phis()) {
1221 for (auto I = MBB->begin(); I != MBB->getFirstNonPHI();) {
1316 for (MachineInstr &MI : *BB) {
1332 for (auto MI = BB->getFirstNonPHI(); MI != BB->end(); ++MI) {
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) {
1992 for (MachineInstr &MI : *BB) {
lib/CodeGen/OptimizePHIs.cpp 169 MII = MBB.begin(), E = MBB.end(); MII != E; ) {
lib/CodeGen/PHIElimination.cpp 445 Term != opBlock.end(); ++Term) {
456 while (KillInst != opBlock.begin()) {
505 Term != opBlock.end(); ++Term) {
516 while (KillInst != opBlock.begin()) {
553 for (const auto &BBI : MBB) {
573 BBI != BBE && BBI->isPHI(); ++BBI) {
lib/CodeGen/PatchableFunction.cpp 69 assert(FirstActualI != FirstMBB.end());
lib/CodeGen/PeepholeOptimizer.cpp 1639 MII != MIE; ) {
lib/CodeGen/PostRAHazardRecognizer.cpp 81 for (MachineInstr &MI : MBB) {
lib/CodeGen/PostRASchedulerList.cpp 336 for (MachineBasicBlock::iterator I = Current; I != MBB.begin();) {
lib/CodeGen/PrologEpilogInserter.cpp 182 for (auto &MI : MBB) {
316 for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I)
580 assert(I != RestoreBlock.begin() &&
1187 for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ) {
1298 if (DoIncr && I != BB->end()) ++I;
lib/CodeGen/ReachingDefAnalysis.cpp 127 for (MachineInstr &MI : *TraversedMBB.MBB) {
lib/CodeGen/RegAllocFast.cpp 423 bool SpillKill = MachineBasicBlock::iterator(LR.LastUse) != MI;
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) {
1113 if (InsPos != CopyLeftBB->end()) {
2881 assert(MI != MBB->end() && "Bad LastMI");
3584 MII != E; ++MII) {
3606 for (MachineInstr &MII : *MBB)
lib/CodeGen/RegisterPressure.cpp 203 if (TopPos != PrevTop)
219 if (BottomPos != PrevBottom)
852 assert(CurrPos != MBB->begin());
897 assert(CurrPos != MBB->end());
lib/CodeGen/RegisterScavenging.cpp 93 if (MBB.begin() != MBB.end()) {
181 assert(MBBI != MBB->end() && "Already past the end of the basic block!");
184 assert(MBBI != MBB->end() && "Already at the end of the basic block!");
314 assert(StartMI != ME && "MI already at terminator");
319 for (++MI; InstrLimit > 0 && MI != ME; ++MI, --InstrLimit) {
362 assert(RestorePointMI != StartMI &&
608 if (ReloadBefore != MBB.end())
685 for (MachineBasicBlock::iterator I = MBB.end(); I != MBB.begin(); ) {
lib/CodeGen/ScheduleDAGInstrs.cpp 201 MachineInstr *ExitMI = RegionEnd != BB->end() ? &*RegionEnd : nullptr;
565 for (MachineInstr &MI : make_range(RegionBegin, RegionEnd)) {
794 MII != MIE; --MII) {
1110 for (MachineInstr &MI : make_range(MBB.rbegin(), MBB.rend())) {
lib/CodeGen/SelectionDAG/FastISel.cpp 199 for (; RI != RE;) {
234 for (MachineInstr &I : *MBB) {
539 while (FuncInfo.InsertPt != FuncInfo.MBB->end() &&
548 while (I != E) {
576 if (FuncInfo.InsertPt != FuncInfo.MBB->begin())
1641 if (SavedInsertPt != FuncInfo.InsertPt)
1653 if (SavedInsertPt != FuncInfo.InsertPt)
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 555 if (Term != MBB.end() && Term->isReturn()) {
641 for (const auto &MI : MBB) {
1385 if (FuncInfo->InsertPt != FuncInfo->MBB->begin())
1592 if (HadTailCall && FuncInfo->InsertPt != FuncInfo->MBB->end())
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) {
174 while (Begin != MBB->begin() && !hasIndex(*Begin))
176 while (End != MBB->end() && !hasIndex(*End))
200 while (ListI != ListB || MBBI != Begin || (includeStart && !pastStart)) {
206 MachineInstr *MI = (MBBI != MBB->end() && !pastStart) ? &*MBBI : nullptr;
211 if (MBBI != Begin)
216 if (MBBI != Begin)
229 for (MachineBasicBlock::iterator I = End; I != Begin;) {
lib/CodeGen/SplitKit.cpp 102 I != E;) {
lib/CodeGen/SplitKit.h 85 if (MII != MBB.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) {
452 while ((NextMI != E) && NextMI->isDebugInstr()) {
lib/CodeGen/TailDuplicator.cpp 101 while (MI != MBB->end()) {
311 for (const auto &MI : BB) {
465 for (MachineInstr &MI : *SuccBB) {
593 for (MachineInstr &MI : TailBB) {
638 for (auto &I : *SB) {
844 I != E; /* empty */) {
901 while (I != TailBB->end() && I->isPHI()) {
909 while (I != TailBB->end()) {
964 while (I != TailBB->end() && I->isPHI()) {
lib/CodeGen/TargetInstrInfo.cpp 143 while (Tail != MBB->end()) {
lib/CodeGen/TwoAddressInstructionPass.cpp 291 for (MachineInstr &OtherMI : make_range(std::next(OldPos), KillPos)) {
930 while (End != MBB->end()) {
943 for (MachineInstr &OtherMI : make_range(End, KillPos)) {
989 while (Begin != MBB->begin() && std::prev(Begin)->isDebugInstr())
997 for (MachineBasicBlock::iterator MBBI = AfterMI; MBBI != End;) {
1116 for (MachineInstr &OtherMI :
1165 while (InsertPos != MBB->begin() && std::prev(InsertPos)->isDebugInstr())
1704 mi != me; ) {
lib/CodeGen/UnreachableBlockElim.cpp 133 while (start != succ->end() && start->isPHI()) {
166 while (phi != BB->end() && phi->isPHI()) {
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 343 for (auto &MI : MBB)
504 while (I != ChainEnd) {
511 assert(ChainBegin != ChainEnd && "Chain should contain instructions");
515 } while (I != ChainBegin);
546 for (MachineInstr &I : *G) {
lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp 380 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
lib/Target/AArch64/AArch64BranchTargets.cpp 122 if (MBBI != MBB.end() && (MBBI->getOpcode() == AArch64::PACIASP ||
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp 67 for (MachineBasicBlock::iterator I = BB->begin(), E = BB->end(); I != E;
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/AArch64ConditionOptimizer.cpp 160 for (MachineBasicBlock::iterator B = MBB->begin(); I != B;) {
lib/Target/AArch64/AArch64ConditionalCompares.cpp 216 for (auto &I : *Tail) {
242 for (auto &I : *Tail) {
318 for (MachineBasicBlock::iterator B = MBB->begin(); I != B;) {
395 for (auto &I : make_range(MBB->begin(), MBB->getFirstTerminator())) {
lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp 119 for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp 716 while (MBBI != E) {
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) {
777 assert(MBBI != MI.getParent()->end() && "Expecting a valid instruction");
968 while (MBBI != End && MBBI->getFlag(MachineInstr::FrameSetup)) {
1290 if (MBBI != MBB.end())
1297 if (Subtarget.hasV8_3aOps() && MBBI != MBB.end() &&
1337 if (MBB.end() != MBBI) {
1445 while (LastPopI != Begin) {
1544 while (FirstSPPopI != Begin) {
2082 if (MI != MBB.end())
2364 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup))
lib/Target/AArch64/AArch64InstrInfo.cpp 262 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I))
1156 }) != To->getParent()->rend());
1159 for (--To; To != From; --To) {
1486 FirstEpilogSEH != MBB.begin())
1488 if (FirstEpilogSEH != MBB.begin())
5503 for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp 876 for (MachineInstr &MI : make_range(std::next(I), Paired))
1157 } while (MBBI != B && Count < Limit);
1237 for (unsigned Count = 0; MBBI != E && Count < Limit; ++MBBI) {
1523 for (unsigned Count = 0; MBBI != E && Count < Limit; ++MBBI) {
1598 } while (MBBI != B && Count < Limit);
1641 if (MergeMI != E) {
1677 if (Paired != E) {
1701 if (Update != E) {
1717 if (Update != E) {
1734 if (Update != E) {
1757 MBBI != E;) {
1776 MBBI != E;) {
1790 MBBI != E;) {
1804 MBBI != E;) {
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())) {
364 } while (Itr != PredMBB->begin() && Itr->isTerminator());
375 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
462 for (MachineInstr &MMI : make_range(FirstUse, PredMBB->end()))
464 for (MachineInstr &MMI : make_range(MBB->begin(), LastChange))
lib/Target/AArch64/AArch64RegisterInfo.cpp 411 if (Ins != MBB->end())
lib/Target/AArch64/AArch64SIMDInstrOpt.cpp 320 MII != MIE;) {
712 MII != MIE;) {
lib/Target/AArch64/AArch64SpeculationHardening.cpp 291 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); I++) {
299 if (I != MBB.begin())
414 for (MachineInstr &MI : MBB) {
468 for (; MBBI != E; MBBI = NextMBBI) {
619 while (MBBI != E) {
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 469 if (MBB->begin() != MBB->end())
598 for (MachineBasicBlock::iterator It = MBB->begin(); It != MBB->end();
619 It != E; ++It) {
634 if (It != MBB->rend()) {
664 for (const MachineInstr &It : *MBB)
688 while (It != E) {
lib/Target/AMDGPU/GCNDPPCombine.cpp 566 for (auto I = MBB.rbegin(), E = MBB.rend(); I != E;) {
lib/Target/AMDGPU/GCNIterativeScheduler.cpp 71 for (; I != End && MaxInstNum; ++I, --MaxInstNum) {
76 if (I != End) {
83 if (End != BB->end()) { // print boundary inst if present
267 for (auto I = BottomMI; I != Begin; --I)
284 if (R.End != BBEnd) {
lib/Target/AMDGPU/GCNNSAReassign.cpp 242 for (const MachineInstr &MI : MBB) {
lib/Target/AMDGPU/GCNRegPressure.cpp 430 while (NextMI != End)
lib/Target/AMDGPU/GCNSchedStrategy.cpp 332 for (auto &I : *this) {
493 if (I != MBB->end()) {
577 if (RegionEnd != MBB->end()) dbgs() << *RegionEnd;
lib/Target/AMDGPU/R600AsmPrinter.cpp 52 for (const MachineInstr &MI : MBB) {
lib/Target/AMDGPU/R600ClauseMergePass.cpp 104 while (I != E && !isCFAlu(*I))
113 } while (I != E);
194 while (I != E) {
203 if (LatestCFAlu != E && mergeIfPossible(*LatestCFAlu, MI)) {
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp 339 for (MachineBasicBlock::iterator E = MBB.end(); I != E; ++I) {
532 I != E;) {
lib/Target/AMDGPU/R600EmitClauseMarkers.cpp 210 for (MachineBasicBlock::iterator UseI = Def; UseI != BBEnd; ++UseI) {
232 if (UseI != Def && UseI->killsRegister(MOI->getReg(), &TRI))
248 for (MachineBasicBlock::iterator E = MBB.end(); I != E; ++I) {
324 if (I != MBB.end() && I->getOpcode() == R600::CF_ALU)
326 for (MachineBasicBlock::iterator E = MBB.end(); I != E;) {
329 assert(next != I);
lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp 92 while (I != MBB.end()) {
lib/Target/AMDGPU/R600ISelLowering.cpp 432 EndBlock = BB->end(); NextExportInst != EndBlock;
lib/Target/AMDGPU/R600InstrInfo.cpp 654 while (I != MBB.begin()) {
695 while (I != MBB.begin() && std::prev(I)->getOpcode() == R600::JUMP) {
748 It != E; ++It) {
888 if (MI.getParent()->begin() != MachineBasicBlock::const_iterator(MI))
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp 349 MII != MIIE; ++MII) {
lib/Target/AMDGPU/R600Packetizer.cpp 355 while (MI != End) {
374 RegionEnd != MBB->begin();) {
378 for(;I != MBB->begin(); --I, --RemainingCount) {
lib/Target/AMDGPU/SIAddIMGInit.cpp 73 for (I = MBB.begin(); I != MBB.end(); I = Next) {
lib/Target/AMDGPU/SIFixSGPRCopies.cpp 411 while (I != MBB->end() && TII->isBasicBlockPrologue(*I))
601 I != E; ++I) {
lib/Target/AMDGPU/SIFixVGPRCopies.cpp 55 for (MachineInstr &MI : MBB) {
lib/Target/AMDGPU/SIFixupVectorISel.cpp 165 for (I = MBB.begin(); I != MBB.end(); I = Next) {
lib/Target/AMDGPU/SIFoldOperands.cpp 1463 for (I = MBB->begin(); I != MBB->end(); I = Next) {
lib/Target/AMDGPU/SIISelLowering.cpp10718 for (auto &MI : MBB) {
10773 for (const MachineInstr &MI : *MBB) {
10791 if (I != Exit->end() && I->getOpcode() == AMDGPU::S_INST_PREFETCH)
lib/Target/AMDGPU/SIInsertSkips.cpp 118 NumInstr < SkipThreshold && I != E; ++I) {
356 for (++A ; A != E ; ++A) {
387 for ( ; M != E ; ++M) {
463 for (I = MBB.begin(); I != MBB.end(); I = Next) {
511 if (BI != --MF.end() || I != MBB.getFirstTerminator()) {
lib/Target/AMDGPU/SIInsertWaitcnts.cpp 1547 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E;
1569 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;
lib/Target/AMDGPU/SIInstrInfo.cpp 615 for (auto Def = MI, E = MBB.begin(); Def != E; ) {
629 for (auto I = Def; I != MI && SafeToPropagate; ++I)
1955 while (I != E && !I->isBranch() && !I->isReturn() &&
2019 while (I != MBB.end()) {
5722 for (MachineInstr &MI : // Skip the def inst itself.
6068 assert(TI != IfEntry->end());
6094 assert(TI != LoopEnd->end());
6529 if (Cur != MBB.end())
6534 } while (Cur != MBB.end() && Cur != LastPHIIt);
6534 } while (Cur != MBB.end() && Cur != LastPHIIt);
6543 if (InsPt != MBB.end() &&
lib/Target/AMDGPU/SILoadStoreOptimizer.cpp 777 for (; MBBI != E; ++MBBI) {
1595 for ( ; MBBI != E; ++MBBI) {
lib/Target/AMDGPU/SILowerControlFlow.cpp 170 for(auto &Term : MBB->terminators())
190 if (J != MBB->end() && J->getOpcode() == FalseTermOpc &&
532 for (I = MBB.begin(), Last = MBB.end(); I != MBB.end(); I = Next) {
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) {
800 while (InsertionPt != MBB.begin()) {
lib/Target/AMDGPU/SILowerSGPRSpills.cpp 138 assert(I != RestoreBlock.begin() &&
271 for (auto I = MBB.begin(), E = MBB.end(); I != E; I = Next) {
lib/Target/AMDGPU/SIMachineScheduler.cpp 1278 for (; I != End; ++I) {
1399 if (PNew != POld) {
lib/Target/AMDGPU/SIMemoryLegalizer.cpp 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) {
154 if (It != MBB->end() || MBB->succ_size() != 1)
336 if (I != E) {
343 while (I != E) {
369 if (I != E)
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/SIRegisterInfo.cpp 349 if (Ins != MBB->end())
lib/Target/AMDGPU/SIShrinkInstructions.cpp 565 for (I = MBB.begin(); I != MBB.end(); I = Next) {
606 Next != MBB.end() &&
lib/Target/AMDGPU/SIWholeQuadMode.cpp 236 for (const MachineInstr &MI : *BII.first) {
326 for (auto II = MBB.begin(), IE = MBB.end(); II != IE; ++II) {
586 SlotIndex FirstIdx = First != MBBE ? LIS->getInstructionIndex(*First)
589 Last != MBBE ? LIS->getInstructionIndex(*Last) : LIS->getMBBEndIdx(&MBB);
739 if (II != IE) {
lib/Target/ARC/ARCBranchFinalize.cpp 155 for (auto &MI : MBB) {
lib/Target/ARC/ARCExpandPseudos.cpp 82 while (MBBI != E) {
lib/Target/ARC/ARCInstrInfo.cpp 232 while (DI != MBB.end()) {
lib/Target/ARC/ARCOptAddrMode.cpp 395 for (; MI != ME && MI != End; ++MI) {
395 for (; MI != ME && MI != End; ++MI) {
426 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 379 while (DI != MBB.end()) {
1274 if (I != MBB.end()) DL = I->getDebugLoc();
1973 while (++I != MBB->end() && I->isDebugInstr())
1975 if (I != MBB->end() && I->getOpcode() == ARM::t2IT)
2978 if (I != E && !MI->readsRegister(ARM::CPSR, TRI)) {
2980 for (; I != E; --I) {
3054 while (!isSafe && ++I != E) {
3194 if (Next != MI.getParent()->end() &&
5357 for (auto I = From; I != To; ++I)
5369 while (CmpMI != Br->getParent()->begin()) {
lib/Target/ARM/ARMBaseRegisterInfo.cpp 639 if (Ins != MBB->end())
lib/Target/ARM/ARMBasicBlockInfo.cpp 54 for (MachineInstr &I : *MBB) {
85 assert(I != MBB->end() && "Didn't find MI in its own basic block?");
lib/Target/ARM/ARMConstantIslandPass.cpp 679 for (MachineInstr &I : MBB)
708 for (MachineInstr &I : MBB) {
893 for (MachineInstr &LiveMI : make_range(OrigBB->rbegin(), LivenessEnd))
1374 assert(I != UserMBB->end() && "Fell off end of block");
1388 assert(MI != UserMBB->end() && "Fell off end of block");
2114 return MBB != MF->end() && MBB->begin() != MBB->end() &&
lib/Target/ARM/ARMExpandPseudoInsts.cpp 1961 while (MBBI != E) {
lib/Target/ARM/ARMFrameLowering.cpp 487 if (LastPush != MBB.end() &&
501 while (MBBI != MBB.end() && MBBI->getOpcode() == ARM::VSTMDDB_UPD) {
792 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
800 if (MBBI != MBB.begin()) {
803 } while (MBBI != MBB.begin() && isCSRestore(*MBBI, TII, CSRegs));
856 if (MBBI != MBB.end() && AFI->getDPRCalleeSavedAreaSize()) {
860 while (MBBI != MBB.end() && MBBI->getOpcode() == ARM::VLDMDIA_UPD)
1043 if (MI != MBB.begin())
1063 if (MBB.end() != MI) {
1126 if (MI != MBB.end()) {
1154 if (MI != MBB.end())
1169 DebugLoc DL = MI != MBB.end() ? MI->getDebugLoc() : DebugLoc();
1342 DebugLoc DL = MI != MBB.end() ? MI->getDebugLoc() : DebugLoc();
1491 for (auto &MI : MBB)
1514 for (auto &MI : MBB) {
lib/Target/ARM/ARMHazardRecognizer.cpp 55 if (I != LastMI->getParent()->begin()) {
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) {
570 if (MBBI != MBB.end()) --MBBI;
606 while (LiveRegPos != Before) {
936 for (MachineInstr &MI : FixupRange) {
955 for (MachineInstr &MI : FixupRange) {
1222 while (PrevMBBI->isDebugInstr() && PrevMBBI != BeginMBBI)
1238 while (NextMBBI != EndMBBI && NextMBBI->isDebugInstr())
1313 if (MergeInstr != MBB.end())
1775 for (MachineBasicBlock::iterator I = MBB.end(), MBBI; I != MBB.begin();
1930 if (MBBI != MBB.begin() && MBBI != MBB.end() &&
1930 if (MBBI != MBB.begin() && MBBI != MBB.end() &&
1936 while (PrevI->isDebugInstr() && PrevI != MBB.begin())
2111 while (++I != E) {
2301 while (InsertPos != MBB->end() &&
2398 while (MBBI != E) {
2399 for (; MBBI != E; ++MBBI) {
2467 if (MBBI != E) {
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/MLxExpansionPass.cpp 333 while (MII != E) {
lib/Target/ARM/MVEVPTBlockPass.cpp 144 while (CmpMI != MI->getParent()->begin()) {
lib/Target/ARM/Thumb1FrameLowering.cpp 233 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) {
335 while (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tMOVr)
337 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPUSH) {
473 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
495 if (MBBI != MBB.begin()) {
498 while (MBBI != MBB.begin() && isCSRestore(*MBBI, CSRegs));
539 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tBX_RET &&
619 if (MBBI != MBB.end() && MBBI->getOpcode() != ARM::tB)
664 if (MBBI != MBB.end()) {
667 while (InstUpToMBBI != MBBI)
700 if (!PopReg && MBBI != MBB.begin()) {
749 if (MBBI != MBB.end() && MBBI->getOpcode() == ARM::tPOP_RET) {
945 DebugLoc DL = MI != MBB.end() ? MI->getDebugLoc() : DebugLoc();
973 if (Terminator != MBB.end() && Terminator->getOpcode() == ARM::tBX_RET) {
1055 if (MI != MBB.end())
lib/Target/ARM/Thumb1InstrInfo.cpp 89 if (I != MBB.end()) DL = I->getDebugLoc();
118 if (I != MBB.end()) DL = I->getDebugLoc();
lib/Target/ARM/Thumb2ITBlockPass.cpp 182 while (I != E && I->isDebugInstr())
185 if (I != E) {
199 while (MBBI != E) {
234 for (; MBBI != E && Pos &&
lib/Target/ARM/Thumb2InstrInfo.cpp 83 while (Count && MBBI != E) {
140 if (I != MBB.end()) DL = I->getDebugLoc();
188 if (I != MBB.end()) DL = I->getDebugLoc();
lib/Target/AVR/AVRExpandPseudoInsts.cpp 101 while (MBBI != E) {
lib/Target/AVR/AVRFrameLowering.cpp 57 DebugLoc DL = (MBBI != MBB.end()) ? MBBI->getDebugLoc() : DebugLoc();
108 (MBBI != MBB.end()) && MBBI->getFlag(MachineInstr::FrameSetup) &&
186 while (MBBI != MBB.begin()) {
312 for (auto I = MI, E = MBB.end(); I != E && !I->isCall();) {
461 for (const MachineInstr &MI : BB) {
lib/Target/AVR/AVRInstrInfo.cpp 132 if (MI != MBB.end()) {
165 if (MI != MBB.end()) {
273 while (I != MBB.begin()) {
302 while (std::next(I) != MBB.end()) {
332 if (AllowModify && UnCondBrIter != MBB.end() &&
444 while (I != MBB.begin()) {
lib/Target/AVR/AVRRegisterInfo.cpp 174 if (II != MBB.end())
lib/Target/AVR/AVRRelaxMemOperations.cpp 78 while (MBBI != E) {
lib/Target/BPF/BPFInstrInfo.cpp 130 if (I != MBB.end())
153 if (I != MBB.end())
172 while (I != MBB.begin()) {
195 while (std::next(I) != MBB.end())
247 while (I != MBB.begin()) {
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)
lib/Target/Hexagon/BitTracker.cpp 955 } while (FallsThrough && It != End);
1066 while (It != End && It->isPHI()) {
1080 while (It != End && !It->isBranch()) {
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) {
1590 for (auto I = B.begin(), E = B.end(), NextI = I; I != E;
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) {
3288 DebugLoc DL = (T != C.PB->end()) ? T->getDebugLoc() : DebugLoc();
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/HexagonCFGOptimizer.cpp 126 if (MII != MBB->end()) {
lib/Target/Hexagon/HexagonConstExtenders.cpp 1250 for (MachineInstr &MI : MBB)
1515 for (It = DomB->begin(); It != End; ++It)
1518 assert(It != End && "Should have found a ref in DomB");
lib/Target/Hexagon/HexagonConstPropagation.cpp 731 while (It != End) {
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) {
893 while (It != End && It->isPHI()) {
902 while (It != End && It->isDebugInstr())
906 if (It != End && InstrExec.count(&*It))
910 while (It != End && !It->isBranch()) {
922 if (It != End) {
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)
1035 while (I != E) {
lib/Target/Hexagon/HexagonCopyToCombine.cpp 295 for (; I != End; ++I) {
342 while(++I != End) {
397 for (MachineInstr &MI : BB) {
488 MI != End;) {
528 while (I2 != I1.getParent()->end() && I2->isDebugInstr())
533 for (MachineBasicBlock::iterator End = I1.getParent()->end(); I2 != End;
lib/Target/Hexagon/HexagonEarlyIfConv.cpp 341 for (auto &I : *B)
352 while (I != E) {
369 for (auto &MI : *B) {
435 for (auto &MI : B) {
454 for (const MachineInstr &MI : *B) {
490 for (auto &MI : *B) {
712 if (At != ToB->end())
766 for (I = FromB->begin(); I != End; I = NextI) {
814 for (auto I = WhereB->begin(); I != NonPHI; ++I) {
861 assert(OldTI != FP.SplitB->end());
986 for (I = B->begin(); I != NonPHI; I = NextI) {
lib/Target/Hexagon/HexagonExpandCondsets.cpp 783 } while (I != S);
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) {
1072 for (I = B.begin(), E = B.end(); I != E; I = NextI) {
1268 for (auto &I : B)
lib/Target/Hexagon/HexagonFixupHwLoops.cpp 125 for (const MachineInstr &MI : MBB)
138 while (MII != MIE) {
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)
689 while (It != MBB.end()) {
702 if (!MBB.empty() && InsertPt != MBB.begin()) {
849 for (MachineInstr &I : B) {
1233 DebugLoc DL = MI != MBB.end() ? MI->getDebugLoc() : DebugLoc();
1298 DebugLoc DL = MI != MBB.end() ? MI->getDebugLoc()
1742 for (auto R = B.begin(); R != It; ++R) {
1891 for (auto I = B.begin(), E = B.end(); I != E; I = NextI) {
2063 for (auto &In : B) {
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) {
236 for (MachineBasicBlock::iterator I = B.begin(); I != End; I = NextI) {
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 832 if (InsertPos != PH->end())
1017 MII = MBB->begin(), E = MBB->end(); MII != E; ++MII) {
1242 if (InsertPos != Preheader->end())
1291 if (LastI != LastMBB->end())
lib/Target/Hexagon/HexagonInstrInfo.cpp 562 while (I != MBB.begin()) {
605 if (Term != MBB.end() && isPredicated(*Term) &&
759 if (I != LoopBB->end() && isEndLoopN(I->getOpcode())) {
1011 for (auto I = B.rbegin(); I != E; ++I)
2982 for (auto &I : *B)
3033 while (I != E) {
3602 for (const MachineInstr &I : B) {
lib/Target/Hexagon/HexagonNewValueJump.cpp 181 for (MachineBasicBlock::iterator localBegin = localII; localBegin != end;
303 for (MachineBasicBlock::iterator localII = II; localII != end; ++localII) {
495 MII != E;) {
lib/Target/Hexagon/HexagonPeephole.cpp 130 for (auto I = MBB->begin(), E = MBB->end(), NextI = I; I != E; I = NextI) {
lib/Target/Hexagon/HexagonSplitConst32AndConst64.cpp 73 for (auto I = B.begin(), E = B.end(); I != E; ) {
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) {
505 assert((InsertAt != MBB->end()) && "Cannot locate any store from the group");
513 if (InsertAt != MBB->begin())
lib/Target/Hexagon/HexagonVExtract.cpp 110 for (MachineInstr &MI : MBB) {
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp 234 while (MI != End) {
247 while (Begin != End) {
251 while (RB != End && HII->isSchedulingBoundary(*RB, &MB, MF))
256 while (RE != End && !HII->isSchedulingBoundary(*RE, &MB, MF))
259 if (RE != End)
262 if (RB != End)
1349 if (NextMII != I.getParent()->end() && HII->isNewValueJump(*NextMII)) {
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/LanaiAsmPrinter.cpp 233 while (I != Pred->begin() && !(--I)->isTerminator()) {
lib/Target/Lanai/LanaiFrameLowering.cpp 71 while (MBBI != MBB->end()) {
lib/Target/Lanai/LanaiInstrInfo.cpp 55 if (Position != MBB.end()) {
75 if (Position != MBB.end()) {
320 for (--I; I != E; --I) {
355 while (!isSafe && ++I != E) {
572 while (Instruction != MBB.begin()) {
597 while (std::next(Instruction) != MBB.end()) {
699 while (Instruction != MBB.begin()) {
lib/Target/Lanai/LanaiMemAluCombiner.cpp 338 while (First != Last) {
353 if (First != Last) {
368 while (MBBIter != End) {
384 if (AluIter != MBBIter) {
lib/Target/MSP430/MSP430BranchSelector.cpp 98 for (MachineInstr &MI : MBB) {
120 for (auto MI = MBB->begin(), EE = MBB->end(); MI != EE; ++MI) {
146 if (MI->getOpcode() == MSP430::JCC && std::next(MI) != EE) {
lib/Target/MSP430/MSP430FrameLowering.cpp 49 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
82 while (MBBI != MBB.end() && (MBBI->getOpcode() == MSP430::PUSH16r))
85 if (MBBI != MBB.end())
140 while (MBBI != MBB.begin()) {
188 if (MI != MBB.end()) DL = MI->getDebugLoc();
214 if (MI != MBB.end()) DL = MI->getDebugLoc();
lib/Target/MSP430/MSP430InstrInfo.cpp 42 if (MI != MBB.end()) DL = MI->getDebugLoc();
69 if (MI != MBB.end()) DL = MI->getDebugLoc();
113 while (I != MBB.begin()) {
183 while (I != MBB.begin()) {
211 while (std::next(I) != MBB.end())
lib/Target/Mips/Mips16FrameLowering.cpp 97 DebugLoc dl = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
lib/Target/Mips/Mips16InstrInfo.cpp 117 if (I != MBB.end()) DL = I->getDebugLoc();
135 if (I != MBB.end()) DL = I->getDebugLoc();
247 DebugLoc DL = I != MBB.end() ? I->getDebugLoc() : DebugLoc();
lib/Target/Mips/MipsAsmPrinter.cpp 508 while (I != Pred->begin() && !(--I)->isTerminator()) ;
lib/Target/Mips/MipsBranchExpansion.cpp 239 for (; B != E; ++B)
740 for (Iter I = FI->begin(); I != FI->end(); ++I) {
792 if ((Br != End) && Br->isBranch() && !Br->isIndirectBranch() &&
lib/Target/Mips/MipsConstantIslandPass.cpp 658 for (MachineInstr &MI : MBB) {
794 for (const MachineInstr &MI : *MBB)
811 assert(I != MBB->end() && "Didn't find MI in its own basic block?");
1285 assert(MI != UserMBB->end() && "Fell off end of block");
lib/Target/Mips/MipsDelaySlotFiller.cpp 603 for (Iter I = MBB.begin(); I != MBB.end(); ++I) {
680 for (IterTy I = Begin; I != End;) {
lib/Target/Mips/MipsExpandPseudo.cpp 673 while (MBBI != E) {
lib/Target/Mips/MipsInstrInfo.cpp 163 while (I != REnd && removed < 2) {
197 while (I != REnd && I->isDebugInstr())
222 while (I != REnd && I->isDebugInstr())
225 if (I != REnd) {
249 if (++I != REnd && isUnpredicatedTerminator(*I))
lib/Target/Mips/MipsOptimizePICCall.cpp 232 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;
lib/Target/Mips/MipsSEFrameLowering.cpp 108 for (Iter I = MBB.begin(), End = MBB.end(); I != End;)
564 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
699 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
751 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 160 for (auto &MI: MBB) {
lib/Target/Mips/MipsSEInstrInfo.cpp 328 if (I != MBB.end()) DL = I->getDebugLoc();
lib/Target/NVPTX/NVPTXInstrInfo.cpp 127 if (I != MBB.begin() && isUnpredicatedTerminator(*--I))
lib/Target/NVPTX/NVPTXPeephole.cpp 136 while (BlockIter != MBB.end()) {
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/PPCBranchCoalescing.cpp 244 for (auto &I : Cand.BranchBlock->terminators()) {
400 for (MachineBasicBlock::iterator Iter = MI; Iter != ME; Iter++) {
538 I != E; ++I) {
563 I != E; ++I) {
684 while (I != SourceRegion.BranchBlock->terminators().end()) {
lib/Target/PowerPC/PPCBranchSelector.cpp 137 for (MachineInstr &MI : *MBB) {
302 I != E; ++I) {
lib/Target/PowerPC/PPCCTRLoops.cpp 154 if (I != BI && clobbersCTR(*I)) {
209 MIIE = MBB->end(); MII != MIIE; ++MII) {
lib/Target/PowerPC/PPCEarlyReturn.cpp 61 I != ReturnMBB.getLastNonDebugInstr())
lib/Target/PowerPC/PPCExpandISEL.cpp 160 for (MachineInstr &MI : MBB)
338 NewSuccessor = (MBBI != MBB->getLastNonDebugInstr() || !MBB->canFallThrough())
395 for (MachineInstr &MI : *MBB)
lib/Target/PowerPC/PPCFrameLowering.cpp 300 assert(MBBI != Entry->end() && MBBI->getOpcode() == PPC::MTVRSAVE);
310 for (MBBI = I->end(); MBBI != I->begin(); ) {
326 assert(MBBI != Entry->begin() && "UPDATE_VRSAVE is first instr in block?");
570 for (MachineBasicBlock::iterator MBBI = BI->end(); MBBI != BI->begin(); ) {
647 if (MBBI != MBB->begin())
800 for (unsigned i = 0; MBBI != MBB.end(); ++i, ++MBBI) {
1376 if (MBBI != MBB.end())
1463 bool IsReturnBlock = (MBBI != MBB.end() && MBBI->isReturn());
1728 assert(MBBI != MBB.end() && "Failed to find the first terminator.");
2420 assert(I != MBB.begin() &&
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 418 while (I2 != BB->begin() && (--I2)->isTerminator())
lib/Target/PowerPC/PPCISelLowering.cpp14197 for (auto J = (*I)->begin(), JE = (*I)->end(); J != JE; ++J) {
lib/Target/PowerPC/PPCInstrInfo.cpp 590 if (I != MBB.begin() && isUnpredicatedTerminator(*--I))
1285 if (MI != MBB.end()) DL = MI->getDebugLoc();
1394 I != IE; ++I)
1721 for (MachineBasicBlock::iterator EL = CmpInstr.getParent()->end(); I != EL;
1800 for (; I != E && !noSub; --I) {
2331 for (; It != E; ++It) {
2494 for (; It != E; ++It) {
2604 for (auto It = ++Start; It != End; It++)
3524 for (; It != E; ++It) {
4236 if (I != LoopBB->end() && isBDNZ(I->getOpcode())) {
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) {
230 for (It++; It != Er; It++) {
254 for (; It != Er; It++) {
lib/Target/PowerPC/PPCQPXLoadSplat.cpp 68 for (auto MBBI = MBB->rbegin(); MBBI != MBB->rend(); ++MBBI) {
lib/Target/PowerPC/PPCReduceCRLogicals.cpp 559 while (Me != B)
643 for (auto E = CRI.MI->getParent()->end(); Def2It != E; ++Def2It) {
675 if (FirstInstrToMove != SecondInstrToMove)
712 for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCRegisterInfo.cpp 752 for (Ins = MI; Ins != MBB.rend(); Ins++) {
1227 if (Ins != MBB->end())
lib/Target/PowerPC/PPCTLSDynamicCall.cpp 54 I != IE;) {
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) {
162 J != JE; --J) {
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp 245 for (MachineInstr &MI : MBB) {
lib/Target/RISCV/RISCVExpandPseudoInsts.cpp 89 while (MBBI != E) {
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/RISCVInstrInfo.cpp 116 if (I != MBB.end())
143 if (I != MBB.end())
250 for (auto J = I.getReverse(); J != MBB.rend() && isUnpredicatedTerminator(*J);
261 if (AllowModify && FirstUncondOrIndirectBr != MBB.end()) {
262 while (std::next(FirstUncondOrIndirectBr) != MBB.end()) {
lib/Target/RISCV/RISCVMergeBaseOffset.cpp 266 for (MachineInstr &HiLUI : MBB) {
lib/Target/Sparc/DelaySlotFiller.cpp 111 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ) {
154 assert (J != MBB.end() && "MI needs a delay instruction.");
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/Sparc/SparcInstrInfo.cpp 212 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I))
279 while (I != MBB.begin()) {
400 if (I != MBB.end()) DL = I->getDebugLoc();
439 if (I != MBB.end()) DL = I->getDebugLoc();
lib/Target/SystemZ/SystemZElimCompare.cpp 226 for (++MBBI; MBBI != MBBE; ++MBBI)
270 for (++MBBI; MBBI != MBBE; ++MBBI)
387 for (++MBBI; MBBI != MBBE; ++MBBI)
396 for (++MBBI; MBBI != MBBE; ++MBBI)
435 MBBE = MBB.rend(); MBBI != MBBE;) {
471 MBBI != MBBE;) {
529 for (++MBBI; MBBI != MBBE; ++MBBI)
581 for (++MBBI; MBBI != MBBE; ++MBBI) {
601 while (MBBI != MBB.begin()) {
lib/Target/SystemZ/SystemZFrameLowering.cpp 236 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
363 if (MBBI != MBB.end() && MBBI->getOpcode() == SystemZ::STMG)
440 if (MBBI != MBB.end() &&
447 if (MBBI != MBB.end() &&
lib/Target/SystemZ/SystemZISelLowering.cpp 6525 for (MachineBasicBlock::iterator miE = MBB->end(); miI != miE; ++miI) {
6637 NextMIIt != MBB->end(); ++NextMIIt) {
lib/Target/SystemZ/SystemZInstrInfo.cpp 363 while (I != MBB.begin()) {
395 while (std::next(I) != MBB.end())
453 while (I != MBB.begin()) {
875 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
890 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
1735 DebugLoc DL = MBBI != MBB.end() ? MBBI->getDebugLoc() : DebugLoc();
lib/Target/SystemZ/SystemZLDCleanup.cpp 93 for (auto I = BB->begin(), E = BB->end(); I != E; ++I) {
lib/Target/SystemZ/SystemZLongBranch.cpp 289 while (MI != End && !MI->isTerminator()) {
296 while (MI != End) {
lib/Target/SystemZ/SystemZMachineScheduler.cpp 67 for (; I != NextBegin; ++I) {
109 I != SinglePredMBB->end(); I++) {
lib/Target/SystemZ/SystemZPostRewrite.cpp 173 for (auto I = std::prev(MBB.end()); I != MBBI; --I)
254 while (MBBI != E) {
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())
140 while (InsertPos != MBB->begin()) {
144 for (auto Pos = InsertPos, E = MBB->begin(); Pos != E; --Pos)
164 while (InsertPos != MBB->end()) {
168 for (auto Pos = InsertPos, E = MBB->end(); Pos != E; ++Pos)
266 for (const auto &MI : *Header) {
300 for (auto I = Header->getFirstTerminator(), E = Header->begin(); I != E;
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)) {
565 for (auto I = SearchStartPt, E = Header->begin(); I != E; --I) {
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 206 I != E;) {
228 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E;) {
385 for (const MachineInstr &MI : MBB) {
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp 453 for (MachineInstr &Term : Pred->terminators())
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp 167 while (InsertPt != MBB.end() &&
235 if (InsertPt != MBB.end())
lib/Target/WebAssembly/WebAssemblyInstrInfo.cpp 114 for (MachineInstr &MI : MBB.terminators()) {
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 188 for (auto &MI : MBB) {
242 for (auto &MI : MBB) {
260 for (auto &MI : MBB) {
lib/Target/WebAssembly/WebAssemblyLowerBrUnless.cpp 66 for (auto MII = MBB.begin(); MII != MBB.end();) {
lib/Target/WebAssembly/WebAssemblyMemIntrinsicResults.cpp 200 for (auto &MI : MBB)
lib/Target/WebAssembly/WebAssemblyOptimizeLiveIntervals.cpp 96 for (auto MII = MF.begin()->begin(), MIE = MF.begin()->end(); MII != MIE;) {
lib/Target/WebAssembly/WebAssemblyPeephole.cpp 148 for (auto &MI : MBB)
lib/Target/WebAssembly/WebAssemblyPrepareForLiveIntervals.cpp 115 for (auto MII = Entry.begin(), MIE = Entry.end(); MII != MIE;) {
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)
374 for (--I; I != D; --I) {
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/X86AvoidTrailingCall.cpp 82 if (LastRealInstr != RMBB.rend())
lib/Target/X86/X86CallFrameOptimization.cpp 170 for (MachineInstr &MI : BB) {
258 for (auto &MI : MBB)
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) {
708 for (MachineBasicBlock::iterator MIIt = MIItBegin; MIIt != MIItEnd;) {
812 for (MachineBasicBlock::iterator MIIt = MIItBegin; MIIt != MIItEnd; ++MIIt) {
lib/Target/X86/X86CondBrFolding.cpp 499 while (I != MBB.begin()) {
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/X86ExpandPseudo.cpp 388 while (MBBI != E) {
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)
281 while (Found && I != CurInst) {
465 if (MBI != MachineBasicBlock::iterator()) {
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) {
439 if (I != BB.begin())
486 while (Start != BB.begin() && std::prev(Start) != PrevI)
486 while (Start != BB.begin() && std::prev(Start) != PrevI)
490 while (++Start != std::next(I)) {
912 if (Kills && I != MBB->begin()) {
1690 I != E; ++I) {
lib/Target/X86/X86FrameLowering.cpp 214 for (const MachineInstr &MI : MBB.terminators()) {
415 if (doMergeWithPrevious && PI != MBB.begin() && PI->isCFIInstruction())
443 if (PI != MBB.end() && PI->isCFIInstruction()) PI = MBB.erase(PI);
505 for (MachineInstr &MI : PrologMBB) {
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)
1183 while (MBBI != MBB.end() &&
1384 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup)) {
1597 if (MBBI != MBB.end())
1655 while (MBBI != MBB.begin()) {
1673 if (MBBI != MBB.end())
1736 while (MBBI != MBB.end()) {
2173 if (MI != MBB.end() && isFuncletReturnInstr(*MI) && STI.isOSWindows()) {
2619 for (auto &MI : MBB) {
2897 while (CI != B && !std::prev(CI)->isCall())
3118 for (auto &MI : MBB) {
3218 while (MBBI != MBB.end() && MBBI->getFlag(MachineInstr::FrameSetup))
lib/Target/X86/X86ISelLowering.cpp29597 for (MachineBasicBlock::iterator miE = BB->end(); miI != miE; ++miI) {
29683 for (MachineBasicBlock::iterator MIIt = MIItBegin; MIIt != MIItEnd; ++MIIt) {
29935 while (NextMIIt != ThisMBB->end() && isCMOVPseudo(*NextMIIt) &&
29946 if (LastCMOV == &MI && NextMIIt != ThisMBB->end() &&
29975 while (DbgIt != DbgEnd) {
30951 for (const auto &MI : MBB) {
31131 for (auto &II : reverse(*MBB)) {
31391 while (RMBBI != BB->rend() && (RMBBI->definesRegister(X86::EAX) ||
lib/Target/X86/X86IndirectBranchTracking.cpp 130 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) {
lib/Target/X86/X86InstrInfo.cpp 157 for (auto E = MBB->end(); I != E; ++I) {
2443 while (I != MBB.begin()) {
2511 while (I != MBB.begin()) {
2536 while (std::next(I) != MBB.end())
2569 if (AllowModify && UnCondBrIter != MBB.end() &&
2701 for (auto I = std::next(MBB.rbegin()), E = MBB.rend(); I != E; ++I) {
2753 while (I != MBB.begin()) {
3662 for (; RI != RE; ++RI) {
3704 for (++I; I != E; ++I) {
3800 for (; InsertI != InsertE; ++InsertI) {
7871 for (MachineBasicBlock::iterator I = BB->begin(), E = BB->end(); I != E;
lib/Target/X86/X86MCInstLower.cpp 2092 MBBI != MachineBasicBlock::const_iterator();
lib/Target/X86/X86OptimizeLEAs.cpp 474 for (auto &MI : MBB) {
497 for (auto I = MBB->begin(), E = MBB->end(); I != E;) {
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) {
334 if (BBState.FirstUnguardedCall != MBB.end())
lib/Target/X86/X86WinAllocaExpander.cpp 154 for (MachineInstr &MI : *MBB) {
lib/Target/XCore/XCoreFrameLowering.cpp 429 if (MI != MBB.end() && !MI->isDebugInstr())
470 assert(MI != MBB.begin() &&
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp 55 MBBI != EE; ++MBBI) {
lib/Target/XCore/XCoreInstrInfo.cpp 229 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I))
366 if (I != MBB.end() && !I->isDebugInstr())
388 if (I != MBB.end() && !I->isDebugInstr())
431 if (MI != MBB.end() && !MI->isDebugInstr())
unittests/CodeGen/GlobalISel/GISelMITest.h 130 for (MachineInstr &MI : MBB) {
unittests/MI/LiveIntervalTest.cpp 108 for (MachineInstr &MI : MBB) {
usr/include/c++/7.4.0/bits/stl_algo.h 104 while (__first != __last && !__pred(__first))
3193 for (; __first != __last; ++__first)
3883 for (; __first != __last; ++__first)
usr/include/c++/7.4.0/bits/stl_iterator_base_funcs.h 87 while (__first != __last)
usr/include/c++/7.4.0/bits/stl_numeric.h 153 for (; __first != __last; ++__first)