Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:MBB

63   cl::desc("Only schedule this MBB#"));
389 MachineBasicBlock *MBB,
392 return MI->isCall() || TII->isSchedulingBoundary(MI, MBB, *MF);
404 for (MachineFunction::iterator MBB = MF->begin(), MBBEnd = MF->end();
405 MBB != MBBEnd; ++MBB) {
407 Scheduler.startBlock(&*MBB);
413 && (int)SchedOnlyBlock != MBB->getNumber())
422 // MBB->end() for the bottom region.
428 // MBB::size() uses instr_iterator to count. Here we need a bundle to count
430 unsigned RemainingInstrs = std::distance(MBB->begin(), MBB->end());
431 for(MachineBasicBlock::iterator RegionEnd = MBB->end();
432 RegionEnd != MBB->begin(); RegionEnd = Scheduler.begin()) {
435 if (RegionEnd != MBB->end() ||
436 MBB, MF, TII)) {
446 for(;I != MBB->begin(); --I, --RemainingInstrs) {
447 if (isSchedBoundary(&*std::prev(I), &*MBB, MF, TII))
454 Scheduler.enterRegion(&*MBB, I, RegionEnd, NumRegionInstrs);
465 << ":BB#" << MBB->getNumber() << " " << MBB->getName()
467 if (RegionEnd != MBB->end()) dbgs() << *RegionEnd;
473 errs() << ":BB# " << MBB->getNumber();
474 errs() << " " << MBB->getName() << " \n";
494 Scheduler.fixupKills(&*MBB);