Searched refs:IsPCRel (Results 1 - 25 of 44) sorted by relevance

12

/freebsd-11.0-release/contrib/llvm/lib/Target/X86/MCTargetDesc/
H A DX86ELFObjectWriter.cpp29 bool IsPCRel) const override;
48 bool &IsPCRel) {
54 IsPCRel = true;
59 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel)
64 IsPCRel = true;
81 X86_64RelType Type, bool IsPCRel) {
88 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64;
90 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32;
94 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16;
96 return IsPCRel
46 getType64(unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel) argument
80 getRelocType64(MCSymbolRefExpr::VariantKind Modifier, X86_64RelType Type, bool IsPCRel) argument
184 getRelocType32(MCSymbolRefExpr::VariantKind Modifier, X86_32RelType Type, bool IsPCRel) argument
[all...]
H A DX86MachObjectWriter.cpp101 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); local
118 if (IsPCRel) {
135 if (IsPCRel) {
160 if (IsPCRel) {
204 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
245 if (IsPCRel)
269 if (IsPCRel) {
327 IsPCRel = 1;
355 MRE.r_word1 = (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) |
370 unsigned IsPCRel local
473 unsigned IsPCRel = 0; local
509 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/BPF/MCTargetDesc/
H A DBPFELFObjectWriter.cpp26 bool IsPCRel) const override;
38 bool IsPCRel) const {
48 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64;
50 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32;
H A DBPFAsmBackend.cpp35 uint64_t Value, bool IsPCRel) const override;
67 bool IsPCRel) const {
/freebsd-11.0-release/contrib/llvm/lib/Target/SystemZ/MCTargetDesc/
H A DSystemZMCObjectWriter.cpp28 bool IsPCRel) const override;
111 bool IsPCRel) const {
116 if (IsPCRel)
121 assert(!IsPCRel && "NTPOFF shouldn't be PC-relative");
125 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL)
130 assert(!IsPCRel && "DTPOFF shouldn't be PC-relative");
134 assert(!IsPCRel && "TLSLDM shouldn't be PC-relative");
138 assert(!IsPCRel && "TLSGD shouldn't be PC-relative");
142 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL)
147 assert(IsPCRel
[all...]
H A DSystemZMCAsmBackend.cpp52 uint64_t Value, bool IsPCRel) const override;
89 bool IsPCRel) const {
/freebsd-11.0-release/contrib/llvm/lib/Target/WebAssembly/MCTargetDesc/
H A DWebAssemblyELFObjectWriter.cpp29 bool IsPCRel) const override;
40 bool IsPCRel) const {
H A DWebAssemblyAsmBackend.cpp39 uint64_t Value, bool IsPCRel) const override;
74 bool IsPCRel) const {
/freebsd-11.0-release/contrib/llvm/lib/Target/AMDGPU/MCTargetDesc/
H A DAMDGPUELFObjectWriter.cpp24 bool IsPCRel) const override {
H A DAMDGPUAsmBackend.cpp34 MCValue Target, bool &IsPCRel,
50 uint64_t Value, bool IsPCRel) const override;
91 bool IsPCRel) const {
/freebsd-11.0-release/contrib/llvm/lib/Target/PowerPC/MCTargetDesc/
H A DPPCMachObjectWriter.cpp86 const bool IsPCRel) {
92 if (IsPCRel) { // relative to PC
148 const unsigned IsPCRel, const unsigned Log2Size,
157 (IsPCRel << 7) | // was << 24
166 const unsigned Log2Size, const unsigned IsPCRel,
171 (IsPCRel << 30) | MachO::R_SCATTERED);
198 const unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, FK); local
199 const unsigned Type = getRelocType(Target, FK, IsPCRel);
281 Log2Size, IsPCRel, Value2);
295 makeScatteredRelocationInfo(MRE, FixupOffset, Type, Log2Size, IsPCRel, Valu
83 getRelocType(const MCValue &Target, const MCFixupKind FixupKind, const bool IsPCRel) argument
146 makeRelocationInfo(MachO::any_relocation_info &MRE, const uint32_t FixupOffset, const uint32_t Index, const unsigned IsPCRel, const unsigned Log2Size, const unsigned IsExtern, const unsigned Type) argument
164 makeScatteredRelocationInfo(MachO::any_relocation_info &MRE, const uint32_t Addr, const unsigned Type, const unsigned Log2Size, const unsigned IsPCRel, const uint32_t Value2) argument
307 const bool IsPCRel = Writer->isFixupKindPCRel(Asm, FK); local
[all...]
/freebsd-11.0-release/contrib/llvm/lib/Target/AArch64/MCTargetDesc/
H A DAArch64MachObjectWriter.cpp148 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); local
162 if (IsPCRel)
204 if (IsPCRel) {
228 IsPCRel = 1;
231 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
243 if (IsPCRel) {
288 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
368 if (IsPCRel)
400 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
407 IsPCRel
[all...]
/freebsd-11.0-release/contrib/llvm/lib/MC/
H A DMCObjectWriter.cpp48 bool InSet, bool IsPCRel) const {
/freebsd-11.0-release/contrib/llvm/lib/Target/ARM/MCTargetDesc/
H A DARMAsmBackend.h48 unsigned adjustFixupValue(const MCFixup &Fixup, uint64_t Value, bool IsPCRel,
53 uint64_t Value, bool IsPCRel) const override;
H A DARMELFObjectWriter.cpp29 bool IsPCRel) const;
38 bool IsPCRel) const override;
72 bool IsPCRel) const {
73 return GetRelocTypeInner(Target, Fixup, IsPCRel);
78 bool IsPCRel) const {
82 if (IsPCRel) {
H A DARMMachObjectWriter.cpp147 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); local
226 (IsPCRel << 30) |
237 (IsPCRel << 30) |
253 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); local
294 (IsPCRel << 30) |
304 (IsPCRel << 30) |
354 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind()); local
390 if (IsPCRel && RelocType == MachO::ARM_RELOC_VANILLA)
434 if (IsPCRel)
445 (Index << 0) | (IsPCRel << 2
[all...]
/freebsd-11.0-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h153 bool IsPCRel; member in class:llvm::RelocationEntry
160 SymOffset(0), IsPCRel(false), Size(0) {}
165 SymOffset(symoffset), IsPCRel(false), Size(0) {}
168 bool IsPCRel, unsigned Size)
170 SymOffset(0), IsPCRel(IsPCRel), Size(Size) {}
174 uint64_t SectionBOffset, bool IsPCRel, unsigned Size)
176 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel),
167 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, bool IsPCRel, unsigned Size) argument
172 RelocationEntry(unsigned id, uint64_t offset, uint32_t type, int64_t addend, unsigned SectionA, uint64_t SectionAOffset, unsigned SectionB, uint64_t SectionBOffset, bool IsPCRel, unsigned Size) argument
H A DRuntimeDyldMachO.h73 bool IsPCRel = Obj.getAnyRelocationPCRel(RelInfo); local
79 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size);
/freebsd-11.0-release/contrib/llvm/lib/Target/Sparc/MCTargetDesc/
H A DSparcELFObjectWriter.cpp33 bool IsPCRel) const override;
43 bool IsPCRel) const {
50 if (IsPCRel) {
/freebsd-11.0-release/contrib/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOI386.h64 // if (IsExtern && RE.IsPCRel) {
69 if (RE.IsPCRel)
88 if (RE.IsPCRel) {
138 bool IsPCRel = Obj.getAnyRelocationPCRel(RE); local
178 IsPCRel, Size);
H A DRuntimeDyldMachOARM.h78 if (RE.IsPCRel)
101 if (RE.IsPCRel) {
200 RE.IsPCRel, RE.Size);
224 bool IsPCRel = MachO.getAnyRelocationPCRel(RE); local
266 SectionAOffset, SectionBID, SectionBOffset, IsPCRel,
H A DRuntimeDyldMachOAArch64.h285 if (!IsExtern && RE.IsPCRel)
315 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_UNSIGNED not supported");
325 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_BRANCH26 not supported");
334 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_PAGE21 not supported");
344 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_PAGEOFF21 not supported");
389 /*IsPCRel=*/false, /*Size=*/3);
398 RE.IsPCRel, RE.Size);
/freebsd-11.0-release/contrib/llvm/lib/Target/Mips/MCTargetDesc/
H A DMipsAsmBackend.h42 uint64_t Value, bool IsPCRel) const override;
/freebsd-11.0-release/contrib/llvm/include/llvm/MC/
H A DMCObjectWriter.h87 bool &IsPCRel, uint64_t &FixedValue) = 0;
108 bool IsPCRel) const;
H A DMCAsmBackend.h91 uint64_t Value, bool IsPCRel) const = 0;

Completed in 198 milliseconds

12