Home
last modified time | relevance | path

Searched refs:referent (Results 1 – 25 of 26) sorted by relevance

12

/llvm-project-15.0.7/lld/MachO/
H A DICF.cpp117 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 DRelocations.h63 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 DUnwindInfoSection.cpp267 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 DConcatOutputSection.cpp138 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 DMarkLive.cpp172 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 DInputSection.cpp189 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 DInputFiles.cpp699 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 DRelocations.cpp91 if (auto *sym = r.referent.dyn_cast<Symbol *>()) in reportRangeError()
H A DWriter.cpp660 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 Dmain.c5 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 Dpdbdump-mergetypes.test11 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 Devery-type.test25 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 Dpdb-type-ref-stats.test56 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 Dpdbdump-merge-ids-and-types.test11 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 Dobj-globalhash.test27 ; int***. Different local hashes, since the referent type (int**) is not at the
H A Dpdbdump-headers.test120 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 Dpdb-global-hashes.test45 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 Dpdb-type-server-simple.test37 CHECK-NEXT: referent = [[FOO_DECL]]
H A Ds_udt.s15 # CHECK-NEXT: referent = 0x1003, mode = pointer, opts = None, kind = ptr64
H A Dpdb.test150 RAW-NEXT: referent = 0x1001, mode = pointer, opts = None, kind = ptr64
/llvm-project-15.0.7/lld/test/MachO/
H A Dloh-parsing.s6 ## Check that we parse the LOH & match it to its referent sections correctly,
H A Dicf.s154 ## 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 Dpartial-type-stream.test27 DEPS-NEXT: referent = 0x1017, mode = pointer, opts = const, kind = ptr32
/llvm-project-15.0.7/lld/MachO/Arch/
H A DARM.cpp105 const Symbol *sym = r.referent.get<Symbol *>(); in relocateOne()
/llvm-project-15.0.7/llvm/test/CodeGen/Hexagon/
H A Dswp-reuse-phi-4.ll7 ; The bug occurs when a Phi references another Phi, and referent Phi

12