Lines Matching refs:dbgs
69 DEBUG(dbgs() << "New instr: " << *i << "\n");
73 dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
74 dbgs() << "\n"; \
80 dbgs() << msg << "BB" << b->getNumber() << "size " << b->size(); \
81 b->print(dbgs()); \
82 dbgs() << "\n"; \
172 DEBUG(dbgs() << "LoopInfo:\n"; PrintLoopinfo(*MLI);); in runOnMachineFunction()
174 DEBUG(MDT->print(dbgs(), (const llvm::Module*)nullptr);); in runOnMachineFunction()
176 DEBUG(PDT->print(dbgs());); in runOnMachineFunction()
196 dbgs() << "BB" << (*iterBlk)->getNumber(); in printOrderedBlocks()
197 dbgs() << "(" << getSCCNum(*iterBlk) << "," << (*iterBlk)->size() << ")"; in printOrderedBlocks()
199 dbgs() << "\n"; in printOrderedBlocks()
201 dbgs() << " "; in printOrderedBlocks()
208 (*iter)->print(dbgs(), 0); in PrintLoopinfo()
684 dbgs() << "BB" << MBB->getNumber() in isReturnBlock()
752 DEBUG(dbgs() << "AMDGPUCFGStructurizer::prepare\n";); in prepare()
796 DEBUG(dbgs() << "AMDGPUCFGStructurizer::run\n"); in run()
803 DEBUG(dbgs() << "Ordered blocks:\n"; printOrderedBlocks();); in run()
814 dbgs() << "numIter = " << NumIter in run()
839 dbgs() << "start processing SCC" << getSCCNum(SccBeginMBB); in run()
840 dbgs() << "\n"; in run()
857 dbgs() << "Can't reduce SCC " << getSCCNum(MBB) in run()
859 dbgs() << "doesn't make any progress\n"; in run()
867 dbgs() << "repeat processing SCC" << getSCCNum(MBB) in run()
888 dbgs() << "Reduce to one block\n"; in run()
900 dbgs() << "No progress\n"; in run()
915 dbgs() << "Erase BB" << ((*It).first)->getNumber() << "\n"; in run()
956 dbgs() << "unreachable block BB" << MBB->getNumber() << "\n"; in orderBlocks()
965 dbgs() << "Begin patternMatch BB" << MBB->getNumber() << "\n"; in patternMatch()
972 dbgs() << "End patternMatch BB" << MBB->getNumber() in patternMatch()
1095 DEBUG(dbgs() << "Processing:\n"; ExaminedLoop->dump();); in loopendPatternMatch()
1109 DEBUG(dbgs() << "Loop has " << ExitingMBBs.size() << " exiting blocks\n";); in mergeLoop()
1184 dbgs() << "isLoopContBreakBlock yes src1 = BB" in isSameloopDetachedContbreak()
1200 dbgs() << "handleJumpintoIf swap trueBlk and FalseBlk" << "\n"; in handleJumpintoIf()
1216 dbgs() << "handleJumpintoIfImp head = BB" << HeadMBB->getNumber() in handleJumpintoIfImp()
1224 dbgs() << "check down = BB" << DownBlk->getNumber(); in handleJumpintoIfImp()
1229 dbgs() << " working\n"; in handleJumpintoIfImp()
1244 dbgs() << " not working\n"; in handleJumpintoIfImp()
1255 dbgs() << "head = BB" << HeadMBB->getNumber() in showImproveSimpleJumpintoIf()
1258 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1259 HeadMBB->print(dbgs()); in showImproveSimpleJumpintoIf()
1260 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1264 dbgs() << ", true = BB" << TrueMBB->getNumber() << " size = " in showImproveSimpleJumpintoIf()
1267 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1268 TrueMBB->print(dbgs()); in showImproveSimpleJumpintoIf()
1269 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1273 dbgs() << ", false = BB" << FalseMBB->getNumber() << " size = " in showImproveSimpleJumpintoIf()
1276 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1277 FalseMBB->print(dbgs()); in showImproveSimpleJumpintoIf()
1278 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1282 dbgs() << ", land = BB" << LandMBB->getNumber() << " size = " in showImproveSimpleJumpintoIf()
1285 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1286 LandMBB->print(dbgs()); in showImproveSimpleJumpintoIf()
1287 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1291 dbgs() << "\n"; in showImproveSimpleJumpintoIf()
1323 dbgs() << "before improveSimpleJumpintoIf: "; in improveSimpleJumpintoIf()
1461 dbgs() << "result from improveSimpleJumpintoIf: "; in improveSimpleJumpintoIf()
1474 DEBUG(dbgs() << "loopcontPattern cont = BB" << ContingMBB->getNumber() in handleLoopcontBlock()
1476 dbgs() << "Trying to continue loop-depth = " in handleLoopcontBlock()
1485 dbgs() << "serialPattern BB" << DstMBB->getNumber() in mergeSerialBlock()
1503 dbgs() << "ifPattern BB" << MBB->getNumber(); in mergeIfthenelseBlock()
1504 dbgs() << "{ "; in mergeIfthenelseBlock()
1506 dbgs() << "BB" << TrueMBB->getNumber(); in mergeIfthenelseBlock()
1508 dbgs() << " } else "; in mergeIfthenelseBlock()
1509 dbgs() << "{ "; in mergeIfthenelseBlock()
1511 dbgs() << "BB" << FalseMBB->getNumber(); in mergeIfthenelseBlock()
1513 dbgs() << " }\n "; in mergeIfthenelseBlock()
1514 dbgs() << "landBlock: "; in mergeIfthenelseBlock()
1516 dbgs() << "NULL"; in mergeIfthenelseBlock()
1518 dbgs() << "BB" << LandMBB->getNumber(); in mergeIfthenelseBlock()
1520 dbgs() << "\n"; in mergeIfthenelseBlock()
1568 DEBUG(dbgs() << "loopPattern header = BB" << DstBlk->getNumber() in mergeLooplandBlock()
1579 DEBUG(dbgs() << "loopbreakPattern exiting = BB" << ExitingMBB->getNumber() in mergeLoopbreakBlock()
1599 DEBUG(dbgs() << "settleLoopcontBlock conting = BB" in settleLoopcontBlock()
1676 dbgs() << "Cloned block: " << "BB" in cloneBlockForPredecessor()
1692 dbgs() << "migrateInstruction don't see branch instr\n" ; in migrateInstruction()
1696 DEBUG(dbgs() << "migrateInstruction see branch instr: " << *BranchMI); in migrateInstruction()
1700 dbgs() << "migrateInstruction before splice dstSize = " << DstMBB->size() in migrateInstruction()
1708 dbgs() << "migrateInstruction after splice dstSize = " << DstMBB->size() in migrateInstruction()
1728 DEBUG(dbgs() << "Old branch instr: " << *BranchMI << "\n";); in normalizeInfiniteLoopExit()
1741 DEBUG(dbgs() << "Removing uncond branch instr: " << *BranchMI); in removeUnconditionalBranch()
1757 DEBUG(dbgs() << "Removing unneeded cond branch instr: " << *BranchMI); in removeRedundantConditionalBranch()
1777 dbgs() << "Add dummyExitBlock to BB" << MBB->getNumber() in addDummyExitBlock()
1799 dbgs() << "Retiring BB" << MBB->getNumber() << "\n"; in retireBlock()
1822 dbgs() << "setLoopLandBlock loop-header = BB" in setLoopLandBlock()
1872 dbgs() << "Common post dominator for exit blocks is "; in findNearestCommonPostDom()
1874 dbgs() << "BB" << CommonDom->getNumber() << "\n"; in findNearestCommonPostDom()
1876 dbgs() << "NULL\n"; in findNearestCommonPostDom()