Lines Matching refs:UserValue

286 class UserValue {  class
292 UserValue *leader; ///< Equivalence class leader.
293 UserValue *next = nullptr; ///< Next value in equivalence class, or null.
321 UserValue(const DILocalVariable *var, in UserValue() function in __anon41ad64740411::UserValue
328 UserValue *getLeader() { in getLeader()
329 UserValue *l = leader; in getLeader()
336 UserValue *getNext() const { return next; } in getNext()
339 static UserValue *merge(UserValue *L1, UserValue *L2) { in merge()
347 UserValue *End = L2; in merge()
570 SmallVector<std::unique_ptr<UserValue>, 8> userValues;
576 using VRMap = DenseMap<unsigned, UserValue *>;
580 using UVMap = DenseMap<DebugVariable, UserValue *>;
584 UserValue *getUserValue(const DILocalVariable *Var,
589 UserValue *lookupVirtReg(Register VirtReg);
657 void mapVirtReg(Register VirtReg, UserValue *EC);
721 void UserValue::print(raw_ostream &OS, const TargetRegisterInfo *TRI) { in print()
764 void UserValue::mapVirtRegs(LDVImpl *LDV) { in mapVirtRegs()
771 UserValue *LDVImpl::getUserValue(const DILocalVariable *Var, in getUserValue()
777 UserValue *&UV = userVarMap[ID]; in getUserValue()
780 std::make_unique<UserValue>(Var, Fragment, DL, allocator)); in getUserValue()
786 void LDVImpl::mapVirtReg(Register VirtReg, UserValue *EC) { in mapVirtReg()
788 UserValue *&Leader = virtRegToEqClass[VirtReg]; in mapVirtReg()
789 Leader = UserValue::merge(Leader, EC); in mapVirtReg()
792 UserValue *LDVImpl::lookupVirtReg(Register VirtReg) { in lookupVirtReg()
793 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg)) in lookupVirtReg()
856 UserValue *UV = getUserValue(Var, Expr->getFragmentInfo(), MI.getDebugLoc()); in handleDebugValue()
954 void UserValue::extendDef( in extendDef()
1008 void UserValue::addDefsFromCopies( in addDefsFromCopies()
1098 void UserValue::computeIntervals(MachineRegisterInfo &MRI, in computeIntervals()
1328 UserValue::splitLocation(unsigned OldLocNo, ArrayRef<Register> NewRegs, in splitLocation()
1428 UserValue::splitRegister(Register OldReg, ArrayRef<Register> NewRegs, in splitRegister()
1488 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
1495 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
1506 void UserValue::rewriteLocations(VirtRegMap &VRM, const MachineFunction &MF, in rewriteLocations()
1657 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx, in insertDebugValue()
1739 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues()