|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
include/llvm/Analysis/BlockFrequencyInfoImpl.h 569 auto MachineName = "BB" + Twine(BB->getNumber());
include/llvm/CodeGen/LiveIntervals.h 261 assert(unsigned(MBB->getNumber()) == RegMaskBlocks.size() &&
include/llvm/CodeGen/LiveRangeCalc.h 256 Seen.set(MBB->getNumber());
include/llvm/CodeGen/MachineBasicBlock.h 858 return MBB->getNumber();
include/llvm/CodeGen/SlotIndexes.h 465 return getMBBRange(MBB->getNumber());
630 MBBRanges[prevMBB->getNumber()].second = startIdx;
632 assert(unsigned(mbb->getNumber()) == MBBRanges.size() &&
lib/CodeGen/Analysis.cpp 734 int EntryBBNumber = MF.front().getNumber();
764 {Successor, IsSEH ? EntryBBNumber : SuccessorColor->getNumber()});
778 collectEHScopeMembers(EHScopeMembership, MBB->getNumber(), MBB);
lib/CodeGen/AsmPrinter/AsmPrinter.cpp 1836 OutStreamer->EmitAssignment(GetJTSetSymbol(JTI, MBB->getNumber()),
1865 assert(MBB && MBB->getNumber() >= 0 && "Invalid basic block");
1906 Value = MCSymbolRefExpr::create(GetJTSetSymbol(UID, MBB->getNumber()),
2848 << Loop->getHeader()->getNumber()
2860 << CL->getHeader()->getNumber() << " Depth " << CL->getLoopDepth()
2882 Twine(Loop->getHeader()->getNumber())+
2973 OutStreamer->emitRawComment(" %bb." + Twine(MBB.getNumber()) + ":",
lib/CodeGen/AsmPrinter/WinException.cpp 184 Twine(MBB->getNumber()) + "@?0?" +
lib/CodeGen/BranchFolding.cpp 273 OperandHash = Op.getMBB()->getNumber();
542 if (getBlock()->getNumber() < o.getBlock()->getNumber())
542 if (getBlock()->getNumber() < o.getBlock()->getNumber())
544 if (getBlock()->getNumber() > o.getBlock()->getNumber())
544 if (getBlock()->getNumber() > o.getBlock()->getNumber())
1755 (!CurFallsThru || MBB->getNumber() >= PredBB->getNumber())) {
1755 (!CurFallsThru || MBB->getNumber() >= PredBB->getNumber())) {
lib/CodeGen/BranchRelaxation.cpp 128 unsigned PrevNum = MF->begin()->getNumber();
130 const unsigned Num = MBB.getNumber();
143 const BasicBlockInfo &BBI = BlockInfo[MBB.getNumber()];
144 dbgs() << format("%%bb.%u\toffset=%08x\t", MBB.getNumber(), BBI.Offset)
161 BlockInfo[MBB.getNumber()].Size = computeBlockSize(MBB);
184 unsigned Offset = BlockInfo[MBB->getNumber()].Offset;
196 unsigned PrevNum = Start.getNumber();
198 unsigned Num = MBB.getNumber();
217 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo());
244 BlockInfo.insert(BlockInfo.begin() + NewBB->getNumber(), BasicBlockInfo());
260 BlockInfo[OrigBB->getNumber()].Size = computeBlockSize(*OrigBB);
264 BlockInfo[NewBB->getNumber()].Size = computeBlockSize(*NewBB);
283 int64_t DestOffset = BlockInfo[DestBB.getNumber()].Offset;
309 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size;
317 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size;
323 unsigned &BBSize = BlockInfo[MBB->getNumber()].Size;
444 int64_t DestOffset = BlockInfo[DestBB->getNumber()].Offset;
449 BlockInfo[MBB->getNumber()].Size -= OldBrSize;
471 BlockInfo[BranchBB->getNumber()].Size += TII->insertIndirectBranch(
lib/CodeGen/CFIInstrInserter.cpp 108 return -MBBVector[MBB->getNumber()].IncomingCFAOffset;
144 MBBVector[MBB.getNumber()] = MBBInfo;
152 if (MBBVector[MBB.getNumber()].Processed) continue;
153 updateSuccCFAInfo(MBBVector[MBB.getNumber()]);
229 MBBCFAInfo &CurrentInfo = MBBVector[Current->getNumber()];
235 MBBCFAInfo &SuccInfo = MBBVector[Succ->getNumber()];
246 const MBBCFAInfo *PrevMBBInfo = &MBBVector[MF.front().getNumber()];
252 if (MBB.getNumber() == MF.front().getNumber()) continue;
252 if (MBB.getNumber() == MF.front().getNumber()) continue;
254 const MBBCFAInfo &MBBInfo = MBBVector[MBB.getNumber()];
298 errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber()
301 errs() << "Pred: " << Pred.MBB->getName() << " #" << Pred.MBB->getNumber()
304 errs() << "Succ: " << Succ.MBB->getName() << " #" << Succ.MBB->getNumber()
306 errs() << "Succ: " << Succ.MBB->getName() << " #" << Succ.MBB->getNumber()
313 const MBBCFAInfo &CurrMBBInfo = MBBVector[CurrMBB->getNumber()];
315 const MBBCFAInfo &SuccMBBInfo = MBBVector[Succ->getNumber()];
lib/CodeGen/EdgeBundles.cpp 45 unsigned OutE = 2 * MBB.getNumber() + 1;
49 EC.join(OutE, 2 * (*SI)->getNumber());
81 unsigned BB = MBB.getNumber();
lib/CodeGen/ExecutionDomainFix.cpp 170 assert(unsigned(pred->getNumber()) < MBBOutRegsInfos.size() &&
172 LiveRegsDVInfo &Incoming = MBBOutRegsInfos[pred->getNumber()];
211 unsigned MBBNumber = TraversedMBB.MBB->getNumber();
lib/CodeGen/IfConversion.cpp 420 return C1->BBI.BB->getNumber() < C2->BBI.BB->getNumber();
420 return C1->BBI.BB->getNumber() < C2->BBI.BB->getNumber();
512 << ((Kind == ICSimpleFalse) ? BBI.FalseBB->getNumber()
513 : BBI.TrueBB->getNumber())
539 << " (T:" << BBI.TrueBB->getNumber()
540 << ",F:" << BBI.FalseBB->getNumber() << ") ");
557 << " (T:" << BBI.TrueBB->getNumber()
558 << ",F:" << BBI.FalseBB->getNumber() << ") ");
569 << " (T:" << BBI.TrueBB->getNumber()
570 << ",F:" << BBI.FalseBB->getNumber() << ") ");
1220 BBInfo &BBI = BBAnalysis[BB->getNumber()];
1268 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()];
1269 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()];
1456 BBInfo &PBBI = BBAnalysis[Predecessor->getNumber()];
1528 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()];
1529 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()];
1613 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()];
1614 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()];
1648 BBInfo &PBBI = BBAnalysis[PBB->getNumber()];
2006 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()];
2007 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()];
2041 BBInfo &TrueBBI = BBAnalysis[BBI.TrueBB->getNumber()];
2042 BBInfo &FalseBBI = BBAnalysis[BBI.FalseBB->getNumber()];
2070 BBInfo &TailBBI = BBAnalysis[TailBB->getNumber()];
lib/CodeGen/InlineSpiller.cpp 1309 LLVM_DEBUG(dbgs() << "BB" << (*RIt)->getBlock()->getNumber() << ",");
1422 dbgs() << Rspill->getBlock()->getNumber() << " ";
1423 dbgs() << "were promoted to BB" << (*RIt)->getBlock()->getNumber()
1479 dbgs() << spill->getParent()->getNumber() << " ";
1493 dbgs() << Ispill.first->getNumber() << " ";
1496 dbgs() << Rspill->getParent()->getNumber() << " ";
lib/CodeGen/InterferenceCache.cpp 211 MBBNum = MFI->getNumber();
lib/CodeGen/LiveDebugValues.cpp 640 Out << "MBB: " << BB.getNumber() << ":\n";
1043 dbgs() << "Add to OutLocs in MBB #" << CurMBB->getNumber() << ": ";
1136 LLVM_DEBUG(dbgs() << "join MBB: " << MBB.getNumber() << "\n");
1151 LLVM_DEBUG(dbgs() << " ignoring unvisited pred MBB: " << p->getNumber()
lib/CodeGen/LiveIntervals.cpp 216 std::pair<unsigned, unsigned> &RMB = RegMaskBlocks[MBB.getNumber()];
894 Slots = getRegMaskSlotsInBlock(MBB->getNumber());
895 Bits = getRegMaskBitsInBlock(MBB->getNumber());
lib/CodeGen/LiveRangeCalc.cpp 232 assert(Seen.test(MBB->getNumber()));
279 unsigned BN = MBB.getNumber();
287 DefOnEntry[S->getNumber()] = true;
296 WorkList.insert(P->getNumber());
339 WorkList.insert(P->getNumber());
349 unsigned UseMBBNum = UseMBB.getNumber();
388 if (Seen.test(Pred->getNumber())) {
416 WorkList.push_back(Pred->getNumber());
503 bool needPHI = !IDom || !Seen.test(IDom->getBlock()->getNumber());
593 DefBlocks.set(Indexes.getMBBFromIndex(I)->getNumber());
596 PredQueue.insert(MBB->getNumber());
603 PredQueue.insert(P->getNumber());
lib/CodeGen/LiveVariables.cpp 96 unsigned BBNum = MBB->getNumber();
135 unsigned BBNum = MBB->getNumber();
588 if (!PHIVarInfo[MBB->getNumber()].empty()) {
589 SmallVectorImpl<unsigned> &VarInfoVec = PHIVarInfo[MBB->getNumber()];
715 PHIVarInfo[BBI.getOperand(i + 1).getMBB()->getNumber()]
723 unsigned Num = MBB.getNumber();
749 unsigned SuccIdx = SuccMBB->getNumber();
766 const unsigned NumNew = BB->getNumber();
805 if (Kills.count(Reg) || VI.AliveBlocks.test(SuccBB->getNumber()))
lib/CodeGen/LoopTraversal.cpp 16 unsigned MBBNumber = MBB->getNumber();
35 unsigned MBBNumber = MBB->getNumber();
47 unsigned SuccNumber = Succ->getNumber();
lib/CodeGen/MIRPrinter.cpp 477 CallLocation.BlockNum = CallI->getParent()->getNumber();
606 assert(MBB.getNumber() >= 0 && "Invalid MBB number");
607 OS << "bb." << MBB.getNumber();
lib/CodeGen/MachineBasicBlock.cpp 64 assert(getNumber() >= 0 && "cannot get label for unreachable MBB");
67 "_" + Twine(getNumber()));
271 Name += ("BB" + Twine(getNumber())).str();
303 OS << "bb." << getNumber();
445 OS << "%bb." << getNumber();
lib/CodeGen/MachineBlockPlacement.cpp 2894 LLVM_DEBUG(dbgs() << "Redoing tail duplication for Succ#" << BB->getNumber()
lib/CodeGen/MachineFunction.cpp 299 BlockNo = std::prev(MBBI)->getNumber() + 1;
302 if (MBBI->getNumber() != (int)BlockNo) {
304 if (MBBI->getNumber() != -1) {
305 assert(MBBNumbering[MBBI->getNumber()] == &*MBBI &&
307 MBBNumbering[MBBI->getNumber()] = nullptr;
lib/CodeGen/MachineScheduler.cpp 524 && (int)SchedOnlyBlock != MBB->getNumber())
570 errs() << ":%bb. " << MBB->getNumber();
lib/CodeGen/MachineTraceMetrics.cpp 99 FixedBlockInfo *FBI = &BlockInfo[MBB->getNumber()];
135 unsigned PROffset = MBB->getNumber() * PRKinds;
176 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()];
178 unsigned PROffset = MBB->getNumber() * PRKinds;
183 TBI->Head = MBB->getNumber();
191 unsigned PredNum = TBI->Pred->getNumber();
209 TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()];
211 unsigned PROffset = MBB->getNumber() * PRKinds;
215 ArrayRef<unsigned> PRCycles = MTM.getProcResourceCycles(MBB->getNumber());
219 TBI->Tail = MBB->getNumber();
226 unsigned SuccNum = TBI->Succ->getNumber();
243 const TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()];
252 const TraceBlockInfo *TBI = &BlockInfo[MBB->getNumber()];
399 BlockInfo[MBB->getNumber()].invalidate();
454 MachineTraceMetrics::TraceBlockInfo &TBI = LB.Blocks[To->getNumber()];
488 TraceBlockInfo &TBI = BlockInfo[I->getNumber()];
506 TraceBlockInfo &TBI = BlockInfo[I->getNumber()];
524 TraceBlockInfo &BadTBI = BlockInfo[BadMBB->getNumber()];
537 TraceBlockInfo &TBI = BlockInfo[Pred->getNumber()];
562 TraceBlockInfo &TBI = BlockInfo[Succ->getNumber()];
594 assert(BlockInfo[TBI.Pred->getNumber()].hasValidDepth() &&
602 assert(BlockInfo[TBI.Succ->getNumber()].hasValidHeight() &&
772 const TraceBlockInfo &DefTBI = BlockInfo[DefMI->getParent()->getNumber()];
795 BlockInfo[Dep.DefMI->getParent()->getNumber()];
823 updateDepth(BlockInfo[MBB->getNumber()], UseMI, RegUnits);
843 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
862 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
869 ArrayRef<unsigned> PRDepths = getProcResourceDepths(MBB->getNumber());
990 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
1005 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
1027 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
1047 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
1053 ArrayRef<unsigned> PRHeights = getProcResourceHeights(MBB->getNumber());
1160 TraceBlockInfo &TBI = BlockInfo[MBB->getNumber()];
1174 assert(getBlockNum() == unsigned(MI.getParent()->getNumber()) &&
1256 PRCycles += TE.MTM.getProcResourceCycles(MBB->getNumber())[K];
1282 const TraceBlockInfo &DepTBI = TE.BlockInfo[DefMI.getParent()->getNumber()];
1283 const TraceBlockInfo &TBI = TE.BlockInfo[UseMI.getParent()->getNumber()];
1338 unsigned Num = Block->Pred->getNumber();
1346 unsigned Num = Block->Succ->getNumber();
lib/CodeGen/MachineVerifier.cpp 2322 if (!VI.AliveBlocks.test(MBB.getNumber())) {
2328 if (VI.AliveBlocks.test(MBB.getNumber())) {
2772 BBState.EntryValue = SPState[StackPred->getNumber()].ExitValue;
2773 BBState.EntryIsSetup = SPState[StackPred->getNumber()].ExitIsSetup;
2802 SPState[MBB->getNumber()] = BBState;
2809 (SPState[(*I)->getNumber()].ExitValue != BBState.EntryValue ||
2810 SPState[(*I)->getNumber()].ExitIsSetup != BBState.EntryIsSetup)) {
2813 << " has exit state (" << SPState[(*I)->getNumber()].ExitValue
2814 << ", " << SPState[(*I)->getNumber()].ExitIsSetup << "), while "
2825 (SPState[(*I)->getNumber()].EntryValue != BBState.ExitValue ||
2826 SPState[(*I)->getNumber()].EntryIsSetup != BBState.ExitIsSetup)) {
2829 << " has entry state (" << SPState[(*I)->getNumber()].EntryValue
2830 << ", " << SPState[(*I)->getNumber()].EntryIsSetup << "), while "
lib/CodeGen/ModuloSchedule.cpp 1988 dbgs() << "--- ModuloScheduleTest running on BB#" << BB->getNumber() << "\n";
lib/CodeGen/PHIElimination.cpp 369 --VRegPHIUseCount[BBVRegPair(MPhi->getOperand(i+1).getMBB()->getNumber(),
424 !VRegPHIUseCount[BBVRegPair(opBlock.getNumber(), SrcReg)] &&
474 unsigned opBlockNum = opBlock.getNumber();
485 !VRegPHIUseCount[BBVRegPair(opBlock.getNumber(), SrcReg)]) {
557 ++VRegPHIUseCount[BBVRegPair(BBI.getOperand(i+1).getMBB()->getNumber(),
lib/CodeGen/PrologEpilogInserter.cpp 1157 SPAdj = SPState[StackPred->getNumber()];
1161 SPState[BB->getNumber()] = SPAdj;
lib/CodeGen/ReachingDefAnalysis.cpp 26 unsigned MBBNumber = MBB->getNumber();
56 assert(unsigned(pred->getNumber()) < MBBOutRegsInfos.size() &&
58 const LiveRegsDefInfo &Incoming = MBBOutRegsInfos[pred->getNumber()];
80 unsigned MBBNumber = TraversedMBB.MBB->getNumber();
98 unsigned MBBNumber = MI->getParent()->getNumber();
177 unsigned MBBNumber = MI->getParent()->getNumber();
lib/CodeGen/RegAllocGreedy.cpp 1197 BC.Number = BI.MBB->getNumber();
1419 unsigned Number = BI.MBB->getNumber();
1696 unsigned Number = BI.MBB->getNumber();
2262 ArrayRef<SlotIndex> RMS = LIS->getRegMaskSlotsInBlock(BI.MBB->getNumber());
2314 SpillPlacer->getBlockFrequency(BI.MBB->getNumber()).getFrequency() *
lib/CodeGen/RegisterCoalescer.cpp 3455 return LHS->MBB->getNumber() < RHS->MBB->getNumber() ? -1 : 1;
3455 return LHS->MBB->getNumber() < RHS->MBB->getNumber() ? -1 : 1;
lib/CodeGen/ShrinkWrap.cpp 488 LLVM_DEBUG(dbgs() << "Look into: " << MBB.getNumber() << ' '
544 << Save->getNumber() << ' ' << Save->getName() << ' '
546 << "\nRestore: " << Restore->getNumber() << ' '
580 << Save->getNumber() << ' ' << Save->getName()
581 << "\nRestore: " << Restore->getNumber() << ' '
lib/CodeGen/SlotIndexes.cpp 89 MBBRanges[MBB.getNumber()].first = blockStartIndex;
90 MBBRanges[MBB.getNumber()].second = SlotIndex(&indexList.back(),
lib/CodeGen/SpillPlacement.cpp 211 unsigned Num = I.getNumber();
lib/CodeGen/SplitKit.cpp 78 unsigned Num = MBB.getNumber();
238 ThroughBlocks.set(BI.MBB->getNumber());
1576 SlotIndex LastSplitPoint = SA.getLastSplitPoint(BI.MBB->getNumber());
1730 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB->getNumber());
1807 SlotIndex LSP = SA.getLastSplitPoint(BI.MBB->getNumber());
lib/CodeGen/SplitKit.h 68 unsigned Num = MBB.getNumber();
lib/CodeGen/StackColoring.cpp 552 dbgs() << "Inspecting block #" << MBB->getNumber() << " ["
lib/CodeGen/SwitchLoweringUtils.cpp 324 Dests.set(Clusters[k].MBB->getNumber());
371 Dests.set(Clusters[I].MBB->getNumber());
lib/CodeGen/TailDuplicator.cpp 131 if (PHIBB->getNumber() < 0) {
lib/Target/AArch64/AArch64CompressJumpTables.cpp 79 BlockInfo[MBB.getNumber()] = Offset;
101 int BlockOffset = BlockInfo[Block->getNumber()];
150 int Offset = BlockInfo[MBB.getNumber()];
lib/Target/AArch64/AArch64StorePairSuppress.cpp 93 LLVM_DEBUG(dbgs() << " Suppress STP in BB: " << BB->getNumber()
lib/Target/AMDGPU/AMDGPUAsmPrinter.cpp 281 + "_" + Twine(MBB.getNumber()) + ":").str());
lib/Target/AMDGPU/AMDGPUMachineCFGStructurizer.cpp 502 dbgs() << "MBB: " << getMBB()->getNumber();
558 dbgs() << "Succ: " << getSucc()->getNumber() << "\n";
870 OS << MBB->getNumber();
872 OS << "} (" << Entry->getNumber() << ", "
873 << (Exit == nullptr ? -1 : Exit->getNumber())
1695 LLVM_DEBUG(dbgs() << "Inserting unconditional branch: " << MBB->getNumber()
1696 << " -> " << Dest->getNumber() << "\n");
1745 LLVM_DEBUG(dbgs() << "Created exit block: " << LastMerge->getNumber()
1859 LLVM_DEBUG(dbgs() << "Created If block: " << IfBB->getNumber() << "\n");
1876 SelectBB->getNumber() /* CodeBBStart->getNumber() */);
1879 CodeBBStart->getNumber());
1917 CodeBB->getParent()->begin()->getNumber());
1931 BBSelectReg, TrueBB->getNumber());
1937 TrueBBReg, TrueBB->getNumber());
1939 FalseBBReg, FalseBB->getNumber());
2144 LLVM_DEBUG(dbgs() << "RegionExit: " << Exit->getNumber() << " Pred: "
2145 << (*(Entry->pred_begin()))->getNumber() << "\n");
2339 CurrentRegion->getRegionMRT()->getEntry()->getNumber());
2398 CurrentRegion->getRegionMRT()->getEntry()->getNumber());
2498 LLVM_DEBUG(dbgs() << "Created new exit block: " << NewExit->getNumber()
2700 LLVM_DEBUG(dbgs() << "Linearizing block: " << MBB->getNumber() << "\n");
2744 NewInReg, Region->getEntry()->getNumber());
2807 LLVM_DEBUG(dbgs() << "Fallthrough: " << MBBI.getNumber() << " -> "
2808 << MBB->getNumber() << "\n");
lib/Target/AMDGPU/AMDILCFGStructurizer.cpp 185 dbgs() << "BB" << (*iterBlk)->getNumber();
648 LLVM_DEBUG(dbgs() << "BB" << MBB->getNumber()
859 assert(((*It).first)->getNumber() != -1);
860 LLVM_DEBUG(dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n";);
895 dbgs() << "unreachable block BB" << MBB->getNumber() << "\n";
903 LLVM_DEBUG(dbgs() << "Begin patternMatch BB" << MBB->getNumber() << "\n";);
908 LLVM_DEBUG(dbgs() << "End patternMatch BB" << MBB->getNumber()
1087 << Src1MBB->getNumber() << " src2 = BB"
1088 << Src2MBB->getNumber() << "\n";);
1115 LLVM_DEBUG(dbgs() << "handleJumpintoIfImp head = BB" << HeadMBB->getNumber()
1116 << " true = BB" << TrueMBB->getNumber()
1118 << FalseMBB->getNumber() << "\n";);
1121 LLVM_DEBUG(dbgs() << "check down = BB" << DownBlk->getNumber(););
1148 dbgs() << "head = BB" << HeadMBB->getNumber()
1157 dbgs() << ", true = BB" << TrueMBB->getNumber() << " size = "
1166 dbgs() << ", false = BB" << FalseMBB->getNumber() << " size = "
1175 dbgs() << ", land = BB" << LandMBB->getNumber() << " size = "
1365 LLVM_DEBUG(dbgs() << "serialPattern BB" << DstMBB->getNumber() << " <= BB"
1366 << SrcMBB->getNumber() << "\n";);
1381 LLVM_DEBUG(dbgs() << "ifPattern BB" << MBB->getNumber(); dbgs() << "{ ";
1382 if (TrueMBB) { dbgs() << "BB" << TrueMBB->getNumber(); } dbgs()
1385 dbgs() << "BB" << FalseMBB->getNumber();
1388 dbgs() << "BB" << LandMBB->getNumber();
1435 LLVM_DEBUG(dbgs() << "loopPattern header = BB" << DstBlk->getNumber()
1436 << " land = BB" << LandMBB->getNumber() << "\n";);
1446 << ExitingMBB->getNumber() << " land = BB"
1447 << LandMBB->getNumber() << "\n";);
1467 << ContingMBB->getNumber() << ", cont = BB"
1468 << ContMBB->getNumber() << "\n";);
1543 << "BB" << MBB->getNumber() << "size " << MBB->size()
1546 SHOWNEWBLK(CloneMBB, "result of Cloned block: ");
1589 SHOWNEWBLK(DummyExitBlk, "DummyExitBlock to normalize infiniteLoop: ");
1621 SHOWNEWBLK(MBB1, "Removing redundant successor");
1638 LLVM_DEBUG(dbgs() << "Add dummyExitBlock to BB" << MBB->getNumber()
1641 SHOWNEWBLK(DummyExitBlk, "DummyExitBlock: ");
1658 LLVM_DEBUG(dbgs() << "Retiring BB" << MBB->getNumber() << "\n";);
lib/Target/AMDGPU/GCNRegBankReassign.cpp 689 if (MBB.getName().empty()) dbgs() << "bb." << MBB.getNumber();
lib/Target/AMDGPU/SIInsertWaitcnts.cpp 1367 dbgs() << "*** Block" << Block.getNumber() << " ***";
lib/Target/AMDGPU/SIModeRegister.cpp 319 BlockInfo[MBB.getNumber()] = std::move(NewInfo);
329 unsigned ThisBlock = MBB.getNumber();
338 BlockInfo[ThisBlock]->Pred = BlockInfo[PB.getNumber()]->Exit;
342 BlockInfo[ThisBlock]->Pred = BlockInfo[ThisBlock]->Pred.intersect(BlockInfo[Pred->getNumber()]->Exit);
365 unsigned ThisBlock = MBB.getNumber();
lib/Target/ARM/ARMBasicBlockInfo.cpp 49 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()];
81 unsigned Offset = BBInfo[MBB->getNumber()].Offset;
98 unsigned DestOffset = BBInfo[DestBB->getNumber()].Offset;
121 unsigned BBNum = BB->getNumber();
124 << " - number: " << BB->getNumber() << "\n"
lib/Target/ARM/ARMBasicBlockInfo.h 135 return BBInfo[MBB->getNumber()].Offset;
141 BBInfo[MBB->getNumber()].Size += Size;
lib/Target/ARM/ARMConstantIslandPass.cpp 308 return BBInfo[LHS.getNumber()].postOffset() <
309 BBInfo[RHS.getNumber()].postOffset();
863 return LHS->getNumber() < RHS->getNumber();
863 return LHS->getNumber() < RHS->getNumber();
875 BBUtils->insert(NewBB->getNumber(), BasicBlockInfo());
937 BBUtils->insert(NewBB->getNumber(), BasicBlockInfo());
975 const BasicBlockInfo &BBI = BBInfo[U.MI->getParent()->getNumber()];
1025 const unsigned CPEOffset = BBInfo[Water->getNumber()].postOffset(CPEAlign);
1030 NextBlockOffset = BBInfo[Water->getNumber()].postOffset();
1032 NextBlockOffset = BBInfo[NextBlock->getNumber()].Offset;
1069 unsigned Block = MI->getParent()->getNumber();
1218 unsigned MinNoSplitDisp = BBInfo[UserBB->getNumber()].postOffset(CPEAlign);
1236 (WaterBB->getNumber() < U.HighWaterMark->getNumber() ||
1236 (WaterBB->getNumber() < U.HighWaterMark->getNumber() ||
1274 const BasicBlockInfo &UserBBI = BBInfo[UserMBB->getNumber()];
1551 BBUtils->getBBInfo()[NewIsland->getNumber()].Offset));
1566 BBInfo[CPEBB->getNumber()].Size = 0;
1634 BBInfo[MBB->getNumber()].Size += 2;
1885 unsigned DestOffset = BBInfo[DestBB->getNumber()].Offset;
1979 BBInfo[MBB->getNumber()].Size -= 2;
1990 BBInfo[MBB->getNumber()].Size -= LastMI->getDesc().getSize();
2183 unsigned DstOffset = BBInfo[MBB->getNumber()].Offset;
2342 BBInfo[MBB->getNumber()].Size -= Delta;
2373 int JTNumber = MI->getParent()->getNumber();
2377 int DTNumber = MBB->getNumber();
lib/Target/ARM/Thumb2SizeReduction.cpp 1041 const MBBInfo &PInfo = BlockInfo[Pred->getNumber()];
1113 MBBInfo &Info = BlockInfo[MBB.getNumber()];
lib/Target/Hexagon/BitTracker.cpp 779 return BA->getNumber() > BB->getNumber();
779 return BA->getNumber() > BB->getNumber();
799 int ThisN = PI.getParent()->getNumber();
816 int PredN = PB->getNumber();
924 int ThisN = B.getNumber();
977 FlowQ.push(CFGEdge(ThisN, TB->getNumber()));
1025 int BN = B->getNumber();
1090 int ThisN = B.getNumber();
1091 int NextN = Next->getNumber();
1127 assert(B.getNumber() >= 0 && "Disconnected block");
1128 unsigned BN = B.getNumber();
1136 int EntryN = Entry->getNumber();
lib/Target/Hexagon/HexagonBitSimplify.cpp 3134 << printReg(I.PR.Reg, HRI, I.PR.Sub) << ":b" << I.PB->getNumber()
3136 << I.LB->getNumber() << ')';
lib/Target/Hexagon/HexagonConstExtenders.cpp 204 return Block->getNumber() < A.Block->getNumber();
204 return Block->getNumber() < A.Block->getNumber();
496 OS << "bb#" << MBB.getNumber() << ": ";
1248 if (MBB.getNumber() == -1)
1576 LLVM_DEBUG(dbgs() << "Inserted def in bb#" << MBB.getNumber()
1974 assert(BA->getNumber() != -1 && BB->getNumber() != -1);
1974 assert(BA->getNumber() != -1 && BB->getNumber() != -1);
1976 return BA->getNumber() < BB->getNumber();
1976 return BA->getNumber() < BB->getNumber();
lib/Target/Hexagon/HexagonConstPropagation.cpp 621 unsigned MBN = MB->getNumber();
645 unsigned PBN = PB->getNumber();
725 unsigned MBN = B.getNumber();
776 unsigned TBN = TB->getNumber();
867 unsigned EntryNum = Entry->getNumber();
927 unsigned SBN = SB->getNumber();
929 FlowQ.push(CFGEdge(SBN, SSB->getNumber()));
938 unsigned BN = B.getNumber();
940 unsigned SN = SB->getNumber();
lib/Target/Hexagon/HexagonEarlyIfConv.cpp 118 return OS << '#' << P.MB->getNumber();
lib/Target/Hexagon/HexagonFrameLowering.cpp 418 RPO[(*I)->getNumber()] = RPON++;
424 unsigned BN = RPO[I.getNumber()];
427 if (RPO[(*SI)->getNumber()] <= BN)
779 Worklist.insert(EntryB.getNumber());
781 unsigned SaveN = SaveB.getNumber();
792 Worklist.insert(SB->getNumber());
799 assert(MBB.getNumber() >= 0);
800 unsigned BN = MBB.getNumber();
lib/Target/Hexagon/HexagonGenInsert.cpp 754 unsigned FromN = FromB->getNumber(), ToN = ToB->getNumber();
754 unsigned FromN = FromB->getNumber(), ToN = ToB->getNumber();
770 if (PB == FromB || RPO.lookup(PB->getNumber()) >= ToRPO)
1197 RPO[(*I)->getNumber()] = RPON++;
lib/Target/Hexagon/HexagonNewValueJump.cpp 476 LLVM_DEBUG(dbgs() << "** dumping bb ** " << MBB->getNumber() << "\n");
lib/Target/Hexagon/HexagonOptAddrMode.cpp 399 LLVM_DEBUG(dbgs() << "\t\t[MI <BB#" << UseMI->getParent()->getNumber()
lib/Target/Hexagon/RDFGraph.cpp 282 Ns.push_back(B->getNumber());
289 Ns.push_back(B->getNumber());
lib/Target/Hexagon/RDFLiveness.cpp 735 dbgs() << "block #" << I.first->getNumber() << " -> "
798 dbgs() << "block #" << I.first->getNumber() << " -> "
967 dbgs() << ' ' << I->getBlock()->getNumber();
lib/Target/MSP430/MSP430BranchSelector.cpp 95 unsigned TotalSize = BlockOffsets[Begin->getNumber()];
97 BlockOffsets[MBB.getNumber()] = TotalSize;
133 BlockOffsets[DestBB->getNumber()] - BlockOffsets[MBB->getNumber()];
133 BlockOffsets[DestBB->getNumber()] - BlockOffsets[MBB->getNumber()];
212 for (int i = MBB->getNumber() + 1, e = BlockOffsets.size(); i < e; ++i) {
lib/Target/Mips/MipsBranchExpansion.cpp 306 int ThisMBB = Br->getParent()->getNumber();
307 int TargetMBB = getTargetMBB(*Br)->getNumber();
640 uint64_t JOffset = computeOffsetFromTheBeginning(MBB->getNumber()) +
641 MBBInfos[MBB->getNumber()].Size + 4;
642 uint64_t TgtMBBOffset = computeOffsetFromTheBeginning(TgtMBB->getNumber());
lib/Target/Mips/MipsConstantIslandPass.cpp 791 BasicBlockInfo &BBI = BBInfo[MBB->getNumber()];
807 unsigned Offset = BBInfo[MBB->getNumber()].Offset;
821 return LHS->getNumber() < RHS->getNumber();
821 return LHS->getNumber() < RHS->getNumber();
834 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo());
882 BBInfo.insert(BBInfo.begin() + NewBB->getNumber(), BasicBlockInfo());
937 unsigned CPEOffset = BBInfo[Water->getNumber()].postOffset();
942 NextBlockOffset = BBInfo[Water->getNumber()].postOffset();
945 NextBlockOffset = BBInfo[NextBlock->getNumber()].Offset;
982 unsigned Block = MI->getParent()->getNumber();
1013 unsigned BBNum = BB->getNumber();
1187 (WaterBB->getNumber() < U.HighWaterMark->getNumber() ||
1187 (WaterBB->getNumber() < U.HighWaterMark->getNumber() ||
1219 const BasicBlockInfo &UserBBI = BBInfo[UserMBB->getNumber()];
1243 BBInfo[UserMBB->getNumber()].Size += Delta;
1397 BBInfo[NewIsland->getNumber()].Size += Size;
1409 << format(" offset=%#x\n", BBInfo[NewIsland->getNumber()].Offset));
1420 BBInfo[CPEBB->getNumber()].Size -= Size;
1423 BBInfo[CPEBB->getNumber()].Size = 0;
1463 unsigned DestOffset = BBInfo[DestBB->getNumber()].Offset;
1529 BBInfo[MBB->getNumber()].Size += 2;
1605 BBInfo[MBB->getNumber()].Size -= delta;
1626 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back());
1628 BBInfo[MBB->getNumber()].Size += TII->getInstSizeInBytes(MBB->back());
1633 BBInfo[MI->getParent()->getNumber()].Size -= TII->getInstSizeInBytes(*MI);
lib/Target/PowerPC/PPCBranchCoalescing.cpp 235 << Cand.BranchBlock->getNumber() << " can be coalesced:");
426 << TargetMBB.getNumber() << "\n");
457 << TargetMBB.getNumber() << "\n");
755 LLVM_DEBUG(dbgs() << "Blocks " << Cand1.BranchBlock->getNumber()
756 << " and " << Cand2.BranchBlock->getNumber()
762 << Cand1.BranchBlock->getNumber() << " and "
763 << Cand2.BranchBlock->getNumber() << "\n");
767 LLVM_DEBUG(dbgs() << "Merging blocks " << Cand1.BranchBlock->getNumber()
768 << " and " << Cand1.BranchTargetBlock->getNumber()
lib/Target/PowerPC/PPCBranchSelector.cpp 96 FirstImpreciseBlock = MBB.getNumber();
126 if (MBB->getNumber() > 0) {
129 auto &BS = BlockSizes[MBB->getNumber()-1];
140 FirstImpreciseBlock = MBB->getNumber();
143 BlockSizes[MBB->getNumber()].first = BlockSize;
157 if (MBB->getNumber() > 0) {
158 auto &BS = BlockSizes[MBB->getNumber()-1];
170 Offset += BlockSizes[MBB->getNumber()].first;
183 if (Dest->getNumber() <= Src->getNumber()) {
183 if (Dest->getNumber() <= Src->getNumber()) {
190 int DestBlock = Dest->getNumber();
192 for (unsigned i = DestBlock+1, e = Src->getNumber(); i < e; ++i) {
202 unsigned StartBlock = Src->getNumber();
206 for (unsigned i = StartBlock+1, e = Dest->getNumber(); i != e; ++i) {
212 (Src->getNumber() >= FirstImpreciseBlock);
370 BlockSizes[MBB.getNumber()].first += 4;
lib/Target/PowerPC/PPCExpandISEL.cpp 164 ISELInstructions.insert(std::make_pair(MBB.getNumber(), thisBlockISELs));
lib/Target/PowerPC/PPCVSXSwapRemoval.cpp 977 dbgs() << format(" %bb.%3d", MI->getParent()->getNumber());
lib/Target/SystemZ/SystemZLongBranch.cpp 260 TII->getBranchInfo(MI).getMBBTarget()->getNumber();
lib/Target/WebAssembly/WebAssemblyCFGSort.cpp 205 return A->getNumber() > B->getNumber();
205 return A->getNumber() > B->getNumber();
219 return A->getNumber() < B->getNumber();
219 return A->getNumber() < B->getNumber();
255 NumPredsLeft[MBB.getNumber()] = N;
300 if (--NumPredsLeft[Succ->getNumber()] == 0)
319 if (Next->getNumber() < MBB->getNumber() &&
319 if (Next->getNumber() < MBB->getNumber() &&
322 R->getHeader()->getNumber() < Next->getNumber())) {
322 R->getHeader()->getNumber() < Next->getNumber())) {
367 assert(MBB.getNumber() >= 0 && "Renumbered blocks should be non-negative.");
376 (Pred->getNumber() < MBB.getNumber() || Region->contains(Pred)) &&
376 (Pred->getNumber() < MBB.getNumber() || Region->contains(Pred)) &&
382 assert(Pred->getNumber() < MBB.getNumber() &&
382 assert(Pred->getNumber() < MBB.getNumber() &&
391 assert(Pred->getNumber() < MBB.getNumber() &&
391 assert(Pred->getNumber() < MBB.getNumber() &&
lib/Target/WebAssembly/WebAssemblyCFGStackify.cpp 223 int MBBNumber = MBB.getNumber();
225 if (Pred->getNumber() < MBBNumber) {
248 if (MachineBasicBlock *ScopeTop = ScopeTops[I->getNumber()]) {
249 if (ScopeTop->getNumber() > Header->getNumber()) {
249 if (ScopeTop->getNumber() > Header->getNumber()) {
272 if (MBB.getNumber() > LoopBottom->getNumber())
272 if (MBB.getNumber() > LoopBottom->getNumber())
350 if (EndToBegin[&MI]->getParent()->getNumber() >= Header->getNumber())
350 if (EndToBegin[&MI]->getParent()->getNumber() >= Header->getNumber())
366 int Number = MBB.getNumber();
368 ScopeTops[Number]->getNumber() > Header->getNumber())
368 ScopeTops[Number]->getNumber() > Header->getNumber())
432 assert((!ScopeTops[AfterLoop->getNumber()] ||
433 ScopeTops[AfterLoop->getNumber()]->getNumber() < MBB.getNumber()) &&
433 ScopeTops[AfterLoop->getNumber()]->getNumber() < MBB.getNumber()) &&
433 ScopeTops[AfterLoop->getNumber()]->getNumber() < MBB.getNumber()) &&
435 if (!ScopeTops[AfterLoop->getNumber()])
436 ScopeTops[AfterLoop->getNumber()] = &MBB;
449 int MBBNumber = MBB.getNumber();
451 if (Pred->getNumber() < MBBNumber) {
479 if (MachineBasicBlock *ScopeTop = ScopeTops[I->getNumber()]) {
480 if (ScopeTop->getNumber() > Header->getNumber()) {
480 if (ScopeTop->getNumber() > Header->getNumber()) {
503 if (MBB.getNumber() > LoopBottom->getNumber())
503 if (MBB.getNumber() > LoopBottom->getNumber())
604 if (EndToBegin[&MI]->getParent()->getNumber() > Header->getNumber())
604 if (EndToBegin[&MI]->getParent()->getNumber() > Header->getNumber())
633 for (int Number : {Cont->getNumber(), MBB.getNumber()}) {
633 for (int Number : {Cont->getNumber(), MBB.getNumber()}) {
635 ScopeTops[Number]->getNumber() > Header->getNumber())
635 ScopeTops[Number]->getNumber() > Header->getNumber())
1175 if (ScopeTops[MBB.getNumber()])
1181 ScopeTops[MBB.getNumber()] = EndToBegin[&MI]->getParent();
1184 ScopeTops[MBB.getNumber()] = EHPadToTry[&MBB]->getParent();
1199 auto ANum = A->getNumber();
1200 auto BNum = B->getNumber();
1306 assert(ScopeTops[Stack.back()->getNumber()]->getNumber() <=
1306 assert(ScopeTops[Stack.back()->getNumber()]->getNumber() <=
1307 MBB.getNumber() &&
lib/Target/WebAssembly/WebAssemblyExceptionInfo.cpp 159 OS << "%bb." << MBB->getNumber();
lib/Target/WebAssembly/WebAssemblyFixIrreducibleControlFlow.cpp 331 auto ANum = A->getNumber();
332 auto BNum = B->getNumber();
338 assert(Block->getNumber() != -1);
342 auto ANum = (*I)->getNumber();
343 auto BNum = (*(std::next(I)))->getNumber();
lib/Target/WebAssembly/WebAssemblyUtilities.h 42 if (MBB->getNumber() > Bottom->getNumber())
42 if (MBB->getNumber() > Bottom->getNumber())
lib/Target/X86/X86CondBrFolding.cpp 129 return MBBInfos[MBB->getNumber()].get();
377 MBBInfos[MBB.getNumber()] = nullptr;
378 MBBInfos[RootMBB->getNumber()] = nullptr;
394 MBBInfos[MBB.getNumber()] = analyzeMBB(MBB);
402 LLVM_DEBUG(dbgs() << "Work on MBB." << MBB.getNumber()
lib/Target/X86/X86FloatingPoint.cpp 354 LiveBundles[Bundles->getBundle(Entry->getNumber(), false)];
404 LiveBundles[Bundles->getBundle(MBB.getNumber(), false)].Mask |= Mask;
513 LiveBundles[Bundles->getBundle(MBB->getNumber(), false)];
551 unsigned BundleIdx = Bundles->getBundle(MBB->getNumber(), true);
lib/Target/X86/X86VZeroUpper.cpp 188 if (!BlockStates[MBB.getNumber()].AddedToDirtySuccessors) {
190 BlockStates[MBB.getNumber()].AddedToDirtySuccessors = true;
200 BlockStates[MBB.getNumber()].FirstUnguardedCall = MBB.end();
261 BlockStates[MBB.getNumber()].FirstUnguardedCall = MI;
266 LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber() << " exit state: "
275 BlockStates[MBB.getNumber()].ExitState = CurState;
330 BlockState &BBState = BlockStates[MBB.getNumber()];
341 LLVM_DEBUG(dbgs() << "MBB #" << MBB.getNumber()