Home | History | Annotate | Download | only in CodeGen

Lines Matching refs:lis

84     LiveIntervals *LIS;
402 LiveRangeEdit(0, NewRegs, *MF, *LIS, 0, this).eliminateDeadDefs(DeadDefs);
432 LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg());
434 LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
435 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
457 MachineInstr *ACopyMI = LIS->getInstructionFromIndex(AValNo->def);
471 LIS->getInstructionFromIndex(ValLR->end.getPrevSlot());
510 LIS->shrinkToUses(&IntA);
524 if (LIS->hasPHIKill(IntA, AValNo))
573 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI).getRegSlot();
576 LIS->getInterval(CP.isFlipped() ? CP.getDstReg() : CP.getSrcReg());
578 LIS->getInterval(CP.isFlipped() ? CP.getSrcReg() : CP.getDstReg());
593 MachineInstr *DefMI = LIS->getInstructionFromIndex(AValNo->def);
631 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI);
654 LIS->ReplaceMachineInstrInMaps(DefMI, NewMI);
683 SlotIndex UseIdx = LIS->getInstructionIndex(UseMI).getRegSlot(true);
711 LIS->RemoveMachineInstrFromMaps(UseMI);
745 LiveInterval &SrcInt = LIS->getInterval(SrcReg);
746 SlotIndex CopyIdx = LIS->getInstructionIndex(CopyMI);
751 MachineInstr *DefMI = LIS->getInstructionFromIndex(ValNo->def);
802 LIS->ReplaceMachineInstrInMaps(CopyMI, NewMI);
875 SlotIndex NewMIIdx = LIS->getInstructionIndex(NewMI);
879 if (LiveInterval *LI = LIS->getCachedRegUnit(*Units))
880 LI->createDeadDef(NewMIIdx.getRegSlot(), LIS->getVNInfoAllocator());
887 LIS->shrinkToUses(&SrcInt, &DeadDefs);
903 SlotIndex Idx = LIS->getInstructionIndex(CopyMI);
904 LiveInterval *SrcInt = &LIS->getInterval(CP.getSrcReg());
907 LiveInterval *DstInt = &LIS->getInterval(CP.getDstReg());
928 SlotIndex Idx = LIS->getInstructionIndex(MI);
946 LiveInterval *DstInt = DstIsPhys ? 0 : &LIS->getInterval(DstReg);
966 Reads = DstInt->liveAt(LIS->getInstructionIndex(UseMI));
987 dbgs() << LIS->getInstructionIndex(UseMI) << "\t";
1003 LiveInterval &JoinVInt = LIS->getInterval(CP.getSrcReg());
1019 DEBUG(dbgs() << LIS->getInstructionIndex(CopyMI) << '\t' << *CopyMI);
1040 LIS->RemoveMachineInstrFromMaps(CopyMI);
1049 LiveInterval &LI = LIS->getInterval(CP.getSrcReg());
1051 LiveRangeQuery LRQ(LI, LIS->getInstructionIndex(CopyMI));
1059 LIS->RemoveMachineInstrFromMaps(CopyMI);
1094 if (!CP.isPartial() && LIS->getInterval(CP.getSrcReg()).ranges.size() >
1095 LIS->getInterval(CP.getDstReg()).ranges.size())
1116 LIS->RemoveMachineInstrFromMaps(CopyMI);
1154 LIS->removeInterval(CP.getSrcReg());
1162 dbgs() << LIS->getInterval(CP.getDstReg());
1174 LiveInterval &RHS = LIS->getInterval(CP.getSrcReg());
1189 if (RHS.overlaps(LIS->getRegUnit(*UI))) {
1201 LIS->RemoveMachineInstrFromMaps(CopyMI);
1289 LiveIntervals *LIS;
1387 LiveIntervals *lis,
1389 : LI(li), SubIdx(subIdx), NewVNInfo(newVNInfo), CP(cp), LIS(lis),
1390 Indexes(LIS->getSlotIndexes()), TRI(tri),
1445 LiveRangeQuery LRQ(LIS->getInterval(Reg), VNI->def);
1878 LIS->pruneValue(&Other.LI, Def, &EndPoints);
1912 LIS->pruneValue(&LI, Def, &EndPoints);
1955 LIS->RemoveMachineInstrFromMaps(MI);
1967 LiveInterval &RHS = LIS->getInterval(CP.getSrcReg());
1968 LiveInterval &LHS = LIS->getInterval(CP.getDstReg());
1969 JoinVals RHSVals(RHS, CP.getSrcIdx(), NewVNInfo, CP, LIS, TRI);
1970 JoinVals LHSVals(LHS, CP.getDstIdx(), NewVNInfo, CP, LIS, TRI);
2001 LIS->shrinkToUses(&LIS->getInterval(ShrinkRegs.pop_back_val()));
2020 LIS->extendToIndices(&LHS, EndPoints);
2069 static bool isLocalCopy(MachineInstr *Copy, const LiveIntervals *LIS) {
2082 return LIS->intervalIsInOneMBB(LIS->getInterval(SrcReg))
2083 || LIS->intervalIsInOneMBB(LIS->getInterval(DstReg));
2125 if (isLocalCopy(&(*MII), LIS))
2200 LIS = &getAnalysis<LiveIntervals>();
2253 LIS->print(O, m);