Lines Matching refs:DVI
341 if (auto *DVI = dyn_cast<DbgVariableIntrinsic>(&I)) { in collectDebugInfoMetadata() local
348 if (DVI->isKillLocation()) in collectDebugInfoMetadata()
351 auto *Var = DVI->getVariable(); in collectDebugInfoMetadata()
584 if (auto *DVI = dyn_cast<DbgVariableIntrinsic>(&I)) { in checkDebugInfoMetadata() local
591 if (DVI->isKillLocation()) in checkDebugInfoMetadata()
594 auto *Var = DVI->getVariable(); in checkDebugInfoMetadata()
666 bool diagnoseMisSizedDbgValue(Module &M, DbgValueInst *DVI) { in diagnoseMisSizedDbgValue() argument
675 if (DVI->getExpression()->getNumElements()) in diagnoseMisSizedDbgValue()
678 Value *V = DVI->getVariableLocationOp(0); in diagnoseMisSizedDbgValue()
684 std::optional<uint64_t> DbgVarSize = DVI->getFragmentSizeInBits(); in diagnoseMisSizedDbgValue()
690 auto Signedness = DVI->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
700 DVI->print(dbg()); in diagnoseMisSizedDbgValue()
759 auto *DVI = dyn_cast<DbgValueInst>(&I); in checkDebugifyMetadata() local
760 if (!DVI) in checkDebugifyMetadata()
764 (void)to_integer(DVI->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
766 bool HasBadSize = diagnoseMisSizedDbgValue(M, DVI); in checkDebugifyMetadata()