Lines Matching refs:memOps
729 MemOpQueue &memOps, in MergeOpsUpdate() argument
740 const unsigned insertPos = memOps[insertAfter].Position; in MergeOpsUpdate()
743 for (unsigned i = 0, e = memOps.size(); i != e; ++i) { in MergeOpsUpdate()
749 if (memOps[i].Position < insertPos && memOps[i].isKill) { in MergeOpsUpdate()
750 unsigned Reg = memOps[i].Reg; in MergeOpsUpdate()
760 unsigned Reg = memOps[i].Reg; in MergeOpsUpdate()
763 bool isKill = memOps[i].isKill || KilledRegs.count(Reg); in MergeOpsUpdate()
767 for (MIOperands MO(memOps[i].MBBI); MO.isValid(); ++MO) { in MergeOpsUpdate()
777 findUsesOfImpDef(UsesOfImpDefs, memOps, DefReg, memOps[i].Position, in MergeOpsUpdate()
783 MachineBasicBlock::iterator Loc = memOps[insertAfter].MBBI; in MergeOpsUpdate()
807 int Idx = memOps[j].MBBI->findRegisterUseOperandIdx(Reg, true); in MergeOpsUpdate()
809 memOps[j].MBBI->getOperand(Idx).setIsKill(false); in MergeOpsUpdate()
810 memOps[j].isKill = false; in MergeOpsUpdate()
812 memOps[i].isKill = true; in MergeOpsUpdate()
814 MBB.erase(memOps[i].MBBI); in MergeOpsUpdate()
817 memOps[i].Merged = true; in MergeOpsUpdate()
818 memOps[i].MBBI = Merges.back(); in MergeOpsUpdate()
819 memOps[i].Position = insertPos; in MergeOpsUpdate()
823 for (auto &MemOp : memOps) { in MergeOpsUpdate()