Lines Matching refs:LIS
84 LiveIntervals *LIS;
400 LiveRangeEdit(nullptr, NewRegs, *MF, *LIS,
431 LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg());
433 LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
434 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
456 MachineInstr *ACopyMI = LIS->getInstructionFromIndex(AValNo->def);
470 LIS->getInstructionFromIndex(ValS->end.getPrevSlot());
509 LIS->shrinkToUses(&IntA);
523 if (LIS->hasPHIKill(IntA, AValNo))
572 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
575 LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg());
577 LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
590 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def);
627 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI);
650 LIS->ReplaceMachineInstrInMaps(DefMI, NewMI);
679 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI).getRegSlot(true);
707 LIS->RemoveMachineInstrFromMaps(UseMI);
741 LiveInterval &SrcInt = LIS->getInterval(SrcReg);
742 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI);
747 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def);
806 LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI);
864 LIS->getInstructionIndex(NewMI);
867 if (LiveRange *LR = LIS->getCachedRegUnit(*Units))
868 LR->createDeadDef(NewMIIdx.getRegSlot(), LIS->getVNInfoAllocator());
888 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI);
892 if (LiveRange *LR = LIS->getCachedRegUnit(*Units))
893 LR->createDeadDef(NewMIIdx.getRegSlot(), LIS->getVNInfoAllocator());
900 LIS->shrinkToUses(&SrcInt, &DeadDefs);
916 SlotIndex Idx = LIS->getInstructionIndex(CopyMI);
917 LiveInterval *SrcInt = &LIS->getInterval(CP.getSrcReg());
920 LiveInterval *DstInt = &LIS->getInterval(CP.getDstReg());
938 SlotIndex Idx = LIS->getInstructionIndex(MI);
956 LiveInterval *DstInt = DstIsPhys ? nullptr : &LIS->getInterval(DstReg);
979 Reads = DstInt->liveAt(LIS->getInstructionIndex(UseMI));
1000 dbgs() << LIS->getInstructionIndex(UseMI) << "\t";
1016 LiveInterval &JoinVInt = LIS->getInterval(CP.getSrcReg());
1032 DEBUG(dbgs() << LIS->getInstructionIndex(CopyMI) << '\t' << *CopyMI);
1053 LIS->RemoveMachineInstrFromMaps(CopyMI);
1062 LiveInterval &LI = LIS->getInterval(CP.getSrcReg());
1064 LiveQueryResult LRQ = LI.Query(LIS->getInstructionIndex(CopyMI));
1072 LIS->RemoveMachineInstrFromMaps(CopyMI);
1107 if (!CP.isPartial() && LIS->getInterval(CP.getSrcReg()).size() >
1108 LIS->getInterval(CP.getDstReg()).size())
1130 LIS->RemoveMachineInstrFromMaps(CopyMI);
1168 LIS->removeInterval(CP.getSrcReg());
1178 dbgs() << LIS->getInterval(CP.getDstReg());
1190 LiveInterval &RHS = LIS->getInterval(CP.getSrcReg());
1204 if (RHS.overlaps(LIS->getRegUnit(*UI))) {
1216 LIS->RemoveMachineInstrFromMaps(CopyMI);
1304 LiveIntervals *LIS;
1402 LiveIntervals *lis,
1404 : LI(li), SubIdx(subIdx), NewVNInfo(newVNInfo), CP(cp), LIS(lis),
1405 Indexes(LIS->getSlotIndexes()), TRI(tri),
1460 LiveQueryResult LRQ = LIS->getInterval(Reg).Query(VNI->def);
1893 LIS->pruneValue(&Other.LI, Def, &EndPoints);
1927 LIS->pruneValue(&LI, Def, &EndPoints);
1970 LIS->RemoveMachineInstrFromMaps(MI);
1982 LiveInterval &RHS = LIS->getInterval(CP.getSrcReg());
1983 LiveInterval &LHS = LIS->getInterval(CP.getDstReg());
1984 JoinVals RHSVals(RHS, CP.getSrcIdx(), NewVNInfo, CP, LIS, TRI);
1985 JoinVals LHSVals(LHS, CP.getDstIdx(), NewVNInfo, CP, LIS, TRI);
2016 LIS->shrinkToUses(&LIS->getInterval(ShrinkRegs.pop_back_val()));
2034 LIS->extendToIndices(LHS, EndPoints);
2082 static bool isLocalCopy(MachineInstr *Copy, const LiveIntervals *LIS) {
2095 return LIS->intervalIsInOneMBB(LIS->getInterval(SrcReg))
2096 || LIS->intervalIsInOneMBB(LIS->getInterval(DstReg));
2138 if (isLocalCopy(&(*MII), LIS))
2213 LIS = &getAnalysis<LiveIntervals>();
2266 LIS->print(O, m);