| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86ELFObjectWriter.cpp | 59 IsPCRel = true; in getType64() 70 IsPCRel = true; in getType64() 143 assert(!IsPCRel); in getRelocType64() 148 assert(!IsPCRel); in getRelocType64() 162 assert(!IsPCRel); in getRelocType64() 176 assert(!IsPCRel); in getRelocType64() 258 if (IsPCRel) in getRelocType32() 269 assert(!IsPCRel); in getRelocType32() 280 assert(!IsPCRel); in getRelocType32() 285 assert(!IsPCRel); in getRelocType32() [all …]
|
| H A D | X86MachObjectWriter.cpp | 123 if (IsPCRel) { in RecordX86_64Relocation() 140 if (IsPCRel) { in RecordX86_64Relocation() 164 if (IsPCRel) { in RecordX86_64Relocation() 249 if (IsPCRel) in RecordX86_64Relocation() 273 if (IsPCRel) { in RecordX86_64Relocation() 331 IsPCRel = 1; in RecordX86_64Relocation() 456 (IsPCRel << 30) | in recordScatteredRelocation() 476 unsigned IsPCRel = 0; in recordTLVPRelocation() local 486 IsPCRel = 1; in recordTLVPRelocation() 538 if (IsPCRel) in RecordX86Relocation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/M68k/MCTargetDesc/ |
| H A D | M68kELFObjectWriter.cpp | 36 const MCFixup &Fixup, bool IsPCRel) const override; 48 getType(unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel) { in getType() argument 66 bool IsPCRel) const { in getRelocType() 69 M68kRelType Type = getType(Kind, Modifier, IsPCRel); in getRelocType() 127 return IsPCRel ? ELF::R_68K_PC32 : ELF::R_68K_32; in getRelocType() 129 return IsPCRel ? ELF::R_68K_PC16 : ELF::R_68K_16; in getRelocType() 131 return IsPCRel ? ELF::R_68K_PC8 : ELF::R_68K_8; in getRelocType() 145 assert(!IsPCRel); in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/SystemZ/MCTargetDesc/ |
| H A D | SystemZELFObjectWriter.cpp | 35 const MCFixup &Fixup, bool IsPCRel) const override; 153 bool IsPCRel) const { in getRelocType() 161 if (IsPCRel) in getRelocType() 166 assert(!IsPCRel && "NTPOFF shouldn't be PC-relative"); in getRelocType() 170 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in getRelocType() 176 assert(!IsPCRel && "DTPOFF shouldn't be PC-relative"); in getRelocType() 180 assert(!IsPCRel && "TLSLDM shouldn't be PC-relative"); in getRelocType() 184 assert(!IsPCRel && "TLSGD shouldn't be PC-relative"); in getRelocType() 188 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in getRelocType() 194 assert(IsPCRel && "@PLT shouldn't be PC-relative"); in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/include/llvm/MC/ |
| H A D | MCFixup.h | 109 static MCFixupKind getKindForSize(unsigned Size, bool IsPCRel) { in getKindForSize() argument 113 return IsPCRel ? FK_PCRel_1 : FK_Data_1; in getKindForSize() 115 return IsPCRel ? FK_PCRel_2 : FK_Data_2; in getKindForSize() 117 return IsPCRel ? FK_PCRel_4 : FK_Data_4; in getKindForSize() 119 return IsPCRel ? FK_PCRel_8 : FK_Data_8; in getKindForSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AArch64/MCTargetDesc/ |
| H A D | AArch64MachObjectWriter.cpp | 153 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation() local 167 if (IsPCRel) in recordRelocation() 209 if (IsPCRel) { in recordRelocation() 233 IsPCRel = 1; in recordRelocation() 236 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation() 248 if (IsPCRel) { in recordRelocation() 293 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation() 358 if (IsPCRel) in recordRelocation() 383 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation() 390 IsPCRel = 0; in recordRelocation() [all …]
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldImpl.h | 145 bool IsPCRel; variable 155 SymOffset(0), IsPCRel(false), Size(0), IsTargetThumbFunc(false) {} in RelocationEntry() 160 SymOffset(symoffset), IsPCRel(false), Size(0), in RelocationEntry() 164 bool IsPCRel, unsigned Size) in RelocationEntry() argument 166 SymOffset(0), IsPCRel(IsPCRel), Size(Size), IsTargetThumbFunc(false) {} in RelocationEntry() 170 uint64_t SectionBOffset, bool IsPCRel, unsigned Size) in RelocationEntry() argument 172 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry() 180 uint64_t SectionBOffset, bool IsPCRel, unsigned Size, in RelocationEntry() argument 183 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
|
| H A D | RuntimeDyldMachO.h | 72 bool IsPCRel = Obj.getAnyRelocationPCRel(RelInfo); in getRelocationEntry() local 78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
| H A D | AMDGPUELFObjectWriter.cpp | 25 const MCFixup &Fixup, bool IsPCRel) const override; 39 bool IsPCRel) const { in getRelocType() 78 return IsPCRel ? ELF::R_AMDGPU_REL32 : ELF::R_AMDGPU_ABS32; in getRelocType() 80 return IsPCRel ? ELF::R_AMDGPU_REL64 : ELF::R_AMDGPU_ABS64; in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/ARM/MCTargetDesc/ |
| H A D | ARMMachObjectWriter.cpp | 157 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation() local 236 (IsPCRel << 30) | in RecordARMScatteredHalfRelocation() 247 (IsPCRel << 30) | in RecordARMScatteredHalfRelocation() 272 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredRelocation() local 313 (IsPCRel << 30) | in RecordARMScatteredRelocation() 323 (IsPCRel << 30) | in RecordARMScatteredRelocation() 381 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation() local 416 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 D | ARMELFObjectWriter.cpp | 31 bool IsPCRel, MCContext &Ctx) const; 39 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 88 if (IsPCRel) { in GetRelocTypeInner()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/LoongArch/MCTargetDesc/ |
| H A D | LoongArchELFObjectWriter.cpp | 34 const MCFixup &Fixup, bool IsPCRel) const override; 50 bool IsPCRel) const { in getRelocType() 68 return IsPCRel ? ELF::R_LARCH_32_PCREL : ELF::R_LARCH_32; in getRelocType() 70 return IsPCRel ? ELF::R_LARCH_64_PCREL : ELF::R_LARCH_64; in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/PowerPC/MCTargetDesc/ |
| H A D | PPCXCOFFObjectWriter.cpp | 29 bool IsPCRel) const override; 42 const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const { in getRelocTypeAndSignSize() 52 const uint8_t EncodedSignednessIndicator = IsPCRel ? SignBitMask : 0u; in getRelocTypeAndSignSize() 78 if (IsPCRel) in getRelocTypeAndSignSize()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldMachOAArch64.h | 309 (RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel); in processRelocationRef() 336 } else if (!IsExtern && RE.IsPCRel) in processRelocationRef() 367 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_UNSIGNED not supported"); in resolveRelocation() 378 assert(((RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel)) && in resolveRelocation() 384 RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend); in resolveRelocation() 390 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_BRANCH26 not supported"); in resolveRelocation() 399 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_PAGE21 not supported"); in resolveRelocation() 409 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_PAGEOFF21 not supported"); in resolveRelocation() 475 RE.IsPCRel, RE.Size); in processGOTRelocation()
|
| H A D | RuntimeDyldMachOI386.h | 84 if (RE.IsPCRel) in processRelocationRef() 103 if (RE.IsPCRel) { in resolveRelocation() 155 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processSECTDIFFRelocation() local 203 IsPCRel, Size); in processSECTDIFFRelocation()
|
| H A D | RuntimeDyldMachOARM.h | 178 if (RE.IsPCRel) in processRelocationRef() 209 if (RE.IsPCRel) { in resolveRelocation() 339 RE.IsPCRel, RE.Size); in processBranchRelocation() 361 bool IsPCRel = MachO.getAnyRelocationPCRel(RE); in processHALFSECTDIFFRelocation() local 418 SectionAOffset, SectionBID, SectionBOffset, IsPCRel, in processHALFSECTDIFFRelocation()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Xtensa/MCTargetDesc/ |
| H A D | XtensaELFObjectWriter.cpp | 34 const MCFixup &Fixup, bool IsPCRel) const override; 48 bool IsPCRel) const { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/VE/MCTargetDesc/ |
| H A D | VEELFObjectWriter.cpp | 32 const MCFixup &Fixup, bool IsPCRel) const override; 41 bool IsPCRel) const { in getRelocType() 47 if (IsPCRel) { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/RISCV/MCTargetDesc/ |
| H A D | RISCVELFObjectWriter.cpp | 39 const MCFixup &Fixup, bool IsPCRel) const override; 52 bool IsPCRel) const { in getRelocType() 58 if (IsPCRel) { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/BPF/MCTargetDesc/ |
| H A D | BPFELFObjectWriter.cpp | 29 const MCFixup &Fixup, bool IsPCRel) const override; 40 bool IsPCRel) const { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/CSKY/MCTargetDesc/ |
| H A D | CSKYELFObjectWriter.cpp | 29 const MCFixup &Fixup, bool IsPCRel) const override; 37 bool IsPCRel) const { in getRelocType() 43 if (IsPCRel) { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Sparc/MCTargetDesc/ |
| H A D | SparcELFObjectWriter.cpp | 33 const MCFixup &Fixup, bool IsPCRel) const override; 43 bool IsPCRel) const { in getRelocType() 53 if (IsPCRel) { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
| H A D | WebAssemblyAsmBackend.cpp | 49 uint64_t Value, bool IsPCRel, 99 uint64_t Value, bool IsPCRel, in applyFixup() argument
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Mips/MCTargetDesc/ |
| H A D | MipsELFObjectWriter.cpp | 64 const MCFixup &Fixup, bool IsPCRel) const override; 220 bool IsPCRel) const { in getRelocType() 235 return IsPCRel ? ELF::R_MIPS_PC16 : ELF::R_MIPS_16; in getRelocType() 238 return IsPCRel ? ELF::R_MIPS_PC32 : ELF::R_MIPS_32; in getRelocType() 241 return IsPCRel in getRelocType() 246 if (IsPCRel) { in getRelocType()
|
| /freebsd-14.2/contrib/llvm-project/llvm/lib/Target/Hexagon/MCTargetDesc/ |
| H A D | HexagonELFObjectWriter.cpp | 33 MCFixup const &Fixup, bool IsPCRel) const override; 45 bool IsPCRel) const { in getRelocType() 72 return IsPCRel ? ELF::R_HEX_32_PCREL : ELF::R_HEX_32; in getRelocType()
|