Lines Matching refs:UserValue
108 class UserValue { class
113 UserValue *leader; ///< Equivalence class leader.
114 UserValue *next; ///< Next value in equivalence class, or null.
137 UserValue(const MDNode *var, unsigned o, DebugLoc L, in UserValue() function in __anonf795f96c0211::UserValue
143 UserValue *getLeader() { in getLeader()
144 UserValue *l = leader; in getLeader()
151 UserValue *getNext() const { return next; } in getNext()
159 static UserValue *merge(UserValue *L1, UserValue *L2) { in merge()
167 UserValue *End = L2; in merge()
290 SmallVector<UserValue*, 8> userValues;
293 typedef DenseMap<unsigned, UserValue*> VRMap;
297 typedef DenseMap<const MDNode *, UserValue*> UVMap;
301 UserValue *getUserValue(const MDNode *Var, unsigned Offset, DebugLoc DL);
304 UserValue *lookupVirtReg(unsigned VirtReg);
335 void mapVirtReg(unsigned VirtReg, UserValue *EC);
350 void UserValue::print(raw_ostream &OS, const TargetMachine *TM) { in print()
377 void UserValue::coalesceLocation(unsigned LocNo) { in coalesceLocation()
405 void UserValue::mapVirtRegs(LDVImpl *LDV) { in mapVirtRegs()
412 UserValue *LDVImpl::getUserValue(const MDNode *Var, unsigned Offset, in getUserValue()
414 UserValue *&Leader = userVarMap[Var]; in getUserValue()
416 UserValue *UV = Leader->getLeader(); in getUserValue()
423 UserValue *UV = new UserValue(Var, Offset, DL, allocator); in getUserValue()
425 Leader = UserValue::merge(Leader, UV); in getUserValue()
429 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) { in mapVirtReg()
431 UserValue *&Leader = virtRegToEqClass[VirtReg]; in mapVirtReg()
432 Leader = UserValue::merge(Leader, EC); in mapVirtReg()
435 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) { in lookupVirtReg()
436 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg)) in lookupVirtReg()
452 UserValue *UV = getUserValue(Var, Offset, MI->getDebugLoc()); in handleDebugValue()
485 void UserValue::extendDef(SlotIndex Idx, unsigned LocNo, in extendDef()
547 UserValue::addDefsFromCopies(LiveInterval *LI, unsigned LocNo, in addDefsFromCopies()
620 UserValue::computeIntervals(MachineRegisterInfo &MRI, in computeIntervals()
717 void UserValue::
735 UserValue *UV = lookupVirtReg(OldReg); in renameRegister()
761 UserValue::splitLocation(unsigned OldLocNo, ArrayRef<LiveInterval*> NewRegs) { in splitLocation()
859 UserValue::splitRegister(unsigned OldReg, ArrayRef<LiveInterval*> NewRegs) { in splitRegister()
875 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
882 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
894 UserValue::rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI) { in rewriteLocations()
945 DebugLoc UserValue::findDebugLoc() { in findDebugLoc()
950 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, in insertDebugValue()
973 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues()