Lines Matching refs:MFI
41 bool processBasicBlock(MachineFunction &MF, MachineFunction::iterator MFI);
51 MachineFunction::iterator MFI);
58 MachineFunction::iterator MFI);
63 MachineFunction::iterator MFI);
68 MachineFunction::iterator MFI) const;
79 MachineFunction::iterator MFI);
84 MachineInstr *postRAConvertToLEA(MachineFunction::iterator &MFI,
111 FixupLEAPass::postRAConvertToLEA(MachineFunction::iterator &MFI, in postRAConvertToLEA() argument
129 MFI->insert(MBBI, NewMI); // Insert the new inst in postRAConvertToLEA()
159 return TII->convertToThreeAddress(MFI, MI, nullptr); in postRAConvertToLEA()
208 MachineFunction::iterator MFI) { in getPreviousInstr() argument
209 if (I == MFI->begin()) { in getPreviousInstr()
210 if (MFI->isPredecessor(&*MFI)) { in getPreviousInstr()
211 I = --MFI->end(); in getPreviousInstr()
222 MachineFunction::iterator MFI) { in searchBackwards() argument
229 Found = getPreviousInstr(CurInst, MFI); in searchBackwards()
240 Found = getPreviousInstr(CurInst, MFI); in searchBackwards()
266 MachineFunction::iterator MFI) const { in fixupIncDec()
272 if (isLEASimpleIncOrDec(MI) && TII->isSafeToClobberEFLAGS(*MFI, I)) { in fixupIncDec()
289 BuildMI(*MFI, I, MI.getDebugLoc(), TII->get(NewOpcode)) in fixupIncDec()
292 MFI->erase(I); in fixupIncDec()
300 MachineFunction::iterator MFI) { in processInstruction() argument
309 seekLEAFixup(p, I, MFI); in processInstruction()
313 seekLEAFixup(q, I, MFI); in processInstruction()
320 MachineFunction::iterator MFI) { in seekLEAFixup() argument
321 MachineBasicBlock::iterator MBI = searchBackwards(p, I, MFI); in seekLEAFixup()
323 MachineInstr *NewMI = postRAConvertToLEA(MFI, MBI); in seekLEAFixup()
329 MFI->erase(MBI); in seekLEAFixup()
332 processInstruction(J, MFI); in seekLEAFixup()
338 MachineFunction::iterator MFI) { in processInstructionForSLM() argument
344 !TII->isSafeToClobberEFLAGS(*MFI, I)) in processInstructionForSLM()
383 MFI->insert(I, NewMI); in processInstructionForSLM()
393 MFI->insert(I, NewMI); in processInstructionForSLM()
397 MFI->erase(I); in processInstructionForSLM()
403 MachineFunction::iterator MFI) { in processBasicBlock() argument
405 for (MachineBasicBlock::iterator I = MFI->begin(); I != MFI->end(); ++I) { in processBasicBlock()
407 if (fixupIncDec(I, MFI)) in processBasicBlock()
412 processInstructionForSLM(I, MFI); in processBasicBlock()
414 processInstruction(I, MFI); in processBasicBlock()