Lines Matching refs:LoopEnd
113 MachineInstr *&LoopDec, MachineInstr *&LoopEnd) { in findLoopComponents() argument
122 LoopEnd = nullptr; in findLoopComponents()
125 LoopEnd = &T; in findLoopComponents()
130 LoopEnd = &T; in findLoopComponents()
134 if (!LoopEnd) { in findLoopComponents()
138 LLVM_DEBUG(dbgs() << " found loop end: " << *LoopEnd); in findLoopComponents()
149 if (LoopEnd->getOpcode() == ARM::t2LoopEndDec) in findLoopComponents()
150 LoopDec = LoopEnd; in findLoopComponents()
153 LookThroughCOPY(MRI->getVRegDef(LoopEnd->getOperand(0).getReg()), MRI); in findLoopComponents()
232 MachineInstr *LoopEnd, *LoopPhi, *LoopStart, *LoopDec; in LowerWhileLoopStart() local
233 if (!findLoopComponents(ML, MRI, LoopStart, LoopPhi, LoopDec, LoopEnd)) in LowerWhileLoopStart()
327 MachineInstr *LoopEnd, *LoopPhi, *LoopStart, *LoopDec; in MergeLoopEnd() local
328 if (!findLoopComponents(ML, MRI, LoopStart, LoopPhi, LoopDec, LoopEnd)) in MergeLoopEnd()
347 RevertLoopEnd(LoopEnd, TII); in MergeLoopEnd()
383 !CheckUsers(DecReg, {LoopPhi, LoopEnd}, MRI) || in MergeLoopEnd()
389 RevertLoopEnd(LoopEnd, TII); in MergeLoopEnd()
409 if (!TII->analyzeBranch(*LoopEnd->getParent(), TBB, FBB, Cond) && !FBB) { in MergeLoopEnd()
412 MachineFunction::iterator MBBI = ++LoopEnd->getParent()->getIterator(); in MergeLoopEnd()
413 BuildMI(LoopEnd->getParent(), DebugLoc(), TII->get(ARM::t2B)) in MergeLoopEnd()
420 BuildMI(*LoopEnd->getParent(), *LoopEnd, LoopEnd->getDebugLoc(), in MergeLoopEnd()
423 .add(LoopEnd->getOperand(1)); in MergeLoopEnd()
428 LoopEnd->eraseFromParent(); in MergeLoopEnd()
445 MachineInstr *LoopEnd, *LoopPhi, *LoopStart, *LoopDec; in ConvertTailPredLoop() local
446 if (!findLoopComponents(ML, MRI, LoopStart, LoopPhi, LoopDec, LoopEnd)) in ConvertTailPredLoop()
448 if (LoopDec != LoopEnd || (LoopStart->getOpcode() != ARM::t2DoLoopStart && in ConvertTailPredLoop()