Home
last modified time | relevance | path

Searched refs:LastMBB (Results 1 – 3 of 3) sorted by relevance

/external/llvm/lib/Target/Hexagon/
DHexagonHardwareLoops.cpp458 MachineBasicBlock *LastMBB = L->getExitingBlock(); in convertToHardwareLoop() local
460 if (LastMBB == 0) { in convertToHardwareLoop()
463 MachineBasicBlock::iterator LastI = LastMBB->getFirstTerminator(); in convertToHardwareLoop()
467 if (L->getLoopLatch() != LastMBB) { in convertToHardwareLoop()
474 if (!LastMBB->isSuccessor(LoopStart)) { in convertToHardwareLoop()
484 MachineFunction *MF = LastMBB->getParent(); in convertToHardwareLoop()
518 BuildMI(*LastMBB, LastI, dl, TII->get(Hexagon::ENDLOOP0)).addMBB(LoopStart); in convertToHardwareLoop()
527 LastI = LastMBB->erase(LastI); in convertToHardwareLoop()
529 if (LastI != LastMBB->end()) { in convertToHardwareLoop()
530 TII->RemoveBranch(*LastMBB); in convertToHardwareLoop()
[all …]
/external/llvm/lib/Target/PowerPC/
DPPCCTRLoops.cpp291 MachineBasicBlock *LastMBB = L->getExitingBlock(); in getTripCount() local
293 if (LastMBB == 0) in getTripCount()
296 MachineBasicBlock::iterator LastI = LastMBB->getFirstTerminator(); in getTripCount()
600 MachineBasicBlock *LastMBB = L->getExitingBlock(); in convertToCTRLoop() local
602 if (LastMBB == 0) { in convertToCTRLoop()
605 MachineBasicBlock::iterator LastI = LastMBB->getFirstTerminator(); in convertToCTRLoop()
609 if (L->getLoopLatch() != LastMBB) { in convertToCTRLoop()
616 if (!LastMBB->isSuccessor(LoopStart)) { in convertToCTRLoop()
624 MachineFunction *MF = LastMBB->getParent(); in convertToCTRLoop()
705 BuildMI(*LastMBB, LastI, dl, in convertToCTRLoop()
[all …]
/external/llvm/lib/CodeGen/SelectionDAG/
DSelectionDAGISel.cpp678 MachineBasicBlock *FirstMBB = FuncInfo->MBB, *LastMBB; in CodeGenAndEmitDAG() local
684 LastMBB = FuncInfo->MBB = Scheduler->EmitSchedule(FuncInfo->InsertPt); in CodeGenAndEmitDAG()
689 if (FirstMBB != LastMBB) in CodeGenAndEmitDAG()
690 SDB->UpdateSplitBlock(FirstMBB, LastMBB); in CodeGenAndEmitDAG()