Lines Matching refs:NewMIs
1323 SmallVector<MachineInstr*, 4> NewMIs; in OptimizeByUnfold2() local
1324 if (!TII->unfoldMemoryOperand(MF, &MI, VirtReg, false, false, NewMIs)) in OptimizeByUnfold2()
1326 assert(NewMIs.size() == 1); in OptimizeByUnfold2()
1327 AssignPhysToVirtReg(NewMIs[0], VirtReg, PhysReg, *TRI); in OptimizeByUnfold2()
1328 VRM->transferRestorePts(&MI, NewMIs[0]); in OptimizeByUnfold2()
1329 MII = MBB->insert(MII, NewMIs[0]); in OptimizeByUnfold2()
1338 NewMIs.clear(); in OptimizeByUnfold2()
1339 if (!TII->unfoldMemoryOperand(MF, &NextMI, VirtReg, false, false, NewMIs)) in OptimizeByUnfold2()
1341 assert(NewMIs.size() == 1); in OptimizeByUnfold2()
1342 AssignPhysToVirtReg(NewMIs[0], VirtReg, PhysReg, *TRI); in OptimizeByUnfold2()
1343 VRM->transferRestorePts(&NextMI, NewMIs[0]); in OptimizeByUnfold2()
1344 MBB->insert(NextMII, NewMIs[0]); in OptimizeByUnfold2()
1454 SmallVector<MachineInstr*, 4> NewMIs; in OptimizeByUnfold() local
1455 if (TII->unfoldMemoryOperand(MF, &MI, UnfoldVR, false, false, NewMIs)) { in OptimizeByUnfold()
1456 assert(NewMIs.size() == 1); in OptimizeByUnfold()
1457 MachineInstr *NewMI = NewMIs.back(); in OptimizeByUnfold()
1459 NewMIs.clear(); in OptimizeByUnfold()
2387 SmallVector<MachineInstr*, 4> NewMIs; in RewriteMBB() local
2389 TII->unfoldMemoryOperand(MF, &MI, PhysReg, false, false, NewMIs)){ in RewriteMBB()
2390 MBB->insert(MII, NewMIs[0]); in RewriteMBB()
2409 SmallVector<MachineInstr*, 4> NewMIs; in RewriteMBB() local
2422 TII->unfoldMemoryOperand(MF, &MI, PhysReg, false, true,NewMIs)){ in RewriteMBB()
2423 MBB->insert(MII, NewMIs[0]); in RewriteMBB()
2424 NewStore = NewMIs[1]; in RewriteMBB()