Home
last modified time | relevance | path

Searched refs:DbgVal (Results 1 – 6 of 6) sorted by relevance

/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DDebugify.cpp673 bool diagnoseMisSizedDbgValue(Module &M, DbgValTy *DbgVal) { in diagnoseMisSizedDbgValue() argument
682 if (DbgVal->getExpression()->getNumElements()) in diagnoseMisSizedDbgValue()
685 Value *V = DbgVal->getVariableLocationOp(0); in diagnoseMisSizedDbgValue()
691 std::optional<uint64_t> DbgVarSize = DbgVal->getFragmentSizeInBits(); in diagnoseMisSizedDbgValue()
697 auto Signedness = DbgVal->getVariable()->getSignedness(); in diagnoseMisSizedDbgValue()
707 DbgVal->print(dbg()); in diagnoseMisSizedDbgValue()
765 auto CheckForMisSized = [&](auto *DbgVal) { in checkDebugifyMetadata() argument
767 (void)to_integer(DbgVal->getVariable()->getName(), Var, 10); in checkDebugifyMetadata()
769 bool HasBadSize = diagnoseMisSizedDbgValue(M, DbgVal); in checkDebugifyMetadata()
H A DLocal.cpp1665 auto DbgVal = Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, in insertDbgValueOrDbgVariableRecord() local
1667 DbgVal.get<Instruction *>()->insertBefore(Instr); in insertDbgValueOrDbgVariableRecord()
1682 auto DbgVal = Builder.insertDbgValueIntrinsic(DV, DIVar, DIExpr, NewLoc, in insertDbgValueOrDbgVariableRecordAfter() local
1684 DbgVal.get<Instruction *>()->insertAfter(&*Instr); in insertDbgValueOrDbgVariableRecordAfter()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp575 auto ExamineDbgValue = [](auto *DbgVal, auto &Container) { in filterInstsUnrelatedToPDI() argument
577 LLVM_DEBUG(DbgVal->print(dbgs())); in filterInstsUnrelatedToPDI()
579 DILocalVariable *DILocVar = DbgVal->getVariable(); in filterInstsUnrelatedToPDI()
582 LLVM_DEBUG(DbgVal->print(dbgs())); in filterInstsUnrelatedToPDI()
584 Container.insert(DbgVal); in filterInstsUnrelatedToPDI()
587 LLVM_DEBUG(DbgVal->print(dbgs())); in filterInstsUnrelatedToPDI()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DLoopStrengthReduce.cpp6709 static void updateDVIWithLocation(T &DbgVal, Value *Location, in updateDVIWithLocation() argument
6713 DbgVal.setRawLocation(ValueAsMetadata::get(Location)); in updateDVIWithLocation()
6714 DbgVal.setExpression(DIExpression::get(DbgVal.getContext(), Ops)); in updateDVIWithLocation()
6715 DbgVal.setExpression(DIExpression::get(DbgVal.getContext(), Ops)); in updateDVIWithLocation()
6720 static void updateDVIWithLocations(T &DbgVal, in updateDVIWithLocations() argument
6730 DbgVal.setRawLocation(llvm::DIArgList::get(DbgVal.getContext(), ValArrayRef)); in updateDVIWithLocations()
6731 DbgVal.setExpression(DIExpression::get(DbgVal.getContext(), Ops)); in updateDVIWithLocations()
6742 auto UpdateDbgValueInstImpl = [&](auto *DbgVal) { in UpdateDbgValueInst() argument
6746 updateDVIWithLocation(*DbgVal, NewLocationOps[0], NewExpr); in UpdateDbgValueInst()
6753 updateDVIWithLocation(*DbgVal, NewLocationOps[0], ShortenedOps); in UpdateDbgValueInst()
[all …]
H A DJumpThreading.cpp1967 llvm::erase_if(DbgValues, [&](const DbgValueInst *DbgVal) { in updateSSA() argument
1968 return DbgVal->getParent() == BB; in updateSSA()
/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugInfo.cpp831 if (auto *DbgVal = M.getFunction(Name)) { in stripNonLineTableDebugInfo() local
832 while (!DbgVal->use_empty()) in stripNonLineTableDebugInfo()
833 cast<Instruction>(DbgVal->user_back())->eraseFromParent(); in stripNonLineTableDebugInfo()
834 DbgVal->eraseFromParent(); in stripNonLineTableDebugInfo()