Lines Matching defs:MBB

37           "Number of cross-MBB physreg referencing CS eliminated");
81 bool PerformTrivialCoalescing(MachineInstr *MI, MachineBasicBlock *MBB);
86 const MachineBasicBlock *MBB,
97 void EnterScope(MachineBasicBlock *MBB);
98 void ExitScope(MachineBasicBlock *MBB);
99 bool ProcessBlock(MachineBasicBlock *MBB);
116 MachineBasicBlock *MBB) {
210 const MachineBasicBlock *MBB,
225 if (!MRI->isConstantPhysReg(Reg, *MBB->getParent()))
249 if (!MO.isDead() && !isPhysDefTriviallyDead(Reg, I, MBB->end()))
268 const MachineBasicBlock *MBB = MI->getParent();
272 if (CSMBB != MBB) {
273 if (MBB->pred_size() != 1 || *MBB->pred_begin() != CSMBB)
294 assert(CrossMBB && "Reaching end-of-MBB without finding MI?");
298 I = MBB->begin();
299 EE = MBB->end();
428 void MachineCSE::EnterScope(MachineBasicBlock *MBB) {
429 DEBUG(dbgs() << "Entering: " << MBB->getName() << '\n');
431 ScopeMap[MBB] = Scope;
434 void MachineCSE::ExitScope(MachineBasicBlock *MBB) {
435 DEBUG(dbgs() << "Exiting: " << MBB->getName() << '\n');
436 DenseMap<MachineBasicBlock*, ScopeType*>::iterator SI = ScopeMap.find(MBB);
442 bool MachineCSE::ProcessBlock(MachineBasicBlock *MBB) {
447 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E; ) {
457 if (PerformTrivialCoalescing(MI, MBB)) {
491 if (FoundCSE && hasLivePhysRegDefUses(MI, MBB, PhysRefs,
577 // Add physical register defs now coming in from a predecessor to MBB
581 if (!MBB->isLiveIn(LiveIn))
582 MBB->addLiveIn(LiveIn);
605 /// ExitScopeIfDone - Destroy scope for the MBB that corresponds to the given
652 MachineBasicBlock *MBB = Node->getBlock();
653 EnterScope(MBB);
654 Changed |= ProcessBlock(MBB);