Lines Matching refs:LoopRep
205 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
271 int mergeLoop(MachineLoop *LoopRep);
311 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
352 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
354 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo()
361 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge() local
362 if (!LoopRep) in hasBackEdge()
364 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in hasBackEdge()
376 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead() local
377 while (LoopRep && LoopRep->getHeader() == MBB) { in isActiveLoophead()
378 MachineBasicBlock *LoopLand = getLoopLandInfo(LoopRep); in isActiveLoophead()
383 LoopRep = LoopRep->getParentLoop(); in isActiveLoophead()
721 MachineLoop *LoopRep = (*It); in prepare() local
723 LoopRep->getExitingBlocks(ExitingMBBs); in prepare()
726 MachineBasicBlock* DummyExitBlk = normalizeInfiniteLoopExit(LoopRep); in prepare()
1039 int AMDGPUCFGStructurizer::mergeLoop(MachineLoop *LoopRep) { in mergeLoop() argument
1040 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in mergeLoop()
1042 LoopRep->getExitingBlocks(ExitingMBBs); in mergeLoop()
1048 LoopRep->getExitBlocks(ExitBlks); in mergeLoop()
1057 if (LoopRep->contains(LB)) in mergeLoop()
1071 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop()
1076 Visited[LoopRep] = true; in mergeLoop()
1083 MachineLoop *LoopRep = MLI->getLoopFor(Src1MBB); in isSameloopDetachedContbreak() local
1084 if (LoopRep&& LoopRep == MLI->getLoopFor(Src2MBB)) { in isSameloopDetachedContbreak()
1085 MachineBasicBlock *&TheEntry = LLInfoMap[LoopRep]; in isSameloopDetachedContbreak()
1577 AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) { in normalizeInfiniteLoopExit() argument
1578 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in normalizeInfiniteLoopExit()
1579 MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch(); in normalizeInfiniteLoopExit()