Lines Matching defs:If
65 /// iteration. If %a is a VGPR that is unused after the loop, it does not need
112 collectCandidateRegisters(MachineBasicBlock *If, MachineBasicBlock *Flow,
126 void updateLiveRangeInThenRegion(Register Reg, MachineBasicBlock *If,
135 optimizeLiveRange(Register Reg, MachineBasicBlock *If,
232 MachineBasicBlock *If, MachineBasicBlock *Flow, MachineBasicBlock *Endif,
258 if ((VI.AliveBlocks.test(If->getNumber()) || DefMBB == If) &&
259 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If)) {
260 // Check if the register is live into the endif block. If not,
303 if ((VI.AliveBlocks.test(If->getNumber()) || DefMBB == If) &&
304 Loops->getLoopFor(DefMBB) == Loops->getLoopFor(If))
321 // The register is live through the path If->Flow or Flow->Endif.
323 if ((UseMBB == Flow && IncomingMBB != If) ||
382 // If the variable is used after the loop, the register coalescer will
410 Register Reg, MachineBasicBlock *If, MachineBasicBlock *Flow) const {
412 SmallVector<MachineBasicBlock *> WorkList({If});
507 Register Reg, MachineBasicBlock *If, MachineBasicBlock *Flow,
519 if (Pred == If)
556 updateLiveRangeInThenRegion(Reg, If, Flow);