Lines Matching refs:Filler
190 class Filler : public MachineFunctionPass { class
192 Filler(TargetMachine &tm) in Filler() function in __anon4b9988bf0111::Filler
241 IterTy &Filler) const;
277 char Filler::ID = 0;
285 static void insertDelayFiller(Iter Filler, const BB2BrMap &BrMap) { in insertDelayFiller() argument
286 MachineFunction *MF = Filler->getParent()->getParent(); in insertDelayFiller()
290 MIBundleBuilder(I->second).append(MF->CloneMachineInstr(&*Filler)); in insertDelayFiller()
293 I->first->insert(I->first->end(), MF->CloneMachineInstr(&*Filler)); in insertDelayFiller()
299 static void addLiveInRegs(Iter Filler, MachineBasicBlock &MBB) { in addLiveInRegs() argument
300 for (unsigned I = 0, E = Filler->getNumOperands(); I != E; ++I) { in addLiveInRegs()
301 const MachineOperand &MO = Filler->getOperand(I); in addLiveInRegs()
532 Iter Filler::replaceWithCompactBranch(MachineBasicBlock &MBB, Iter Branch, in replaceWithCompactBranch()
565 bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) { in runOnMachineBasicBlock()
642 return new Filler(tm); in createMipsDelaySlotFillerPass()
646 bool Filler::searchRange(MachineBasicBlock &MBB, IterTy Begin, IterTy End, in searchRange()
648 IterTy &Filler) const { in searchRange()
700 Filler = CurrI; in searchRange()
707 bool Filler::searchBackward(MachineBasicBlock &MBB, Iter Slot) const { in searchBackward()
714 ReverseIter Filler; in searchBackward() local
719 Filler)) in searchBackward()
722 MBB.splice(std::next(Slot), &MBB, std::next(Filler).base()); in searchBackward()
728 bool Filler::searchForward(MachineBasicBlock &MBB, Iter Slot) const { in searchForward()
735 Iter Filler; in searchForward() local
739 if (!searchRange(MBB, std::next(Slot), MBB.end(), RegDU, NM, Slot, Filler)) in searchForward()
742 MBB.splice(std::next(Slot), &MBB, Filler); in searchForward()
748 bool Filler::searchSuccBBs(MachineBasicBlock &MBB, Iter Slot) const { in searchSuccBBs()
761 Iter Filler; in searchSuccBBs() local
784 Filler)) in searchSuccBBs()
787 insertDelayFiller(Filler, BrMap); in searchSuccBBs()
788 addLiveInRegs(Filler, *SuccBB); in searchSuccBBs()
789 Filler->eraseFromParent(); in searchSuccBBs()
794 MachineBasicBlock *Filler::selectSuccBB(MachineBasicBlock &B) const { in selectSuccBB()
810 Filler::getBranch(MachineBasicBlock &MBB, const MachineBasicBlock &Dst) const { in getBranch()
845 bool Filler::examinePred(MachineBasicBlock &Pred, const MachineBasicBlock &Succ, in examinePred()
866 bool Filler::delayHasHazard(const MachineInstr &Candidate, RegDefsUses &RegDU, in delayHasHazard()
879 bool Filler::terminateSearch(const MachineInstr &Candidate) const { in terminateSearch()