| /llvm-project-15.0.7/lld/MachO/ |
| H A D | ICF.cpp | 117 if (ra.referent.is<Symbol *>() != rb.referent.is<Symbol *>()) in equalsConstant() 124 if (ra.referent.is<Symbol *>()) { in equalsConstant() 125 const auto *sa = ra.referent.get<Symbol *>(); in equalsConstant() 126 const auto *sb = rb.referent.get<Symbol *>(); in equalsConstant() 145 isecA = ra.referent.get<InputSection *>(); in equalsConstant() 146 isecB = rb.referent.get<InputSection *>(); in equalsConstant() 158 if (ra.referent.is<Symbol *>()) in equalsConstant() 183 if (ra.referent == rb.referent) in equalsVariable() 186 if (ra.referent.is<Symbol *>()) { in equalsVariable() 199 const auto *sa = ra.referent.get<InputSection *>(); in equalsVariable() [all …]
|
| H A D | Relocations.h | 63 llvm::PointerUnion<Symbol *, InputSection *> referent = nullptr; member 68 int64_t addend, llvm::PointerUnion<Symbol *, InputSection *> referent) in Reloc() 70 addend(addend), referent(referent) {} in Reloc()
|
| H A D | UnwindInfoSection.cpp | 267 if (auto *s = r.referent.dyn_cast<Symbol *>()) { in prepareRelocations() 284 r.referent = s = sym; in prepareRelocations() 302 r.referent = personality; in prepareRelocations() 312 if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) { in prepareRelocations() 330 r.referent = s; in prepareRelocations() 380 cu.personality = r.referent.get<Symbol *>(); in relocateCompactUnwind() 382 if (auto *referentSym = r.referent.dyn_cast<Symbol *>()) in relocateCompactUnwind() 385 cu.lsda = r.referent.get<InputSection *>(); in relocateCompactUnwind()
|
| H A D | ConcatOutputSection.cpp | 138 auto *sym = r.referent.get<Symbol *>(); in needsThunks() 285 auto *funcSym = r.referent.get<Symbol *>(); in finalize() 306 r.referent = thunkInfo.sym; in finalize() 330 r.referent = thunkInfo.sym = symtab->addDefined( in finalize() 336 r.referent = thunkInfo.sym = make<Defined>( in finalize()
|
| H A D | MarkLive.cpp | 172 if (auto *s = r.referent.dyn_cast<Symbol *>()) in markTransitively() 175 enqueue(r.referent.get<InputSection *>(), r.addend, entry); in markTransitively() 190 if (auto *s = r.referent.dyn_cast<Symbol *>()) { in markTransitively() 198 auto *referentIsec = r.referent.get<InputSection *>(); in markTransitively()
|
| H A D | InputSection.cpp | 189 const Symbol *fromSym = r.referent.get<Symbol *>(); in writeTo() 192 if (const Symbol *toSym = minuend.referent.dyn_cast<Symbol *>()) in writeTo() 195 auto *referentIsec = minuend.referent.get<InputSection *>(); in writeTo() 200 } else if (auto *referentSym = r.referent.dyn_cast<Symbol *>()) { in writeTo() 220 } else if (auto *referentIsec = r.referent.dyn_cast<InputSection *>()) { in writeTo()
|
| H A D | InputFiles.cpp | 699 r.referent = symbols[relInfo.r_symbolnum]; in parseRelocations() 720 r.referent = findContainingSubsection(*sections[relInfo.r_symbolnum - 1], in parseRelocations() 754 p.referent = symbols[minuendInfo.r_symbolnum]; in parseRelocations() 759 p.referent = findContainingSubsection( in parseRelocations() 1239 if (auto *sym = cast_or_null<Defined>(r.referent.dyn_cast<Symbol *>())) { in registerCompactUnwind() 1250 cast<ConcatInputSection>(r.referent.dyn_cast<InputSection *>()); in registerCompactUnwind() 1371 cie.personalitySymbol = personalityRelocIt->referent.get<macho::Symbol *>(); in parseCIE() 1418 auto *pcSym = cast<Defined>(subtrahend.referent.get<macho::Symbol *>()); in targetSymFromCanonicalSubtractor() 1420 cast_or_null<Defined>(minuend.referent.dyn_cast<macho::Symbol *>()); in targetSymFromCanonicalSubtractor() 1423 cast<ConcatInputSection>(minuend.referent.get<InputSection *>()); in targetSymFromCanonicalSubtractor() [all …]
|
| H A D | Relocations.cpp | 91 if (auto *sym = r.referent.dyn_cast<Symbol *>()) in reportRangeError()
|
| H A D | Writer.cpp | 660 if (auto *sym = r.referent.dyn_cast<Symbol *>()) { in scanRelocations() 670 auto *referentIsec = r.referent.get<InputSection *>(); in scanRelocations() 671 r.referent = referentIsec->canonical(); in scanRelocations()
|
| /llvm-project-15.0.7/lldb/test/API/functionalities/ptr_refs/ |
| H A D | main.c | 5 struct referent { struct 12 struct referent *r = malloc(sizeof(struct referent)); in main() argument
|
| /llvm-project-15.0.7/llvm/test/DebugInfo/PDB/ |
| H A D | pdbdump-mergetypes.test | 11 MERGED-NEXT: referent = 0x0075 (unsigned), mode = pointer, opts = None, kind = ptr32 13 MERGED-NEXT: referent = 0x0076 (__int64), mode = pointer, opts = None, kind = ptr32 19 MERGED-NEXT: referent = 0x1000, mode = pointer, opts = None, kind = ptr32 21 MERGED-NEXT: referent = 0x1003, mode = pointer, opts = None, kind = ptr32 23 MERGED-NEXT: referent = 0x1001, mode = pointer, opts = None, kind = ptr32
|
| H A D | every-type.test | 25 TYPES-NEXT: referent = 0x0074 (int), modifiers = const 32 TYPES-NEXT: referent = 0x1009, mode = pointer, opts = None, kind = ptr64 45 TYPES-NEXT: referent = 0x100B, modifiers = const 47 TYPES-NEXT: referent = 0x100F, mode = ref, opts = None, kind = ptr64 62 TYPES-NEXT: referent = 0x100B, mode = ref, opts = None, kind = ptr64 107 TYPES-NEXT: referent = 0x101C, modifiers = const 109 TYPES-NEXT: referent = 0x1021, mode = ref, opts = None, kind = ptr64 125 TYPES-NEXT: referent = 0x101C, mode = ref, opts = None, kind = ptr64 162 TYPES-NEXT: referent = 0x102D, modifiers = const 164 TYPES-NEXT: referent = 0x1032, mode = ref, opts = None, kind = ptr64 [all …]
|
| H A D | pdb-type-ref-stats.test | 56 CHECK: referent = 0x100E, mode = pointer, opts = const, kind = ptr64 96 CHECK: referent = 0x1019, mode = pointer, opts = const, kind = ptr64 152 CHECK: referent = 0x1021, mode = pointer, opts = const, kind = ptr64 183 CHECK: referent = 0x1029, mode = pointer, opts = const, kind = ptr64 298 CHECK: referent = 0x0070 (char), modifiers = const 300 CHECK: referent = 0x104A, mode = pointer, opts = None, kind = ptr64 447 CHECK: referent = 0x106D, mode = ref, opts = None, kind = ptr64 468 CHECK: referent = 0x1074, modifiers = const 475 CHECK: referent = 0x1074, modifiers = volatile 482 CHECK: referent = 0x1074, modifiers = const | volatile [all …]
|
| H A D | pdbdump-merge-ids-and-types.test | 11 TPI-TYPES-NEXT: referent = 0x0470 (char*), mode = pointer, opts = None, kind = ptr32 22 TPI-TYPES-NEXT: referent = 0x1003, mode = pointer, opts = None, kind = ptr32
|
| H A D | obj-globalhash.test | 27 ; int***. Different local hashes, since the referent type (int**) is not at the
|
| H A D | pdbdump-headers.test | 120 ALL-NEXT: referent = 0x1004, mode = pointer, opts = const, kind = ptr32 155 ALL-NEXT: referent = 0x100E, mode = pointer, opts = const, kind = ptr32 199 ALL-NEXT: referent = 0x101A, mode = pointer, opts = const, kind = ptr32 237 ALL-NEXT: referent = 0x1025, mode = pointer, opts = const, kind = ptr32 278 ALL-NEXT: referent = 0x102F, mode = pointer, opts = const, kind = ptr32 280 ALL-NEXT: referent = 0x0070 (char), modifiers = const 282 ALL-NEXT: referent = 0x1031, mode = pointer, opts = None, kind = ptr32 379 ALL-NEXT: referent = 0x103D, mode = pointer, opts = const, kind = ptr32 409 ALL-NEXT: referent = 0x1045, mode = pointer, opts = const, kind = ptr32
|
| /llvm-project-15.0.7/lld/test/COFF/ |
| H A D | pdb-global-hashes.test | 45 CHECK-NEXT: referent = 0x0470 (char*), mode = pointer, opts = None, kind = ptr32 57 CHECK-NEXT: referent = 0x1003, mode = pointer, opts = None, kind = ptr32 73 CHECK-NEXT: referent = 0x1003, modifiers = const 75 CHECK-NEXT: referent = 0x1009, mode = ref, opts = None, kind = ptr32
|
| H A D | pdb-type-server-simple.test | 37 CHECK-NEXT: referent = [[FOO_DECL]]
|
| H A D | s_udt.s | 15 # CHECK-NEXT: referent = 0x1003, mode = pointer, opts = None, kind = ptr64
|
| H A D | pdb.test | 150 RAW-NEXT: referent = 0x1001, mode = pointer, opts = None, kind = ptr64
|
| /llvm-project-15.0.7/lld/test/MachO/ |
| H A D | loh-parsing.s | 6 ## Check that we parse the LOH & match it to its referent sections correctly,
|
| H A D | icf.s | 154 ## No fold: referent dylib symbol differs 159 ## No fold: referent dylib addend differs
|
| /llvm-project-15.0.7/llvm/test/tools/llvm-pdbutil/ |
| H A D | partial-type-stream.test | 27 DEPS-NEXT: referent = 0x1017, mode = pointer, opts = const, kind = ptr32
|
| /llvm-project-15.0.7/lld/MachO/Arch/ |
| H A D | ARM.cpp | 105 const Symbol *sym = r.referent.get<Symbol *>(); in relocateOne()
|
| /llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/ |
| H A D | swp-reuse-phi-4.ll | 7 ; The bug occurs when a Phi references another Phi, and referent Phi
|