Home | History | Annotate | Download | only in X86

Lines Matching defs:MBB

115     unsigned calcLiveInMask(MachineBasicBlock *MBB) {
117 for (MachineBasicBlock::livein_iterator I = MBB->livein_begin(),
118 E = MBB->livein_end(); I != E; ++I) {
129 MachineBasicBlock *MBB; // Current basic block
169 // Set up our stack model to match the incoming registers to MBB.
236 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc();
251 BuildMI(*MBB, I, dl, TII->get(X86::XCH_F)).addReg(STReg);
256 DebugLoc dl = I == MBB->end() ? DebugLoc() : I->getDebugLoc();
260 BuildMI(*MBB, I, dl, TII->get(X86::LD_Frr)).addReg(STReg);
302 bool processBasicBlock(MachineFunction &MF, MachineBasicBlock &MBB);
356 // Prepare cross-MBB liveness.
394 MachineBasicBlock *MBB = I;
395 const unsigned Mask = calcLiveInMask(MBB);
398 // Update MBB ingoing bundle mask.
399 LiveBundles[Bundles->getBundle(MBB->getNumber(), false)].Mask |= Mask;
408 MBB = &BB;
496 DEBUG(dbgs() << "\nSetting up live-ins for BB#" << MBB->getNumber()
497 << " derived from " << MBB->getName() << ".\n");
499 // Get the live-in bundle for MBB.
501 LiveBundles[Bundles->getBundle(MBB->getNumber(), false)];
513 MBB->addLiveIn(X86::ST0+i-1);
522 adjustLiveRegs(calcLiveInMask(MBB), MBB->begin());
523 DEBUG(MBB->dump());
527 /// MBB. Shuffle live registers to match the expected fixed stack of any
532 if (MBB->succ_empty())
535 DEBUG(dbgs() << "Setting up live-outs for BB#" << MBB->getNumber()
536 << " derived from " << MBB->getName() << ".\n");
538 // Get MBB's live-out bundle.
539 unsigned BundleIdx = Bundles->getBundle(MBB->getNumber(), true);
544 MachineBasicBlock::iterator Term = MBB->getFirstTerminator();
843 I = BuildMI(*MBB, ++I, dl, TII->get(X86::ST_FPrr)).addReg(X86::ST0);
874 return BuildMI(*MBB, I, DebugLoc(), TII->get(X86::ST_FPrr)).addReg(STReg);
905 if (Kills && I != MBB->begin()) {
929 BuildMI(*MBB, I, DebugLoc(), TII->get(X86::LD_F0));
1233 MBB->remove(I++);
1234 I = BuildMI(*MBB, I, dl, TII->get(Opcode)).addReg(getSTReg(NotTOS));
1249 MBB->getParent()->DeleteMachineInstr(MI); // Remove the old instruction
1401 BuildMI(*MBB, I, MI->getDebugLoc(), TII->get(X86::LD_F0));
1582 BuildMI(*MBB, I, MI->getDebugLoc(), TII->get(X86::LD_F0));
1734 I = MBB->erase(I); // Remove the pseudo instruction
1738 if (I == MBB->begin()) {
1740 I = BuildMI(*MBB, I, DebugLoc(), TII->get(TargetOpcode::KILL));