/freebsd/contrib/llvm-project/llvm/lib/IR/ |
H A D | DebugProgramInstruction.cpp | 32 : 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 D | BasicBlock.cpp | 83 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 D | DebugInfo.cpp | 247 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 D | Instruction.cpp | 233 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 D | AsmWriter.cpp | 295 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 D | Verifier.cpp | 180 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 D | DebugProgramInstruction.h | 134 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 D | Instruction.h | 39 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 D | BasicBlock.h | 127 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 D | DIBuilder.h | 41 class DbgRecord; variable 43 using DbgInstPtr = PointerUnion<Instruction *, DbgRecord *>;
|
H A D | DebugInfo.h | 116 void processDbgRecord(const Module &M, const DbgRecord &DR);
|
/freebsd/contrib/llvm-project/llvm/include/llvm/Transforms/Utils/ |
H A D | ValueMapper.h | 26 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 D | ValueMapper.cpp | 149 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 D | LoopRotationUtils.cpp | 613 iterator_range<DbgRecord::self_iterator> NextDbgInsts = in rotateLoop()
|
H A D | CodeExtractor.cpp | 1624 for (DbgRecord &DR : I.getDbgRecordRange()) { in fixupDebugInfoPostExtraction() 1691 for (DbgRecord &DR : I.getDbgRecordRange()) in fixupDebugInfoPostExtraction()
|
H A D | InlineFunction.cpp | 1815 auto UpdateDVR = [&](DbgRecord *DVR) { in fixupLineNumbers() 1832 for (DbgRecord &DVR : I.getDbgRecordRange()) { in fixupLineNumbers()
|
H A D | SimplifyCFG.cpp | 1541 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 D | BasicBlockUtils.cpp | 390 for (DbgRecord &DR : reverse(I.getDbgRecordRange())) { in DbgVariableRecordsRemoveRedundantDbgInstrsUsingBackwardScan()
|
/freebsd/contrib/llvm-project/llvm/lib/CodeGen/ |
H A D | SelectOptimize.cpp | 680 for (auto &DbgRecord : in convertProfitableSIGroups() local 682 DbgRecord.removeFromParent(); in convertProfitableSIGroups() 683 EndBlock->insertDbgRecordBefore(&DbgRecord, in convertProfitableSIGroups()
|
H A D | AssignmentTrackingAnalysis.cpp | 85 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 D | ADCE.cpp | 551 for (DbgRecord &DR : make_early_inc_range(I.getDbgRecordRange())) { in removeDeadInstructions()
|
/freebsd/contrib/llvm-project/llvm/include/llvm/AsmParser/ |
H A D | LLParser.h | 585 bool parseDebugRecord(DbgRecord *&DR, PerFunctionState &PFS);
|
/freebsd/contrib/llvm-project/llvm/lib/Bitcode/Writer/ |
H A D | ValueEnumerator.cpp | 443 for (DbgRecord &DR : I.getDbgRecordRange()) { in ValueEnumerator()
|
/freebsd/contrib/llvm-project/llvm/lib/AsmParser/ |
H A D | LLParser.cpp | 6656 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 D | FastISel.cpp | 1204 for (DbgRecord &DR : llvm::reverse(II->getDbgRecordRange())) { in handleDbgInfo()
|