Lines Matching refs:MachineBasicBlock
68 bool EliminatePHINodes(MachineFunction &MF, MachineBasicBlock &MBB);
69 void LowerPHINode(MachineBasicBlock &MBB,
70 MachineBasicBlock::iterator LastPHIIt);
81 bool SplitPHIEdges(MachineFunction &MF, MachineBasicBlock &MBB,
86 bool isLiveIn(unsigned Reg, MachineBasicBlock *MBB);
87 bool isLiveOutPastPHIs(unsigned Reg, MachineBasicBlock *MBB);
183 MachineBasicBlock &MBB) {
189 MachineBasicBlock::iterator LastPHIIt =
221 void PHIElimination::LowerPHINode(MachineBasicBlock &MBB,
222 MachineBasicBlock::iterator LastPHIIt) {
225 MachineBasicBlock::iterator AfterPHIsIt = std::next(LastPHIIt);
356 SmallPtrSet<MachineBasicBlock*, 8> MBBsInsertedInto;
365 // Get the MachineBasicBlock equivalent of the BasicBlock that is the source
367 MachineBasicBlock &opBlock = *MPhi->getOperand(i*2+2).getMBB();
377 MachineBasicBlock::iterator InsertPos =
424 MachineBasicBlock::iterator KillInst = opBlock.end();
425 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator();
426 for (MachineBasicBlock::iterator Term = FirstTerm;
471 for (MachineBasicBlock::succ_iterator SI = opBlock.succ_begin(),
484 MachineBasicBlock::iterator KillInst = opBlock.end();
485 MachineBasicBlock::iterator FirstTerm = opBlock.getFirstTerminator();
486 for (MachineBasicBlock::iterator Term = FirstTerm;
546 MachineBasicBlock &MBB,
555 for (MachineBasicBlock::iterator BBI = MBB.begin(), BBE = MBB.end();
559 MachineBasicBlock *PreMBB = BBI->getOperand(i+1).getMBB();
621 bool PHIElimination::isLiveIn(unsigned Reg, MachineBasicBlock *MBB) {
630 bool PHIElimination::isLiveOutPastPHIs(unsigned Reg, MachineBasicBlock *MBB) {
640 for (MachineBasicBlock::succ_iterator SI = MBB->succ_begin(),