Lines Matching refs:ValueIDNum

145 class ValueIDNum {
162 ValueIDNum() { u.Value = EmptyValue.asU64(); } in ValueIDNum() function
164 ValueIDNum(uint64_t Block, uint64_t Inst, uint64_t Loc) { in ValueIDNum() function
168 ValueIDNum(uint64_t Block, uint64_t Inst, LocIdx Loc) { in ValueIDNum() function
179 static ValueIDNum fromU64(uint64_t v) { in fromU64()
180 ValueIDNum Val; in fromU64()
185 bool operator<(const ValueIDNum &Other) const {
189 bool operator==(const ValueIDNum &Other) const {
193 bool operator!=(const ValueIDNum &Other) const { return !(*this == Other); }
207 static ValueIDNum EmptyValue;
208 static ValueIDNum TombstoneValue;
225 template <> struct DenseMapInfo<ValueIDNum> {
226 static inline ValueIDNum getEmptyKey() { return ValueIDNum::EmptyValue; }
227 static inline ValueIDNum getTombstoneKey() {
228 return ValueIDNum::TombstoneValue;
231 static unsigned getHashValue(const ValueIDNum &Val) {
235 static bool isEqual(const ValueIDNum &A, const ValueIDNum &B) {
246 using ValueTable = SmallVector<ValueIDNum, 0>;
255 std::make_unique<ValueTable>(NumLocs, ValueIDNum::EmptyValue));
361 ValueIDNum ID;
366 DbgOp() : ID(ValueIDNum::EmptyValue), IsConst(false) {}
367 DbgOp(ValueIDNum ID) : ID(ID), IsConst(false) {}
370 bool isUndef() const { return !IsConst && ID == ValueIDNum::EmptyValue; }
450 SmallVector<ValueIDNum, 0> ValueOps;
453 DenseMap<ValueIDNum, DbgOpID> ValueOpToID;
495 DbgOpID insertValueOp(ValueIDNum VID) {
706 using LocToValueType = IndexedMap<ValueIDNum, LocIdxToIndexFunctor>;
775 value_type(LocIdx Idx, ValueIDNum &Value) : Idx(Idx), Value(Value) {}
777 ValueIDNum &Value; /// Reference to the stored value at this location.
899 void setMLoc(LocIdx L, ValueIDNum Num) {
905 ValueIDNum readMLoc(LocIdx L) {
933 ValueIDNum ValueID = {BB, Inst, Idx};
939 void setReg(Register R, ValueIDNum ValueID) {
945 ValueIDNum readReg(Register R) {
958 LocIdxToIDNum[Idx] = ValueIDNum::EmptyValue;
1014 std::string IDAsString(const ValueIDNum &Num) const;
1137 using MLocTransferMap = SmallDenseMap<LocIdx, ValueIDNum>;
1224 std::optional<ValueIDNum> ValueRead;
1246 DenseMap<std::pair<MachineInstr *, unsigned>, std::optional<ValueIDNum>>
1293 std::optional<ValueIDNum> getValueForInstrRef(unsigned InstNo, unsigned OpNo,
1340 std::optional<ValueIDNum> resolveDbgPHIs(MachineFunction &MF,
1346 std::optional<ValueIDNum> resolveDbgPHIsImpl(MachineFunction &MF,
1464 std::optional<ValueIDNum> pickOperandPHILoc(