Lines Matching refs:UserValue
112 class UserValue { class
119 UserValue *leader; ///< Equivalence class leader.
120 UserValue *next; ///< Next value in equivalence class, or null.
144 UserValue(const MDNode *var, const MDNode *expr, unsigned o, bool i, in UserValue() function in __anonb2ee42a60211::UserValue
150 UserValue *getLeader() { in getLeader()
151 UserValue *l = leader; in getLeader()
158 UserValue *getNext() const { return next; } in getNext()
168 static UserValue *merge(UserValue *L1, UserValue *L2) { in merge()
176 UserValue *End = L2; in merge()
295 SmallVector<std::unique_ptr<UserValue>, 8> userValues;
298 typedef DenseMap<unsigned, UserValue*> VRMap;
302 typedef DenseMap<const MDNode *, UserValue*> UVMap;
306 UserValue *getUserValue(const MDNode *Var, const MDNode *Expr,
310 UserValue *lookupVirtReg(unsigned VirtReg);
348 void mapVirtReg(unsigned VirtReg, UserValue *EC);
396 void UserValue::print(raw_ostream &OS, const TargetRegisterInfo *TRI) { in print()
424 void UserValue::coalesceLocation(unsigned LocNo) { in coalesceLocation()
452 void UserValue::mapVirtRegs(LDVImpl *LDV) { in mapVirtRegs()
459 UserValue *LDVImpl::getUserValue(const MDNode *Var, const MDNode *Expr, in getUserValue()
462 UserValue *&Leader = userVarMap[Var]; in getUserValue()
464 UserValue *UV = Leader->getLeader(); in getUserValue()
472 make_unique<UserValue>(Var, Expr, Offset, IsIndirect, DL, allocator)); in getUserValue()
473 UserValue *UV = userValues.back().get(); in getUserValue()
474 Leader = UserValue::merge(Leader, UV); in getUserValue()
478 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) { in mapVirtReg()
480 UserValue *&Leader = virtRegToEqClass[VirtReg]; in mapVirtReg()
481 Leader = UserValue::merge(Leader, EC); in mapVirtReg()
484 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) { in lookupVirtReg()
485 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg)) in lookupVirtReg()
505 UserValue *UV = in handleDebugValue()
539 void UserValue::extendDef(SlotIndex Idx, unsigned LocNo, in extendDef()
601 UserValue::addDefsFromCopies(LiveInterval *LI, unsigned LocNo, in addDefsFromCopies()
672 UserValue::computeIntervals(MachineRegisterInfo &MRI, in computeIntervals()
790 UserValue::splitLocation(unsigned OldLocNo, ArrayRef<unsigned> NewRegs, in splitLocation()
889 UserValue::splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, in splitRegister()
906 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
913 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
925 UserValue::rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI) { in rewriteLocations()
976 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, in insertDebugValue()
998 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues()