Lines Matching refs:DbgVal

6709 static void updateDVIWithLocation(T &DbgVal, Value *Location,  in updateDVIWithLocation()  argument
6713 DbgVal.setRawLocation(ValueAsMetadata::get(Location)); in updateDVIWithLocation()
6714 DbgVal.setExpression(DIExpression::get(DbgVal.getContext(), Ops)); in updateDVIWithLocation()
6715 DbgVal.setExpression(DIExpression::get(DbgVal.getContext(), Ops)); in updateDVIWithLocation()
6720 static void updateDVIWithLocations(T &DbgVal, in updateDVIWithLocations() argument
6730 DbgVal.setRawLocation(llvm::DIArgList::get(DbgVal.getContext(), ValArrayRef)); in updateDVIWithLocations()
6731 DbgVal.setExpression(DIExpression::get(DbgVal.getContext(), Ops)); in updateDVIWithLocations()
6742 auto UpdateDbgValueInstImpl = [&](auto *DbgVal) { in UpdateDbgValueInst() argument
6746 updateDVIWithLocation(*DbgVal, NewLocationOps[0], NewExpr); in UpdateDbgValueInst()
6753 updateDVIWithLocation(*DbgVal, NewLocationOps[0], ShortenedOps); in UpdateDbgValueInst()
6756 updateDVIWithLocations(*DbgVal, NewLocationOps, NewExpr); in UpdateDbgValueInst()
6762 DIExpression *SalvageExpr = DbgVal->getExpression(); in UpdateDbgValueInst()
6766 DbgVal->setExpression(SalvageExpr); in UpdateDbgValueInst()
6786 auto RestorePreTransformStateImpl = [&](auto *DbgVal) { in restorePreTransformState() argument
6788 << "scev-salvage: post-LSR: " << *DbgVal << '\n'); in restorePreTransformState()
6790 DbgVal->setExpression(DVIRec.Expr); in restorePreTransformState()
6801 getValueOrPoison(DVIRec.LocationOps[0], DbgVal->getContext()); in restorePreTransformState()
6802 DbgVal->setRawLocation(ValueAsMetadata::get(CachedValue)); in restorePreTransformState()
6806 Value *CachedValue = getValueOrPoison(VH, DbgVal->getContext()); in restorePreTransformState()
6810 DbgVal->setRawLocation( in restorePreTransformState()
6811 llvm::DIArgList::get(DbgVal->getContext(), ValArrayRef)); in restorePreTransformState()
6813 LLVM_DEBUG(dbgs() << "scev-salvage: pre-LSR: " << *DbgVal << '\n'); in restorePreTransformState()
6976 auto ProcessDbgValue = [&](auto *DbgVal) -> bool { in DbgGatherSalvagableDVI() argument
6979 if (DbgVal->isKillLocation()) in DbgGatherSalvagableDVI()
7000 if (!HasTranslatableLocationOps(DbgVal)) in DbgGatherSalvagableDVI()
7004 std::make_unique<DVIRecoveryRec>(DbgVal); in DbgGatherSalvagableDVI()
7008 NewRec->RecoveryExprs.resize(DbgVal->getNumVariableLocationOps()); in DbgGatherSalvagableDVI()
7009 for (const auto LocOp : DbgVal->location_ops()) { in DbgGatherSalvagableDVI()
7012 NewRec->HadLocationArgList = DbgVal->hasArgList(); in DbgGatherSalvagableDVI()