• Home
  • Raw
  • Download

Lines Matching refs:I1

95   MachineInstr *findPairable(MachineInstr &I1, bool &DoInsertAtI1,
100 void combine(MachineInstr &I1, MachineInstr &I2,
104 bool isSafeToMoveTogether(MachineInstr &I1, MachineInstr &I2,
249 bool HexagonCopyToCombine::isSafeToMoveTogether(MachineInstr &I1, in isSafeToMoveTogether() argument
258 if (I2UseReg && I1.modifiesRegister(I2UseReg, TRI)) in isSafeToMoveTogether()
269 End = --(MachineBasicBlock::reverse_iterator(I1)); in isSafeToMoveTogether()
272 End = MachineBasicBlock::reverse_iterator(I1); in isSafeToMoveTogether()
317 MachineBasicBlock::iterator I(I1), End(I2); in isSafeToMoveTogether()
321 unsigned I1UseReg = UseReg(I1.getOperand(1)); in isSafeToMoveTogether()
368 bool Added = I1.addRegisterKilled(KilledOperand, TRI); in isSafeToMoveTogether()
468 MachineInstr &I1 = *MI++; in runOnMachineFunction() local
470 if (I1.isDebugValue()) in runOnMachineFunction()
476 if (ShouldCombineAggressively && PotentiallyNewifiableTFR.count(&I1)) in runOnMachineFunction()
480 if (!isCombinableInstType(I1, TII, ShouldCombineAggressively)) in runOnMachineFunction()
488 MachineInstr *I2 = findPairable(I1, DoInsertAtI1, OptForSize); in runOnMachineFunction()
491 combine(I1, *I2, MI, DoInsertAtI1, OptForSize); in runOnMachineFunction()
503 MachineInstr *HexagonCopyToCombine::findPairable(MachineInstr &I1, in findPairable() argument
506 MachineBasicBlock::iterator I2 = std::next(MachineBasicBlock::iterator(I1)); in findPairable()
511 unsigned I1DestReg = I1.getOperand(0).getReg(); in findPairable()
513 for (MachineBasicBlock::iterator End = I1.getParent()->end(); I2 != End; 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()
554 void HexagonCopyToCombine::combine(MachineInstr &I1, MachineInstr &I2, in combine() argument
563 unsigned I1DestReg = I1.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()
614 I1.eraseFromParent(); in combine()