Lines Matching defs:IsPCRel
34 const MCFixup &Fixup, bool IsPCRel) const override;
51 bool &IsPCRel) {
59 IsPCRel = true;
65 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel)
70 IsPCRel = true;
99 X86_64RelType Type, bool IsPCRel,
112 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64;
114 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32;
118 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16;
120 return IsPCRel ? ELF::R_X86_64_PC8 : ELF::R_X86_64_8;
126 return IsPCRel ? ELF::R_X86_64_GOTPC64 : ELF::R_X86_64_GOT64;
128 return IsPCRel ? ELF::R_X86_64_GOTPC32 : ELF::R_X86_64_GOT32;
138 assert(!IsPCRel);
141 assert(!IsPCRel);
155 assert(!IsPCRel);
169 assert(!IsPCRel);
239 X86_32RelType Type, bool IsPCRel,
252 return IsPCRel ? ELF::R_386_PC32 : ELF::R_386_32;
254 return IsPCRel ? ELF::R_386_PC16 : ELF::R_386_16;
256 return IsPCRel ? ELF::R_386_PC8 : ELF::R_386_8;
261 if (IsPCRel)
273 assert(!IsPCRel);
281 assert(!IsPCRel);
285 assert(!IsPCRel);
289 assert(!IsPCRel);
293 assert(!IsPCRel);
300 assert(!IsPCRel);
304 assert(!IsPCRel);
308 assert(!IsPCRel);
312 assert(!IsPCRel);
319 bool IsPCRel) const {
324 X86_64RelType Type = getType64(Kind, Modifier, IsPCRel);
326 return getRelocType64(Ctx, Fixup.getLoc(), Modifier, Type, IsPCRel, Kind);
330 return getRelocType32(Ctx, Modifier, getType32(Type), IsPCRel, Kind);