Home
last modified time | relevance | path

Searched refs:IsPCRel (Results 1 – 25 of 36) sorted by relevance

12

/freebsd-12.1/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ELFObjectWriter.cpp58 IsPCRel = true; in getType64()
69 IsPCRel = true; in getType64()
130 assert(!IsPCRel); in getRelocType64()
133 assert(!IsPCRel); in getRelocType64()
145 assert(!IsPCRel); in getRelocType64()
157 assert(!IsPCRel); in getRelocType64()
239 if (IsPCRel) in getRelocType32()
250 assert(!IsPCRel); in getRelocType32()
254 assert(!IsPCRel); in getRelocType32()
258 assert(!IsPCRel); in getRelocType32()
[all …]
H A DX86MachObjectWriter.cpp124 if (IsPCRel) { in RecordX86_64Relocation()
141 if (IsPCRel) { in RecordX86_64Relocation()
165 if (IsPCRel) { in RecordX86_64Relocation()
250 if (IsPCRel) in RecordX86_64Relocation()
274 if (IsPCRel) { in RecordX86_64Relocation()
332 IsPCRel = 1; in RecordX86_64Relocation()
458 (IsPCRel << 30) | in recordScatteredRelocation()
478 unsigned IsPCRel = 0; in recordTLVPRelocation() local
488 IsPCRel = 1; in recordTLVPRelocation()
540 if (IsPCRel) in RecordX86Relocation()
[all …]
/freebsd-12.1/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCObjectWriter.cpp34 const MCFixup &Fixup, bool IsPCRel) const override;
120 bool IsPCRel) const { in getRelocType()
125 if (IsPCRel) in getRelocType()
130 assert(!IsPCRel && "NTPOFF shouldn't be PC-relative"); in getRelocType()
134 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in getRelocType()
139 assert(!IsPCRel && "DTPOFF shouldn't be PC-relative"); in getRelocType()
143 assert(!IsPCRel && "TLSLDM shouldn't be PC-relative"); in getRelocType()
147 assert(!IsPCRel && "TLSGD shouldn't be PC-relative"); in getRelocType()
151 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in getRelocType()
156 assert(IsPCRel && "@PLT shouldt be PC-relative"); in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMachObjectWriter.cpp86 const bool IsPCRel) { in getRelocType() argument
92 if (IsPCRel) { // relative to PC in getRelocType()
157 (IsPCRel << 7) | // was << 24 in makeRelocationInfo()
166 const unsigned Log2Size, const unsigned IsPCRel, in makeScatteredRelocationInfo() argument
171 (IsPCRel << 30) | MachO::R_SCATTERED); in makeScatteredRelocationInfo()
198 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in recordScatteredRelocation() local
199 const unsigned Type = getRelocType(Target, FK, IsPCRel); in recordScatteredRelocation()
281 Log2Size, IsPCRel, Value2); in recordScatteredRelocation()
307 const bool IsPCRel = Writer->isFixupKindPCRel(Asm, FK); in RecordPPCRelocation() local
308 const unsigned RelocType = getRelocType(Target, FK, IsPCRel); in RecordPPCRelocation()
[all …]
H A DPPCELFObjectWriter.cpp30 const MCFixup &Fixup, bool IsPCRel) const override;
76 bool IsPCRel) const { in getRelocType()
81 if (IsPCRel) { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp156 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation() local
170 if (IsPCRel) in recordRelocation()
212 if (IsPCRel) { in recordRelocation()
236 IsPCRel = 1; in recordRelocation()
239 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation()
251 if (IsPCRel) { in recordRelocation()
296 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation()
361 if (IsPCRel) in recordRelocation()
382 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation()
389 IsPCRel = 0; in recordRelocation()
[all …]
H A DAArch64ELFObjectWriter.cpp40 const MCFixup &Fixup, bool IsPCRel) const override;
109 bool IsPCRel) const { in getRelocType()
123 if (IsPCRel) { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h147 bool IsPCRel; variable
157 SymOffset(0), IsPCRel(false), Size(0), IsTargetThumbFunc(false) {} in RelocationEntry()
162 SymOffset(symoffset), IsPCRel(false), Size(0), in RelocationEntry()
166 bool IsPCRel, unsigned Size) in RelocationEntry() argument
168 SymOffset(0), IsPCRel(IsPCRel), Size(Size), IsTargetThumbFunc(false) {} in RelocationEntry()
172 uint64_t SectionBOffset, bool IsPCRel, unsigned Size) in RelocationEntry() argument
174 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
182 uint64_t SectionBOffset, bool IsPCRel, unsigned Size, in RelocationEntry() argument
185 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
H A DRuntimeDyldMachO.h73 bool IsPCRel = Obj.getAnyRelocationPCRel(RelInfo); in getRelocationEntry() local
79 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
H A DRuntimeDyldMachO.cpp67 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processScatteredVANILLA() local
88 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA()
159 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType in dumpRelocationToResolve()
/freebsd-12.1/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMMachObjectWriter.cpp158 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation() local
237 (IsPCRel << 30) | in RecordARMScatteredHalfRelocation()
248 (IsPCRel << 30) | in RecordARMScatteredHalfRelocation()
273 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredRelocation() local
314 (IsPCRel << 30) | in RecordARMScatteredRelocation()
324 (IsPCRel << 30) | in RecordARMScatteredRelocation()
382 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation() local
418 if (IsPCRel && RelocType == MachO::ARM_RELOC_VANILLA) in recordRelocation()
463 if (IsPCRel) in recordRelocation()
474 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation()
H A DARMELFObjectWriter.cpp32 bool IsPCRel, MCContext &Ctx) const;
40 const MCFixup &Fixup, bool IsPCRel) const override;
75 bool IsPCRel) const { in getRelocType()
76 return GetRelocTypeInner(Target, Fixup, IsPCRel, Ctx); in getRelocType()
81 bool IsPCRel, in GetRelocTypeInner() argument
85 if (IsPCRel) { in GetRelocTypeInner()
/freebsd-12.1/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h310 (RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel); in processRelocationRef()
337 } else if (!IsExtern && RE.IsPCRel) in processRelocationRef()
368 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_UNSIGNED not supported"); in resolveRelocation()
379 assert(((RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel)) && in resolveRelocation()
385 RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend); in resolveRelocation()
391 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_BRANCH26 not supported"); in resolveRelocation()
400 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_PAGE21 not supported"); in resolveRelocation()
410 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_PAGEOFF21 not supported"); in resolveRelocation()
476 RE.IsPCRel, RE.Size); in processGOTRelocation()
H A DRuntimeDyldMachOI386.h86 if (RE.IsPCRel) in processRelocationRef()
105 if (RE.IsPCRel) { in resolveRelocation()
154 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processSECTDIFFRelocation() local
202 IsPCRel, Size); in processSECTDIFFRelocation()
H A DRuntimeDyldMachOARM.h180 if (RE.IsPCRel) in processRelocationRef()
211 if (RE.IsPCRel) { in resolveRelocation()
338 RE.IsPCRel, RE.Size); in processBranchRelocation()
360 bool IsPCRel = MachO.getAnyRelocationPCRel(RE); in processHALFSECTDIFFRelocation() local
417 SectionAOffset, SectionBID, SectionBOffset, IsPCRel, in processHALFSECTDIFFRelocation()
H A DRuntimeDyldMachOX86_64.h60 if (!IsExtern && RE.IsPCRel) in processRelocationRef()
94 if (RE.IsPCRel) { in resolveRelocation()
133 assert(RE.IsPCRel); in processGOTRelocation()
/freebsd-12.1/contrib/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcELFObjectWriter.cpp34 const MCFixup &Fixup, bool IsPCRel) const override;
45 bool IsPCRel) const { in getRelocType()
52 if (IsPCRel) { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp30 const MCFixup &Fixup, bool IsPCRel) const override;
41 bool IsPCRel) const { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp30 const MCFixup &Fixup, bool IsPCRel) const override;
45 bool IsPCRel) const { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/RISCV/MCTargetDesc/
H A DRISCVELFObjectWriter.cpp37 const MCFixup &Fixup, bool IsPCRel) const override;
50 bool IsPCRel) const { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyAsmBackend.cpp49 uint64_t Value, bool IsPCRel,
105 uint64_t Value, bool IsPCRel, in applyFixup() argument
/freebsd-12.1/contrib/llvm/lib/Target/Hexagon/MCTargetDesc/
H A DHexagonELFObjectWriter.cpp34 MCFixup const &Fixup, bool IsPCRel) const override;
46 bool IsPCRel) const { in getRelocType()
73 return IsPCRel ? ELF::R_HEX_32_PCREL : ELF::R_HEX_32; in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/AVR/MCTargetDesc/
H A DAVRELFObjectWriter.cpp33 bool IsPCRel) const override;
42 bool IsPCRel) const { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsELFObjectWriter.cpp65 const MCFixup &Fixup, bool IsPCRel) const override;
221 bool IsPCRel) const { in getRelocType()
234 return IsPCRel ? ELF::R_MIPS_PC16 : ELF::R_MIPS_16; in getRelocType()
237 return IsPCRel ? ELF::R_MIPS_PC32 : ELF::R_MIPS_32; in getRelocType()
240 if (IsPCRel) { in getRelocType()
/freebsd-12.1/contrib/llvm/lib/MC/
H A DMCObjectWriter.cpp48 bool InSet, bool IsPCRel) const { in isSymbolRefDifferenceFullyResolvedImpl()

12