Lines Matching refs:FnVarLocs
375 FunctionVarLocsBuilder *FnVarLocs; member in __anon3afac2c40211::MemLocFragmentFill
668 DebugVariable DbgVar = FnVarLocs->getVariable(VarLoc.VariableID); in addDef()
834 if (const auto *Locs = FnVarLocs->getWedge(&DVR)) { in process()
840 if (const auto *Locs = FnVarLocs->getWedge(&I)) { in process()
875 void run(FunctionVarLocsBuilder *FnVarLocs) { in run() argument
879 this->FnVarLocs = FnVarLocs; in run()
978 FnVarLocs->addVarLoc(InsertBefore, Var, Expr, FragMemLoc.DL, in run()
1298 FunctionVarLocsBuilder *FnVarLocs; member in __anon3afac2c40211::AssignmentTrackingLowering
1309 return static_cast<VariableID>(FnVarLocs->insertVariable(Var)); in getVariableID()
1385 bool emitPromotedVarLocs(FunctionVarLocsBuilder *FnVarLocs);
1393 bool run(FunctionVarLocsBuilder *FnVarLocs);
1640 DebugVariable V = FnVarLocs->getVariable(Var); in processUntaggedInstruction()
1956 DebugVariable DbgVar = FnVarLocs->getVariable(Var); in process()
2152 Function &Fn, FunctionVarLocsBuilder *FnVarLocs, in buildOverlapMapAndRecordDeclares() argument
2217 {FnVarLocs->insertVariable(DV), *Info}); in buildOverlapMapAndRecordDeclares()
2256 VariableID ThisVar = FnVarLocs->insertVariable(*It); in buildOverlapMapAndRecordDeclares()
2259 VariableID OtherVar = FnVarLocs->insertVariable(*OtherIt); in buildOverlapMapAndRecordDeclares()
2268 TrackedVariablesVectorSize = FnVarLocs->getNumVariables() + 1; in buildOverlapMapAndRecordDeclares()
2273 FnVarLocs->addSingleLocVar(DebugVariable(DDI), DDI->getExpression(), in buildOverlapMapAndRecordDeclares()
2276 FnVarLocs->addSingleLocVar(DebugVariable(DVR), DVR->getExpression(), in buildOverlapMapAndRecordDeclares()
2290 FnVarLocs = FnVarLocsBuilder; in run()
2300 Fn, FnVarLocs, *VarsWithStackSlot, UntaggedStoreVars, in run()
2393 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2423 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2424 FnVarLocs->addSingleLocVar(Var, VarLoc.Expr, VarLoc.DL, VarLoc.Values); in run()
2434 DebugVariable Var = FnVarLocs->getVariable(VarLoc.VariableID); in run()
2444 FnVarLocs->setWedge(InsertBefore, std::move(NewDefs)); in run()
2447 InsertedAnyIntrinsics |= emitPromotedVarLocs(FnVarLocs); in run()
2453 FunctionVarLocsBuilder *FnVarLocs) { in emitPromotedVarLocs() argument
2464 FnVarLocs->addVarLoc(InsertBefore, DebugVariable(Record), in emitPromotedVarLocs()
2492 FunctionVarLocsBuilder &FnVarLocs) { in removeRedundantDbgLocsUsingBackwardScan() argument
2506 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingBackwardScan()
2519 getAggregate(FnVarLocs.getVariable(RIt->VariableID)); in removeRedundantDbgLocsUsingBackwardScan()
2568 FnVarLocs.setWedge(WedgePosition, std::move(NewDefsReversed)); in removeRedundantDbgLocsUsingBackwardScan()
2590 FunctionVarLocsBuilder &FnVarLocs) { in removeRedundantDbgLocsUsingForwardScan() argument
2601 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeRedundantDbgLocsUsingForwardScan()
2613 DebugVariable Key(FnVarLocs.getVariable(Loc.VariableID).getVariable(), in removeRedundantDbgLocsUsingForwardScan()
2633 FnVarLocs.setWedge(WedgePosition, std::move(NewDefs)); in removeRedundantDbgLocsUsingForwardScan()
2649 FunctionVarLocsBuilder &FnVarLocs) { in removeUndefDbgLocsFromEntryBlock() argument
2689 const auto *Locs = FnVarLocs.getWedge(WedgePosition); in removeUndefDbgLocsFromEntryBlock()
2701 DebugAggregate Aggr{FnVarLocs.getVariable(Loc.VariableID).getVariable(), in removeUndefDbgLocsFromEntryBlock()
2703 DebugVariable Var = FnVarLocs.getVariable(Loc.VariableID); in removeUndefDbgLocsFromEntryBlock()
2720 FnVarLocs.setWedge(WedgePosition, std::move(NewDefs)); in removeUndefDbgLocsFromEntryBlock()
2734 FunctionVarLocsBuilder &FnVarLocs) { in removeRedundantDbgLocs() argument
2736 MadeChanges |= removeRedundantDbgLocsUsingBackwardScan(BB, FnVarLocs); in removeRedundantDbgLocs()
2738 MadeChanges |= removeUndefDbgLocsFromEntryBlock(BB, FnVarLocs); in removeRedundantDbgLocs()
2739 MadeChanges |= removeRedundantDbgLocsUsingForwardScan(BB, FnVarLocs); in removeRedundantDbgLocs()
2768 FunctionVarLocsBuilder *FnVarLocs) { in analyzeFunction() argument
2780 Changed = Pass.run(FnVarLocs); in analyzeFunction()
2786 Pass.run(FnVarLocs); in analyzeFunction()
2793 removeRedundantDbgLocs(&BB, *FnVarLocs); in analyzeFunction()