|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/CodeGen/GlobalISel/RegBankSelect.h 258 assert((!Beginning || MBB.getFirstNonPHI() == MBB.begin()) &&
262 assert((Beginning || MBB.getFirstTerminator() == MBB.end()) &&
include/llvm/CodeGen/MachineBasicBlock.h 614 assert((I == end() || I->getParent() == this) &&
621 assert((I == end() || I->getParent() == this) &&
630 assert((I == end() || I->getParent() == this) &&
928 : MBB(*BB), I(I), B(I == MBB.begin() ? MBB.end() : std::prev(I)),
930 assert(I == BB->end() || I->getParent() == BB);
934 return B == MBB.end() ? MBB.begin() : std::next(B);
937 bool empty() { return begin() == end(); }
include/llvm/CodeGen/MachineInstrBundleIterator.h 221 return !(L == R);
include/llvm/CodeGen/RegisterScavenging.h 114 if (I == MachineBasicBlock::iterator(nullptr))
include/llvm/CodeGen/SlotIndexes.h 430 if (I == B)
448 if (I == E)
lib/CodeGen/Analysis.cpp 756 if (MBBI == MBB.end() || MBBI->getOpcode() != TII->getCatchReturnOpcode())
lib/CodeGen/BranchFolding.cpp 298 if (I == MBB.end())
324 if (I1==MBB1->begin()) {
326 if (I2==MBB2->begin()) {
340 if (I2==MBB2->begin()) {
364 if (I1 == MBB1->begin() && I2 != MBB2->begin()) {
367 if (I2 == MBB2->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());
898 assert(SameTails[i].getTailStartPos() == MBB->begin() &&
1298 return MBB->getFirstNonDebugInstr() == MBB->end();
1323 if (MBB1I == MBB1->end() || MBB2I == MBB2->end())
1323 if (MBB1I == MBB1->end() || MBB2I == MBB2->end())
1905 if (Loc == MBB->begin())
1989 if (Loc == MBB->end())
2002 if (TIB == TIE || FIB == FIE)
2002 if (TIB == TIE || FIB == FIE)
lib/CodeGen/BranchFolding.h 108 return TailStartPos == getBlock()->begin();
lib/CodeGen/BranchRelaxation.cpp 488 if (Last == MBB.end())
lib/CodeGen/GlobalISel/CSEMIRBuilder.cpp 22 if (B == MBBEnd)
lib/CodeGen/GlobalISel/CombinerHelper.cpp 756 if (BrIt == MBB->begin())
758 assert(std::next(BrIt) == MBB->end() && "expected G_BR to be a terminator");
lib/CodeGen/GlobalISel/InstructionSelect.cpp 120 if (MII == Begin)
164 if (MII == Begin)
lib/CodeGen/GlobalISel/RegBankSelect.cpp 775 if (It == Pred.end())
793 if (It == REnd) {
lib/CodeGen/IfConversion.cpp 745 if (TIB == TIE || FIB == FIE)
745 if (TIB == TIE || FIB == FIE)
762 if (TIB == TIE || FIB == FIE)
762 if (TIB == TIE || FIB == FIE)
788 if (RTIE == RTIB || RFIE == RFIB)
788 if (RTIE == RTIB || RFIE == RFIB)
841 if (E1 == B1 && E2 == B2)
841 if (E1 == B1 && E2 == B2)
844 if (E1 == B1) {
848 if (E2 == B2) {
1839 if (DI1 == MBB1.end())
1851 if (DI2 == MBB2.end())
1982 if (!MBB2.empty() && (DI2 == MBB2.end())) {
lib/CodeGen/InlineSpiller.cpp 758 if (std::next(B) == E) {
lib/CodeGen/LiveDebugVariables.cpp 697 MBBI == MBB->begin()
lib/CodeGen/LiveIntervals.cpp 1588 if (End == MBB->end())
lib/CodeGen/MIRPrinter.cpp 567 IsFallthrough = I == MBB.end() || !I->isBarrier();
lib/CodeGen/MachineBasicBlock.cpp 179 assert((I == E || !I->isInsideBundle()) &&
194 assert((I == E || !I->isInsideBundle()) &&
1411 if (I == end()) {
1466 if (I == begin()) {
lib/CodeGen/MachineCSE.cpp 229 if (I == E)
361 if (I == EE) {
371 if (I == E)
lib/CodeGen/MachineScheduler.cpp 555 if (I == RegionEnd || I == std::prev(RegionEnd)) {
555 if (I == RegionEnd || I == std::prev(RegionEnd)) {
727 if (RegionBegin == InsertPos)
807 assert(CurrentTop == CurrentBottom && "Nonempty unscheduled zone.");
901 if (OrigPrevMI == std::prev(RegionEnd))
979 LiveRegionEnd = (RegionEnd == bb->end()) ? RegionEnd : std::next(RegionEnd);
1041 assert((BotRPTracker.getPos() == RegionEnd ||
1043 BotRPTracker.getPos() == priorNonDebug(RegionEnd, RegionBegin))) &&
1134 if (I == BB->end())
1243 assert(CurrentTop == CurrentBottom && "Nonempty unscheduled zone.");
1380 assert(TopRPTracker.getPos() == RegionBegin && "bad initial Top tracker");
1413 assert(TopRPTracker.getPos() == CurrentTop && "out of sync");
1450 assert(BotRPTracker.getPos() == CurrentBottom && "out of sync");
1817 if (FirstPos == DAG->end())
3209 if (DAG->top() == DAG->bottom()) {
3416 if (DAG->top() == DAG->bottom()) {
lib/CodeGen/MachineSink.cpp 376 ProcessedBegin = I == MBB.begin();
lib/CodeGen/PHIElimination.cpp 450 if (KillInst == opBlock.end()) {
510 if (KillInst == opBlock.end()) {
lib/CodeGen/PostRASchedulerList.cpp 357 assert((MBB.begin() == Current || CurrentCount != 0) &&
lib/CodeGen/PrologEpilogInserter.cpp 1269 bool AtBeginning = (I == BB->begin());
lib/CodeGen/RegisterPressure.cpp 298 return (static_cast<RegionPressure&>(P).TopPos ==
306 return (static_cast<RegionPressure&>(P).BottomPos ==
313 if (IdxPos == MBB->end())
877 assert(CurrPos == MBB->begin());
lib/CodeGen/RegisterScavenging.cpp 168 if (MBBI == MBB->begin()) {
274 if (MBBI == MBB->begin()) {
361 if (MI == ME) RestorePointMI = ME;
396 if (I == To) {
442 if (I == MBB.begin())
596 if (SpillBefore == MBB.end()) {
lib/CodeGen/ScheduleDAGInstrs.cpp 821 if (RPTracker->getPos() == RegionEnd || &*RPTracker->getPos() != &MI)
lib/CodeGen/SelectionDAG/FastISel.cpp 549 if (LastFlushPoint == I)
551 if (SavedInsertPt == I)
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp 842 if (I == BB->begin())
853 if (Before == After)
857 if (Before == BB->end()) {
lib/CodeGen/SelectionDAG/SelectionDAGISel.cpp 1678 if (SplitPoint == BB->begin())
1687 if (Previous == Start)
lib/CodeGen/SlotIndexes.cpp 179 bool includeStart = (Begin == MBB->begin());
187 if (End == MBB->end())
207 bool MBBIAtBegin = MBBI == Begin && (!includeStart || pastStart);
lib/CodeGen/SplitKit.cpp 91 if (FirstTerm == MBB.end())
861 do AtBegin = MBBI == MBB->begin();
lib/CodeGen/StackSlotColoring.cpp 456 if (NextMI == E) continue;
lib/CodeGen/TailDuplicator.cpp 668 if (I == TailBB->end())
lib/CodeGen/TwoAddressInstructionPass.cpp 277 MachineBasicBlock::iterator(KillMI) == OldPos || KillMI->isTerminator())
lib/Target/AArch64/AArch64AsmPrinter.cpp 805 if (MII == MBB.end() || MII->isCall() ||
lib/Target/AArch64/AArch64ConditionOptimizer.cpp 148 if (I == MBB->end())
lib/Target/AArch64/AArch64ConditionalCompares.cpp 300 if (I == MBB->end())
lib/Target/AArch64/AArch64InstrInfo.cpp 215 if (I == MBB.end())
226 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
250 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
339 if (I == MBB.end())
351 if (I == MBB.begin()) {
1144 if (To == To->getParent()->begin())
lib/Target/AArch64/AArch64LoadStoreOptimizer.cpp 729 if (NextI == MergeMI)
796 if (NextI == Paired)
1113 if (MBBI == B)
1383 if (++NextI == Update)
1559 if (MBBI == B || Offset != 0)
lib/Target/AArch64/AArch64RedundantCopyElimination.cpp 291 if (CondBr == PredMBB->end())
320 if (FirstUse == PredI)
351 if (PredI == PredMBB->begin())
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp 432 if (I == MBB.end())
lib/Target/AMDGPU/GCNIterativeScheduler.cpp 102 const auto BottomMI = End == BB->end() ? std::prev(End) : End;
202 assert(Sch.RegionBegin == Rgn.Begin && Sch.RegionEnd == Rgn.End);
202 assert(Sch.RegionBegin == Rgn.Begin && Sch.RegionEnd == Rgn.End);
215 assert(Sch.RegionBegin == Rgn.Begin && Sch.RegionEnd == Rgn.End);
215 assert(Sch.RegionBegin == Rgn.Begin && Sch.RegionEnd == Rgn.End);
255 auto const BottomMI = End == BBEnd ? std::prev(End) : End;
260 if (AfterBottomMI == BBEnd ||
315 if (!Regions.empty() && Regions.back()->Begin == RegionBegin) {
374 assert(RegionBegin == R.Begin && RegionEnd == R.End);
374 assert(RegionBegin == R.Begin && RegionEnd == R.End);
lib/Target/AMDGPU/GCNRegPressure.cpp 361 if (NextMI == MBBEnd)
371 if (NextMI == MBBEnd)
423 if ((NextMI == MBBEnd) || (LastTrackedMI && !advanceBeforeNext()))
lib/Target/AMDGPU/GCNSchedStrategy.cpp 270 if (DAG->top() == DAG->bottom()) {
478 if (Regions[CurRegion].first == I) {
483 if (Regions[CurRegion].second == I) {
568 if (begin() == end() || begin() == std::prev(end())) {
568 if (begin() == end() || begin() == std::prev(end())) {
lib/Target/AMDGPU/R600ClauseMergePass.cpp 106 if (I == E)
lib/Target/AMDGPU/R600ISelLowering.cpp 284 if (std::next(I) == I->getParent()->end())
lib/Target/AMDGPU/R600InstrInfo.cpp 683 if (I == MBB.end())
705 if (I == MBB.begin() || !isJump((--I)->getOpcode())) {
779 if (CfAlu == MBB.end())
795 if (CfAlu == MBB.end())
812 if (I == MBB.begin()) {
824 if (CfAlu == MBB.end())
836 if (I == MBB.begin()) {
849 if (CfAlu == MBB.end())
lib/Target/AMDGPU/R600Packetizer.cpp 385 if (I == RegionEnd) {
391 if (I == std::prev(RegionEnd)) {
lib/Target/AMDGPU/SIISelLowering.cpp 3037 if (SplitPoint == BB->end()) {
lib/Target/AMDGPU/SIInsertSkips.cpp 368 if (A == E)
394 if (M == E ||
lib/Target/AMDGPU/SIInstrInfo.cpp 1351 bool HasNoTerminator = MBB.getFirstTerminator() == MBB.end();
1929 if (I == MBB.end()) {
1950 if (I == E)
1980 if (I == E)
1989 if (I == MBB.end())
lib/Target/AMDGPU/SILowerControlFlow.cpp 572 Next = (Last == MBB.end()) ? MBB.begin() : Last;
lib/Target/AMDGPU/SIMachineScheduler.cpp 2028 assert(TopRPTracker.getPos() == RegionBegin && "bad initial Top tracker");
2041 assert(CurrentTop == CurrentBottom && "Nonempty unscheduled zone.");
lib/Target/AMDGPU/SIOptimizeExecMasking.cpp 290 if (I == E)
300 if (CopyFromExecInst == E) {
302 if (PrepareExecInst == E)
lib/Target/AMDGPU/SIOptimizeExecMaskingPreRA.cpp 204 if (I == MBB.terminators().end())
384 if (MBB.succ_size() != 1 || Lead == E || !isEndCF(*Lead, TRI, ST))
389 if (NextLead == TmpMBB->end() || !isEndCF(*NextLead, TRI, ST) ||
lib/Target/AMDGPU/SIWholeQuadMode.cpp 731 if (FirstWQM == IE)
734 if (FirstWWM == IE)
834 if (II == IE)
lib/Target/ARC/ARCInstrInfo.cpp 177 if (I == MBB.begin())
189 if (I == MBB.begin())
243 if (I == MBB.begin())
258 if (I == MBB.end())
270 if (I == MBB.begin())
lib/Target/ARM/ARMBaseInstrInfo.cpp 320 if (I == MBB.begin())
334 if (I == MBB.begin())
390 if (I == MBB.begin())
406 if (I == MBB.end())
418 if (I == MBB.begin()) return 1;
2935 if (I == B) return false;
3010 if (I == E)
3019 if (I == B) {
lib/Target/ARM/ARMConstantIslandPass.cpp 538 if (InsPoint[a] == InsAt)
564 if (MI == MBB.end())
1672 if (std::next(MachineBasicBlock::iterator(MI)) == std::prev(MBB->end()) &&
lib/Target/ARM/ARMFrameLowering.cpp 246 llvm::find_if(Insts, [&](InstInfo &Info) { return Info.I == I; });
lib/Target/ARM/ARMISelLowering.cpp10381 if (miI == BB->end()) {
lib/Target/ARM/ARMLoadStoreOptimizer.cpp 916 if (EarliestI == MBB.begin()) {
1217 if (MBBI == BeginMBBI)
1240 if (NextMBBI == EndMBBI)
1972 if (MBBI == MBB.begin() || MBBI == MBB.end() ||
1972 if (MBBI == MBB.begin() || MBBI == MBB.end() ||
lib/Target/ARM/MVEVPTBlockPass.cpp 152 if (CmpMI == MI)
lib/Target/ARM/Thumb2InstrInfo.cpp 113 if (MBBI == MBB.end())
lib/Target/Hexagon/BitTracker.cpp 1086 if (It == End) {
lib/Target/Hexagon/HexagonConstExtenders.cpp 195 if (B->end() == It) {
lib/Target/Hexagon/HexagonConstPropagation.cpp 904 assert(It == End || !It->isPHI());
1004 if (P == E)
lib/Target/Hexagon/HexagonEarlyIfConv.cpp 248 if (T1I == B->end())
262 assert(T2I == B->end() || T2I->getOpcode() == Hexagon::J2_jump);
263 MachineBasicBlock *T2B = (T2I == B->end()) ? NextB
lib/Target/Hexagon/HexagonExpandCondsets.cpp 748 if (I == S)
lib/Target/Hexagon/HexagonFrameLowering.cpp 338 if (I == MBB.end())
1315 assert(It->isReturn() && std::next(It) == MBB.end());
lib/Target/Hexagon/HexagonHardwareLoops.cpp 1184 if (LastI == LastMBB->end())
lib/Target/Hexagon/HexagonMachineScheduler.cpp 241 assert(CurrentTop == CurrentBottom && "Nonempty unscheduled zone.");
946 if (DAG->top() == DAG->bottom()) {
lib/Target/Hexagon/HexagonNewValueJump.cpp 183 if (localBegin == skip)
lib/Target/Lanai/LanaiInstrInfo.cpp 296 if (I == B)
336 if (I == B)
lib/Target/Lanai/LanaiMemAluCombiner.cpp 341 if (First == Last)
399 if (MBBIter == End)
lib/Target/Mips/MipsBranchExpansion.cpp 204 if (Position == Parent->end()) {
217 if (Instr == Parent->end()) {
252 if ((LastBr == End) ||
260 if ((FirstBr == End) ||
748 std::next(I) == FI->end() && std::next(FI) == MFp->end();
lib/Target/Mips/MipsConstantIslandPass.cpp 576 if (InsPoint[a] == InsAt)
1576 if (std::next(MachineBasicBlock::iterator(MI)) == std::prev(MBB->end()) &&
lib/Target/Mips/MipsInstrInfo.cpp 200 if (I == REnd || !isUnpredicatedTerminator(*I)) {
lib/Target/NVPTX/NVPTXInstrInfo.cpp 102 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I))
109 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
158 if (I == MBB.begin())
169 if (I == MBB.begin())
lib/Target/PowerPC/PPCAsmPrinter.cpp 363 if (MII == MBB.end() || MII->isCall() ||
lib/Target/PowerPC/PPCBranchCoalescing.cpp 394 if (MI == ME) {
lib/Target/PowerPC/PPCCTRLoops.cpp 135 if (I == MBB->begin()) {
143 if (I == MBB->end())
164 if (I == IE)
lib/Target/PowerPC/PPCEarlyReturn.cpp 59 if (I == ReturnMBB.end() ||
73 if (J == (*PI)->end())
129 if (J == (*PI)->begin())
lib/Target/PowerPC/PPCExpandISEL.cpp 188 return (std::prev(MBBI) == PrevPushedMBBI); // Contiguous ISELs?
lib/Target/PowerPC/PPCFrameLowering.cpp 644 if (MBBI == MBB->end())
2370 bool AtStart = I == MBB.begin();
lib/Target/PowerPC/PPCInstrInfo.cpp 504 if (I == MBB.end())
519 if (I == MBB.end() || !isUnpredicatedTerminator(*I))
528 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
675 if (I == MBB.end())
689 if (I == MBB.begin()) return 1;
1825 if (I == B)
lib/Target/PowerPC/PPCReduceCRLogicals.cpp 644 if (Def1It == Def2It) { // Def2 comes before Def1.
lib/Target/PowerPC/PPCRegisterInfo.cpp 767 if (Ins == MBB.rend())
lib/Target/RISCV/RISCVInstrInfo.cpp 243 if (I == MBB.end() || !isUnpredicatedTerminator(*I))
306 if (I == MBB.end())
320 if (I == MBB.begin())
lib/Target/Sparc/DelaySlotFiller.cpp 145 if (D == MBB.end())
175 if (slot == MBB.begin())
204 done = (I == MBB.begin());
484 if (MBBI == MBB.begin())
lib/Target/Sparc/SparcInstrInfo.cpp 165 if (I == MBB.end())
176 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
200 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
lib/Target/SystemZ/SystemZAsmPrinter.cpp 584 if (MII == MBB.end() ||
lib/Target/SystemZ/SystemZISelLowering.cpp 6535 if (miI == MBB->end()) {
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp 538 if (TermPos == Header->end() ||
lib/Target/WebAssembly/WebAssemblyLateEHPrepare.cpp 149 if (Pos == MBB.end())
lib/Target/X86/X86AvoidTrailingCall.cpp 87 if (LastRealInstr == MF.begin()->rend())
lib/Target/X86/X86CallFrameOptimization.cpp 282 if (MI == MBB.end())
413 if (I == StackPtrCopyInst)
466 if (I == MBB.end() || !I->isCall())
lib/Target/X86/X86FixupLEAs.cpp 260 if (I == MBB.begin()) {
lib/Target/X86/X86FloatingPoint.cpp 225 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc();
246 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc();
481 if (I == PrevI) {
1675 if (Inst == MBB->begin()) {
lib/Target/X86/X86FrameLowering.cpp 155 if (MBBI == MBB.end())
397 if ((doMergeWithPrevious && MBBI == MBB.begin()) ||
398 (!doMergeWithPrevious && MBBI == MBB.end()))
1608 bool IsFunclet = MBBI == MBB.end() ? false : isFuncletReturnInstr(*MBBI);
1748 if (Terminator == MBB.end() || !isTailCallOpcode(Terminator->getOpcode())) {
2734 if (MBBI == MBB.begin())
lib/Target/X86/X86ISelLowering.cpp29607 if (miI == BB->end()) {
lib/Target/X86/X86IndirectBranchTracking.cpp 79 if (I == MBB.end() || I->getOpcode() != EndbrOpcode) {
lib/Target/X86/X86InstrInfo.cpp 3641 if (J == I)
3810 if (InsertI == InsertE)
lib/Target/X86/X86MCInstLower.cpp 1594 while (MBBI == MBB->begin()) {
lib/Target/X86/X86OptimizeLEAs.cpp 539 MachineBasicBlock::iterator(DefMI) == MBB->begin()) ||
lib/Target/X86/X86RegisterInfo.cpp 722 bool IsEHFuncletEpilogue = MBBI == MBB.end() ? false
lib/Target/X86/X86SpeculativeLoadHardening.cpp 578 if (TermIt == MBB.end() || !TermIt->isBranch())
741 assert((InsertPt == CheckingMBB.end() || !InsertPt->isPHI()) &&
lib/Target/XCore/XCoreFrameLowering.cpp 458 bool AtStart = MI == MBB.begin();
lib/Target/XCore/XCoreInstrInfo.cpp 196 if (I == MBB.end())
206 if (I == MBB.begin() || !isUnpredicatedTerminator(*--I)) {
310 if (I == MBB.end())
321 if (I == MBB.begin()) return 1;
usr/include/c++/7.4.0/bits/stl_algo.h 509 { return __last == std::find_if_not(__first, __last, __pred); }
526 { return __last == _GLIBCXX_STD_A::find_if(__first, __last, __pred); }
usr/include/c++/7.4.0/bits/stl_iterator.h 304 { return __x.base() == __y.base(); }
utils/unittest/googletest/include/gtest/gtest.h 1392 if (lhs == rhs) {