Lines Matching refs:ValueIDNum

228   SmallVector<ValueIDNum, 32> VarLocs;
323 using ValueLocPair = std::pair<ValueIDNum, LocationAndQuality>;
389 const ValueIDNum &Num = Op.ID; in loadVarInloc()
484 ValueIDNum &VNum = MLocs[Idx.asU64()]; in loadInlocs()
485 if (VNum == ValueIDNum::EmptyValue) in loadInlocs()
532 SmallDenseMap<ValueIDNum, LocationAndQuality> ValueToLoc; in checkInstForNewValues()
557 ValueIDNum &LocValueID = Location.Value; in checkInstForNewValues()
636 bool isEntryValueValue(const ValueIDNum &Val) const { in isEntryValueValue()
653 const ValueIDNum &Num) { in recoverAsEntryValue()
809 ValueIDNum OldValue = VarLocs[MLoc.asU64()]; in clobberMloc()
815 void clobberMloc(LocIdx MLoc, ValueIDNum OldValue, in clobberMloc()
821 VarLocs[MLoc.asU64()] = ValueIDNum::EmptyValue; in clobberMloc()
948 VarLocs[Src.asU64()] = ValueIDNum::EmptyValue; in transferMlocs()
973 ValueIDNum ValueIDNum::EmptyValue = {UINT_MAX, UINT_MAX, UINT_MAX};
974 ValueIDNum ValueIDNum::TombstoneValue = {UINT_MAX, UINT_MAX, UINT_MAX - 1};
1025 LocIdxToIDNum(ValueIDNum::EmptyValue), LocIdxToLocID(0) { in MLocTracker()
1096 ValueIDNum ValNum = {CurBB, 0, NewIdx}; in trackRegister()
1146 LocIdxToIDNum[Idx] = ValueIDNum(CurBB, 0, Idx); in getOrTrackSpillLoc()
1167 std::string MLocTracker::IDAsString(const ValueIDNum &Num) const { in IDAsString()
1454 std::optional<ValueIDNum> InstrRefBasedLDV::getValueForInstrRef( in getValueForInstrRef()
1480 std::optional<ValueIDNum> NewID; in getValueForInstrRef()
1496 NewID = ValueIDNum(BlockNo, InstrIt->second.second, *L); in getValueForInstrRef()
1509 NewID = ValueIDNum(BlockNo, InstrIt->second.second, L); in getValueForInstrRef()
1589 NewID = ValueIDNum(NewID->getBlock(), NewID->getInst(), NewLoc); in getValueForInstrRef()
1639 std::optional<ValueIDNum> NewID = in transferDebugInstrRef()
1672 SmallDenseMap<ValueIDNum, TransferTracker::LocationAndQuality> FoundLocs; in transferDebugInstrRef()
1673 SmallVector<ValueIDNum> ValuesToFind; in transferDebugInstrRef()
1685 ValueIDNum ID = MTracker->readMLoc(CurL); in transferDebugInstrRef()
1726 ValueIDNum NewID = ValueLoc.first; in transferDebugInstrRef()
1785 ValueIDNum Num = MTracker->readReg(Reg); in transferDebugPHI()
1819 ValueIDNum Result = MTracker->readMLoc(SpillLoc); in transferDebugPHI()
1845 ValueIDNum Num = MTracker->readReg(MI.getOperand(0).getReg()); in transferRegisterDef()
1905 MTracker->setMLoc(L, ValueIDNum(CurBB, CurInst, L)); in transferRegisterDef()
1959 ValueIDNum SrcValue = MTracker->readReg(SrcRegNum); in performCopy()
1979 ValueIDNum CpyValue = MTracker->readReg(SrcSubReg); in performCopy()
2072 ValueIDNum Def(CurBB, CurInst, *MLoc); in transferSpillOrRestoreInst()
2180 DenseMap<LocIdx, ValueIDNum> ClobberedLocs; in transferRegisterCopy()
2189 ValueIDNum Value = MTracker->readReg(*RAI); in transferRegisterCopy()
2357 ValueIDNum &P = Location.Value; in produceMLocTransferFunction()
2405 ValueIDNum NotGeneratedNum = ValueIDNum(I, 1, Idx); in produceMLocTransferFunction()
2409 ValueIDNum &ValueID = Result.first->second; in produceMLocTransferFunction()
2457 ValueIDNum FirstVal = OutLocs[*BlockOrders[0]][Idx.asU64()]; in mlocJoin()
2461 if (InLocs[Idx.asU64()] != ValueIDNum(MBB.getNumber(), 0, Idx)) { in mlocJoin()
2474 const ValueIDNum &PredLiveOut = OutLocs[*PredMBB][Idx.asU64()]; in mlocJoin()
2481 if (PredLiveOut == ValueIDNum(MBB.getNumber(), 0, Idx)) in mlocJoin()
2599 MInLocs[*MBB][L.asU64()] = ValueIDNum(MBB->getNumber(), 0, L); in placeMLocPHIs()
2679 ValueIDNum(0, 0, Location.Idx); in buildMLocValueMap()
2699 SmallVector<std::pair<LocIdx, ValueIDNum>, 32> ToRemap; in buildMLocValueMap()
2725 ValueIDNum NewID = MTracker->readMLoc(P.second.getLoc()); in buildMLocValueMap()
2864 std::optional<ValueIDNum> JoinedOpLoc = in pickVPHILoc()
2877 std::optional<ValueIDNum> InstrRefBasedLDV::pickOperandPHILoc( in pickOperandPHILoc()
2903 ValueIDNum ValToLookFor = OutValOp.ID; in pickOperandPHILoc()
2918 ValueIDNum MPHI(MBB.getNumber(), 0, LocIdx(I)); in pickOperandPHILoc()
2946 ValueIDNum PHIVal = {(unsigned)MBB.getNumber(), 0, L}; in pickOperandPHILoc()
3747 ValueIDNum &Num = *DBG_PHI.ValueRead; in ExtendRanges()
3753 ValueIDNum ResolvedValue = MInLocs[BlockNo][LocNo.asU64()]; in ExtendRanges()
3757 if (ResolvedValue != ValueIDNum::EmptyValue) in ExtendRanges()
4060 BlockValueNum Num = ValueIDNum(BB->BB.getNumber(), 0, Updater->Loc).asU64(); in GetPoisonVal()
4106 std::optional<ValueIDNum> InstrRefBasedLDV::resolveDbgPHIs( in resolveDbgPHIs()
4115 std::optional<ValueIDNum> Result = in resolveDbgPHIs()
4121 std::optional<ValueIDNum> InstrRefBasedLDV::resolveDbgPHIsImpl( in resolveDbgPHIsImpl()
4171 const ValueIDNum &Num = *DBG_PHI.ValueRead; in resolveDbgPHIsImpl()
4180 return ValueIDNum::fromU64(AvailIt->second); in resolveDbgPHIsImpl()
4187 ValueIDNum Result = ValueIDNum::fromU64(ResultInt); in resolveDbgPHIsImpl()
4200 DenseMap<LDVSSABlock *, ValueIDNum> ValidatedValues; in resolveDbgPHIsImpl()
4205 const ValueIDNum &Num = *DBG_PHI.ValueRead; in resolveDbgPHIsImpl()
4219 ValueIDNum ThisBlockValueNum = MLiveIns[PHI->ParentBlock->BB][Loc.asU64()]; in resolveDbgPHIsImpl()
4227 ValueIDNum ValueToCheck; in resolveDbgPHIsImpl()