Home
last modified time | relevance | path

Searched refs:DbgVariableRecord (Results 1 – 25 of 58) sorted by relevance

123

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp31 DbgVariableRecord::DbgVariableRecord(const DbgVariableIntrinsic *DVI) in DbgVariableRecord() function in llvm::DbgVariableRecord
58 DbgVariableRecord::DbgVariableRecord(const DbgVariableRecord &DVR) in DbgVariableRecord() function in llvm::DbgVariableRecord
64 DbgVariableRecord::DbgVariableRecord(Metadata *Location, DILocalVariable *DV, in DbgVariableRecord() function in llvm::DbgVariableRecord
70 DbgVariableRecord::DbgVariableRecord(Metadata *Value, DILocalVariable *Variable, in DbgVariableRecord() function in llvm::DbgVariableRecord
82 delete cast<DbgVariableRecord>(this); in deleteRecord()
94 cast<DbgVariableRecord>(this)->print(O, IsForDebug); in print()
107 cast<DbgVariableRecord>(this)->print(O, MST, IsForDebug); in print()
121 return cast<DbgVariableRecord>(this)->isIdenticalToWhenDefined( in isIdenticalToWhenDefined()
122 *cast<DbgVariableRecord>(&R)); in isIdenticalToWhenDefined()
138 return cast<DbgVariableRecord>(this)->createDebugIntrinsic(M, InsertBefore); in createDebugIntrinsic()
[all …]
H A DDebugInfo.cpp66 TinyPtrVector<DbgVariableRecord *> llvm::findDVRDeclares(Value *V) { in findDVRDeclares()
75 TinyPtrVector<DbgVariableRecord *> Declares; in findDVRDeclares()
76 for (DbgVariableRecord *DVR : L->getAllDbgVariableRecordUsers()) in findDVRDeclares()
77 if (DVR->getType() == DbgVariableRecord::LocationType::Declare) in findDVRDeclares()
86 SmallVectorImpl<DbgVariableRecord *> *DbgVariableRecords) { in findDbgIntrinsics()
99 SmallPtrSet<DbgVariableRecord *, 4> EncounteredDbgVariableRecords; in findDbgIntrinsics()
115 for (DbgVariableRecord *DVR : L->getAllDbgVariableRecordUsers()) { in findDbgIntrinsics()
130 for (DbgVariableRecord *DVR : DI->getAllDbgVariableRecordUsers()) in findDbgIntrinsics()
140 SmallVectorImpl<DbgVariableRecord *> *DbgVariableRecords) { in findDbgValues()
147 SmallVectorImpl<DbgVariableRecord *> *DbgVariableRecords) { in findDbgUsers()
[all …]
H A DTypeFinder.cpp95 if (const DbgVariableRecord *DVI = in run()
96 dyn_cast<DbgVariableRecord>(&Dbg)) { in run()
H A DDIBuilder.cpp981 DbgVariableRecord *DVR = DbgVariableRecord::createDVRAssign( in insertDbgAssign()
1070 DbgVariableRecord *DVR = in insertDbgValueIntrinsic()
1071 DbgVariableRecord::createDbgVariableRecord(Val, VarInfo, Expr, DL); in insertDbgValueIntrinsic()
1093 DbgVariableRecord *DVR = in insertDeclare()
1094 DbgVariableRecord::createDVRDeclare(Storage, VarInfo, Expr, DL); in insertDeclare()
1113 void DIBuilder::insertDbgVariableRecord(DbgVariableRecord *DVR, in insertDbgVariableRecord()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h70 class DbgVariableRecord; variable
262 class DbgVariableRecord : public DbgRecord, protected DebugValueUser {
291 DbgVariableRecord(const DbgVariableIntrinsic *DVI);
292 DbgVariableRecord(const DbgVariableRecord &DVR);
295 DbgVariableRecord(Metadata *Location, DILocalVariable *DV, DIExpression *Expr,
298 DbgVariableRecord(Metadata *Value, DILocalVariable *Variable,
308 DbgVariableRecord(LocationType Type, Metadata *Val, MDNode *Variable,
320 static DbgVariableRecord *
326 static DbgVariableRecord *
331 static DbgVariableRecord *
[all …]
H A DDebugInfo.h37 class DbgVariableRecord; variable
45 TinyPtrVector<DbgVariableRecord *> findDVRDeclares(Value *V);
50 SmallVectorImpl<DbgVariableRecord *> *DbgVariableRecords = nullptr);
55 SmallVectorImpl<DbgVariableRecord *> *DbgVariableRecords = nullptr);
63 DebugLoc getDebugValueLoc(DbgVariableRecord *DVR);
199 inline AssignmentInstRange getAssignmentInsts(const DbgVariableRecord *DVR) { in getAssignmentInsts()
237 inline SmallVector<DbgVariableRecord *>
268 uint64_t SliceSizeInBits, const DbgVariableRecord *DVRAssign,
287 VarRecord(DbgVariableRecord *DVR) in VarRecord()
H A DMetadata.h46 class DbgVariableRecord; variable
223 DbgVariableRecord *getUser();
224 const DbgVariableRecord *getUser() const;
411 SmallVector<DbgVariableRecord *> getAllDbgVariableRecordUsers();
497 SmallVector<DbgVariableRecord *> getAllDbgVariableRecordUsers() { in getAllDbgVariableRecordUsers()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DAssignmentTrackingAnalysis.cpp230 for (const DbgVariableRecord &DVR : filterDbgVars(I->getDbgRecordRange())) { in init()
833 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in process()
1030 using AssignRecord = PointerUnion<DbgAssignIntrinsic *, DbgVariableRecord *>;
1057 OS << Source.get<DbgVariableRecord *>(); in dump()
1064 static Assignment make(DIAssignID *ID, DbgVariableRecord *Source) { in make()
1087 Assignment(S Status, DIAssignID *ID, DbgVariableRecord *Source) in Assignment()
1122 void resetInsertionPoint(DbgVariableRecord &After);
1358 void processDbgVariableRecord(DbgVariableRecord &DVR, BlockInfo *LiveSet);
1360 PointerUnion<DbgValueInst *, DbgVariableRecord *> DbgValueRecord,
1461 static DIAssignID *getIDFromMarker(const DbgVariableRecord &DVR) { in getIDFromMarker()
[all …]
H A DMachineDebugify.cpp68 DbgVariableRecord *EarliestDVR = nullptr; in applyDebugifyMetadataToMachineFunction()
86 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in applyDebugifyMetadataToMachineFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DSSAUpdater.h26 class DbgVariableRecord; variable
128 SmallVectorImpl<DbgVariableRecord *> &DbgValues);
140 void UpdateDebugValue(Instruction *I, DbgVariableRecord *DbgValue);
H A DLocal.h266 void ConvertDebugDeclareToDebugValue(DbgVariableRecord *DVR, StoreInst *SI,
273 void ConvertDebugDeclareToDebugValue(DbgVariableRecord *DVR, LoadInst *LI,
280 void ConvertDebugDeclareToDebugValue(DbgVariableRecord *DVR, PHINode *LI,
317 ArrayRef<DbgVariableRecord *> DPInsns);
H A DMemoryTaggingSupport.h57 SmallVector<DbgVariableRecord *, 2> DbgVariableRecords;
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DLocal.cpp619 SmallVector<DbgVariableRecord *, 1> DPUsers; in replaceDbgUsesWithUndef()
1584 SmallVector<DbgVariableRecord *, 1> DbgVariableRecords; in PhiHasDebugValue()
1634 static bool valueCoversEntireFragment(Type *ValTy, DbgVariableRecord *DVR) { in valueCoversEntireFragment()
1672 DbgVariableRecord *DV = in insertDbgValueOrDbgVariableRecord()
1673 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in insertDbgValueOrDbgVariableRecord()
1689 DbgVariableRecord *DV = in insertDbgValueOrDbgVariableRecordAfter()
1690 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in insertDbgValueOrDbgVariableRecordAfter()
1767 void llvm::ConvertDebugDeclareToDebugValue(DbgVariableRecord *DVR, in ConvertDebugDeclareToDebugValue()
1809 DbgVariableRecord *NewDVR = in ConvertDebugDeclareToDebugValue()
1810 new DbgVariableRecord(DVAM, DIVar, DIExpr, NewLoc.get()); in ConvertDebugDeclareToDebugValue()
[all …]
H A DPromoteMemoryToRegister.cpp108 DbgVariableRecord *InsertBefore) { in createDebugValue()
113 DbgVariableRecord::createDbgVariableRecord(NewValue, Variable, Expression, DI, in createDebugValue()
129 SmallVector<DbgVariableRecord *> DVRAssigns;
138 for (DbgVariableRecord *DVR : at::getDVRAssignmentMarkers(AI)) { in init()
149 SmallSet<DbgVariableRecord *, 8> *DVRAssignsToDelete) const { in updateForDeletedStore() argument
212 using DPUserVec = SmallVector<DbgVariableRecord *, 1>;
268 SmallVector<DbgVariableRecord *> AllDPUsers; in AnalyzeAlloca()
276 [](DbgVariableRecord *DVR) { return !DVR->isDbgAssign(); }); in AnalyzeAlloca()
384 SmallSet<DbgVariableRecord *, 8> DVRAssignsToDelete;
526 SmallSet<DbgVariableRecord *, 8> *DVRAssignsToDelete) { in rewriteSingleStoreAlloca() argument
[all …]
H A DLoopRotationUtils.cpp162 SmallVector<DbgVariableRecord *, 1> DbgVariableRecords; in RewriteUsesOfClonedInstructions()
187 for (DbgVariableRecord *DVR : DbgVariableRecords) { in RewriteUsesOfClonedInstructions()
568 for (const DbgVariableRecord &DVR : in rotateLoop()
578 for (const DbgVariableRecord &DVR : in rotateLoop()
645 for (DbgVariableRecord &DVR : in rotateLoop()
672 for (DbgVariableRecord &DVR : in rotateLoop()
H A DMemoryTaggingSupport.cpp116 for (DbgVariableRecord &DVR : filterDbgVars(Inst.getDbgRecordRange())) { in visit()
293 static DbgVariableRecord *DynCastToDbgAssign(DbgVariableRecord *DVR) { in DynCastToDbgAssign()
H A DSSAUpdater.cpp202 SmallVector<DbgVariableRecord *, 4> DbgVariableRecords; in UpdateDebugValues()
224 Instruction *I, SmallVectorImpl<DbgVariableRecord *> &DbgVariableRecords) { in UpdateDebugValues()
239 void SSAUpdater::UpdateDebugValue(Instruction *I, DbgVariableRecord *DVR) { in UpdateDebugValue()
H A DBasicBlockUtils.cpp387 SmallVector<DbgVariableRecord *, 8> ToBeRemoved; in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
398 DbgVariableRecord &DVR = cast<DbgVariableRecord>(DR); in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
401 if (DVR.getType() == DbgVariableRecord::LocationType::Declare) { in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
505 SmallVector<DbgVariableRecord *, 8> ToBeRemoved; in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
509 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
510 if (DVR.getType() == DbgVariableRecord::LocationType::Declare) in DbgVariableRecordsRemoveRedundantDbgInstrsUsingForwardScan()
548 SmallVector<DbgVariableRecord *, 8> ToBeRemoved; in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
551 auto GetAggregateVariable = [](const DbgVariableRecord &DVR) { in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
559 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
576 for (DbgVariableRecord *DVR : ToBeRemoved) in DbgVariableRecordsRemoveUndefDbgAssignsFromEntryBlock()
H A DLCSSA.cpp245 SmallVector<DbgVariableRecord *, 4> DbgVariableRecords; in formLCSSAForInstructions()
264 for (DbgVariableRecord *DVR : DbgVariableRecords) { in formLCSSAForInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/IPO/
H A DMergeFunctions.cpp263 std::vector<DbgVariableRecord *> &PDVRUnrelatedWL);
274 std::vector<DbgVariableRecord *> &PDVRUnrelatedWL);
517 std::vector<DbgVariableRecord *> &PDVRUnrelatedWL) { in eraseInstsUnrelatedToPDI()
532 DbgVariableRecord *DVR = PDVRUnrelatedWL.back(); in eraseInstsUnrelatedToPDI()
569 std::vector<DbgVariableRecord *> &PDVRUnrelatedWL) { in filterInstsUnrelatedToPDI()
571 std::set<DbgVariableRecord *> PDVRRelated; in filterInstsUnrelatedToPDI()
648 for (DbgVariableRecord &DVR : filterDbgVars(BI->getDbgRecordRange())) { in filterInstsUnrelatedToPDI()
691 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) in filterInstsUnrelatedToPDI()
735 std::vector<DbgVariableRecord *> PDVRUnrelatedWL; in writeThunk()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Coroutines/
H A DCoroFrame.cpp1129 TinyPtrVector<DbgVariableRecord *> DVRs = findDVRDeclares(PromiseAlloca); in buildFrameDebugInfo()
1138 DbgVariableRecord *PromiseDVR = DVRs.front(); in buildFrameDebugInfo()
1279 DbgVariableRecord *NewDVR = in buildFrameDebugInfo()
1280 new DbgVariableRecord(ValueAsMetadata::get(Shape.FramePtr), FrameDIVar, in buildFrameDebugInfo()
1282 DbgVariableRecord::LocationType::Declare); in buildFrameDebugInfo()
1895 TinyPtrVector<DbgVariableRecord *> DVRs = findDVRDeclares(Def); in insertSpills()
1920 DbgVariableRecord *NewDVR = new DbgVariableRecord( in insertSpills()
1923 DbgVariableRecord::LocationType::Declare); in insertSpills()
1958 for (DbgVariableRecord &DVR : filterDbgVars(U->getDbgRecordRange())) in insertSpills()
2010 SmallVector<DbgVariableRecord *> DbgVariableRecords; in insertSpills()
[all …]
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DSROA.cpp318 static DebugVariable getAggregateVariable(DbgVariableRecord *DVR) { in getAggregateVariable()
326 DbgVariableRecord *UnwrapDbgInstPtr(DbgInstPtr P, DbgVariableRecord *Unused) { in UnwrapDbgInstPtr()
328 return static_cast<DbgVariableRecord *>(cast<DbgRecord *>(P)); in UnwrapDbgInstPtr()
4979 const Value *getAddress(const DbgVariableRecord *DVR) { in getAddress()
4980 assert(DVR->getType() == DbgVariableRecord::LocationType::Declare || in getAddress()
4981 DVR->getType() == DbgVariableRecord::LocationType::Assign); in getAddress()
4991 bool isKillAddress(const DbgVariableRecord *DVR) { in isKillAddress()
4992 assert(DVR->getType() == DbgVariableRecord::LocationType::Declare || in isKillAddress()
4993 DVR->getType() == DbgVariableRecord::LocationType::Assign); in isKillAddress()
4994 if (DVR->getType() == DbgVariableRecord::LocationType::Assign) in isKillAddress()
[all …]
H A DADCE.cpp554 if (DbgVariableRecord *DVR = dyn_cast<DbgVariableRecord>(&DR); in removeDeadInstructions()
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp147 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in orderModule()
288 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in predictUseListOrder()
450 DbgVariableRecord &DVR = cast<DbgVariableRecord>(DR); in ValueEnumerator()
1130 for (DbgVariableRecord &DVR : filterDbgVars(I.getDbgRecordRange())) { in incorporateFunction()
/freebsd/contrib/llvm-project/llvm/include/llvm/CodeGen/
H A DFunctionLoweringInfo.h194 SmallPtrSet<const DbgVariableRecord *, 8> PreprocessedDVRDeclares;

123