Lines Matching refs:VarLoc
140 VarLocInfo VarLoc; in addSingleLocVar() local
141 VarLoc.VariableID = insertVariable(Var); in addSingleLocVar()
142 VarLoc.Expr = Expr; in addSingleLocVar()
143 VarLoc.DL = DL; in addSingleLocVar()
144 VarLoc.Values = R; in addSingleLocVar()
145 SingleLocVars.emplace_back(VarLoc); in addSingleLocVar()
151 VarLocInfo VarLoc; in addVarLoc() local
152 VarLoc.VariableID = insertVariable(Var); in addVarLoc()
153 VarLoc.Expr = Expr; in addVarLoc()
154 VarLoc.DL = DL; in addVarLoc()
155 VarLoc.Values = R; in addVarLoc()
156 VarLocsBeforeInst[Before].emplace_back(VarLoc); in addVarLoc()
211 for (const auto &VarLoc : Builder.SingleLocVars) in init() local
212 VarLocRecords.emplace_back(VarLoc); in init()
235 for (const VarLocInfo &VarLoc : Builder.VarLocsBeforeInst[&DVR]) in init() local
236 VarLocRecords.emplace_back(VarLoc); in init()
238 for (const VarLocInfo &VarLoc : P.second) in init() local
239 VarLocRecords.emplace_back(VarLoc); in init()
666 void addDef(const VarLocInfo &VarLoc, VarLocInsertPt Before, BasicBlock &BB, in addDef() argument
668 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
677 DebugAggregate(DbgVar.getVariable(), VarLoc.DL.getInlinedAt())); in addDef()
680 const DIExpression *DIExpr = VarLoc.Expr; in addDef()
702 ? Bases.insert(VarLoc.Values) in addDef()
731 coalesceFragments(BB, Before, Var, StartBit, EndBit, Base, VarLoc.DL, in addDef()
762 OverlapValue, VarLoc.DL); in addDef()
767 VarLoc.DL); in addDef()
785 *FirstOverlap, VarLoc.DL); in addDef()
796 VarLoc.DL); in addDef()
824 coalesceFragments(BB, Before, Var, StartBit, EndBit, Base, VarLoc.DL, in addDef()
1550 VarLocInfo VarLoc; in emitDbgValue() local
1551 VarLoc.VariableID = static_cast<VariableID>(Var); in emitDbgValue()
1552 VarLoc.Expr = Expr; in emitDbgValue()
1553 VarLoc.Values = RawLocationWrapper(Val); in emitDbgValue()
1554 VarLoc.DL = DL; in emitDbgValue()
1556 InsertBeforeMap[InsertBefore].push_back(VarLoc); in emitDbgValue()
1664 VarLocInfo VarLoc; in processUntaggedInstruction() local
1665 VarLoc.VariableID = static_cast<VariableID>(Var); in processUntaggedInstruction()
1666 VarLoc.Expr = DIE; in processUntaggedInstruction()
1667 VarLoc.Values = RawLocationWrapper( in processUntaggedInstruction()
1669 VarLoc.DL = DILoc; in processUntaggedInstruction()
1671 InsertBeforeMap[InsertBefore].push_back(VarLoc); in processUntaggedInstruction()
2392 for (VarLocInfo VarLoc : Vec) { in run() local
2393 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2405 VarLoc.Expr->getNumElements() == 1 && VarLoc.Expr->startsWithDeref(); in run()
2417 assert(!VarLoc.Values.hasArgList()); in run()
2422 VarLoc.Expr = DIExpression::get(Fn.getContext(), std::nullopt); in run()
2423 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2424 FnVarLocs->addSingleLocVar(Var, VarLoc.Expr, VarLoc.DL, VarLoc.Values); in run()
2433 for (const VarLocInfo &VarLoc : Vec) { in run() local
2434 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2440 NewDefs.push_back(VarLoc); in run()