Lines Matching defs:Endif
108 MachineBasicBlock *Endif,
113 MachineBasicBlock *Endif,
131 MachineBasicBlock *Endif,
136 MachineBasicBlock *Flow, MachineBasicBlock *Endif,
182 // is the Endif block
193 MachineBasicBlock *Flow, MachineBasicBlock *Endif,
195 assert(Flow != Endif);
197 MachineBasicBlock *MBB = Endif;
232 MachineBasicBlock *If, MachineBasicBlock *Flow, MachineBasicBlock *Endif,
263 if (!VI.isLiveIn(*Endif, MOReg, *MRI)) {
267 << " as Live in Endif\n");
275 // Check the phis in the Endif, looking for value coming from the ELSE
277 for (auto &MI : Endif->phis()) {
294 if (VI.isLiveIn(*Endif, Reg, *MRI)) {
296 << " as Live in Endif\n");
316 if (UseMBB == Flow || UseMBB == Endif) {
321 // The register is live through the path If->Flow or Flow->Endif.
324 (UseMBB == Endif && IncomingMBB == Flow))
478 MachineBasicBlock *Endif,
508 MachineBasicBlock *Endif,
530 // Replace uses in Endif block
531 if (UseBlock == Endif) {
539 // may exist in the Endif block even though the register is not live
555 updateLiveRangeInElseRegion(Reg, NewReg, Flow, Endif, ElseBlocks);
686 auto *Endif = getElseTarget(IfTarget);
687 if (!Endif)
691 if (!MDT->dominates(&MBB, IfTarget) || !MDT->dominates(IfTarget, Endif))
700 << printMBBReference(*Endif) << '\n');
703 collectElseRegionBlocks(IfTarget, Endif, ElseBlocks);
706 collectCandidateRegisters(&MBB, IfTarget, Endif, ElseBlocks,
711 optimizeLiveRange(Reg, &MBB, IfTarget, Endif, ElseBlocks);