Lines Matching refs:SrcMBB

209   PathToKind singlePathTo(MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB,
255 MachineBasicBlock *SrcMBB);
261 void replaceInstrUseOfBlockWith(MachineBasicBlock *SrcMBB,
289 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB);
291 MachineBasicBlock *SrcMBB);
328 void migrateInstruction(MachineBasicBlock *SrcMBB,
389 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB, in singlePathTo() argument
392 if (SrcMBB == DstMBB) in singlePathTo()
394 while (SrcMBB && SrcMBB->succ_size() == 1) { in singlePathTo()
395 SrcMBB = *SrcMBB->succ_begin(); in singlePathTo()
396 if (SrcMBB == DstMBB) in singlePathTo()
398 if (!AllowSideEntry && SrcMBB->pred_size() > 1) in singlePathTo()
401 if (SrcMBB && SrcMBB->succ_size()==0) in singlePathTo()
655 MachineBasicBlock *SrcMBB) { in cloneSuccessorList() argument
656 for (MachineBasicBlock::succ_iterator It = SrcMBB->succ_begin(), in cloneSuccessorList()
657 iterEnd = SrcMBB->succ_end(); It != iterEnd; ++It) in cloneSuccessorList()
671 MachineBasicBlock *SrcMBB, MachineBasicBlock *OldMBB, in replaceInstrUseOfBlockWith() argument
673 MachineInstr *BranchMI = getLoopendBlockBranchInstr(SrcMBB); in replaceInstrUseOfBlockWith()
1365 MachineBasicBlock *SrcMBB) { in mergeSerialBlock() argument
1367 << SrcMBB->getNumber() << "\n";); in mergeSerialBlock()
1368 DstMBB->splice(DstMBB->end(), SrcMBB, SrcMBB->begin(), SrcMBB->end()); in mergeSerialBlock()
1370 DstMBB->removeSuccessor(SrcMBB, true); in mergeSerialBlock()
1371 cloneSuccessorList(DstMBB, SrcMBB); in mergeSerialBlock()
1373 removeSuccessor(SrcMBB); in mergeSerialBlock()
1374 MLI->removeBlock(SrcMBB); in mergeSerialBlock()
1375 retireBlock(SrcMBB); in mergeSerialBlock()
1509 MachineBasicBlock *SrcMBB, MachineBasicBlock *DstMBB) { in cloneOnSideEntryTo() argument
1511 assert(PreMBB->isSuccessor(SrcMBB)); in cloneOnSideEntryTo()
1512 while (SrcMBB && SrcMBB != DstMBB) { in cloneOnSideEntryTo()
1513 assert(SrcMBB->succ_size() == 1); in cloneOnSideEntryTo()
1514 if (SrcMBB->pred_size() > 1) { in cloneOnSideEntryTo()
1515 SrcMBB = cloneBlockForPredecessor(SrcMBB, PreMBB); in cloneOnSideEntryTo()
1519 PreMBB = SrcMBB; in cloneOnSideEntryTo()
1520 SrcMBB = *SrcMBB->succ_begin(); in cloneOnSideEntryTo()
1552 void AMDGPUCFGStructurizer::migrateInstruction(MachineBasicBlock *SrcMBB, in migrateInstruction() argument
1556 MachineInstr *BranchMI = getNormalBlockBranchInstr(SrcMBB); in migrateInstruction()
1559 SpliceEnd = SrcMBB->end(); in migrateInstruction()
1565 << DstMBB->size() << "srcSize = " << SrcMBB->size() in migrateInstruction()
1569 DstMBB->splice(I, SrcMBB, SrcMBB->begin(), SpliceEnd); in migrateInstruction()
1572 << DstMBB->size() << "srcSize = " << SrcMBB->size() in migrateInstruction()