Lines Matching refs:FnVarLocs
373 FunctionVarLocsBuilder *FnVarLocs; member in __anon71b57efa0211::MemLocFragmentFill
667 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
833 if (const auto *Locs = FnVarLocs->getWedge(&DPV)) { in process()
839 if (const auto *Locs = FnVarLocs->getWedge(&I)) { in process()
874 void run(FunctionVarLocsBuilder *FnVarLocs) { in run() argument
878 this->FnVarLocs = FnVarLocs; in run()
977 FnVarLocs->addVarLoc(InsertBefore, Var, Expr, FragMemLoc.DL, in run()
1297 FunctionVarLocsBuilder *FnVarLocs; member in __anon71b57efa0211::AssignmentTrackingLowering
1308 return static_cast<VariableID>(FnVarLocs->insertVariable(Var)); in getVariableID()
1383 bool emitPromotedVarLocs(FunctionVarLocsBuilder *FnVarLocs);
1391 bool run(FunctionVarLocsBuilder *FnVarLocs);
1638 DebugVariable V = FnVarLocs->getVariable(Var); in processUntaggedInstruction()
1951 DebugVariable DbgVar = FnVarLocs->getVariable(Var); in process()
2145 Function &Fn, FunctionVarLocsBuilder *FnVarLocs, in buildOverlapMapAndRecordDeclares() argument
2210 {FnVarLocs->insertVariable(DV), *Info}); in buildOverlapMapAndRecordDeclares()
2249 VariableID ThisVar = FnVarLocs->insertVariable(*It); in buildOverlapMapAndRecordDeclares()
2252 VariableID OtherVar = FnVarLocs->insertVariable(*OtherIt); in buildOverlapMapAndRecordDeclares()
2261 TrackedVariablesVectorSize = FnVarLocs->getNumVariables() + 1; in buildOverlapMapAndRecordDeclares()
2266 FnVarLocs->addSingleLocVar(DebugVariable(DDI), DDI->getExpression(), in buildOverlapMapAndRecordDeclares()
2269 FnVarLocs->addSingleLocVar(DebugVariable(DPV), DPV->getExpression(), in buildOverlapMapAndRecordDeclares()
2283 FnVarLocs = FnVarLocsBuilder; in run()
2293 Fn, FnVarLocs, *VarsWithStackSlot, UntaggedStoreVars, in run()
2386 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2416 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2417 FnVarLocs->addSingleLocVar(Var, VarLoc.Expr, VarLoc.DL, VarLoc.Values); in run()
2427 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2437 FnVarLocs->setWedge(InsertBefore, std::move(NewDefs)); in run()
2440 InsertedAnyIntrinsics |= emitPromotedVarLocs(FnVarLocs); in run()
2446 FunctionVarLocsBuilder *FnVarLocs) { in emitPromotedVarLocs() argument
2457 FnVarLocs->addVarLoc(InsertBefore, DebugVariable(Record), in emitPromotedVarLocs()
2485 FunctionVarLocsBuilder &FnVarLocs) { in removeRedundantDbgLocsUsingBackwardScan() argument
2499 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingBackwardScan()
2512 getAggregate(FnVarLocs.getVariable(RIt->VariableID)); in removeRedundantDbgLocsUsingBackwardScan()
2561 FnVarLocs.setWedge(WedgePosition, std::move(NewDefsReversed)); in removeRedundantDbgLocsUsingBackwardScan()
2583 FunctionVarLocsBuilder &FnVarLocs) { in removeRedundantDbgLocsUsingForwardScan() argument
2594 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingForwardScan()
2606 DebugVariable Key(FnVarLocs.getVariable(Loc.VariableID).getVariable(), in removeRedundantDbgLocsUsingForwardScan()
2626 FnVarLocs.setWedge(WedgePosition, std::move(NewDefs)); in removeRedundantDbgLocsUsingForwardScan()
2642 FunctionVarLocsBuilder &FnVarLocs) { in removeUndefDbgLocsFromEntryBlock() argument
2682 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeUndefDbgLocsFromEntryBlock()
2694 DebugAggregate Aggr{FnVarLocs.getVariable(Loc.VariableID).getVariable(), in removeUndefDbgLocsFromEntryBlock()
2696 DebugVariable Var = FnVarLocs.getVariable(Loc.VariableID); in removeUndefDbgLocsFromEntryBlock()
2713 FnVarLocs.setWedge(WedgePosition, std::move(NewDefs)); in removeUndefDbgLocsFromEntryBlock()
2727 FunctionVarLocsBuilder &FnVarLocs) { in removeRedundantDbgLocs() argument
2729 MadeChanges |= removeRedundantDbgLocsUsingBackwardScan(BB, FnVarLocs); in removeRedundantDbgLocs()
2731 MadeChanges |= removeUndefDbgLocsFromEntryBlock(BB, FnVarLocs); in removeRedundantDbgLocs()
2732 MadeChanges |= removeRedundantDbgLocsUsingForwardScan(BB, FnVarLocs); in removeRedundantDbgLocs()
2761 FunctionVarLocsBuilder *FnVarLocs) { in analyzeFunction() argument
2773 Changed = Pass.run(FnVarLocs); in analyzeFunction()
2779 Pass.run(FnVarLocs); in analyzeFunction()
2786 removeRedundantDbgLocs(&BB, *FnVarLocs); in analyzeFunction()