Home
last modified time | relevance | path

Searched refs:LoopStart (Results 1 – 2 of 2) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp466 MachineBasicBlock *LoopStart = L->getTopBlock(); in convertToHardwareLoop() local
472 LoopStart = L->getLoopLatch(); in convertToHardwareLoop()
474 if (!LastMBB->isSuccessor(LoopStart)) { in convertToHardwareLoop()
499 TII->get(Hexagon::LOOP0_r)).addMBB(LoopStart).addReg(CountReg); in convertToHardwareLoop()
505 TII->get(Hexagon::LOOP0_i)).addMBB(LoopStart).addImm(CountImm); in convertToHardwareLoop()
511 LoopStart->setHasAddressTaken(); in convertToHardwareLoop()
514 BlockAddress::get(const_cast<BasicBlock *>(LoopStart->getBasicBlock())); in convertToHardwareLoop()
518 BuildMI(*LastMBB, LastI, dl, TII->get(Hexagon::ENDLOOP0)).addMBB(LoopStart); in convertToHardwareLoop()
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp608 MachineBasicBlock *LoopStart = L->getTopBlock(); in convertToCTRLoop() local
614 LoopStart = L->getLoopLatch(); in convertToCTRLoop()
616 if (!LastMBB->isSuccessor(LoopStart)) { in convertToCTRLoop()
682 LoopStart->setHasAddressTaken(); in convertToCTRLoop()
685 BlockAddress::get(const_cast<BasicBlock *>(LoopStart->getBasicBlock())); in convertToCTRLoop()
706 TII->get((BranchTarget == LoopStart) ? in convertToCTRLoop()