Lines Matching refs:LoopRep
212 MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
273 int mergeLoop(MachineLoop *LoopRep);
312 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
348 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep) in getLoopLandInfo()
350 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep); in getLoopLandInfo()
357 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in hasBackEdge() local
358 if (!LoopRep) in hasBackEdge()
360 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in hasBackEdge()
372 MachineLoop *LoopRep = MLI->getLoopFor(MBB); in isActiveLoophead() local
373 while (LoopRep && LoopRep->getHeader() == MBB) { in isActiveLoophead()
374 MachineBasicBlock *LoopLand = getLoopLandInfo(LoopRep); in isActiveLoophead()
379 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()
1064 int AMDGPUCFGStructurizer::mergeLoop(MachineLoop *LoopRep) { in mergeLoop() argument
1065 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in mergeLoop()
1067 LoopRep->getExitingBlocks(ExitingMBBs); in mergeLoop()
1072 LoopRep->getExitBlocks(ExitBlks); in mergeLoop()
1084 if (LoopRep->contains(*PI)) in mergeLoop()
1099 MachineLoop *ParentLoop = LoopRep->getParentLoop(); in mergeLoop()
1104 Visited[LoopRep] = true; in mergeLoop()
1111 MachineLoop *LoopRep = MLI->getLoopFor(Src1MBB); in isSameloopDetachedContbreak() local
1112 if (LoopRep&& LoopRep == MLI->getLoopFor(Src2MBB)) { in isSameloopDetachedContbreak()
1113 MachineBasicBlock *&TheEntry = LLInfoMap[LoopRep]; in isSameloopDetachedContbreak()
1635 AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) { in normalizeInfiniteLoopExit() argument
1636 MachineBasicBlock *LoopHeader = LoopRep->getHeader(); in normalizeInfiniteLoopExit()
1637 MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch(); in normalizeInfiniteLoopExit()