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