Home
last modified time | relevance | path

Searched refs:DbgRecord (Results 1 – 25 of 31) sorted by relevance

12

/freebsd/contrib/llvm-project/llvm/lib/IR/
H A DDebugProgramInstruction.cpp32 : DbgRecord(ValueKind, DVI->getDebugLoc()), in DbgVariableRecord()
59 : DbgRecord(ValueKind, DVR.getDebugLoc()), DebugValueUser(DVR.DebugValues), in DbgVariableRecord()
67 : DbgRecord(ValueKind, DI), DebugValueUser({Location, nullptr, nullptr}), in DbgVariableRecord()
75 : DbgRecord(ValueKind, DI), DebugValueUser({Value, Address, AssignID}), in DbgVariableRecord()
79 void DbgRecord::deleteRecord() { in deleteRecord()
91 void DbgRecord::print(raw_ostream &O, bool IsForDebug) const { in print()
103 void DbgRecord::print(raw_ostream &O, ModuleSlotTracker &MST, in print()
116 bool DbgRecord::isIdenticalToWhenDefined(const DbgRecord &R) const { in isIdenticalToWhenDefined()
130 bool DbgRecord::isEquivalentTo(const DbgRecord &R) const { in isEquivalentTo()
135 DbgRecord::createDebugIntrinsic(Module *M, Instruction *InsertBefore) const { in createDebugIntrinsic()
[all …]
H A DBasicBlock.cpp83 SmallVector<DbgRecord *, 4> DbgVarRecs; in convertToNewDbgValues()
108 for (DbgRecord *DVR : DbgVarRecs) in convertToNewDbgValues()
127 for (DbgRecord &DR : Marker.getDbgRecordRange()) in convertFromNewDbgValues()
1059 void BasicBlock::insertDbgRecordAfter(DbgRecord *DR, Instruction *I) { in insertDbgRecordAfter()
1068 void BasicBlock::insertDbgRecordBefore(DbgRecord *DR, in insertDbgRecordBefore()
1089 Instruction *I, std::optional<DbgRecord::self_iterator> Pos) { in reinsertInstInDbgRecords()
H A DDebugInfo.cpp247 for (const DbgRecord &DPR : I.getDbgRecordRange()) in processInstruction()
258 void DebugInfoFinder::processDbgRecord(const Module &M, const DbgRecord &DR) { in processDbgRecord()
1677 assert(isa<DbgRecord *>(DbgInst) && in LLVMDIBuilderInsertDeclareRecordBefore()
1679 return wrap(cast<DbgRecord *>(DbgInst)); in LLVMDIBuilderInsertDeclareRecordBefore()
1693 assert(isa<DbgRecord *>(DbgInst) && in LLVMDIBuilderInsertDeclareRecordAtEnd()
1695 return wrap(cast<DbgRecord *>(DbgInst)); in LLVMDIBuilderInsertDeclareRecordAtEnd()
1709 assert(isa<DbgRecord *>(DbgInst) && in LLVMDIBuilderInsertDbgValueRecordBefore()
1711 return wrap(cast<DbgRecord *>(DbgInst)); in LLVMDIBuilderInsertDbgValueRecordBefore()
1725 assert(isa<DbgRecord *>(DbgInst) && in LLVMDIBuilderInsertDbgValueRecordAtEnd()
1727 return wrap(cast<DbgRecord *>(DbgInst)); in LLVMDIBuilderInsertDbgValueRecordAtEnd()
[all …]
H A DInstruction.cpp233 iterator_range<DbgRecord::self_iterator> Instruction::cloneDebugInfoFrom( in cloneDebugInfoFrom()
234 const Instruction *From, std::optional<DbgRecord::self_iterator> FromHere, in cloneDebugInfoFrom()
250 std::optional<DbgRecord::self_iterator>
314 void Instruction::dropOneDbgRecord(DbgRecord *DVR) { in dropOneDbgRecord()
H A DAsmWriter.cpp295 static const Module *getModuleFromDPI(const DbgRecord *DR) { in getModuleFromDPI()
871 void processDbgRecordMetadata(const DbgRecord &DVR);
1140 for (const DbgRecord &DR : I.getDbgRecordRange()) in processFunctionMetadata()
1147 void SlotTracker::processDbgRecordMetadata(const DbgRecord &DR) { in processDbgRecordMetadata()
2757 void printDbgRecord(const DbgRecord &DR);
2758 void printDbgRecordLine(const DbgRecord &DR);
4161 for (const DbgRecord &DR : I.getDbgRecordRange()) in printBasicBlock()
4656 for (const DbgRecord &DPR : Marker.StoredDbgRecords) { in printDbgMarker()
4667 void AssemblyWriter::printDbgRecord(const DbgRecord &DR) { in printDbgRecord()
4714 void AssemblyWriter::printDbgRecordLine(const DbgRecord &DR) { in printDbgRecordLine()
[all …]
H A DVerifier.cpp180 void Write(const DbgRecord *DR) { in Write()
683 for (DbgRecord &DR : I.getDbgRecordRange()) { in visitDbgRecords()
/freebsd/contrib/llvm-project/llvm/include/llvm/IR/
H A DDebugProgramInstruction.h134 class DbgRecord : public ilist_node<DbgRecord> {
146 DbgRecord(Kind RecordKind, DebugLoc DL) in DbgRecord() function
153 DbgRecord *clone() const;
156 bool isIdenticalToWhenDefined(const DbgRecord &R) const;
165 bool isEquivalentTo(const DbgRecord &R) const;
193 DbgRecord *getNextNode() { return &*std::next(getIterator()); } in getNextNode()
194 DbgRecord *getPrevNode() { return &*std::prev(getIterator()); } in getPrevNode()
195 void insertBefore(DbgRecord *InsertBefore);
196 void insertAfter(DbgRecord *InsertAfter);
197 void moveBefore(DbgRecord *MoveBefore);
[all …]
H A DInstruction.h39 class DbgRecord; variable
45 iterator_range<simple_ilist<DbgRecord>::iterator>
98 iterator_range<simple_ilist<DbgRecord>::iterator> cloneDebugInfoFrom(
100 std::optional<simple_ilist<DbgRecord>::iterator> FromHere = std::nullopt,
104 iterator_range<simple_ilist<DbgRecord>::iterator> getDbgRecordRange() const {
111 std::optional<simple_ilist<DbgRecord>::iterator> getDbgReinsertionPosition();
126 void dropOneDbgRecord(DbgRecord *I);
H A DBasicBlock.h127 void insertDbgRecordAfter(DbgRecord *DR, Instruction *I);
130 void insertDbgRecordBefore(DbgRecord *DR, InstListType::iterator Here);
144 std::optional<DbgRecord::self_iterator> Pos);
192 friend iterator_range<DbgRecord::self_iterator>
194 const Instruction *From, std::optional<DbgRecord::self_iterator> FromHere,
H A DDIBuilder.h41 class DbgRecord; variable
43 using DbgInstPtr = PointerUnion<Instruction *, DbgRecord *>;
H A DDebugInfo.h116 void processDbgRecord(const Module &M, const DbgRecord &DR);
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/
H A DValueMapper.h26 class DbgRecord; variable
37 using DbgRecordIterator = simple_ilist<DbgRecord>::iterator;
183 void remapDbgRecord(Module *M, DbgRecord &V);
272 inline void RemapDbgRecord(Module *M, DbgRecord *DR, ValueToValueMapTy &VM,
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Utils/
H A DValueMapper.cpp149 void remapDbgRecord(DbgRecord &DVR);
540 void Mapper::remapDbgRecord(DbgRecord &DR) { in remapDbgRecord()
1072 for (DbgRecord &DR : I.getDbgRecordRange()) in remapFunction()
1239 void ValueMapper::remapDbgRecord(Module *M, DbgRecord &DR) { in remapDbgRecord()
1244 Module *M, iterator_range<DbgRecord::self_iterator> Range) { in remapDbgRecordRange()
1245 for (DbgRecord &DR : Range) { in remapDbgRecordRange()
H A DLoopRotationUtils.cpp613 iterator_range<DbgRecord::self_iterator> NextDbgInsts = in rotateLoop()
H A DCodeExtractor.cpp1624 for (DbgRecord &DR : I.getDbgRecordRange()) { in fixupDebugInfoPostExtraction()
1691 for (DbgRecord &DR : I.getDbgRecordRange()) in fixupDebugInfoPostExtraction()
H A DInlineFunction.cpp1815 auto UpdateDVR = [&](DbgRecord *DVR) { in fixupLineNumbers()
1832 for (DbgRecord &DVR : I.getDbgRecordRange()) { in fixupLineNumbers()
H A DSimplifyCFG.cpp1541 std::pair<DbgRecord::self_iterator, DbgRecord::self_iterator>; in hoistLockstepIdenticalDbgVariableRecords()
1553 [&](DbgRecord::self_iterator I) { in hoistLockstepIdenticalDbgVariableRecords()
1577 DbgRecord &DR = *Pair.first++; in hoistLockstepIdenticalDbgVariableRecords()
3202 for (DbgRecord &DR : make_early_inc_range(It.getDbgRecordRange())) in SpeculativelyExecuteBB()
H A DBasicBlockUtils.cpp390 for (DbgRecord &DR : reverse(I.getDbgRecordRange())) { in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/
H A DSelectOptimize.cpp680 for (auto &DbgRecord : in convertProfitableSIGroups() local
682 DbgRecord.removeFromParent(); in convertProfitableSIGroups()
683 EndBlock->insertDbgRecordBefore(&DbgRecord, in convertProfitableSIGroups()
H A DAssignmentTrackingAnalysis.cpp85 using VarLocInsertPt = PointerUnion<const Instruction *, const DbgRecord *>;
223 if (isa<const DbgRecord *>(P.first)) in init()
1497 VarLocInsertPt getNextNode(const DbgRecord *DVR) { in getNextNode()
1512 return getNextNode(cast<const DbgRecord *>(InsertPt)); in getNextNode()
/freebsd/contrib/llvm-project/llvm/lib/Transforms/Scalar/
H A DADCE.cpp551 for (DbgRecord &DR : make_early_inc_range(I.getDbgRecordRange())) { in removeDeadInstructions()
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/
H A DLLParser.h585 bool parseDebugRecord(DbgRecord *&DR, PerFunctionState &PFS);
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/
H A DValueEnumerator.cpp443 for (DbgRecord &DR : I.getDbgRecordRange()) { in ValueEnumerator()
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/
H A DLLParser.cpp6656 auto DeleteDbgRecord = [](DbgRecord *DR) { DR->deleteRecord(); }; in parseBasicBlock()
6657 using DbgRecordPtr = std::unique_ptr<DbgRecord, decltype(DeleteDbgRecord)>; in parseBasicBlock()
6672 DbgRecord *DR; in parseBasicBlock()
6739 bool LLParser::parseDebugRecord(DbgRecord *&DR, PerFunctionState &PFS) { in parseDebugRecord()
6740 using RecordKind = DbgRecord::Kind; in parseDebugRecord()
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/SelectionDAG/
H A DFastISel.cpp1204 for (DbgRecord &DR : llvm::reverse(II->getDbgRecordRange())) { in handleDbgInfo()

12