• Home
  • Raw
  • Download

Lines Matching refs:I2

100   void combine(MachineInstr &I1, MachineInstr &I2,
104 bool isSafeToMoveTogether(MachineInstr &I1, MachineInstr &I2,
250 MachineInstr &I2, in isSafeToMoveTogether() argument
254 unsigned I2UseReg = UseReg(I2.getOperand(1)); in isSafeToMoveTogether()
268 MachineBasicBlock::reverse_iterator I(I2), in isSafeToMoveTogether()
277 if (I2.killsRegister(I2UseReg)) in isSafeToMoveTogether()
307 removeKillInfo(I2, KilledOperand); in isSafeToMoveTogether()
317 MachineBasicBlock::iterator I(I1), End(I2); in isSafeToMoveTogether()
320 End = std::next(MachineBasicBlock::iterator(I2)); in isSafeToMoveTogether()
488 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction() local
489 if (I2) { in runOnMachineFunction()
491 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction()
506 MachineBasicBlock::iterator I2 = std::next(MachineBasicBlock::iterator(I1)); in findPairable() local
508 while (I2->isDebugValue()) in findPairable()
509 ++I2; in findPairable()
513 for (MachineBasicBlock::iterator End = I1.getParent()->end(); I2 != End; in findPairable()
514 ++I2) { in findPairable()
516 if (I2->modifiesRegister(I1DestReg, TRI)) in findPairable()
520 if (!isCombinableInstType(*I2, TII, ShouldCombineAggressively)) in findPairable()
524 if (ShouldCombineAggressively && PotentiallyNewifiableTFR.count(&*I2)) in findPairable()
527 unsigned I2DestReg = I2->getOperand(0).getReg(); in findPairable()
541 if ((IsI2LowReg && !areCombinableOperations(TRI, I1, *I2, AllowC64)) || in findPairable()
542 (IsI1LowReg && !areCombinableOperations(TRI, *I2, I1, AllowC64))) in findPairable()
545 if (isSafeToMoveTogether(I1, *I2, I1DestReg, I2DestReg, DoInsertAtI1)) in findPairable()
546 return &*I2; in findPairable()
554 void HexagonCopyToCombine::combine(MachineInstr &I1, MachineInstr &I2, in combine() argument
559 if (MI == I2.getIterator()) in combine()
564 unsigned I2DestReg = I2.getOperand(0).getReg(); in combine()
576 MachineOperand &LoOperand = IsI1Loreg ? I1.getOperand(1) : I2.getOperand(1); in combine()
577 MachineOperand &HiOperand = IsI1Loreg ? I2.getOperand(1) : I1.getOperand(1); in combine()
585 isGreaterThanNBitTFRI<16>(I1) && isGreaterThanNBitTFRI<16>(I2); in combine()
587 MachineBasicBlock::iterator InsertPt(DoInsertAtI1 ? I1 : I2); in combine()
615 I2.eraseFromParent(); in combine()