Lines Matching refs:LP
104 MachineBasicBlock* PEI::getTopLevelLoopPreheader(MachineLoop* LP) { in getTopLevelLoopPreheader() argument
105 assert(LP && "Machine loop is NULL."); in getTopLevelLoopPreheader()
106 MachineBasicBlock* PHDR = LP->getLoopPreheader(); in getTopLevelLoopPreheader()
107 MachineLoop* PLP = LP->getParentLoop(); in getTopLevelLoopPreheader()
115 MachineLoop* PEI::getTopLevelLoopParent(MachineLoop *LP) { in getTopLevelLoopParent() argument
116 if (LP == 0) in getTopLevelLoopParent()
118 MachineLoop* PLP = LP->getParentLoop(); in getTopLevelLoopParent()
120 LP = PLP; in getTopLevelLoopParent()
123 return LP; in getTopLevelLoopParent()
327 void PEI::propagateUsesAroundLoop(MachineBasicBlock* MBB, MachineLoop* LP) { in propagateUsesAroundLoop() argument
328 if (! MBB || !LP) in propagateUsesAroundLoop()
331 std::vector<MachineBasicBlock*> loopBlocks = LP->getBlocks(); in propagateUsesAroundLoop()
441 if (MachineLoop* LP = LI.getLoopFor(MBB)) { in calculateSets() local
443 MachineBasicBlock* HDR = getTopLevelLoopPreheader(LP); in calculateSets()
444 MachineLoop* PLP = getTopLevelLoopParent(LP); in calculateSets()
456 if (LP->getLoopDepth() > 1) { in calculateSets()
457 for (MachineLoop* PLP = LP->getParentLoop(); PLP; in calculateSets()
462 propagateUsesAroundLoop(MBB, LP); in calculateSets()
639 MachineLoop* LP = I->second; in addUsesForTopLevelLoops() local
640 MachineBasicBlock* HDR = LP->getHeader(); in addUsesForTopLevelLoops()
651 LP->getExitBlocks(exitBlocks); in addUsesForTopLevelLoops()