Home
last modified time | relevance | path

Searched refs:DPValue (Results 1 – 25 of 46) sorted by relevance

12

/freebsd-14.2/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp16 DPValue::DPValue(const DbgVariableIntrinsic *DVI) in DPValue() function in llvm::DPValue
42 DPValue::DPValue(const DPValue &DPV) in DPValue() function in llvm::DPValue
52 DPValue::DPValue(Metadata *Value, DILocalVariable *Variable, in DPValue() function in llvm::DPValue
62 DPValue *DPValue::createDPValue(Value *Location, DILocalVariable *DV, in createDPValue()
68 DPValue *DPValue::createDPValue(Value *Location, DILocalVariable *DV, in createDPValue()
76 DPValue *DPValue::createDPVDeclare(Value *Address, DILocalVariable *DV, in createDPVDeclare()
258 DPValue *DPValue::clone() const { return new DPValue(*this); } in clone()
364 void DPValue::insertBefore(DPValue *InsertBefore) { in insertBefore()
372 void DPValue::insertAfter(DPValue *InsertAfter) { in insertAfter()
380 void DPValue::moveBefore(DPValue *MoveBefore) { in moveBefore()
[all …]
H A DDebugInfo.cpp75 TinyPtrVector<DPValue *> Declares; in findDPVDeclares()
76 for (DPValue *DPV : L->getAllDPValueUsers()) in findDPVDeclares()
84 DPValue::LocationType Type = DPValue::LocationType::Any>
99 SmallPtrSet<DPValue *, 4> EncounteredDPValues; in findDbgIntrinsics()
114 for (DPValue *DPV : L->getAllDPValueUsers()) { in findDbgIntrinsics()
128 for (DPValue *DPV : DI->getAllDPValueUsers()) in findDbgIntrinsics()
166 DebugLoc llvm::getDebugValueLoc(DPValue *DPV) { in getDebugValueLoc()
243 for (const DPValue &DPV : I.getDbgValueRange()) in processInstruction()
1822 SmallVector<DPValue *, 12> DPToDelete; in deleteAll()
1844 getFragmentOrEntireVariable(const DPValue *DPV) { in getFragmentOrEntireVariable()
[all …]
H A DBasicBlock.cpp73 SmallVector<DPValue *, 4> DPVals; in convertToNewDbgValues()
78 DPValue *Value = new DPValue(DVI); in convertToNewDbgValues()
89 for (DPValue *DPV : DPVals) in convertToNewDbgValues()
108 for (DPValue &DPV : Marker.getDbgValueRange()) in convertFromNewDbgValues()
164 for (DPValue &DPV : CurrentDebugMarker->getDbgValueRange()) { in validateDbgValues()
1080 void BasicBlock::insertDPValueAfter(DPValue *DPV, Instruction *I) { in insertDPValueAfter()
1091 void BasicBlock::insertDPValueBefore(DPValue *DPV, in insertDPValueBefore()
1116 Instruction *I, std::optional<DPValue::self_iterator> Pos) { in reinsertInstInDPValues()
H A DInstruction.cpp229 iterator_range<DPValue::self_iterator>
231 std::optional<DPValue::self_iterator> FromHere, in cloneDebugInfoFrom()
246 iterator_range<DPValue::self_iterator>
258 std::optional<DPValue::self_iterator> Instruction::getDbgReinsertionPosition() { in getDbgReinsertionPosition()
278 void Instruction::dropOneDbgValue(DPValue *DPV) { in dropOneDbgValue()
H A DMetadata.cpp151 DPValue *DebugValueUser::getUser() { return static_cast<DPValue *>(this); } in getUser()
152 const DPValue *DebugValueUser::getUser() const { in getUser()
153 return static_cast<const DPValue *>(this); in getUser()
263 SmallVector<DPValue *> ReplaceableMetadataImpl::getAllDPValueUsers() { in getAllDPValueUsers()
281 SmallVector<DPValue *> DPVUsers; in getAllDPValueUsers()
H A DAsmWriter.cpp295 static const Module *getModuleFromDPI(const DPValue *DPV) { in getModuleFromDPI()
864 void processDPValueMetadata(const DPValue &DPV);
1133 for (const DPValue &DPV : I.getDbgValueRange()) in processFunctionMetadata()
1140 void SlotTracker::processDPValueMetadata(const DPValue &DPV) { in processDPValueMetadata()
2668 void printDPValue(const DPValue &DPI);
4563 for (const DPValue &DPI2 : Marker.StoredDPValues) { in printDPMarker()
4574 void AssemblyWriter::printDPValue(const DPValue &Value) { in printDPValue()
4580 case DPValue::LocationType::Value: in printDPValue()
4583 case DPValue::LocationType::Declare: in printDPValue()
4586 case DPValue::LocationType::Assign: in printDPValue()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h66 class DPValue; variable
77 class DPValue : public ilist_node<DPValue>, private DebugValueUser {
122 DPValue(const DbgVariableIntrinsic *DVI);
123 DPValue(const DPValue &DPV);
311 DPValue *clone() const;
338 void moveBefore(DPValue *MoveBefore);
339 void moveAfter(DPValue *MoveAfter);
378 simple_ilist<DPValue> StoredDPValues;
413 void insertDPValue(DPValue *New, DPValue *InsertBefore);
415 void insertDPValueAfter(DPValue *New, DPValue *InsertAfter);
[all …]
H A DDebugInfo.h37 class DPValue; variable
45 TinyPtrVector<DPValue *> findDPVDeclares(Value *V);
49 Value *V, SmallVectorImpl<DPValue *> *DPValues = nullptr);
53 Value *V, SmallVectorImpl<DPValue *> *DPValues = nullptr);
61 DebugLoc getDebugValueLoc(DPValue *DPV);
113 void processDPValue(const Module &M, const DPValue &DPV);
196 inline AssignmentInstRange getAssignmentInsts(const DPValue *DPV) { in getAssignmentInsts()
234 inline SmallVector<DPValue *> getDPVAssignmentMarkers(const Instruction *Inst) { in getDPVAssignmentMarkers()
264 uint64_t SliceSizeInBits, const DPValue *DPVAssign,
279 VarRecord(DPValue *DPV) in VarRecord()
H A DBasicBlock.h41 class DPValue; variable
133 void insertDPValueAfter(DPValue *DPV, Instruction *I);
136 void insertDPValueBefore(DPValue *DPV, InstListType::iterator Here);
150 std::optional<DPValue::self_iterator> Pos);
197 friend iterator_range<DPValue::self_iterator> Instruction::cloneDebugInfoFrom(
198 const Instruction *From, std::optional<DPValue::self_iterator> FromHere,
H A DInstruction.h73 iterator_range<simple_ilist<DPValue>::iterator> cloneDebugInfoFrom(
75 std::optional<simple_ilist<DPValue>::iterator> FromHere = std::nullopt,
79 iterator_range<simple_ilist<DPValue>::iterator> getDbgValueRange() const;
84 std::optional<simple_ilist<DPValue>::iterator> getDbgReinsertionPosition();
93 void dropOneDbgValue(DPValue *I);
H A DMetadata.h46 class DPValue; variable
223 DPValue *getUser();
224 const DPValue *getUser() const;
411 SmallVector<DPValue *> getAllDPValueUsers();
497 SmallVector<DPValue *> getAllDPValueUsers() { in getAllDPValueUsers()
/freebsd-14.2/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp221 if (isa<const DPValue *>(P.first)) in init()
1056 OS << Source.get<DPValue *>(); in dump()
1517 DPValue *CastToDbgAssign(DPValue *DPV) { in CastToDbgAssign()
1759 for (DPValue *DPV : LinkedDPAssigns) in processTaggedInstruction()
1805 if (isa<DPValue *>(Assign)) in processDbgAssign()
1836 if (isa<DPValue *>(DbgValueRecord)) in processDbgValue()
1999 assert(isa<DPValue *>(A.Source) == isa<DPValue *>(B.Source)); in joinAssignment()
2000 if (isa<DPValue *>(A.Source) && in joinAssignment()
2001 cast<DPValue *>(A.Source)->isEquivalentTo(*cast<DPValue *>(B.Source))) in joinAssignment()
2122 DPValue *DynCastToDbgDeclare(DPValue *DPV) { in DynCastToDbgDeclare()
[all …]
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h26 class DPValue; variable
127 void UpdateDebugValues(Instruction *I, SmallVectorImpl<DPValue *> &DbgValues);
139 void UpdateDebugValue(Instruction *I, DPValue *DbgValue);
H A DValueMapper.h25 class DPValue; variable
36 using DPValueIterator = simple_ilist<DPValue>::iterator;
182 void remapDPValue(Module *M, DPValue &V);
270 inline void RemapDPValue(Module *M, DPValue *V, ValueToValueMapTy &VM,
H A DLocal.h265 void ConvertDebugDeclareToDebugValue(DPValue *DPV, StoreInst *SI,
272 void ConvertDebugDeclareToDebugValue(DPValue *DPV, LoadInst *LI,
279 void ConvertDebugDeclareToDebugValue(DPValue *DPV, PHINode *LI,
316 ArrayRef<DPValue *> DPInsns);
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DPromoteMemoryToRegister.cpp104 static DPValue *createDebugValue(DIBuilder &DIB, Value *NewValue, in createDebugValue()
107 DPValue *InsertBefore) { in createDebugValue()
109 return DPValue::createDPValue(NewValue, Variable, Expression, DI, in createDebugValue()
127 SmallVector<DPValue *> DPVAssigns;
136 for (DPValue *DPV : at::getDPVAssignmentMarkers(AI)) { in init()
210 using DPUserVec = SmallVector<DPValue *, 1>;
266 SmallVector<DPValue *> AllDPUsers; in AnalyzeAlloca()
274 [](DPValue *DPV) { return !DPV->isDbgAssign(); }); in AnalyzeAlloca()
382 SmallSet<DPValue *, 8> DPVAssignsToDelete;
512 SmallSet<DPValue *, 8> *DPVAssignsToDelete) { in rewriteSingleStoreAlloca() argument
[all …]
H A DLocal.cpp612 SmallVector<DPValue *, 1> DPUsers; in replaceDbgUsesWithUndef()
1659 DPValue *DV = new DPValue(DVAM, DIVar, DIExpr, NewLoc.get()); in insertDbgValueOrDPValue()
1677 DPValue *DV = new DPValue(DVAM, DIVar, DIExpr, NewLoc.get()); in insertDbgValueOrDPValueAfter()
1796 DPValue *NewDPV = new DPValue(DVAM, DIVar, DIExpr, NewLoc.get()); in ConvertDebugDeclareToDebugValue()
1858 DPValue *DV = new DPValue(LIVAM, DIVar, DIExpr, NewLoc.get()); in ConvertDebugDeclareToDebugValue()
1909 SmallVector<DPValue *> DPVs; in LowerDbgDeclare()
2012 MapVector<std::pair<BasicBlock *, DPValue *>, DPValue *> NewDbgValueMap; in insertDPValuesForPHIs()
2026 DPValue *DbgII = cast<DPValue>(V->second); in insertDPValuesForPHIs()
2043 DPValue *NewDbgII = DI.second; in insertDPValuesForPHIs()
2177 for (DPValue *DPV : DPUsers) in replaceDbgValueForAlloca()
[all …]
H A DLoopRotationUtils.cpp162 SmallVector<DPValue *, 1> DPValues; in RewriteUsesOfClonedInstructions()
187 for (DPValue *DPV : DPValues) { in RewriteUsesOfClonedInstructions()
557 for (const DPValue &DPV : DII->getDbgValueRange()) in rotateLoop()
566 for (const DPValue &DPV : in rotateLoop()
599 std::optional<DPValue::self_iterator> NextDbgInst = std::nullopt; in rotateLoop()
620 for (DPValue &DPV : make_early_inc_range(DbgValueRange)) in rotateLoop()
644 for (DPValue &DPV : make_early_inc_range(Range)) in rotateLoop()
H A DSSAUpdater.cpp202 SmallVector<DPValue *, 4> DPValues; in UpdateDebugValues()
224 SmallVectorImpl<DPValue *> &DPValues) { in UpdateDebugValues()
239 void SSAUpdater::UpdateDebugValue(Instruction *I, DPValue *DPV) { in UpdateDebugValue()
H A DBasicBlockUtils.cpp386 SmallVector<DPValue *, 8> ToBeRemoved; in DPValuesRemoveRedundantDbgInstrsUsingBackwardScan()
389 for (DPValue &DPV : reverse(I.getDbgValueRange())) { in DPValuesRemoveRedundantDbgInstrsUsingBackwardScan()
392 if (DPV.getType() == DPValue::LocationType::Declare) { in DPValuesRemoveRedundantDbgInstrsUsingBackwardScan()
495 SmallVector<DPValue *, 8> ToBeRemoved; in DPValuesRemoveRedundantDbgInstrsUsingForwardScan()
499 for (DPValue &DPV : I.getDbgValueRange()) { in DPValuesRemoveRedundantDbgInstrsUsingForwardScan()
500 if (DPV.getType() == DPValue::LocationType::Declare) in DPValuesRemoveRedundantDbgInstrsUsingForwardScan()
537 SmallVector<DPValue *, 8> ToBeRemoved; in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
540 auto GetAggregateVariable = [](const DPValue &DPV) { in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
548 for (DPValue &DPV : I.getDbgValueRange()) { in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
565 for (DPValue *DPV : ToBeRemoved) in DPValuesRemoveUndefDbgAssignsFromEntryBlock()
H A DLCSSA.cpp245 SmallVector<DPValue *, 4> DPValues; in formLCSSAForInstructions()
264 for (DPValue *DPV : DPValues) { in formLCSSAForInstructions()
H A DValueMapper.cpp149 void remapDPValue(DPValue &DPV);
540 void Mapper::remapDPValue(DPValue &V) { in remapDPValue()
1225 void ValueMapper::remapDPValue(Module *M, DPValue &V) { in remapDPValue()
1230 Module *M, iterator_range<DPValue::self_iterator> Range) { in remapDPValueRange()
1231 for (DPValue &DPV : Range) { in remapDPValueRange()
/freebsd-14.2/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1126 TinyPtrVector<DPValue *> DPVs = findDPVDeclares(PromiseAlloca); in buildFrameDebugInfo()
1135 DPValue *PromiseDPV = DPVs.front(); in buildFrameDebugInfo()
1276 DPValue *NewDPV = new DPValue(ValueAsMetadata::get(Shape.FramePtr), in buildFrameDebugInfo()
1278 DILoc, DPValue::LocationType::Declare); in buildFrameDebugInfo()
1865 TinyPtrVector<DPValue *> DPVs = findDPVDeclares(Def); in insertSpills()
1890 DPValue *NewDPV = in insertSpills()
1891 new DPValue(ValueAsMetadata::get(CurrentReload), in insertSpills()
1980 SmallVector<DPValue *> DPValues; in insertSpills()
2986 if (DPV.getType() == DPValue::LocationType::Declare) { in salvageDebugInfo()
3191 SmallVector<DPValue *, 16> DPVs; in buildCoroutineFrame()
[all …]
H A DCoroInternal.h37 SmallDenseMap<Argument *, AllocaInst *, 4> &ArgToAllocaMap, DPValue &DPV,
/freebsd-14.2/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h194 SmallPtrSet<const DPValue *, 8> PreprocessedDPVDeclares;

12