Home | History | Annotate | Download | only in CodeGen

Lines Matching defs:MBB

39           "Number of cross-MBB physreg referencing CS eliminated");
84 MachineBasicBlock *MBB);
89 const MachineBasicBlock *MBB,
100 void EnterScope(MachineBasicBlock *MBB);
101 void ExitScope(MachineBasicBlock *MBB);
102 bool ProcessBlock(MachineBasicBlock *MBB);
123 MachineBasicBlock *MBB) {
216 const MachineBasicBlock *MBB,
230 if (!MRI->isConstantPhysReg(Reg, *MBB->getParent()))
253 if (!MO.isDead() && !isPhysDefTriviallyDead(Reg, I, MBB->end()))
272 const MachineBasicBlock *MBB = MI->getParent();
276 if (CSMBB != MBB) {
277 if (MBB->pred_size() != 1 || *MBB->pred_begin() != CSMBB)
298 assert(CrossMBB && "Reaching end-of-MBB without finding MI?");
302 I = MBB->begin();
303 EE = MBB->end();
436 void MachineCSE::EnterScope(MachineBasicBlock *MBB) {
437 DEBUG(dbgs() << "Entering: " << MBB->getName() << '\n');
439 ScopeMap[MBB] = Scope;
442 void MachineCSE::ExitScope(MachineBasicBlock *MBB) {
443 DEBUG(dbgs() << "Exiting: " << MBB->getName() << '\n');
444 DenseMap<MachineBasicBlock*, ScopeType*>::iterator SI = ScopeMap.find(MBB);
450 bool MachineCSE::ProcessBlock(MachineBasicBlock *MBB) {
456 for (MachineBasicBlock::iterator I = MBB->begin(), E = MBB->end(); I != E; ) {
466 if (PerformTrivialCopyPropagation(MI, MBB)) {
501 if (FoundCSE && hasLivePhysRegDefUses(MI, MBB, PhysRefs,
623 // Add physical register defs now coming in from a predecessor to MBB
627 if (!MBB->isLiveIn(LiveIn))
628 MBB->addLiveIn(LiveIn);
652 /// ExitScopeIfDone - Destroy scope for the MBB that corresponds to the given
695 MachineBasicBlock *MBB = Node->getBlock();
696 EnterScope(MBB);
697 Changed |= ProcessBlock(MBB);