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()
233 for (const VarLocInfo &VarLoc : Builder.VarLocsBeforeInst[&DPV]) in init() local
234 VarLocRecords.emplace_back(VarLoc); in init()
236 for (const VarLocInfo &VarLoc : P.second) in init() local
237 VarLocRecords.emplace_back(VarLoc); in init()
665 void addDef(const VarLocInfo &VarLoc, VarLocInsertPt Before, BasicBlock &BB, in addDef() argument
667 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
676 DebugAggregate(DbgVar.getVariable(), VarLoc.DL.getInlinedAt())); in addDef()
679 const DIExpression *DIExpr = VarLoc.Expr; in addDef()
701 ? Bases.insert(VarLoc.Values) in addDef()
730 coalesceFragments(BB, Before, Var, StartBit, EndBit, Base, VarLoc.DL, in addDef()
761 OverlapValue, VarLoc.DL); in addDef()
766 VarLoc.DL); in addDef()
784 *FirstOverlap, VarLoc.DL); in addDef()
795 VarLoc.DL); in addDef()
823 coalesceFragments(BB, Before, Var, StartBit, EndBit, Base, VarLoc.DL, in addDef()
1548 VarLocInfo VarLoc; in emitDbgValue() local
1549 VarLoc.VariableID = static_cast<VariableID>(Var); in emitDbgValue()
1550 VarLoc.Expr = Expr; in emitDbgValue()
1551 VarLoc.Values = RawLocationWrapper(Val); in emitDbgValue()
1552 VarLoc.DL = DL; in emitDbgValue()
1554 InsertBeforeMap[InsertBefore].push_back(VarLoc); in emitDbgValue()
1662 VarLocInfo VarLoc; in processUntaggedInstruction() local
1663 VarLoc.VariableID = static_cast<VariableID>(Var); in processUntaggedInstruction()
1664 VarLoc.Expr = DIE; in processUntaggedInstruction()
1665 VarLoc.Values = RawLocationWrapper( in processUntaggedInstruction()
1667 VarLoc.DL = DILoc; in processUntaggedInstruction()
1669 InsertBeforeMap[InsertBefore].push_back(VarLoc); in processUntaggedInstruction()
2385 for (VarLocInfo VarLoc : Vec) { in run() local
2386 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2398 VarLoc.Expr->getNumElements() == 1 && VarLoc.Expr->startsWithDeref(); in run()
2410 assert(!VarLoc.Values.hasArgList()); in run()
2415 VarLoc.Expr = DIExpression::get(Fn.getContext(), std::nullopt); in run()
2416 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2417 FnVarLocs->addSingleLocVar(Var, VarLoc.Expr, VarLoc.DL, VarLoc.Values); in run()
2426 for (const VarLocInfo &VarLoc : Vec) { in run() local
2427 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2433 NewDefs.push_back(VarLoc); in run()