Lines Matching refs:Preheader
388 MachineBasicBlock *Preheader = L->getLoopPreheader(); in findInductionRegister() local
391 if (!Header || !Preheader || !Latch || !ExitingBlock) in findInductionRegister()
569 MachineBasicBlock *Preheader = L->getLoopPreheader(); in getLoopTripCount() local
576 if (MBB == Preheader) in getLoopTripCount()
1156 MachineBasicBlock *Preheader = L->getLoopPreheader(); in convertToHardwareLoop() local
1157 if (!Preheader) { in convertToHardwareLoop()
1158 Preheader = createPreheaderForLoop(L); in convertToHardwareLoop()
1159 if (!Preheader) in convertToHardwareLoop()
1163 MachineBasicBlock::iterator InsertPos = Preheader->getFirstTerminator(); in convertToHardwareLoop()
1177 if (!MDT->dominates(BBDef, Preheader)) in convertToHardwareLoop()
1205 if (InsertPos != Preheader->end()) in convertToHardwareLoop()
1211 BuildMI(*Preheader, InsertPos, DL, TII->get(TargetOpcode::COPY), CountReg) in convertToHardwareLoop()
1214 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)).addMBB(LoopStart) in convertToHardwareLoop()
1224 BuildMI(*Preheader, InsertPos, DL, TII->get(Hexagon::A2_tfrsi), CountReg) in convertToHardwareLoop()
1226 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_r)) in convertToHardwareLoop()
1229 BuildMI(*Preheader, InsertPos, DL, TII->get(LOOP_i)) in convertToHardwareLoop()