Lines Matching refs:UserValue

155 class UserValue {  class
160 UserValue *leader; ///< Equivalence class leader.
161 UserValue *next = nullptr; ///< Next value in equivalence class, or null.
187 UserValue(const DILocalVariable *var, const DIExpression *expr, DebugLoc L, in UserValue() function in __anon9d48ada90211::UserValue
193 UserValue *getLeader() { in getLeader()
194 UserValue *l = leader; in getLeader()
201 UserValue *getNext() const { return next; } in getNext()
212 static UserValue *merge(UserValue *L1, UserValue *L2) { in merge()
220 UserValue *End = L2; in merge()
357 SmallVector<std::unique_ptr<UserValue>, 8> userValues;
360 using VRMap = DenseMap<unsigned, UserValue *>;
364 using UVMap = DenseMap<const DILocalVariable *, UserValue *>;
368 UserValue *getUserValue(const DILocalVariable *Var, const DIExpression *Expr,
372 UserValue *lookupVirtReg(unsigned VirtReg);
413 void mapVirtReg(unsigned VirtReg, UserValue *EC);
463 void UserValue::print(raw_ostream &OS, const TargetRegisterInfo *TRI) { in print()
493 void UserValue::mapVirtRegs(LDVImpl *LDV) { in mapVirtRegs()
500 UserValue *LDVImpl::getUserValue(const DILocalVariable *Var, in getUserValue()
502 UserValue *&Leader = userVarMap[Var]; in getUserValue()
504 UserValue *UV = Leader->getLeader(); in getUserValue()
512 llvm::make_unique<UserValue>(Var, Expr, DL, allocator)); in getUserValue()
513 UserValue *UV = userValues.back().get(); in getUserValue()
514 Leader = UserValue::merge(Leader, UV); in getUserValue()
518 void LDVImpl::mapVirtReg(unsigned VirtReg, UserValue *EC) { in mapVirtReg()
520 UserValue *&Leader = virtRegToEqClass[VirtReg]; in mapVirtReg()
521 Leader = UserValue::merge(Leader, EC); in mapVirtReg()
524 UserValue *LDVImpl::lookupVirtReg(unsigned VirtReg) { in lookupVirtReg()
525 if (UserValue *UV = virtRegToEqClass.lookup(VirtReg)) in lookupVirtReg()
578 UserValue *UV = in handleDebugValue()
624 void UserValue::extendDef(SlotIndex Idx, DbgValueLocation Loc, LiveRange *LR, in extendDef()
670 void UserValue::addDefsFromCopies( in addDefsFromCopies()
743 void UserValue::computeIntervals(MachineRegisterInfo &MRI, in computeIntervals()
929 UserValue::splitLocation(unsigned OldLocNo, ArrayRef<unsigned> NewRegs, in splitLocation()
1034 UserValue::splitRegister(unsigned OldReg, ArrayRef<unsigned> NewRegs, in splitRegister()
1051 for (UserValue *UV = lookupVirtReg(OldReg); UV; UV = UV->getNext()) in splitRegister()
1058 UserValue *UV = lookupVirtReg(OldReg); in splitRegister()
1069 void UserValue::rewriteLocations(VirtRegMap &VRM, const MachineFunction &MF, in rewriteLocations()
1201 void UserValue::insertDebugValue(MachineBasicBlock *MBB, SlotIndex StartIdx, in insertDebugValue()
1250 void UserValue::emitDebugValues(VirtRegMap *VRM, LiveIntervals &LIS, in emitDebugValues()