Lines Matching refs:Filler
168 class Filler : public MachineFunctionPass { class
170 Filler(TargetMachine &tm) in Filler() function in __anonfbd221780111::Filler
217 IterTy &Filler) const;
253 char Filler::ID = 0;
261 static void insertDelayFiller(Iter Filler, const BB2BrMap &BrMap) { in insertDelayFiller() argument
262 MachineFunction *MF = Filler->getParent()->getParent(); in insertDelayFiller()
266 MIBundleBuilder(I->second).append(MF->CloneMachineInstr(&*Filler)); in insertDelayFiller()
269 I->first->insert(I->first->end(), MF->CloneMachineInstr(&*Filler)); in insertDelayFiller()
275 static void addLiveInRegs(Iter Filler, MachineBasicBlock &MBB) { in addLiveInRegs() argument
276 for (unsigned I = 0, E = Filler->getNumOperands(); I != E; ++I) { in addLiveInRegs()
277 const MachineOperand &MO = Filler->getOperand(I); in addLiveInRegs()
508 Iter Filler::replaceWithCompactBranch(MachineBasicBlock &MBB, in replaceWithCompactBranch()
531 Iter Filler::replaceWithCompactJump(MachineBasicBlock &MBB, in replaceWithCompactJump()
569 bool Filler::runOnMachineBasicBlock(MachineBasicBlock &MBB) { in runOnMachineBasicBlock()
646 return new Filler(tm); in createMipsDelaySlotFillerPass()
650 bool Filler::searchRange(MachineBasicBlock &MBB, IterTy Begin, IterTy End, in searchRange()
652 IterTy &Filler) const { in searchRange()
704 Filler = CurrI; in searchRange()
711 bool Filler::searchBackward(MachineBasicBlock &MBB, Iter Slot) const { in searchBackward()
718 ReverseIter Filler; in searchBackward() local
723 Filler)) in searchBackward()
726 MBB.splice(std::next(Slot), &MBB, std::next(Filler).base()); in searchBackward()
732 bool Filler::searchForward(MachineBasicBlock &MBB, Iter Slot) const { in searchForward()
739 Iter Filler; in searchForward() local
743 if (!searchRange(MBB, std::next(Slot), MBB.end(), RegDU, NM, Slot, Filler)) in searchForward()
746 MBB.splice(std::next(Slot), &MBB, Filler); in searchForward()
752 bool Filler::searchSuccBBs(MachineBasicBlock &MBB, Iter Slot) const { in searchSuccBBs()
765 Iter Filler; in searchSuccBBs() local
788 Filler)) in searchSuccBBs()
791 insertDelayFiller(Filler, BrMap); in searchSuccBBs()
792 addLiveInRegs(Filler, *SuccBB); in searchSuccBBs()
793 Filler->eraseFromParent(); in searchSuccBBs()
798 MachineBasicBlock *Filler::selectSuccBB(MachineBasicBlock &B) const { in selectSuccBB()
814 Filler::getBranch(MachineBasicBlock &MBB, const MachineBasicBlock &Dst) const { in getBranch()
849 bool Filler::examinePred(MachineBasicBlock &Pred, const MachineBasicBlock &Succ, in examinePred()
870 bool Filler::delayHasHazard(const MachineInstr &Candidate, RegDefsUses &RegDU, in delayHasHazard()
883 bool Filler::terminateSearch(const MachineInstr &Candidate) const { in terminateSearch()