Lines Matching refs:LocIdx

233   DenseMap<LocIdx, SmallSet<DebugVariableID, 4>> ActiveMLocs;
282 bool isCalleeSaved(LocIdx L) const { in isCalleeSaved()
311 LocationAndQuality(LocIdx L, LocationQuality Q) in LocationAndQuality()
313 LocIdx getLoc() const { in getLoc()
315 return LocIdx::MakeIllegalLoc(); in getLoc()
316 return LocIdx(Location); in getLoc()
333 getLocQualityIfBetter(LocIdx L, LocationQuality Min) const { in getLocQualityIfBetter()
415 LocIdx M = ValuesPreferredLoc->second.getLoc(); in loadVarInloc()
483 LocIdx Idx = Location.Idx; in loadInlocs()
556 LocIdx Idx = Location.Idx; in checkInstForNewValues()
586 LocIdx NewLoc = ValueToLoc.find(Op.ID)->second.getLoc(); in checkInstForNewValues()
705 for (LocIdx Loc : It->second.loc_indices()) in redefVar()
719 LocIdx NewLoc = MTracker->getRegMLoc(Reg); in redefVar()
743 for (LocIdx Loc : It->second.loc_indices()) in redefVar()
754 SmallVector<std::pair<LocIdx, DebugVariableID>> LostMLocs; in redefVar()
759 LocIdx NewLoc = Op.Loc; in redefVar()
768 for (LocIdx Loc : LostVLocIt->second.loc_indices()) { in redefVar()
802 void clobberMloc(LocIdx MLoc, MachineBasicBlock::iterator Pos, in clobberMloc()
815 void clobberMloc(LocIdx MLoc, ValueIDNum OldValue, in clobberMloc()
825 std::optional<LocIdx> NewLoc; in clobberMloc()
846 SmallVector<std::pair<LocIdx, DebugVariableID>> LostMLocs; in clobberMloc()
863 ResolvedDbgOp(LocIdx::MakeIllegalLoc())); in clobberMloc()
874 for (LocIdx Loc : ActiveVLocIt->second.loc_indices()) { in clobberMloc()
912 void transferMlocs(LocIdx Src, LocIdx Dst, MachineBasicBlock::iterator Pos) { in transferMlocs()
1028 LocIDToLocIdx.resize(NumRegs, LocIdx::MakeIllegalLoc()); in MLocTracker()
1089 LocIdx MLocTracker::trackRegister(unsigned ID) { in trackRegister()
1091 LocIdx NewIdx = LocIdx(LocIdxToIDNum.size()); in trackRegister()
1139 LocIdx Idx = LocIdx(LocIdxToIDNum.size()); // New idx in getOrTrackSpillLoc()
1152 std::string MLocTracker::LocIdxToName(LocIdx Idx) const { in LocIdxToName()
1249 LocIdx MLoc = Op.Loc; in emitLoc()
1343 bool InstrRefBasedLDV::isCalleeSaved(LocIdx L) const { in isCalleeSaved()
1378 std::optional<LocIdx>
1494 std::optional<LocIdx> L = findLocationForMemOperand(TargetInstr); in getValueForInstrRef()
1508 LocIdx L = MTracker->LocIDToLocIdx[LocID]; in getValueForInstrRef()
1555 LocIdx L = NewID->getLoc(); in getValueForInstrRef()
1588 LocIdx NewLoc = MTracker->lookupOrTrackRegister(NewReg); in getValueForInstrRef()
1684 LocIdx CurL = Location.Idx; in transferDebugInstrRef()
1710 LocIdx FoundLoc = FoundLocs.find(DbgOp.ID)->second.getLoc(); in transferDebugInstrRef()
1727 LocIdx FoundLoc = ValueLoc.second.getLoc(); in transferDebugInstrRef()
1818 LocIdx SpillLoc = MTracker->getSpillMLoc(SpillID); in transferDebugPHI()
1904 LocIdx L = MTracker->getSpillMLoc(SpillID); in transferRegisterDef()
1919 LocIdx Loc = MTracker->lookupOrTrackRegister(DeadReg); in transferRegisterDef()
1947 LocIdx L = MTracker->getSpillMLoc(SpillID); in transferRegisterDef()
1975 LocIdx SrcL = MTracker->lookupOrTrackRegister(SrcSubReg); in performCopy()
1976 LocIdx DstL = MTracker->lookupOrTrackRegister(DstSubReg); in performCopy()
2064 std::optional<LocIdx> MLoc = MTracker->getSpillMLoc(SpillID); in transferSpillOrRestoreInst()
2087 LocIdx DstLoc = MTracker->getSpillMLoc(SpillID); in transferSpillOrRestoreInst()
2091 LocIdx SrcLoc = MTracker->getRegMLoc(SrcReg); in transferSpillOrRestoreInst()
2127 LocIdx SrcIdx = MTracker->getSpillMLoc(SpillID); in transferSpillOrRestoreInst()
2180 DenseMap<LocIdx, ValueIDNum> ClobberedLocs; in transferRegisterCopy()
2183 LocIdx ClobberedLoc = MTracker->getRegMLoc(*RAI); in transferRegisterCopy()
2356 LocIdx Idx = Location.Idx; in produceMLocTransferFunction()
2397 LocIdx Idx = MTracker->LocIDToLocIdx[ID]; in produceMLocTransferFunction()
2453 LocIdx Idx = Location.Idx; in mlocJoin()
2539 SmallSet<LocIdx, 32> NormalLocsToPHI; in placeMLocPHIs()
2542 LocIdx L = Location.Idx; in placeMLocPHIs()
2575 auto CollectPHIsForLoc = [&](LocIdx L) { in placeMLocPHIs()
2597 auto InstallPHIsAtLoc = [&PHIBlocks, &MInLocs](LocIdx L) { in placeMLocPHIs()
2603 for (LocIdx L : NormalLocsToPHI) { in placeMLocPHIs()
2614 LocIdx L = MTracker->getSpillMLoc(SpillID); in placeMLocPHIs()
2628 LocIdx ThisL = MTracker->getSpillMLoc(ThisID); in placeMLocPHIs()
2636 LocIdx L = MTracker->lookupOrTrackRegister(R); in placeMLocPHIs()
2649 LocIdx AliasLoc = MTracker->lookupOrTrackRegister(*RAI); in placeMLocPHIs()
2699 SmallVector<std::pair<LocIdx, ValueIDNum>, 32> ToRemap; in buildMLocValueMap()
2884 SmallVector<SmallVector<LocIdx, 4>, 8> Locs; in pickOperandPHILoc()
2907 Locs.back().push_back(LocIdx(I)); in pickOperandPHILoc()
2918 ValueIDNum MPHI(MBB.getNumber(), 0, LocIdx(I)); in pickOperandPHILoc()
2920 Locs.back().push_back(LocIdx(I)); in pickOperandPHILoc()
2929 SmallVector<LocIdx, 4> CandidateLocs = Locs[0]; in pickOperandPHILoc()
2932 SmallVector<LocIdx, 4> NewCandidates; in pickOperandPHILoc()
2943 LocIdx L = *CandidateLocs.begin(); in pickOperandPHILoc()
3752 LocIdx LocNo = Num.getLoc(); in ExtendRanges()
3947 LocIdx Loc;
3951 LDVSSAUpdater(LocIdx L, const FuncValueTable &MLiveIns) in LDVSSAUpdater()
4152 LocIdx Loc = *LowerIt->ReadLoc; in resolveDbgPHIsImpl()