Lines Matching refs:mbbi

105                             MachineFunction::iterator &mbbi,
112 MachineFunction::iterator &mbbi,
121 MachineFunction::iterator &mbbi, unsigned Dist);
125 MachineFunction::iterator &mbbi,
594 MachineFunction::iterator &mbbi, in CommuteInstruction() argument
612 mbbi->insert(mi, NewMI); // Insert the new inst in CommuteInstruction()
613 mbbi->erase(mi); // Nuke the old inst. in CommuteInstruction()
650 MachineFunction::iterator &mbbi, in ConvertInstTo3Addr() argument
653 MachineInstr *NewMI = TII->convertToThreeAddress(mbbi, mi, LV); in ConvertInstTo3Addr()
663 Sunk = Sink3AddrInstruction(mbbi, NewMI, RegB, mi); in ConvertInstTo3Addr()
665 mbbi->erase(mi); // Nuke the old inst. in ConvertInstTo3Addr()
821 MachineFunction::iterator &mbbi, in DeleteUnusedInstr() argument
832 if (!canUpdateDeletedKills(Kills, NewKills, &*mbbi, Dist)) in DeleteUnusedInstr()
850 mbbi->erase(mi); // Nuke the old inst. in DeleteUnusedInstr()
863 MachineFunction::iterator &mbbi, in TryInstructionTransform() argument
877 DeleteUnusedInstr(mi, nmi, mbbi, Dist)) { in TryInstructionTransform()
901 else if (isProfitableToCommute(regB, regC, mi, mbbi, Dist)) { in TryInstructionTransform()
909 if (TryCommute && CommuteInstruction(mi, mbbi, regB, regC, Dist)) { in TryInstructionTransform()
917 ScanUses(regA, &*mbbi, Processed); in TryInstructionTransform()
924 if (ConvertInstTo3Addr(mi, nmi, mbbi, regA, regB, Dist)) { in TryInstructionTransform()
950 MachineFunction &MF = *mbbi->getParent(); in TryInstructionTransform()
971 mbbi->insert(mi, NewMIs[0]); in TryInstructionTransform()
972 mbbi->insert(mi, NewMIs[1]); in TryInstructionTransform()
982 TryInstructionTransform(NewMI, mi, mbbi, in TryInstructionTransform()
1063 for (MachineFunction::iterator mbbi = MF.begin(), mbbe = MF.end(); in runOnMachineFunction() local
1064 mbbi != mbbe; ++mbbi) { in runOnMachineFunction()
1070 for (MachineBasicBlock::iterator mi = mbbi->begin(), me = mbbi->end(); in runOnMachineFunction()
1087 ProcessCopy(&*mi, &*mbbi, Processed); in runOnMachineFunction()
1130 if (TryInstructionTransform(mi, nmi, mbbi, SrcIdx, DstIdx, Dist, in runOnMachineFunction()
1182 isProfitableToReMat(regB, rc, mi, DefMI, mbbi, Dist)){ in runOnMachineFunction()
1185 TII->reMaterialize(*mbbi, mi, regA, regASubIdx, DefMI, *TRI); in runOnMachineFunction()
1189 BuildMI(*mbbi, mi, mi->getDebugLoc(), TII->get(TargetOpcode::COPY), in runOnMachineFunction()