Lines Matching defs:Endif
105 MachineBasicBlock *Endif,
110 MachineBasicBlock *Endif,
128 MachineBasicBlock *Endif,
133 MachineBasicBlock *Flow, MachineBasicBlock *Endif,
173 // is the Endif block
184 MachineBasicBlock *Flow, MachineBasicBlock *Endif,
186 assert(Flow != Endif);
188 MachineBasicBlock *MBB = Endif;
223 MachineBasicBlock *If, MachineBasicBlock *Flow, MachineBasicBlock *Endif,
254 if (!VI.isLiveIn(*Endif, MOReg, *MRI)) {
258 << " as Live in Endif\n");
266 // Check the phis in the Endif, looking for value coming from the ELSE
268 for (auto &MI : Endif->phis()) {
285 if (VI.isLiveIn(*Endif, Reg, *MRI)) {
287 << " as Live in Endif\n");
307 if (UseMBB == Flow || UseMBB == Endif) {
312 // The register is live through the path If->Flow or Flow->Endif.
315 (UseMBB == Endif && IncomingMBB == Flow))
471 MachineBasicBlock *Endif,
501 MachineBasicBlock *Endif,
523 // Replace uses in Endif block
524 if (UseBlock == Endif) {
532 // may exist in the Endif block even though the register is not live
548 updateLiveRangeInElseRegion(Reg, NewReg, Flow, Endif, ElseBlocks);
655 auto *Endif = getElseTarget(IfTarget);
656 if (!Endif)
660 if (!MDT->dominates(&MBB, IfTarget) || !MDT->dominates(IfTarget, Endif))
669 << printMBBReference(*Endif) << '\n');
672 collectElseRegionBlocks(IfTarget, Endif, ElseBlocks);
675 collectCandidateRegisters(&MBB, IfTarget, Endif, ElseBlocks,
680 optimizeLiveRange(Reg, &MBB, IfTarget, Endif, ElseBlocks);