HomeSort by: relevance | last modified time | path
    Searched refs:IsPCRel (Results 1 - 25 of 47) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/Target/X86/MCTargetDesc/
X86ELFObjectWriter.cpp 34 const MCFixup &Fixup, bool IsPCRel) const override;
51 bool &IsPCRel) {
59 IsPCRel = true;
65 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel)
70 IsPCRel = true;
105 X86_64RelType Type, bool IsPCRel,
118 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64;
120 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32;
124 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16;
126 return IsPCRel ? ELF::R_X86_64_PC8 : ELF::R_X86_64_8
    [all...]
X86MachObjectWriter.cpp 106 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
123 if (IsPCRel) {
140 if (IsPCRel) {
164 if (IsPCRel) {
208 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
249 if (IsPCRel)
273 if (IsPCRel) {
331 IsPCRel = 1;
358 MRE.r_word1 = (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) |
373 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind())
    [all...]
  /src/external/apache2/llvm/dist/llvm/include/llvm/MC/
MCFixup.h 141 static MCFixupKind getKindForSize(unsigned Size, bool IsPCRel) {
145 return IsPCRel ? FK_PCRel_1 : FK_Data_1;
147 return IsPCRel ? FK_PCRel_2 : FK_Data_2;
149 return IsPCRel ? FK_PCRel_4 : FK_Data_4;
151 return IsPCRel ? FK_PCRel_8 : FK_Data_8;
157 static MCFixupKind getKindForSizeInBits(unsigned Size, bool IsPCRel) {
162 assert(!IsPCRel && "Invalid pc-relative fixup size!");
165 return IsPCRel ? FK_PCRel_1 : FK_Data_1;
167 return IsPCRel ? FK_PCRel_2 : FK_Data_2;
169 return IsPCRel ? FK_PCRel_4 : FK_Data_4
    [all...]
MCXCOFFObjectWriter.h 36 bool IsPCRel) const = 0;
MCObjectWriter.h 86 bool IsPCRel) const;
  /src/external/apache2/llvm/dist/llvm/lib/Target/CSKY/MCTargetDesc/
CSKYELFObjectWriter.cpp 27 const MCFixup &Fixup, bool IsPCRel) const override;
35 bool IsPCRel) const {
  /src/external/apache2/llvm/dist/llvm/lib/Target/M68k/MCTargetDesc/
M68kELFObjectWriter.cpp 36 const MCFixup &Fixup, bool IsPCRel) const override;
48 getType(unsigned Kind, MCSymbolRefExpr::VariantKind &Modifier, bool &IsPCRel) {
66 bool IsPCRel) const {
69 M68kRelType Type = getType(Kind, Modifier, IsPCRel);
76 return IsPCRel ? ELF::R_68K_PC32 : ELF::R_68K_32;
78 return IsPCRel ? ELF::R_68K_PC16 : ELF::R_68K_16;
80 return IsPCRel ? ELF::R_68K_PC8 : ELF::R_68K_8;
94 assert(!IsPCRel);
M68kMCCodeEmitter.cpp 138 bool IsPCRel = Desc.OpInfo[MIOpIdx].OperandType == MCOI::OPERAND_PCREL;
142 if (IsPCRel) {
199 bool IsPCRel = Desc.OpInfo[MIOpIdx].OperandType == MCOI::OPERAND_PCREL;
204 if (IsPCRel && ThisWord == 0)
245 if (IsPCRel) {
262 if (IsPCRel && Addendum != 0) {
268 FixOffset, Expr, getFixupForSize(Size, IsPCRel), MI.getLoc()));
285 FixOffset, Expr, getFixupForSize(Size, IsPCRel), MI.getLoc()));
  /src/external/apache2/llvm/dist/llvm/lib/Target/SystemZ/MCTargetDesc/
SystemZMCObjectWriter.cpp 33 const MCFixup &Fixup, bool IsPCRel) const override;
119 bool IsPCRel) const {
124 if (IsPCRel)
129 assert(!IsPCRel && "NTPOFF shouldn't be PC-relative");
133 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL)
138 assert(!IsPCRel && "DTPOFF shouldn't be PC-relative");
142 assert(!IsPCRel && "TLSLDM shouldn't be PC-relative");
146 assert(!IsPCRel && "TLSGD shouldn't be PC-relative");
150 if (IsPCRel && Kind == SystemZ::FK_390_PC32DBL)
155 assert(IsPCRel && "@PLT shouldt be PC-relative")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/PowerPC/MCTargetDesc/
PPCXCOFFObjectWriter.cpp 29 bool IsPCRel) const override;
42 const MCValue &Target, const MCFixup &Fixup, bool IsPCRel) const {
49 // based on similar property of IsPCRel. So we will do the same here.
52 const uint8_t EncodedSignednessIndicator = IsPCRel ? SignBitMask : 0u;
  /src/external/apache2/llvm/dist/llvm/lib/Target/AArch64/MCTargetDesc/
AArch64MachObjectWriter.cpp 155 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
169 if (IsPCRel)
211 if (IsPCRel) {
235 IsPCRel = 1;
238 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
250 if (IsPCRel) {
295 MRE.r_word1 = (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
360 if (IsPCRel)
385 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28);
392 IsPCRel = 0
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/BPF/MCTargetDesc/
BPFELFObjectWriter.cpp 29 const MCFixup &Fixup, bool IsPCRel) const override;
40 bool IsPCRel) const {
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldImpl.h 145 bool IsPCRel;
155 SymOffset(0), IsPCRel(false), Size(0), IsTargetThumbFunc(false) {}
160 SymOffset(symoffset), IsPCRel(false), Size(0),
164 bool IsPCRel, unsigned Size)
166 SymOffset(0), IsPCRel(IsPCRel), Size(Size), IsTargetThumbFunc(false) {}
170 uint64_t SectionBOffset, bool IsPCRel, unsigned Size)
172 Addend(SectionAOffset - SectionBOffset + addend), IsPCRel(IsPCRel),
180 uint64_t SectionBOffset, bool IsPCRel, unsigned Size
    [all...]
RuntimeDyldMachO.h 72 bool IsPCRel = Obj.getAnyRelocationPCRel(RelInfo);
78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size);
  /src/external/apache2/llvm/dist/llvm/lib/Target/VE/MCTargetDesc/
VEELFObjectWriter.cpp 31 const MCFixup &Fixup, bool IsPCRel) const override;
40 bool IsPCRel) const {
46 if (IsPCRel) {
  /src/external/apache2/llvm/dist/llvm/lib/MC/
MCObjectWriter.cpp 47 bool InSet, bool IsPCRel) const {
  /src/external/apache2/llvm/dist/llvm/lib/Target/AMDGPU/MCTargetDesc/
AMDGPUELFObjectWriter.cpp 26 const MCFixup &Fixup, bool IsPCRel) const override;
42 bool IsPCRel) const {
  /src/external/apache2/llvm/dist/llvm/lib/Target/WebAssembly/MCTargetDesc/
WebAssemblyAsmBackend.cpp 49 uint64_t Value, bool IsPCRel,
98 uint64_t Value, bool IsPCRel,
  /src/external/apache2/llvm/dist/llvm/lib/Target/ARM/MCTargetDesc/
ARMELFObjectWriter.cpp 31 bool IsPCRel, MCContext &Ctx) const;
39 const MCFixup &Fixup, bool IsPCRel) const override;
74 bool IsPCRel) const {
75 return GetRelocTypeInner(Target, Fixup, IsPCRel, Ctx);
80 bool IsPCRel,
87 if (IsPCRel) {
ARMMachObjectWriter.cpp 157 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
236 (IsPCRel << 30) |
247 (IsPCRel << 30) |
272 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
313 (IsPCRel << 30) |
323 (IsPCRel << 30) |
381 unsigned IsPCRel = Writer->isFixupKindPCRel(Asm, Fixup.getKind());
417 if (IsPCRel && RelocType == MachO::ARM_RELOC_VANILLA)
462 if (IsPCRel)
473 (Index << 0) | (IsPCRel << 24) | (Log2Size << 25) | (Type << 28)
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/RISCV/MCTargetDesc/
RISCVELFObjectWriter.cpp 38 const MCFixup &Fixup, bool IsPCRel) const override;
51 bool IsPCRel) const {
57 if (IsPCRel) {
  /src/external/apache2/llvm/dist/llvm/lib/Target/Sparc/MCTargetDesc/
SparcELFObjectWriter.cpp 33 const MCFixup &Fixup, bool IsPCRel) const override;
44 bool IsPCRel) const {
51 if (IsPCRel) {
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
RuntimeDyldMachOAArch64.h 309 (RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel);
336 } else if (!IsExtern && RE.IsPCRel)
367 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_UNSIGNED not supported");
378 assert(((RE.Size == 2 && RE.IsPCRel) || (RE.Size == 3 && !RE.IsPCRel)) &&
384 RE.IsPCRel ? (RE.Addend - RE.Offset) : (Value + RE.Addend);
390 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_BRANCH26 not supported");
399 assert(RE.IsPCRel && "not PCRel and ARM64_RELOC_PAGE21 not supported");
409 assert(!RE.IsPCRel && "PCRel and ARM64_RELOC_PAGEOFF21 not supported")
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Target/Lanai/MCTargetDesc/
LanaiELFObjectWriter.cpp 28 const MCFixup &Fixup, bool IsPCRel) const override;
42 bool /*IsPCRel*/) const {
  /src/external/apache2/llvm/dist/llvm/lib/Target/MSP430/MCTargetDesc/
MSP430ELFObjectWriter.cpp 32 const MCFixup &Fixup, bool IsPCRel) const override {

Completed in 150 milliseconds

1 2