/external/llvm/lib/Target/X86/MCTargetDesc/ |
D | X86ELFObjectWriter.cpp | 29 bool IsPCRel) const override; 48 bool &IsPCRel) { in getType64() argument 54 IsPCRel = true; in getType64() 59 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel) in getType64() 64 IsPCRel = true; in getType64() 81 X86_64RelType Type, bool IsPCRel) { in getRelocType64() argument 88 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64; in getRelocType64() 90 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32; in getRelocType64() 94 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16; in getRelocType64() 96 return IsPCRel ? ELF::R_X86_64_PC8 : ELF::R_X86_64_8; in getRelocType64() [all …]
|
D | X86MachObjectWriter.cpp | 101 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordX86_64Relocation() local 118 if (IsPCRel) { in RecordX86_64Relocation() 135 if (IsPCRel) { in RecordX86_64Relocation() 160 if (IsPCRel) { in RecordX86_64Relocation() 204 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in RecordX86_64Relocation() 245 if (IsPCRel) in RecordX86_64Relocation() 269 if (IsPCRel) { in RecordX86_64Relocation() 327 IsPCRel = 1; in RecordX86_64Relocation() 355 MRE.r_word1 = (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | in RecordX86_64Relocation() 370 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordScatteredRelocation() local [all …]
|
/external/llvm/lib/Target/SystemZ/MCTargetDesc/ |
D | SystemZMCObjectWriter.cpp | 28 bool IsPCRel) const override; 111 bool IsPCRel) const { in GetRelocType() 116 if (IsPCRel) in GetRelocType() 121 assert(!IsPCRel && "NTPOFF shouldn't be PC-relative"); in GetRelocType() 125 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in GetRelocType() 130 assert(!IsPCRel && "DTPOFF shouldn't be PC-relative"); in GetRelocType() 134 assert(!IsPCRel && "TLSLDM shouldn't be PC-relative"); in GetRelocType() 138 assert(!IsPCRel && "TLSGD shouldn't be PC-relative"); in GetRelocType() 142 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL) in GetRelocType() 147 assert(IsPCRel && "@PLT shouldt be PC-relative"); in GetRelocType()
|
D | SystemZMCAsmBackend.cpp | 52 uint64_t Value, bool IsPCRel) const override; 89 bool IsPCRel) const { in applyFixup()
|
/external/llvm/lib/Target/PowerPC/MCTargetDesc/ |
D | PPCMachObjectWriter.cpp | 86 const bool IsPCRel) { in getRelocType() argument 92 if (IsPCRel) { // relative to PC in getRelocType() 148 const unsigned IsPCRel, const unsigned Log2Size, in makeRelocationInfo() argument 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() 295 makeScatteredRelocationInfo(MRE, FixupOffset, Type, Log2Size, IsPCRel, Value); in recordScatteredRelocation() [all …]
|
/external/llvm/lib/Target/BPF/MCTargetDesc/ |
D | BPFELFObjectWriter.cpp | 26 bool IsPCRel) const override; 38 bool IsPCRel) const { in GetRelocType() 48 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64; in GetRelocType() 50 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32; in GetRelocType()
|
D | BPFAsmBackend.cpp | 35 uint64_t Value, bool IsPCRel) const override; 67 bool IsPCRel) const { in applyFixup()
|
/external/llvm/lib/Target/AArch64/MCTargetDesc/ |
D | AArch64MachObjectWriter.cpp | 148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation() local 162 if (IsPCRel) in recordRelocation() 204 if (IsPCRel) { in recordRelocation() 228 IsPCRel = 1; in recordRelocation() 231 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation() 243 if (IsPCRel) { in recordRelocation() 288 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation() 368 if (IsPCRel) in recordRelocation() 400 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation() 407 IsPCRel = 0; in recordRelocation() [all …]
|
D | AArch64AsmBackend.cpp | 71 uint64_t Value, bool IsPCRel) const override; 206 bool IsPCRel) const { in applyFixup() 471 uint64_t Value, bool IsPCRel) const override; 512 bool IsPCRel) const { in applyFixup() 518 AArch64AsmBackend::applyFixup (Fixup, Data, DataSize, Value, IsPCRel); in applyFixup()
|
/external/llvm/lib/Target/ARM/MCTargetDesc/ |
D | ARMELFObjectWriter.cpp | 29 bool IsPCRel) const; 38 bool IsPCRel) const override; 72 bool IsPCRel) const { in GetRelocType() 73 return GetRelocTypeInner(Target, Fixup, IsPCRel); in GetRelocType() 78 bool IsPCRel) const { in GetRelocTypeInner() 82 if (IsPCRel) { in GetRelocTypeInner()
|
D | ARMMachObjectWriter.cpp | 147 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredHalfRelocation() local 226 (IsPCRel << 30) | in RecordARMScatteredHalfRelocation() 237 (IsPCRel << 30) | in RecordARMScatteredHalfRelocation() 253 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in RecordARMScatteredRelocation() local 294 (IsPCRel << 30) | in RecordARMScatteredRelocation() 304 (IsPCRel << 30) | in RecordARMScatteredRelocation() 354 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); in recordRelocation() local 390 if (IsPCRel && RelocType == MachO::ARM_RELOC_VANILLA) in recordRelocation() 434 if (IsPCRel) in recordRelocation() 445 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28); in recordRelocation()
|
D | ARMAsmBackend.h | 48 unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, bool IsPCRel, 53 uint64_t Value, bool IsPCRel) const override;
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 153 bool IsPCRel; variable 160 SymOffset(0), IsPCRel(false), Size(0) {} in RelocationEntry() 165 SymOffset(symoffset), IsPCRel(false), Size(0) {} in RelocationEntry() 168 bool IsPCRel, unsigned Size) in RelocationEntry() argument 170 SymOffset(0), IsPCRel(IsPCRel), Size(Size) {} in RelocationEntry() 174 uint64_t SectionBOffset, bool IsPCRel, unsigned Size) in RelocationEntry() argument 176 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel), in RelocationEntry()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
D | RuntimeDyldMachOAArch64.h | 285 if (!IsExtern && RE.IsPCRel) in processRelocationRef() 315 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_UNSIGNED not supported"); in resolveRelocation() 325 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_BRANCH26 not supported"); in resolveRelocation() 334 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_PAGE21 not supported"); in resolveRelocation() 344 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_PAGEOFF21 not supported"); in resolveRelocation() 398 RE.IsPCRel, RE.Size); in processGOTRelocation()
|
D | RuntimeDyldMachOARM.h | 78 if (RE.IsPCRel) in processRelocationRef() 101 if (RE.IsPCRel) { in resolveRelocation() 200 RE.IsPCRel, RE.Size); in processBranchRelocation() 224 bool IsPCRel = MachO.getAnyRelocationPCRel(RE); in processHALFSECTDIFFRelocation() local 266 SectionAOffset, SectionBID, SectionBOffset, IsPCRel, in processHALFSECTDIFFRelocation()
|
D | RuntimeDyldMachOI386.h | 69 if (RE.IsPCRel) in processRelocationRef() 88 if (RE.IsPCRel) { in resolveRelocation() 138 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); in processSECTDIFFRelocation() local 178 IsPCRel, Size); in processSECTDIFFRelocation()
|
D | RuntimeDyldMachOX86_64.h | 56 if (!IsExtern && RE.IsPCRel) in processRelocationRef() 80 if (RE.IsPCRel) { in resolveRelocation() 121 assert(RE.IsPCRel); in processGOTRelocation()
|
/external/llvm/lib/Target/WebAssembly/MCTargetDesc/ |
D | WebAssemblyELFObjectWriter.cpp | 29 bool IsPCRel) const override; 43 bool IsPCRel) const { in GetRelocType()
|
D | WebAssemblyAsmBackend.cpp | 39 uint64_t Value, bool IsPCRel) const override; 74 bool IsPCRel) const { in applyFixup()
|
/external/llvm/lib/Target/AMDGPU/MCTargetDesc/ |
D | AMDGPUAsmBackend.cpp | 34 MCValue Target, bool &IsPCRel, in recordRelocation() argument 50 uint64_t Value, bool IsPCRel) const override; 91 bool IsPCRel) const { in applyFixup()
|
/external/llvm/lib/Target/Sparc/MCTargetDesc/ |
D | SparcELFObjectWriter.cpp | 33 bool IsPCRel) const override; 43 bool IsPCRel) const { in GetRelocType() 50 if (IsPCRel) { in GetRelocType()
|
/external/llvm/lib/Target/Mips/MCTargetDesc/ |
D | MipsELFObjectWriter.cpp | 48 bool IsPCRel) const override; 66 bool IsPCRel) const { in GetRelocType() 75 return IsPCRel ? ELF::R_MIPS_PC16 : ELF::R_MIPS_16; in GetRelocType() 78 return IsPCRel ? ELF::R_MIPS_PC32 : ELF::R_MIPS_32; in GetRelocType() 81 if (IsPCRel) { in GetRelocType()
|
/external/llvm/lib/Target/Hexagon/MCTargetDesc/ |
D | HexagonELFObjectWriter.cpp | 32 bool IsPCRel) const override; 43 bool IsPCRel) const { in GetRelocType() 50 return (IsPCRel) ? ELF::R_HEX_32_PCREL : ELF::R_HEX_32; in GetRelocType()
|
/external/llvm/lib/MC/ |
D | MCAssembler.cpp | 454 bool IsPCRel = Backend.getFixupKindInfo( in evaluateFixup() local 458 if (IsPCRel) { in evaluateFixup() 493 assert((ShouldAlignPC ? IsPCRel : true) && in evaluateFixup() 496 if (IsPCRel) { in evaluateFixup() 876 bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags & in handleFixup() local 882 getWriter().recordRelocation(*this, Layout, &F, Fixup, Target, IsPCRel, in handleFixup() 885 return std::make_pair(FixedValue, IsPCRel); in handleFixup() 955 bool IsPCRel; in layout() local 956 std::tie(FixedValue, IsPCRel) = handleFixup(Layout, *F, Fixup); in layout() 958 Contents.size(), FixedValue, IsPCRel); in layout()
|
D | ELFObjectWriter.cpp | 133 bool IsPCRel) const { in GetRelocType() 134 return TargetObjectWriter->GetRelocType(Target, Fixup, IsPCRel); in GetRelocType() 184 MCValue Target, bool &IsPCRel, 226 bool IsPCRel) const override; 617 bool &IsPCRel, uint64_t &FixedValue) { in recordRelocation() argument 633 if (IsPCRel) { in recordRelocation() 666 IsPCRel = true; in recordRelocation() 685 unsigned Type = GetRelocType(Target, Fixup, IsPCRel); in recordRelocation() 1315 bool InSet, bool IsPCRel) const { in isSymbolRefDifferenceFullyResolvedImpl() 1317 if (IsPCRel) { in isSymbolRefDifferenceFullyResolvedImpl() [all …]
|