Lines Matching refs:DVI
449 if (DbgValueInst *DVI = dyn_cast<DbgValueInst>(&I)) { in removeRedundantDbgInstrsUsingBackwardScan() local
450 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
451 DVI->getExpression(), in removeRedundantDbgInstrsUsingBackwardScan()
452 DVI->getDebugLoc()->getInlinedAt()); in removeRedundantDbgInstrsUsingBackwardScan()
459 if (auto *DAI = dyn_cast<DbgAssignIntrinsic>(DVI)) { in removeRedundantDbgInstrsUsingBackwardScan()
469 ToBeRemoved.push_back(DVI); in removeRedundantDbgInstrsUsingBackwardScan()
590 if (DbgValueInst *DVI = dyn_cast<DbgValueInst>(&I)) { in removeRedundantDbgInstrsUsingForwardScan() local
591 DebugVariable Key(DVI->getVariable(), std::nullopt, in removeRedundantDbgInstrsUsingForwardScan()
592 DVI->getDebugLoc()->getInlinedAt()); in removeRedundantDbgInstrsUsingForwardScan()
594 auto *DAI = dyn_cast<DbgAssignIntrinsic>(DVI); in removeRedundantDbgInstrsUsingForwardScan()
601 SmallVector<Value *, 4> Values(DVI->getValues()); in removeRedundantDbgInstrsUsingForwardScan()
603 VMI->second.second != DVI->getExpression()) { in removeRedundantDbgInstrsUsingForwardScan()
608 VariableMap[Key] = {Values, DVI->getExpression()}; in removeRedundantDbgInstrsUsingForwardScan()
617 ToBeRemoved.push_back(DVI); in removeRedundantDbgInstrsUsingForwardScan()
654 auto GetAggregateVariable = [](DbgValueInst *DVI) { in removeUndefDbgAssignsFromEntryBlock() argument
655 return DebugVariable(DVI->getVariable(), std::nullopt, in removeUndefDbgAssignsFromEntryBlock()
656 DVI->getDebugLoc()->getInlinedAt()); in removeUndefDbgAssignsFromEntryBlock()
662 DbgValueInst *DVI = dyn_cast<DbgValueInst>(&I); in removeUndefDbgAssignsFromEntryBlock() local
663 if (!DVI) in removeUndefDbgAssignsFromEntryBlock()
665 auto *DAI = dyn_cast<DbgAssignIntrinsic>(DVI); in removeUndefDbgAssignsFromEntryBlock()
667 DebugVariable Aggregate = GetAggregateVariable(DVI); in removeUndefDbgAssignsFromEntryBlock()
669 bool IsKill = DVI->isKillLocation() && IsDbgValueKind; in removeUndefDbgAssignsFromEntryBlock()