Lines Matching defs:TargetMBB
383 /// Moves ALL PHI instructions in SourceMBB to beginning of TargetMBB
386 /// are moved to in TargetMBB.
389 /// \param[in] TargetMBB block to move PHI instructions to
392 MachineBasicBlock *TargetMBB) {
402 // Update all PHI instructions in SourceMBB and move to top of TargetMBB
408 MO.setMBB(TargetMBB);
411 TargetMBB->splice(TargetMBB->begin(), SourceMBB, MI, ME);
415 /// This function checks if MI can be moved to the beginning of the TargetMBB
417 /// the TargetMBB if there are no uses of it within the TargetMBB PHI nodes.
420 /// \param[in] TargetMBB the machine basic block to move to
421 /// \return true if it is safe to move MI to beginning of TargetMBB,
425 const MachineBasicBlock &TargetMBB
429 << TargetMBB.getNumber() << "\n");
433 if (Use.isPHI() && Use.getParent() == &TargetMBB) {
445 /// This function checks if MI can be moved to the end of the TargetMBB,
447 /// to then end of the TargetMBB if no PHI node defines what MI uses within
451 /// \param[in] TargetMBB the machine basic block to move to
452 /// \return true if it is safe to move MI to end of TargetMBB,
456 const MachineBasicBlock &TargetMBB
460 << TargetMBB.getNumber() << "\n");