Lines Matching refs:DVI

440     if (DbgValueInst *DVI = dyn_cast<DbgValueInst>(&I)) {  in removeRedundantDbgInstrsUsingBackwardScan()  local
441 DebugVariable Key(DVI->getVariable(), in removeRedundantDbgInstrsUsingBackwardScan()
442 DVI->getExpression(), in removeRedundantDbgInstrsUsingBackwardScan()
443 DVI->getDebugLoc()->getInlinedAt()); in removeRedundantDbgInstrsUsingBackwardScan()
450 if (auto *DAI = dyn_cast<DbgAssignIntrinsic>(DVI)) { in removeRedundantDbgInstrsUsingBackwardScan()
460 ToBeRemoved.push_back(DVI); in removeRedundantDbgInstrsUsingBackwardScan()
579 if (DbgValueInst *DVI = dyn_cast<DbgValueInst>(&I)) { in removeRedundantDbgInstrsUsingForwardScan() local
580 DebugVariable Key(DVI->getVariable(), std::nullopt, in removeRedundantDbgInstrsUsingForwardScan()
581 DVI->getDebugLoc()->getInlinedAt()); in removeRedundantDbgInstrsUsingForwardScan()
583 auto *DAI = dyn_cast<DbgAssignIntrinsic>(DVI); in removeRedundantDbgInstrsUsingForwardScan()
590 SmallVector<Value *, 4> Values(DVI->getValues()); in removeRedundantDbgInstrsUsingForwardScan()
592 VMI->second.second != DVI->getExpression()) { in removeRedundantDbgInstrsUsingForwardScan()
597 VariableMap[Key] = {Values, DVI->getExpression()}; in removeRedundantDbgInstrsUsingForwardScan()
606 ToBeRemoved.push_back(DVI); in removeRedundantDbgInstrsUsingForwardScan()
643 auto GetAggregateVariable = [](DbgValueInst *DVI) { in removeUndefDbgAssignsFromEntryBlock() argument
644 return DebugVariable(DVI->getVariable(), std::nullopt, in removeUndefDbgAssignsFromEntryBlock()
645 DVI->getDebugLoc()->getInlinedAt()); in removeUndefDbgAssignsFromEntryBlock()
651 DbgValueInst *DVI = dyn_cast<DbgValueInst>(&I); in removeUndefDbgAssignsFromEntryBlock() local
652 if (!DVI) in removeUndefDbgAssignsFromEntryBlock()
654 auto *DAI = dyn_cast<DbgAssignIntrinsic>(DVI); in removeUndefDbgAssignsFromEntryBlock()
656 DebugVariable Aggregate = GetAggregateVariable(DVI); in removeUndefDbgAssignsFromEntryBlock()
658 bool IsKill = DVI->isKillLocation() && IsDbgValueKind; in removeUndefDbgAssignsFromEntryBlock()