Home | History | Annotate | Download | only in R600

Lines Matching refs:LoopRep

207   MachineBasicBlock *getLoopLandInfo(MachineLoop *LoopRep) const;
209 static unsigned getLoopDepth(MachineLoop *LoopRep);
271 int mergeLoop(MachineLoop *LoopRep);
272 int loopcontPatternMatch(MachineLoop *LoopRep, MachineBasicBlock *LoopHeader);
314 MachineBasicBlock *normalizeInfiniteLoopExit(MachineLoop *LoopRep);
333 void setLoopLandBlock(MachineLoop *LoopRep, MachineBasicBlock *MBB = NULL);
356 MachineBasicBlock *AMDGPUCFGStructurizer::getLoopLandInfo(MachineLoop *LoopRep)
358 LoopLandInfoMap::const_iterator It = LLInfoMap.find(LoopRep);
365 MachineLoop *LoopRep = MLI->getLoopFor(MBB);
366 if (!LoopRep)
368 MachineBasicBlock *LoopHeader = LoopRep->getHeader();
372 unsigned AMDGPUCFGStructurizer::getLoopDepth(MachineLoop *LoopRep) {
373 return LoopRep ? LoopRep->getLoopDepth() : 0;
384 MachineLoop *LoopRep = MLI->getLoopFor(MBB);
385 while (LoopRep && LoopRep->getHeader() == MBB) {
386 MachineBasicBlock *LoopLand = getLoopLandInfo(LoopRep);
391 LoopRep = LoopRep->getParentLoop();
754 MachineLoop *LoopRep = (*It);
756 LoopRep->getExitingBlocks(ExitingMBBs);
759 MachineBasicBlock* DummyExitBlk = normalizeInfiniteLoopExit(LoopRep);
1103 int AMDGPUCFGStructurizer::mergeLoop(MachineLoop *LoopRep) {
1104 MachineBasicBlock *LoopHeader = LoopRep->getHeader();
1106 LoopRep->getExitingBlocks(ExitingMBBs);
1111 LoopRep->getExitBlocks(ExitBlks);
1123 if (LoopRep->contains(*PI))
1138 MachineLoop *ParentLoop = LoopRep->getParentLoop();
1143 Visited[LoopRep] = true;
1147 int AMDGPUCFGStructurizer::loopcontPatternMatch(MachineLoop *LoopRep,
1156 if (LoopRep->contains(MBB)) {
1158 LoopHeader, LoopRep);
1178 MachineLoop *LoopRep = MLI->getLoopFor(Src1MBB);
1179 if (LoopRep&& LoopRep == MLI->getLoopFor(Src2MBB)) {
1180 MachineBasicBlock *&TheEntry = LLInfoMap[LoopRep];
1669 AMDGPUCFGStructurizer::normalizeInfiniteLoopExit(MachineLoop* LoopRep) {
1670 MachineBasicBlock *LoopHeader = LoopRep->getHeader();
1671 MachineBasicBlock *LoopLatch = LoopRep->getLoopLatch();
1677 // Is LoopRep an infinite loop ?
1777 void AMDGPUCFGStructurizer::setLoopLandBlock(MachineLoop *loopRep,
1779 MachineBasicBlock *&TheEntry = LLInfoMap[loopRep];
1788 << loopRep->getHeader()->getNumber()