Lines Matching refs:UserValue
111 class UserValue { class
118 UserValue *leader; ///< Equivalence class leader.
119 UserValue *next; ///< Next value in equivalence class, or null.
143 UserValue(const MDNode *var, const MDNode *expr, unsigned o, bool i, in UserValue() function in __anon42b634630211::UserValue
149 UserValue *getLeader() { in getLeader()
150 UserValue *l = leader; in getLeader()
157 UserValue *getNext() const { return next; } in getNext()
167 static UserValue *merge(UserValue *L1, UserValue *L2) { in merge()
175 UserValue *End = L2; in merge()
296 SmallVector<std::unique_ptr<UserValue>, 8> userValues;
299 typedef DenseMap<unsigned, UserValue*> VRMap;
303 typedef DenseMap<const MDNode *, UserValue*> UVMap;
307 UserValue *getUserValue(const MDNode *Var, const MDNode *Expr,
311 UserValue *lookupVirtReg(unsigned VirtReg);
349 void mapVirtReg(unsigned VirtReg, UserValue *EC);
397 void UserValue::print(raw_ostream &OS, const TargetRegisterInfo *TRI) { in print()
425 void UserValue::coalesceLocation(unsigned LocNo) { in coalesceLocation()
453 void UserValue::mapVirtRegs(LDVImpl *LDV) { in mapVirtRegs()
460 UserValue *LDVImpl::getUserValue(const MDNode *Var, const MDNode *Expr, in getUserValue()
463 UserValue *&Leader = userVarMap[Var]; in getUserValue()
465 UserValue *UV = Leader->getLeader(); in getUserValue()
473 make_unique<UserValue>(Var, Expr, Offset, IsIndirect, DL, allocator)); in getUserValue()
474 UserValue *UV = userValues.back().get(); in getUserValue()
475 Leader = UserValue::merge(Leader, UV); in getUserValue()
479 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) { in mapVirtReg()
481 UserValue *&Leader = virtRegToEqClass[VirtReg]; in mapVirtReg()
482 Leader = UserValue::merge(Leader, EC); in mapVirtReg()
485 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) { in lookupVirtReg()
486 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg)) in lookupVirtReg()
506 UserValue *UV = getUserValue(Var, Expr, Offset, IsIndirect, MI.getDebugLoc()); in handleDebugValue()
542 void UserValue::extendDef(SlotIndex Idx, unsigned LocNo, LiveRange *LR, in extendDef()
590 UserValue::addDefsFromCopies(LiveInterval *LI, unsigned LocNo, in addDefsFromCopies()
661 UserValue::computeIntervals(MachineRegisterInfo &MRI, in computeIntervals()
779 UserValue::splitLocation(unsigned OldLocNo, ArrayRef<unsigned> NewRegs, in splitLocation()
878 UserValue::splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, in splitRegister()
895 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
902 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
914 UserValue::rewriteLocations(VirtRegMap &VRM, const TargetRegisterInfo &TRI) { in rewriteLocations()
965 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex Idx, in insertDebugValue()
987 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues()