Lines Matching refs:UserValue
287 class UserValue { class
293 UserValue *leader; ///< Equivalence class leader.
294 UserValue *next = nullptr; ///< Next value in equivalence class, or null.
322 UserValue(const DILocalVariable *var, in UserValue() function in __anonfbf3834f0411::UserValue
329 UserValue *getLeader() { in getLeader()
330 UserValue *l = leader; in getLeader()
337 UserValue *getNext() const { return next; } in getNext()
340 static UserValue *merge(UserValue *L1, UserValue *L2) { in merge()
348 UserValue *End = L2; in merge()
550 SmallVector<std::unique_ptr<UserValue>, 8> userValues;
556 using VRMap = DenseMap<unsigned, UserValue *>;
560 using UVMap = DenseMap<DebugVariable, UserValue *>;
564 UserValue *getUserValue(const DILocalVariable *Var,
569 UserValue *lookupVirtReg(Register VirtReg);
630 void mapVirtReg(Register VirtReg, UserValue *EC);
690 void UserValue::print(raw_ostream &OS, const TargetRegisterInfo *TRI) { in print()
733 void UserValue::mapVirtRegs(LDVImpl *LDV) { in mapVirtRegs()
740 UserValue *LDVImpl::getUserValue(const DILocalVariable *Var, in getUserValue()
746 UserValue *&UV = userVarMap[ID]; in getUserValue()
749 std::make_unique<UserValue>(Var, Fragment, DL, allocator)); in getUserValue()
755 void LDVImpl::mapVirtReg(Register VirtReg, UserValue *EC) { in mapVirtReg()
757 UserValue *&Leader = virtRegToEqClass[VirtReg]; in mapVirtReg()
758 Leader = UserValue::merge(Leader, EC); in mapVirtReg()
761 UserValue *LDVImpl::lookupVirtReg(Register VirtReg) { in lookupVirtReg()
762 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg)) in lookupVirtReg()
828 UserValue *UV = getUserValue(Var, Expr->getFragmentInfo(), MI.getDebugLoc()); in handleDebugValue()
916 void UserValue::extendDef( in extendDef()
970 void UserValue::addDefsFromCopies( in addDefsFromCopies()
1060 void UserValue::computeIntervals(MachineRegisterInfo &MRI, in computeIntervals()
1270 UserValue::splitLocation(unsigned OldLocNo, ArrayRef<Register> NewRegs, in splitLocation()
1370 UserValue::splitRegister(Register OldReg, ArrayRef<Register> NewRegs, in splitRegister()
1387 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
1394 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
1405 void UserValue::rewriteLocations(VirtRegMap &VRM, const MachineFunction &MF, in rewriteLocations()
1556 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx, in insertDebugValue()
1638 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues()