Lines Matching refs:DVI
334 if (auto *DVI = dyn_cast<DbgVariableIntrinsic>(&I)) { in collectDebugInfoMetadata() local
341 if (DVI->isUndef()) in collectDebugInfoMetadata()
344 auto *Var = DVI->getVariable(); in collectDebugInfoMetadata()
573 if (auto *DVI = dyn_cast<DbgVariableIntrinsic>(&I)) { in checkDebugInfoMetadata() local
580 if (DVI->isUndef()) in checkDebugInfoMetadata()
583 auto *Var = DVI->getVariable(); in checkDebugInfoMetadata()
655 bool diagnoseMisSizedDbgValue(Module &M, DbgValueInst *DVI) { in diagnoseMisSizedDbgValue() argument
664 if (DVI->getExpression()->getNumElements()) in diagnoseMisSizedDbgValue()
667 Value *V = DVI->getVariableLocationOp(0); in diagnoseMisSizedDbgValue()
673 Optional<uint64_t> DbgVarSize = DVI->getFragmentSizeInBits(); in diagnoseMisSizedDbgValue()
679 auto Signedness = DVI->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
689 DVI->print(dbg()); in diagnoseMisSizedDbgValue()
748 auto *DVI = dyn_cast<DbgValueInst>(&I); in checkDebugifyMetadata() local
749 if (!DVI) in checkDebugifyMetadata()
753 (void)to_integer(DVI->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
755 bool HasBadSize = diagnoseMisSizedDbgValue(M, DVI); in checkDebugifyMetadata()