|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/GlobalISel/RegBankSelect.h 248 return Beginning ? MBB.begin() : MBB.end();
258 assert((!Beginning || MBB.getFirstNonPHI() == MBB.begin()) &&
294 return DstOrSplit->begin();
include/llvm/CodeGen/MachineBasicBlock.h 245 return make_range(begin(), getFirstNonPHI());
928 : MBB(*BB), I(I), B(I == MBB.begin() ? MBB.end() : std::prev(I)),
934 return B == MBB.end() ? MBB.begin() : std::next(B);
include/llvm/CodeGen/RegisterScavenging.h 88 if (!Tracking && MBB->begin() != I) forward();
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 1055 for (auto &MI : MBB) {
lib/CodeGen/BranchFolding.cpp 166 std::for_each(MBB->begin(), MBB->end(), [MF](const MachineInstr &MI) {
320 while (I1 != MBB1->begin() && I2 != MBB2->begin()) {
320 while (I1 != MBB1->begin() && I2 != MBB2->begin()) {
324 if (I1==MBB1->begin()) {
326 if (I2==MBB2->begin()) {
340 if (I2==MBB2->begin()) {
364 if (I1 == MBB1->begin() && I2 != MBB2->begin()) {
364 if (I1 == MBB1->begin() && I2 != MBB2->begin()) {
367 if (I2 == MBB2->begin())
373 if (I2 == MBB2->begin() && I1 != MBB1->begin()) {
373 if (I2 == MBB2->begin() && I1 != MBB1->begin()) {
376 if (I1 == MBB1->begin())
599 if (I == MBB->begin()) {
680 if (I1 == MBB1->begin() && I2 == MBB2->begin() &&
680 if (I1 == MBB1->begin() && I2 == MBB2->begin() &&
688 if (MBB1->isLayoutSuccessor(MBB2) && I2 == MBB2->begin())
690 if (MBB2->isLayoutSuccessor(MBB1) && I1 == MBB1->begin())
697 if (AfterPlacement && I1 == MBB1->begin() && I2 == MBB2->begin()) {
697 if (AfterPlacement && I1 == MBB1->begin() && I2 == MBB2->begin()) {
731 (I1 == MBB1->begin() || I2 == MBB2->begin());
731 (I1 == MBB1->begin() || I2 == MBB2->begin());
803 unsigned t = EstimateRuntime(SameTails[i].getBlock()->begin(),
830 SameTails[commonTailIndex].setTailStartPos(newMBB->begin());
898 assert(SameTails[i].getTailStartPos() == MBB->begin() &&
903 for (auto &MI : *MBB) {
1358 auto InsertBefore = SuccMBB.SkipPHIsAndLabels(SuccMBB.begin());
1481 if (PrevBB.begin() != PrevBB.end()) {
1484 MachineBasicBlock::iterator MBBIter = MBB->begin();
1487 while (PrevBBIter != PrevBB.begin() && MBBIter != MBB->end()
1496 PrevBB.splice(PrevBB.end(), MBB, MBB->begin(), MBB->end());
1661 MBB->erase(MBB->begin(), MBB->end());
1905 if (Loc == MBB->begin())
1911 skipDebugInstructionsBackward(std::prev(Loc), MBB->begin());
1994 MachineBasicBlock::iterator TIB = TBB->begin();
1995 MachineBasicBlock::iterator FIB = FBB->begin();
2104 MBB->splice(Loc, TBB, TBB->begin(), TIB);
2105 FBB->erase(FBB->begin(), FIB);
lib/CodeGen/BranchFolding.h 108 return TailStartPos == getBlock()->begin();
lib/CodeGen/BreakFalseDeps.cpp 256 for (MachineInstr &MI : *MBB) {
lib/CodeGen/CFGuardLongjmp.cpp 75 for (MachineInstr &MI : MBB) {
lib/CodeGen/CFIInstrInserter.cpp 166 for (MachineInstr &MI : *MBBInfo.MBB) {
255 auto MBBI = MBBInfo.MBB->begin();
lib/CodeGen/DetectDeadLanes.cpp 535 for (MachineInstr &MI : MBB) {
lib/CodeGen/EarlyIfConversion.cpp 211 for (MachineBasicBlock::iterator I = MBB->begin(),
305 for (MachineBasicBlock::iterator I = MBB->begin(),
342 for (MachineBasicBlock::iterator I = MBB->begin(),
368 MachineBasicBlock::iterator B = Head->begin();
507 for (MachineBasicBlock::iterator I = Tail->begin(), E = Tail->end();
637 Head->splice(InsertionPoint, TBB, TBB->begin(), TBB->getFirstTerminator());
642 Head->splice(InsertionPoint, FBB, FBB->begin(), FBB->getFirstTerminator());
681 Tail->begin(), Tail->end());
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 192 for (MachineBasicBlock::iterator mi = mbbi->begin(), me = mbbi->end();
lib/CodeGen/FEntryInserter.cpp 44 BuildMI(FirstMBB, FirstMBB.begin(), DebugLoc(),
lib/CodeGen/FinalizeISel.cpp 54 for (MachineBasicBlock::iterator MBBI = MBB->begin(), MBBE = MBB->end();
66 MBBI = NewMBB->begin();
lib/CodeGen/GCRootLowering.cpp 276 for (MachineBasicBlock::iterator MI = MBB.begin(), ME = MBB.end();
lib/CodeGen/GlobalISel/CSEInfo.cpp 235 for (MachineInstr &MI : MBB) {
lib/CodeGen/GlobalISel/CombinerHelper.cpp 539 MachineBasicBlock::const_iterator I = DefMI.getParent()->begin();
756 if (BrIt == MBB->begin())
lib/CodeGen/GlobalISel/IRTranslator.cpp 2387 NewEntryBB.splice(NewEntryBB.begin(), EntryBB, EntryBB->begin(),
2387 NewEntryBB.splice(NewEntryBB.begin(), EntryBB, EntryBB->begin(),
lib/CodeGen/GlobalISel/InstructionSelect.cpp 110 for (auto MII = std::prev(MBB->end()), Begin = MBB->begin();
144 auto InsertedBegin = ReachedBegin ? MBB->begin() : std::next(MII);
159 for (auto MII = std::prev(MBB.end()), Begin = MBB.begin(); !ReachedBegin;) {
lib/CodeGen/GlobalISel/Legalizer.cpp 167 for (MachineInstr &MI : *MBB) {
lib/CodeGen/GlobalISel/Localizer.cpp 150 InsertMBB->insert(InsertMBB->SkipPHIsAndLabels(InsertMBB->begin()),
lib/CodeGen/GlobalISel/RegBankSelect.cpp 684 for (MachineBasicBlock::iterator MII = MBB->begin(), End = MBB->end();
763 for (auto Begin = Pred.begin(); It != Begin && It->isTerminator(); --It)
794 addInsertPoint(*MI.getParent()->begin(), true);
lib/CodeGen/IfConversion.cpp 293 MachineBasicBlock::iterator TIB = TBBInfo.BB->begin();
294 MachineBasicBlock::iterator FIB = FBBInfo.BB->begin();
308 for (auto &I : make_range(TBBInfo.BB->begin(), TIB)) {
312 for (auto &I : make_range(FBBInfo.BB->begin(), FIB)) {
933 MachineBasicBlock::iterator TIB = TrueBBI.BB->begin();
934 MachineBasicBlock::iterator FIB = FalseBBI.BB->begin();
992 MachineBasicBlock::iterator TIB = TrueBBI.BB->begin();
993 MachineBasicBlock::iterator FIB = FalseBBI.BB->begin();
1232 MachineBasicBlock::iterator Begin = BBI.BB->begin();
1858 for (const MachineInstr &MI : make_range(MBB1.begin(), DI1)) {
1864 BBI.BB->splice(BBI.BB->end(), &MBB1, MBB1.begin(), DI1);
1865 MBB2.erase(MBB2.begin(), DI2);
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)) {
2134 for (MachineInstr &I : make_range(BBI.BB->begin(), E)) {
2177 for (MachineInstr &I : FromMBB) {
2246 ToBBI.BB->splice(ToTI, &FromMBB, FromMBB.begin(), FromTI);
lib/CodeGen/ImplicitNullChecks.cpp 584 for (auto &MI : *NotNullSucc) {
lib/CodeGen/InlineSpiller.cpp 404 MII = MBB->SkipPHIsLabelsAndDebug(MBB->begin());
lib/CodeGen/LexicalScopes.cpp 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 686 for (MachineBasicBlock::iterator MBBI = MBB->begin(), MBBE = MBB->end();
697 MBBI == MBB->begin()
973 for (auto MBBI = MBB.begin(), MBBE = MBB.end(); MBBI != MBBE; ) {
1248 MachineBasicBlock::iterator I = MBB->SkipPHIsLabelsAndDebug(MBB->begin());
lib/CodeGen/LiveIntervals.cpp 1434 MachineBasicBlock::iterator Begin = MBB->begin();
1582 while (Begin != MBB->begin() && !Indexes->hasIndex(*Begin))
lib/CodeGen/LiveRangeShrink.cpp 126 BuildInstOrderMap(MBB.begin(), IOM);
129 for (MachineBasicBlock::iterator Next = MBB.begin(); Next != MBB.end();) {
lib/CodeGen/LiveVariables.cpp 576 for (MachineInstr &MI : *MBB) {
770 MachineBasicBlock::iterator BBI = SuccBB->begin(), BBE = SuccBB->end();
lib/CodeGen/LocalStackSlotAllocation.cpp 304 for (MachineInstr &MI : BB) {
lib/CodeGen/MIRCanonicalizerPass.cpp 158 for (auto &MI : *MBB) {
301 [&]() -> MachineBasicBlock::iterator { return MBB->begin(); });
356 for (auto &MI : *MBB) {
425 auto MII = MBB->begin();
lib/CodeGen/MIRVRegNamerUtils.cpp 55 for (auto II = MBB->begin(), IE = MBB->end(); II != IE; ++II) {
lib/CodeGen/MachineBasicBlock.cpp 201 iterator B = begin(), E = end(), I = E;
220 return skipDebugInstructionsForward(begin(), end());
501 iterator I = SkipPHIsAndLabels(begin()), E = end();
lib/CodeGen/MachineCSE.cpp 516 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E; ) {
794 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
lib/CodeGen/MachineCombiner.cpp 500 auto BlockIter = MBB->begin();
lib/CodeGen/MachineCopyPropagation.cpp 464 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E; ) {
lib/CodeGen/MachineLICM.cpp 517 for (MachineInstr &MI : *BB)
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) {
79 for (auto I = NewBB->begin(); I->isPHI(); ++I) {
lib/CodeGen/MachineOutliner.cpp 747 MachineBasicBlock::iterator It = MBB.begin();
986 MBB->findDebugLoc(MBB->begin()), MBB);
lib/CodeGen/MachinePipeliner.cpp 352 for (MachineInstr &PI : make_range(B.begin(), B.getFirstNonPHI())) {
401 SMS.enterRegion(MBB, MBB->begin(), MBB->getFirstTerminator(), size);
lib/CodeGen/MachineRegisterInfo.cpp 486 BuildMI(*EntryMBB, EntryMBB->begin(), DebugLoc(),
lib/CodeGen/MachineSSAUpdater.cpp 88 MachineBasicBlock::iterator I = BB->begin();
188 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin();
305 MachineBasicBlock::iterator Loc = BB->empty() ? BB->end() : BB->begin();
lib/CodeGen/MachineScheduler.cpp 475 RegionEnd != MBB->begin(); RegionEnd = I) {
487 for (;I != MBB->begin(); --I) {
lib/CodeGen/MachineSink.cpp 376 ProcessedBegin = I == MBB.begin();
946 MachineBasicBlock::iterator InsertPos = SuccToSinkTo->begin();
lib/CodeGen/ModuloSchedule.cpp 183 for (auto &I : *BB)
290 for (auto &BBI : *BB) {
822 for (auto &I : *Epilog)
833 for (MachineInstr &MI : *BB) {
1221 for (auto I = MBB->begin(); I != MBB->getFirstNonPHI();) {
1316 for (MachineInstr &MI : *BB) {
1575 for (auto I = BB->begin(), NI = NewBB->begin(); !I->isTerminator();
1575 for (auto I = BB->begin(), NI = NewBB->begin(); !I->isTerminator();
1869 auto OI = ExpandedKernel->begin();
1870 auto NI = BB->begin();
1992 for (MachineInstr &MI : *BB) {
lib/CodeGen/OptimizePHIs.cpp 169 MII = MBB.begin(), E = MBB.end(); MII != E; ) {
lib/CodeGen/PHIElimination.cpp 211 std::prev(MBB.SkipPHIsAndLabels(MBB.begin()));
247 MachineInstr *MPhi = MBB.remove(&*MBB.begin());
456 while (KillInst != opBlock.begin()) {
516 while (KillInst != opBlock.begin()) {
572 for (MachineBasicBlock::iterator BBI = MBB.begin(), BBE = MBB.end();
lib/CodeGen/PHIEliminationUtils.cpp 25 return MBB->begin();
44 InsertPoint = MBB->begin();
lib/CodeGen/PatchableFunction.cpp 67 MachineBasicBlock::iterator FirstActualI = FirstMBB.begin();
lib/CodeGen/PeepholeOptimizer.cpp 1638 for (MachineBasicBlock::iterator MII = MBB.begin(), MIE = MBB.end();
lib/CodeGen/PostRAHazardRecognizer.cpp 81 for (MachineInstr &MI : MBB) {
lib/CodeGen/PostRASchedulerList.cpp 336 for (MachineBasicBlock::iterator I = Current; I != MBB.begin();) {
357 assert((MBB.begin() == Current || CurrentCount != 0) &&
359 Scheduler.enterRegion(&MBB, MBB.begin(), Current, CurrentCount);
lib/CodeGen/PrologEpilogInserter.cpp 182 for (auto &MI : MBB) {
259 I.first->insert(I.first->begin(), I.second.begin(), I.second.end());
316 for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ++I)
540 MachineBasicBlock::iterator I = SaveBlock.begin();
580 assert(I != RestoreBlock.begin() &&
1187 for (MachineBasicBlock::iterator I = BB->begin(); I != BB->end(); ) {
1269 bool AtBeginning = (I == BB->begin());
1280 I = BB->begin();
lib/CodeGen/ReachingDefAnalysis.cpp 127 for (MachineInstr &MI : *TraversedMBB.MBB) {
lib/CodeGen/RegAllocFast.cpp 1252 MachineBasicBlock::iterator MII = MBB.begin();
1263 for (MachineInstr &MI : MBB) {
lib/CodeGen/RegAllocGreedy.cpp 3169 for (MachineInstr &MI : *MBB) {
lib/CodeGen/RegUsageInfoPropagate.cpp 116 for (MachineInstr &MI : MBB) {
lib/CodeGen/RegisterCoalescer.cpp 2868 MachineBasicBlock::iterator MI = MBB->begin();
3583 for (MachineBasicBlock::iterator MII = MBB->begin(), E = MBB->end();
3606 for (MachineInstr &MII : *MBB)
lib/CodeGen/RegisterScavenging.cpp 93 if (MBB.begin() != MBB.end()) {
168 if (MBBI == MBB->begin()) {
178 MBBI = MBB->begin();
274 if (MBBI == MBB->begin()) {
442 if (I == MBB.begin())
685 for (MachineBasicBlock::iterator I = MBB.end(); I != MBB.begin(); ) {
lib/CodeGen/SelectionDAG/FastISel.cpp 234 for (MachineInstr &I : *MBB) {
576 if (FuncInfo.InsertPt != FuncInfo.MBB->begin())
2270 MachineBasicBlock::iterator MBBI = SuccMBB->begin();
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp 842 if (I == BB->begin())
lib/CodeGen/SelectionDAG/SelectionDAGBuilder.cpp 9944 MachineBasicBlock::iterator MBBI = SuccMBB->begin();
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 576 EntryMBB->insert(EntryMBB->begin(), MI);
1354 FuncInfo->InsertPt = FuncInfo->MBB->begin();
1385 if (FuncInfo->InsertPt != FuncInfo->MBB->begin())
1678 if (SplitPoint == BB->begin())
1681 MachineBasicBlock::iterator Start = BB->begin();
1935 MBBI = FuncInfo->MBB->begin(), MBBE = FuncInfo->MBB->end();
lib/CodeGen/ShrinkWrap.cpp 512 for (const MachineInstr &MI : MBB) {
lib/CodeGen/SlotIndexes.cpp 74 for (MachineInstr &MI : MBB) {
174 while (Begin != MBB->begin() && !hasIndex(*Begin))
179 bool includeStart = (Begin == MBB->begin());
lib/CodeGen/SplitKit.cpp 821 MBB.SkipPHIsLabelsAndDebug(MBB.begin()));
861 do AtBegin = MBBI == MBB->begin();
lib/CodeGen/SplitKit.h 84 MachineBasicBlock::iterator MII = MBB.SkipPHIsLabelsAndDebug(MBB.begin());
lib/CodeGen/StackColoring.cpp 653 for (MachineInstr &MI : *MBB) {
722 for (MachineInstr &MI : *MBB) {
963 for (MachineInstr &I : BB) {
1079 for (MachineInstr &I : BB) {
lib/CodeGen/StackSlotColoring.cpp 162 for (MachineBasicBlock::iterator MII = MBB->begin(), EE = MBB->end();
375 for (MachineInstr &MI : MBB)
429 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end();
lib/CodeGen/TailDuplicator.cpp 100 MachineBasicBlock::iterator MI = MBB->begin();
376 BuildMI(*PredBB, PredBB->end(), PredBB->findDebugLoc(PredBB->begin()),
465 for (MachineInstr &MI : *SuccBB) {
593 for (MachineInstr &MI : TailBB) {
638 for (auto &I : *SB) {
676 if (SuccsB.count(BB) && !BB->empty() && BB->begin()->isPHI())
843 for (MachineBasicBlock::iterator I = TailBB->begin(), E = TailBB->end();
899 MachineBasicBlock::iterator I = TailBB->begin();
921 PrevBB->splice(PrevBB->end(), TailBB, TailBB->begin(), TailBB->end());
962 MachineBasicBlock::iterator I = TailBB->begin();
lib/CodeGen/TwoAddressInstructionPass.cpp 989 while (Begin != MBB->begin() && std::prev(Begin)->isDebugInstr())
1165 while (InsertPos != MBB->begin() && std::prev(InsertPos)->isDebugInstr())
1703 for (MachineBasicBlock::iterator mi = MBB->begin(), me = MBB->end();
lib/CodeGen/UnreachableBlockElim.cpp 132 MachineBasicBlock::iterator start = succ->begin();
165 MachineBasicBlock::iterator phi = BB->begin();
lib/CodeGen/XRayInstrumentation.cpp 195 auto &FirstMI = *FirstMBB.begin();
lib/Target/AArch64/AArch64A53Fix835769.cpp 207 for (auto &MI : MBB) {
lib/Target/AArch64/AArch64A57FPLoadBalancing.cpp 343 for (auto &MI : MBB)
lib/Target/AArch64/AArch64AdvSIMDScalarPass.cpp 380 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
lib/Target/AArch64/AArch64BranchTargets.cpp 119 auto MBBI = MBB.begin();
126 BuildMI(MBB, MBB.begin(), MBB.findDebugLoc(MBB.begin()),
126 BuildMI(MBB, MBB.begin(), MBB.findDebugLoc(MBB.begin()),
lib/Target/AArch64/AArch64CallLowering.cpp 438 MIRBuilder.setInstr(*MBB.begin());
lib/Target/AArch64/AArch64CleanupLocalDynamicTLSPass.cpp 67 for (MachineBasicBlock::iterator I = BB->begin(), E = BB->end(); I != E;
lib/Target/AArch64/AArch64CompressJumpTables.cpp 68 for (const MachineInstr &MI : MBB)
151 for (MachineInstr &MI : MBB) {
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())) {
647 Head->splice(Head->end(), CmpBB, CmpBB->begin(), CmpBB->end());
lib/Target/AArch64/AArch64DeadRegisterDefinitionsPass.cpp 119 for (MachineInstr &MI : MBB) {
lib/Target/AArch64/AArch64ExpandPseudoInsts.cpp 715 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/AArch64/AArch64FalkorHWPFFix.cpp 680 for (MachineInstr &MI : *MBB) {
lib/Target/AArch64/AArch64FrameLowering.cpp 189 for (MachineInstr &MI : MBB) {
839 MachineBasicBlock::iterator MBBI = MBB.begin();
1444 MachineBasicBlock::iterator Begin = MBB.begin();
2363 auto MBBI = MBB.begin();
lib/Target/AArch64/AArch64ISelLowering.cpp 1354 EndBB->splice(EndBB->begin(), MBB, std::next(MachineBasicBlock::iterator(MI)),
1371 BuildMI(*EndBB, EndBB->begin(), DL, TII->get(AArch64::PHI), DestReg)
12384 MachineBasicBlock::iterator MBBI = Entry->begin();
lib/Target/AArch64/AArch64InstrInfo.cpp 226 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
250 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
262 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I))
351 if (I == MBB.begin()) {
1144 if (To == To->getParent()->begin())
1486 FirstEpilogSEH != MBB.begin())
1488 if (FirstEpilogSEH != MBB.begin())
5503 for (MachineInstr &MI : MBB) {
5566 MachineBasicBlock::iterator It = MBB.begin();
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp 1106 MachineBasicBlock::iterator B = I->getParent()->begin();
1549 MachineBasicBlock::iterator B = I->getParent()->begin();
1756 for (MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
1775 for (MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
1789 for (MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
1803 for (MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp 158 if (CondBr == PredMBB->begin())
351 if (PredI == PredMBB->begin())
364 } while (Itr != PredMBB->begin() && Itr->isTerminator());
373 MachineBasicBlock::iterator LastChange = MBB->begin();
375 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E;) {
464 for (MachineInstr &MMI : make_range(MBB->begin(), LastChange))
lib/Target/AArch64/AArch64RegisterInfo.cpp 409 MachineBasicBlock::iterator Ins = MBB->begin();
lib/Target/AArch64/AArch64SIMDInstrOpt.cpp 319 for (MachineBasicBlock::iterator MII = MI, MIE = MI.getParent()->begin();
711 for (MachineBasicBlock::iterator MII = MBB.begin(), MIE = MBB.end();
lib/Target/AArch64/AArch64SpeculationHardening.cpp 229 insertFullSpeculationBarrier(SplitEdgeBB, SplitEdgeBB.begin(), DL);
231 BuildMI(SplitEdgeBB, SplitEdgeBB.begin(), DL, TII->get(AArch64::CSELXr))
291 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); I++) {
299 if (I != MBB.begin())
325 insertFullSpeculationBarrier(MBB, MBB.begin(),
326 (MBB.begin())->getDebugLoc());
414 for (MachineInstr &MI : MBB) {
466 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
617 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
686 *Entry, Entry->SkipPHIsLabelsAndDebug(Entry->begin()));
lib/Target/AArch64/AArch64StackTaggingPreRA.cpp 191 for (auto &I : BB) {
lib/Target/AArch64/AArch64StorePairSuppress.cpp 147 for (auto &MI : MBB) {
lib/Target/AMDGPU/AMDGPUCallLowering.cpp 691 B.setInstr(*MBB.begin());
lib/Target/AMDGPU/AMDGPULegalizerInfo.cpp 1825 B.setInsertPt(EntryMBB, EntryMBB.begin());
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) {
1658 for (auto &BBI : *MBB) {
1768 const DebugLoc &DL = MergeBB->findDebugLoc(MergeBB->begin());
1875 TII->insertEQ(IfBB, IfBB->begin(), DL, IfReg,
1878 TII->materializeImmediate(*IfBB, IfBB->begin(), DL, IfReg,
2159 const DebugLoc &DL = Entry->findDebugLoc(Entry->begin());
2502 for (auto &II : *Succ) {
lib/Target/AMDGPU/AMDGPURegisterBankInfo.cpp 725 RemainderBB->splice(RemainderBB->begin(), &MBB, Range.end(), MBB.end());
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp 469 if (MBB->begin() != MBB->end())
470 MBB->insert(MBB->begin(), MI);
598 for (MachineBasicBlock::iterator It = MBB->begin(); It != MBB->end();
664 for (const MachineInstr &It : *MBB)
685 MachineBasicBlock::iterator Pre = MBB->begin();
1367 DstMBB->splice(DstMBB->end(), SrcMBB, SrcMBB->begin(), SrcMBB->end());
1407 MBB->splice(I, TrueMBB, TrueMBB->begin(), TrueMBB->end());
1417 MBB->splice(I, FalseMBB, FalseMBB->begin(),
1568 DstMBB->splice(I, SrcMBB, SrcMBB->begin(), SpliceEnd);
lib/Target/AMDGPU/R600ClauseMergePass.cpp 192 MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
lib/Target/AMDGPU/R600ControlFlowFinalizer.cpp 523 BuildMI(MBB, MBB.begin(), MBB.findDebugLoc(MBB.begin()),
523 BuildMI(MBB, MBB.begin(), MBB.findDebugLoc(MBB.begin()),
531 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
lib/Target/AMDGPU/R600EmitClauseMarkers.cpp 323 MachineBasicBlock::iterator I = MBB.begin();
lib/Target/AMDGPU/R600ExpandSpecialInstrs.cpp 91 MachineBasicBlock::iterator I = MBB.begin();
lib/Target/AMDGPU/R600InstrInfo.cpp 654 while (I != MBB.begin()) {
695 while (I != MBB.begin() && std::prev(I)->getOpcode() == R600::JUMP) {
705 if (I == MBB.begin() || !isJump((--I)->getOpcode())) {
812 if (I == MBB.begin()) {
836 if (I == MBB.begin()) {
lib/Target/AMDGPU/R600OptimizeVectorRegisters.cpp 348 for (MachineBasicBlock::iterator MII = MB->begin(), MIIE = MB->end();
lib/Target/AMDGPU/R600Packetizer.cpp 354 MachineBasicBlock::iterator MI = MBB->begin();
374 RegionEnd != MBB->begin();) {
378 for(;I != MBB->begin(); --I, --RemainingCount) {
382 I = MBB->begin();
lib/Target/AMDGPU/SIAddIMGInit.cpp 73 for (I = MBB.begin(); I != MBB.end(); I = Next) {
lib/Target/AMDGPU/SIFixSGPRCopies.cpp 600 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
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/SIFrameLowering.cpp 207 MachineBasicBlock::iterator I = MBB.begin();
473 MachineBasicBlock::iterator I = MBB.begin();
700 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/AMDGPU/SIISelLowering.cpp 1993 MachineBasicBlock::iterator MBBI = Entry->begin();
3048 SplitBB->splice(SplitBB->begin(), BB, SplitPoint, BB->end());
3087 LoopBB->splice(LoopBB->begin(), &MBB, I, Next);
3090 RemainderBB->splice(RemainderBB->begin(), &MBB, Next, MBB.end());
3092 RemainderBB->splice(RemainderBB->begin(), &MBB, I, MBB.end());
3137 BuildMI(*LoopBB, LoopBB->begin(), DL, TII->get(AMDGPU::S_SETREG_IMM32_B32))
3181 MachineBasicBlock::iterator I = LoopBB.begin();
3308 MachineBasicBlock::iterator First = RemainderBB->begin();
3654 BuildMI(*BB, &*BB->begin(), MI.getDebugLoc(), TII->get(AMDGPU::S_MOV_B64),
3662 BuildMI(*BB, &*BB->begin(), MI.getDebugLoc(), TII->get(AMDGPU::S_MOV_B32),
3676 MachineInstr *FirstMI = &*BB->begin();
3683 for (auto I = BB->begin(); I != &MI; I++) {
3689 FirstMI = &*++BB->begin();
10718 for (auto &MI : MBB) {
lib/Target/AMDGPU/SIInsertSkips.cpp 165 MachineBasicBlock::iterator Insert = SkipBB->begin();
463 for (I = MBB.begin(); I != MBB.end(); I = Next) {
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; ) {
4334 MachineBasicBlock::iterator I = LoopBB.begin();
4444 RemainderBB->splice(RemainderBB->begin(), &MBB, I, MBB.end());
4445 LoopBB->splice(LoopBB->begin(), &MBB, J);
4466 MachineBasicBlock::iterator First = RemainderBB->begin();
6130 LoopEntry->insert(LoopEntry->begin(), HeaderPhi);
6528 auto Cur = MBB.begin();
lib/Target/AMDGPU/SILowerControlFlow.cpp 288 MachineBasicBlock::iterator Start = MBB.begin();
425 : MBB.begin();
532 for (I = MBB.begin(), Last = MBB.end(); I != MBB.end(); I = Next) {
572 Next = (Last == MBB.end()) ? MBB.begin() : Last;
lib/Target/AMDGPU/SILowerI1Copies.cpp 505 for (MachineInstr &MI : MBB) {
675 for (MachineInstr &MI : MBB) {
800 while (InsertionPt != MBB.begin()) {
lib/Target/AMDGPU/SILowerSGPRSpills.cpp 95 MachineBasicBlock::iterator I = SaveBlock.begin();
138 assert(I != RestoreBlock.begin() &&
271 for (auto I = MBB.begin(), E = MBB.end(); I != E; I = Next) {
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/SIOptimizeExecMaskingPreRA.cpp 164 It = Succ->begin();
383 auto Lead = skipDebugInstructionsForward(MBB.begin(), 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 346 MachineBasicBlock::iterator Ins = MBB->begin();
lib/Target/AMDGPU/SIShrinkInstructions.cpp 565 for (I = MBB.begin(); I != MBB.end(); I = Next) {
lib/Target/AMDGPU/SIWholeQuadMode.cpp 236 for (const MachineInstr &MI : *BII.first) {
326 for (auto II = MBB.begin(), IE = MBB.end(); II != IE; ++II) {
lib/Target/ARC/ARCBranchFinalize.cpp 155 for (auto &MI : MBB) {
lib/Target/ARC/ARCExpandPseudos.cpp 81 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/ARC/ARCFrameLowering.cpp 124 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/ARC/ARCInstrInfo.cpp 177 if (I == MBB.begin())
189 if (I == MBB.begin())
243 if (I == MBB.begin())
270 if (I == MBB.begin())
lib/Target/ARC/ARCOptAddrMode.cpp 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 320 if (I == MBB.begin())
334 if (I == MBB.begin())
390 if (I == MBB.begin())
418 if (I == MBB.begin()) return 1;
2932 B = CmpInstr.getParent()->begin();
5369 while (CmpMI != Br->getParent()->begin()) {
lib/Target/ARM/ARMBaseRegisterInfo.cpp 637 MachineBasicBlock::iterator Ins = MBB->begin();
lib/Target/ARM/ARMBasicBlockInfo.cpp 54 for (MachineInstr &I : *MBB) {
lib/Target/ARM/ARMCallLowering.cpp 461 MIRBuilder.setInstr(*MBB.begin());
lib/Target/ARM/ARMConstantIslandPass.cpp 598 MachineInstr *CPEMI = BuildMI(*JumpTableBB, JumpTableBB->begin(),
679 for (MachineInstr &I : MBB)
708 for (MachineInstr &I : MBB) {
1572 CPEBB->setAlignment(getCPEAlign(&*CPEBB->begin()));
2114 return MBB != MF->end() && MBB->begin() != MBB->end() &&
2115 &*MBB->begin() == CPEMI;
2224 if (User.MI->getIterator() == User.MI->getParent()->begin())
lib/Target/ARM/ARMExpandPseudoInsts.cpp 1960 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/ARM/ARMFrameLowering.cpp 358 MachineBasicBlock::iterator MBBI = MBB.begin();
800 if (MBBI != MBB.begin()) {
803 } while (MBBI != MBB.begin() && isCSRestore(*MBBI, TII, CSRegs));
1043 if (MI != MBB.begin())
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) {
10124 exitMBB->splice(exitMBB->begin(), BB,
10186 BuildMI(*BB, BB->begin(), dl, TII->get(ARM::PHI), varPhi)
10232 auto StartOfExit = exitMBB->begin();
10338 ContBB->splice(ContBB->begin(), MBB,
10506 sinkMBB->splice(sinkMBB->begin(), BB,
10530 BuildMI(*BB, BB->begin(), dl, TII->get(ARM::PHI), MI.getOperand(0).getReg())
10633 SinkBB->splice(SinkBB->begin(), BB,
10657 BuildMI(*RSBBB, RSBBB->begin(), dl,
10666 BuildMI(*SinkBB, SinkBB->begin(), dl,
17105 MachineBasicBlock::iterator MBBI = Entry->begin();
lib/Target/ARM/ARMLoadStoreOptimizer.cpp 916 if (EarliestI == MBB.begin()) {
928 EarliestI = MBB.begin();
1215 MachineBasicBlock::iterator BeginMBBI = MBB.begin();
1775 for (MachineBasicBlock::iterator I = MBB.end(), MBBI; I != MBB.begin();
1930 if (MBBI != MBB.begin() && MBBI != MBB.end() &&
1936 while (PrevI->isDebugInstr() && PrevI != MBB.begin())
1972 if (MBBI == MBB.begin() || MBBI == MBB.end() ||
2396 MachineBasicBlock::iterator MBBI = MBB->begin();
lib/Target/ARM/ARMLowOverheadLoops.cpp 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/MVEVPTBlockPass.cpp 144 while (CmpMI != MI->getParent()->begin()) {
lib/Target/ARM/Thumb1FrameLowering.cpp 147 MachineBasicBlock::iterator MBBI = MBB.begin();
495 if (MBBI != MBB.begin()) {
498 while (MBBI != MBB.begin() && isCSRestore(*MBBI, CSRegs));
627 if ((*MBB.succ_begin())->begin()->getOpcode() == ARM::tBX_RET)
700 if (!PopReg && MBBI != MBB.begin()) {
lib/Target/ARM/Thumb2ITBlockPass.cpp 197 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/ARM/Thumb2InstrInfo.cpp 81 MachineBasicBlock::iterator E = MBB->begin();
lib/Target/AVR/AVRExpandPseudoInsts.cpp 100 BlockIt MBBI = MBB.begin(), E = MBB.end();
lib/Target/AVR/AVRFrameLowering.cpp 55 MachineBasicBlock::iterator MBBI = MBB.begin();
186 while (MBBI != MBB.begin()) {
510 MachineBasicBlock::iterator MBBI = EntryMBB.begin();
lib/Target/AVR/AVRISelLowering.cpp 1508 RemBB->splice(RemBB->begin(), BB, std::next(MachineBasicBlock::iterator(MI)),
1559 BuildMI(*RemBB, RemBB->begin(), dl, TII.get(AVR::PHI), DstReg)
1658 trueMBB->splice(trueMBB->begin(), MBB,
1673 BuildMI(*trueMBB, trueMBB->begin(), dl, TII.get(AVR::PHI), MI.getOperand(0).getReg())
lib/Target/AVR/AVRInstrInfo.cpp 273 while (I != MBB.begin()) {
444 while (I != MBB.begin()) {
lib/Target/AVR/AVRRelaxMemOperations.cpp 77 BlockIt MBBI = MBB.begin(), E = MBB.end();
lib/Target/BPF/BPFISelLowering.cpp 669 Copy1MBB->splice(Copy1MBB->begin(), BB,
744 BuildMI(*BB, BB->begin(), DL, TII.get(BPF::PHI), MI.getOperand(0).getReg())
lib/Target/BPF/BPFInstrInfo.cpp 172 while (I != MBB.begin()) {
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/HexagonBitSimplify.cpp 271 for (auto &I : B)
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;
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) {
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 206 LayoutSucc->erase(LayoutSucc->begin());
lib/Target/Hexagon/HexagonConstExtenders.cpp 199 Pos = std::distance(B->begin(), It);
1250 for (MachineInstr &MI : MBB)
1515 for (It = DomB->begin(); It != End; ++It)
lib/Target/Hexagon/HexagonConstPropagation.cpp 851 for (auto I = To->begin(), E = To->getFirstNonPHI(); I != E; ++I) {
890 MachineBasicBlock::const_iterator It = SB->begin(), End = SB->end();
995 for (auto I = B->begin(), E = B->end(); I != E; ++I) {
1034 MachineBasicBlock::iterator I = B.begin(), E = B.end();
lib/Target/Hexagon/HexagonCopyToCombine.cpp 397 for (MachineInstr &MI : BB) {
487 for(MachineBasicBlock::iterator MI = BI->begin(), End = BI->end();
lib/Target/Hexagon/HexagonEarlyIfConv.cpp 766 for (I = FromB->begin(); I != End; I = NextI) {
814 for (auto I = WhereB->begin(); I != NonPHI; ++I) {
986 for (I = B->begin(); I != NonPHI; I = NextI) {
1017 PredB->splice(PredB->end(), SuccB, SuccB->begin(), SuccB->end());
lib/Target/Hexagon/HexagonExpandCondsets.cpp 747 MachineBasicBlock::iterator I = UseIt, S = B.begin();
1072 for (I = B.begin(), E = B.end(); I != E; I = NextI) {
1268 for (auto &I : B)
lib/Target/Hexagon/HexagonFixupHwLoops.cpp 136 MachineBasicBlock::iterator MII = MBB.begin();
lib/Target/Hexagon/HexagonFrameLowering.cpp 355 for (auto &I : MBB)
609 MachineBasicBlock::iterator InsertPt = MBB.begin();
613 for (auto &MI : MBB)
702 if (!MBB.empty() && InsertPt != MBB.begin()) {
849 for (MachineInstr &I : B) {
1216 MachineBasicBlock::iterator MI = MBB.begin();
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) {
lib/Target/Hexagon/HexagonGenInsert.cpp 943 for (MachineBasicBlock::iterator I = B->begin(), E = B->end(); 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) {
301 MachineBasicBlock::iterator It1 = B.begin(), It2 = B.begin();
301 MachineBasicBlock::iterator It1 = B.begin(), It2 = B.begin();
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 562 while (I != MBB.begin()) {
4390 MachineBasicBlock::iterator I = B.begin();
lib/Target/Hexagon/HexagonNewValueJump.cpp 494 for (MachineBasicBlock::iterator MII = MBB->end(), E = MBB->begin();
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/HexagonStoreWidening.cpp 215 for (auto &I : MBB)
498 for (auto &I : *MBB) {
513 if (InsertAt != MBB->begin())
524 InsertAt = MBB->begin();
lib/Target/Hexagon/HexagonVExtract.cpp 110 for (MachineInstr &MI : MBB) {
lib/Target/Hexagon/HexagonVLIWPacketizer.cpp 233 auto MI = MB.begin();
246 auto Begin = MB.begin(), End = MB.end();
lib/Target/Hexagon/HexagonVectorPrint.cpp 137 for (auto &MI : MBB) {
lib/Target/Hexagon/RDFGraph.cpp 876 for (MachineInstr &I : B) {
lib/Target/Lanai/LanaiFrameLowering.cpp 70 MachineBasicBlock::iterator MBBI = MBB->begin();
98 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/Lanai/LanaiInstrInfo.cpp 293 B = CmpInstr.getParent()->begin();
572 while (Instruction != MBB.begin()) {
699 while (Instruction != MBB.begin()) {
lib/Target/Lanai/LanaiMemAluCombiner.cpp 336 MbbIterator Last = Decrement ? BB->begin() : BB->end();
367 MbbIterator MBBIter = BB->begin(), End = BB->end();
lib/Target/MSP430/MSP430BranchSelector.cpp 98 for (MachineInstr &MI : MBB) {
120 for (auto MI = MBB->begin(), EE = MBB->end(); MI != EE; ++MI) {
lib/Target/MSP430/MSP430FrameLowering.cpp 48 MachineBasicBlock::iterator MBBI = MBB.begin();
140 while (MBBI != MBB.begin()) {
lib/Target/MSP430/MSP430ISelLowering.cpp 1475 RemBB->splice(RemBB->begin(), BB, std::next(MachineBasicBlock::iterator(MI)),
1531 BuildMI(*RemBB, RemBB->begin(), dl, TII.get(MSP430::PHI), DstReg)
1577 copy1MBB->splice(copy1MBB->begin(), BB,
1600 BuildMI(*BB, BB->begin(), dl, TII.get(MSP430::PHI), MI.getOperand(0).getReg())
lib/Target/MSP430/MSP430InstrInfo.cpp 113 while (I != MBB.begin()) {
183 while (I != MBB.begin()) {
lib/Target/Mips/Mips16FrameLowering.cpp 47 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/Mips/Mips16ISelDAGToDAG.cpp 71 MachineBasicBlock::iterator I = MBB.begin();
lib/Target/Mips/Mips16ISelLowering.cpp 538 sinkMBB->splice(sinkMBB->begin(), BB,
563 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg())
601 sinkMBB->splice(sinkMBB->begin(), BB,
627 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg())
667 sinkMBB->splice(sinkMBB->begin(), BB,
693 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg())
lib/Target/Mips/MipsBranchExpansion.cpp 208 Position = Succ->begin();
454 Pos = LongBrMBB->begin();
500 Pos = BalTgtMBB->begin();
577 Pos = LongBrMBB->begin();
611 Pos = BalTgtMBB->begin();
635 Pos = LongBrMBB->begin();
722 MachineBasicBlock::iterator I = MBB.begin();
723 DebugLoc DL = MBB.findDebugLoc(MBB.begin());
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) {
1429 CPEBB->setAlignment(getCPEAlign(*CPEBB->begin()));
lib/Target/Mips/MipsDelaySlotFiller.cpp 603 for (Iter I = MBB.begin(); I != MBB.end(); ++I) {
821 if (!searchRange(MBB, SuccBB->begin(), SuccBB->end(), RegDU, *IM, Slot,
lib/Target/Mips/MipsExpandPseudo.cpp 125 exitMBB->splice(exitMBB->begin(), &BB,
260 exitMBB->splice(exitMBB->begin(), &BB,
396 exitMBB->splice(exitMBB->begin(), &BB, std::next(I), BB.end());
584 exitMBB->splice(exitMBB->begin(), &BB, std::next(I), BB.end());
672 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/Mips/MipsISelLowering.cpp 1653 exitMBB->splice(exitMBB->begin(), BB,
1831 exitMBB->splice(exitMBB->begin(), BB,
4447 sinkMBB->splice(sinkMBB->begin(), BB,
4481 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg())
4523 sinkMBB->splice(sinkMBB->begin(), BB,
4551 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(0).getReg())
4556 BuildMI(*BB, BB->begin(), DL, TII->get(Mips::PHI), MI.getOperand(1).getReg())
lib/Target/Mips/MipsMachineFunction.cpp 67 MachineBasicBlock::iterator I = MBB.begin();
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;)
411 MachineBasicBlock::iterator MBBI = MBB.begin();
563 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/Mips/MipsSEISelDAGToDAG.cpp 160 for (auto &MI: MBB) {
lib/Target/Mips/MipsSEISelLowering.cpp 3051 Sink->splice(Sink->begin(), BB, std::next(MachineBasicBlock::iterator(MI)),
3078 BuildMI(*Sink, Sink->begin(), DL, TII->get(Mips::PHI),
3120 Sink->splice(Sink->begin(), BB, std::next(MachineBasicBlock::iterator(MI)),
3147 BuildMI(*Sink, Sink->begin(), DL, TII->get(Mips::PHI),
lib/Target/NVPTX/NVPTXInstrInfo.cpp 102 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I))
109 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
127 if (I != MBB.begin() && isUnpredicatedTerminator(*--I))
158 if (I == MBB.begin())
169 if (I == MBB.begin())
lib/Target/NVPTX/NVPTXPeephole.cpp 134 auto BlockIter = MBB.begin();
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 61 for (MachineBasicBlock::iterator I = (*BI).begin(), E = (*BI).end();
lib/Target/PowerPC/PPCBranchCoalescing.cpp 391 MachineBasicBlock::iterator MI = SourceMBB->begin();
408 TargetMBB->splice(TargetMBB->begin(), SourceMBB, MI, ME);
lib/Target/PowerPC/PPCBranchSelector.cpp 137 for (MachineInstr &MI : *MBB) {
301 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end();
lib/Target/PowerPC/PPCCTRLoops.cpp 135 if (I == MBB->begin()) {
147 for (MachineBasicBlock::iterator IE = MBB->begin();; --I) {
lib/Target/PowerPC/PPCEarlyReturn.cpp 55 MachineBasicBlock::iterator I = ReturnMBB.begin();
129 if (J == (*PI)->begin())
lib/Target/PowerPC/PPCExpandISEL.cpp 160 for (MachineInstr &MI : MBB)
395 for (MachineInstr &MI : *MBB)
411 TrueBlockI = TrueBlock->begin();
416 FalseBlockI = FalseBlock->begin();
432 FalseBlockI = FalseBlock->begin(); // get the position of PPC::B
lib/Target/PowerPC/PPCFrameLowering.cpp 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())
777 MachineBasicBlock::iterator MBBI = MBB.begin();
810 MBBI = MBB.begin();
2370 bool AtStart = I == MBB.begin();
2420 assert(I != MBB.begin() &&
2427 I = MBB.begin();
lib/Target/PowerPC/PPCISelDAGToDAG.cpp 404 MachineBasicBlock::iterator IP = EntryBB.begin(); // Insert Point
418 while (I2 != BB->begin() && (--I2)->isTerminator())
435 MachineBasicBlock::iterator MBBI = FirstMBB.begin();
lib/Target/PowerPC/PPCISelLowering.cpp10349 exitMBB->splice(exitMBB->begin(), BB,
10453 exitMBB->splice(exitMBB->begin(), BB,
10603 BuildMI(*BB, BB->begin(), dl, TII->get(PPC::SRW), dest)
10656 sinkMBB->splice(sinkMBB->begin(), MBB,
10742 BuildMI(*sinkMBB, sinkMBB->begin(), DL,
10948 sinkMBB->splice(sinkMBB->begin(), BB,
10991 BuildMI(*BB, BB->begin(), dl, TII->get(PPC::PHI), MI.getOperand(0).getReg())
11016 sinkMBB->splice(sinkMBB->begin(), BB,
11189 exitMBB->splice(exitMBB->begin(), BB,
11268 exitMBB->splice(exitMBB->begin(), BB,
11427 BuildMI(*BB, BB->begin(), dl, TII->get(PPC::SRW), dest)
14197 for (auto J = (*I)->begin(), JE = (*I)->end(); J != JE; ++J) {
15033 MachineBasicBlock::iterator MBBI = Entry->begin();
lib/Target/PowerPC/PPCInstrInfo.cpp 528 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
590 if (I != MBB.begin() && isUnpredicatedTerminator(*--I))
689 if (I == MBB.begin()) return 1;
1393 for (MachineBasicBlock::iterator I = MBB.begin(), IE = MBB.end();
1798 MachineBasicBlock::iterator E = MI, B = CmpInstr.getParent()->begin();
lib/Target/PowerPC/PPCMIPeephole.cpp 277 for (MachineInstr &MI : MBB) {
297 for (MachineInstr &MI : MBB) {
1297 BuildMI(MBB2, MBB2.begin(), DL,
lib/Target/PowerPC/PPCPreEmitPeephole.cpp 174 for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCReduceCRLogicals.cpp 558 MachineBasicBlock::iterator Me = Copy, B = Copy->getParent()->begin();
712 for (MachineInstr &MI : MBB) {
lib/Target/PowerPC/PPCRegisterInfo.cpp 1225 MachineBasicBlock::iterator Ins = MBB->begin();
lib/Target/PowerPC/PPCTLSDynamicCall.cpp 53 for (MachineBasicBlock::iterator I = MBB.begin(), IE = MBB.end();
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 75 for (MachineBasicBlock::iterator I = MBB.begin(), IE = MBB.end();
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp 245 for (MachineInstr &MI : MBB) {
lib/Target/RISCV/RISCVExpandPseudoInsts.cpp 88 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/RISCV/RISCVFrameLowering.cpp 109 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/RISCV/RISCVISelLowering.cpp 1115 DoneMBB->splice(DoneMBB->begin(), BB,
1329 auto InsertionPoint = TailMBB->begin();
lib/Target/RISCV/RISCVInstrInfo.cpp 320 if (I == MBB.begin())
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(); ) {
175 if (slot == MBB.begin())
204 done = (I == MBB.begin());
484 if (MBBI == MBB.begin())
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/SparcFrameLowering.cpp 96 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/Sparc/SparcISelLowering.cpp 3145 SinkMBB->splice(SinkMBB->begin(), ThisMBB,
3161 BuildMI(*SinkMBB, SinkMBB->begin(), dl, TII.get(SP::PHI),
lib/Target/Sparc/SparcInstrInfo.cpp 176 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
200 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
212 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I))
279 while (I != MBB.begin()) {
480 MachineBasicBlock::iterator MBBI = FirstMBB.begin();
lib/Target/SystemZ/SystemZElimCompare.cpp 601 while (MBBI != MBB.begin()) {
lib/Target/SystemZ/SystemZFrameLowering.cpp 348 MachineBasicBlock::iterator MBBI = MBB.begin();
lib/Target/SystemZ/SystemZISelLowering.cpp 6486 NewMBB->splice(NewMBB->begin(), MBB,
6496 NewMBB->splice(NewMBB->begin(), MBB, MI, MBB->end());
6578 MachineBasicBlock::iterator SinkInsertionPoint = SinkMBB->begin();
lib/Target/SystemZ/SystemZInstrInfo.cpp 363 while (I != MBB.begin()) {
453 while (I != MBB.begin()) {
lib/Target/SystemZ/SystemZLDCleanup.cpp 93 for (auto I = BB->begin(), E = BB->end(); I != E; ++I) {
lib/Target/SystemZ/SystemZLongBranch.cpp 287 MachineBasicBlock::iterator MI = MBB->begin();
lib/Target/SystemZ/SystemZMachineScheduler.cpp 65 std::next(LastEmittedMI) : MBB->begin());
lib/Target/SystemZ/SystemZPostRewrite.cpp 179 RestMBB->splice(RestMBB->begin(), &MBB, MI, MBB.end());
253 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
lib/Target/WebAssembly/WebAssemblyArgumentMove.cpp 80 for (MachineInstr &MI : EntryMBB) {
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp 140 while (InsertPos != MBB->begin()) {
144 for (auto Pos = InsertPos, E = MBB->begin(); Pos != E; --Pos)
163 auto InsertPos = MBB->begin();
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) {
546 if (MI.getIterator() != Header->begin() &&
565 for (auto I = SearchStartPt, E = Header->begin(); I != E; --I) {
584 for (const auto &MI : *Cont) {
682 for (auto &MI : MBB) {
691 B != TryBB->begin() && E != Cont->end() &&
714 for (auto &MI : Split) {
1015 for (auto &MI : *EHPad) {
1114 if (RangeBegin->getIterator() != MBB->begin() &&
1149 BuildMI(*NestedCont, NestedCont->begin(), RangeEnd->getDebugLoc(),
lib/Target/WebAssembly/WebAssemblyCallIndirectFixup.cpp 111 for (MachineInstr &MI : MBB) {
lib/Target/WebAssembly/WebAssemblyExplicitLocals.cpp 204 for (MachineBasicBlock::iterator I = MF.begin()->begin(),
228 for (MachineBasicBlock::iterator I = MBB.begin(), E = MBB.end(); I != E;) {
lib/Target/WebAssembly/WebAssemblyFrameLowering.cpp 166 auto InsertPt = MBB.begin();
lib/Target/WebAssembly/WebAssemblyISelLowering.cpp 366 DoneMBB->splice(DoneMBB->begin(), BB, std::next(MI.getIterator()), BB->end());
415 BuildMI(*DoneMBB, DoneMBB->begin(), DL, TII.get(TargetOpcode::PHI), OutReg)
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 132 auto InsertPos = MBB.begin();
136 BuildMI(MBB, InsertPos, MBB.begin()->getDebugLoc(),
168 auto CatchPos = EHPad->begin();
188 for (auto &MI : MBB) {
242 for (auto &MI : MBB) {
260 for (auto &MI : MBB) {
273 auto CatchPos = EHPad->begin();
382 auto InsertPos = MBB.begin();
388 MBB.begin()->getDebugLoc());
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 108 BuildMI(Entry, Entry.begin(), DebugLoc(),
115 for (auto MII = Entry.begin(), MIE = Entry.end(); MII != MIE;) {
119 Entry.insert(Entry.begin(), &MI);
lib/Target/WebAssembly/WebAssemblyRegNumbering.cpp 74 for (MachineInstr &MI : EntryMBB) {
lib/Target/WebAssembly/WebAssemblyRegStackify.cpp 912 for (MachineInstr &MI : MBB) {
lib/Target/WebAssembly/WebAssemblySetP2AlignOperands.cpp 86 for (auto &MI : MBB) {
lib/Target/X86/X86AvoidStoreForwardingBlocks.cpp 538 for (auto &MI : MBB) {
lib/Target/X86/X86CallFrameOptimization.cpp 170 for (MachineInstr &MI : BB) {
258 for (auto &MI : MBB)
lib/Target/X86/X86CallLowering.cpp 366 MIRBuilder.setInstr(*MBB.begin());
lib/Target/X86/X86CmovConversion.cpp 288 for (auto &I : *MBB) {
428 for (MachineInstr &MI : *MBB) {
682 SinkMBB->splice(SinkMBB->begin(), MBB,
700 MachineBasicBlock::iterator FalseInsertionPoint = FalseMBB->begin();
701 MachineBasicBlock::iterator SinkInsertionPoint = SinkMBB->begin();
lib/Target/X86/X86CondBrFolding.cpp 212 return std::find_if(MBB->begin(), MBB->end(), [](MachineInstr &MI) -> bool {
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 387 MachineBasicBlock::iterator MBBI = MBB.begin(), E = MBB.end();
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)
260 if (I == MBB.begin()) {
lib/Target/X86/X86FixupSetCC.cpp 103 for (auto &MI : MBB) {
lib/Target/X86/X86FlagsCopyLowering.cpp 305 for (MachineInstr &MI : *Succ) {
359 for (MachineInstr &MI : *MBB)
449 if (HasEFLAGSClobber(PredMBB->begin(), PredMBB->end()))
459 !HasEFLAGSClobber(TestMBB->begin(), TestPos)) {
701 for (MachineInstr &MI : MBB)
722 llvm::reverse(llvm::make_range(MBB.begin(), TestPos))) {
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)
534 adjustLiveRegs(Mask, MBB->begin());
912 if (Kills && I != MBB->begin()) {
1675 if (Inst == MBB->begin()) {
lib/Target/X86/X86FrameLowering.cpp 397 if ((doMergeWithPrevious && MBBI == MBB.begin()) ||
403 PI = skipDebugInstructionsBackward(PI, MBB.begin());
415 if (doMergeWithPrevious && PI != MBB.begin() && PI->isCFIInstruction())
505 for (MachineInstr &MI : PrologMBB) {
575 ContinueMBB->splice(ContinueMBB->begin(), &MBB, MBBI, MBB.end());
748 for (MachineInstr &MI : *RoundMBB) {
751 for (MachineInstr &MI : *LoopMBB) {
754 for (MachineBasicBlock::iterator CMBBI = ContinueMBB->begin();
975 MachineBasicBlock::iterator MBBI = MBB.begin();
1655 while (MBBI != MBB.begin()) {
2619 for (auto &MI : MBB) {
2734 if (MBBI == MBB.begin())
2896 MachineBasicBlock::iterator B = MBB.begin();
3217 auto MBBI = MBB.begin();
lib/Target/X86/X86ISelLowering.cpp29207 sinkMBB->splice(sinkMBB->begin(), MBB,
29242 BuildMI(*sinkMBB, sinkMBB->begin(), DL, TII->get(X86::PHI), DstReg)
29367 endMBB->splice(endMBB->begin(), thisMBB,
29500 BuildMI(*endMBB, endMBB->begin(), DL,
29534 EndMBB->splice(EndMBB->begin(), MBB,
29672 MachineBasicBlock::iterator SinkInsertionPoint = SinkMBB->begin();
29818 SinkMBB->splice(SinkMBB->begin(), ThisMBB,
29848 BuildMI(*SinkMBB, SinkMBB->begin(), DL, TII->get(X86::PHI), DestReg)
30066 continueMBB->splice(continueMBB->begin(), BB,
30132 BuildMI(*continueMBB, continueMBB->begin(), DL, TII->get(X86::PHI),
30172 auto RestoreMBBI = RestoreMBB->begin();
30526 sinkMBB->splice(sinkMBB->begin(), MBB,
30593 BuildMI(*sinkMBB, sinkMBB->begin(), DL,
30680 sinkMBB->splice(sinkMBB->begin(), MBB, MachineBasicBlock::iterator(MI),
30951 for (const auto &MI : MBB) {
46184 MachineBasicBlock::iterator MBBI = Entry->begin();
lib/Target/X86/X86IndirectBranchTracking.cpp 121 Changed |= addENDBR(*MBB, MBB->begin());
128 Changed |= addENDBR(MBB, MBB.begin());
130 for (MachineBasicBlock::iterator I = MBB.begin(); I != MBB.end(); ++I) {
lib/Target/X86/X86InstrInfo.cpp 2443 while (I != MBB.begin()) {
2511 while (I != MBB.begin()) {
2753 while (I != MBB.begin()) {
7761 MachineBasicBlock::iterator MBBI = FirstMBB.begin();
7871 for (MachineBasicBlock::iterator I = BB->begin(), E = BB->end(); I != E;
lib/Target/X86/X86OptimizeLEAs.cpp 497 for (auto I = MBB->begin(), E = MBB->end(); I != E;) {
539 MachineBasicBlock::iterator(DefMI) == MBB->begin()) ||
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) {
430 auto EntryInsertPt = Entry.SkipPHIsLabelsAndDebug(Entry.begin());
525 extractPredStateFromSP(MBB, MBB.SkipPHIsAndLabels(MBB.begin()), Loc));
590 auto InsertPt = MBB->SkipPHIsAndLabels(MBB->begin());
740 auto InsertPt = CheckingMBB.begin();
1144 auto InsertPt = MBB.SkipPHIsLabelsAndDebug(MBB.begin());
1592 for (MachineInstr &MI : llvm::reverse(llvm::make_range(MBB.begin(), I))) {
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 226 MachineBasicBlock::iterator MBBI = MBB.begin();
458 bool AtStart = MI == MBB.begin();
470 assert(MI != MBB.begin() &&
475 MI = MBB.begin();
lib/Target/XCore/XCoreFrameToArgsOffsetElim.cpp 54 for (MachineBasicBlock::iterator MBBI = MBB.begin(), EE = MBB.end();
lib/Target/XCore/XCoreISelLowering.cpp 1551 sinkMBB->splice(sinkMBB->begin(), BB,
1575 BuildMI(*BB, BB->begin(), dl, TII.get(XCore::PHI), MI.getOperand(0).getReg())
lib/Target/XCore/XCoreInstrInfo.cpp 206 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
229 if (SecondLastInst && I != MBB.begin() && isUnpredicatedTerminator(*--I))
321 if (I == MBB.begin()) return 1;
unittests/CodeGen/GlobalISel/CSETest.cpp 30 CSEB.setInsertPt(*EntryMBB, EntryMBB->begin());
91 CSEB.setInsertPt(*EntryMBB, EntryMBB->begin());
unittests/CodeGen/GlobalISel/GISelMITest.h 130 for (MachineInstr &MI : MBB) {
unittests/CodeGen/MachineInstrTest.cpp 350 auto MII = MBB->begin();
unittests/MI/LiveIntervalTest.cpp 108 for (MachineInstr &MI : MBB) {
unittests/Target/AArch64/InstSizes.cpp 89 auto I = MF.begin()->begin();
104 auto I = MF.begin()->begin();
120 auto I = MF.begin()->begin();
usr/include/c++/7.4.0/bits/range_access.h 48 begin(_Container& __cont) -> decltype(__cont.begin())
49 { return __cont.begin(); }