Lines Matching refs:IsPCRel
34 const MCFixup &Fixup, bool IsPCRel) const override;
51 bool &IsPCRel) { in getType64() argument
59 IsPCRel = true; in getType64()
65 if (Modifier == MCSymbolRefExpr::VK_None && !IsPCRel) in getType64()
70 IsPCRel = true; in getType64()
105 X86_64RelType Type, bool IsPCRel, in getRelocType64() argument
118 return IsPCRel ? ELF::R_X86_64_PC64 : ELF::R_X86_64_64; in getRelocType64()
120 return IsPCRel ? ELF::R_X86_64_PC32 : ELF::R_X86_64_32; in getRelocType64()
124 return IsPCRel ? ELF::R_X86_64_PC16 : ELF::R_X86_64_16; in getRelocType64()
126 return IsPCRel ? ELF::R_X86_64_PC8 : ELF::R_X86_64_8; in getRelocType64()
132 return IsPCRel ? ELF::R_X86_64_GOTPC64 : ELF::R_X86_64_GOT64; in getRelocType64()
134 return IsPCRel ? ELF::R_X86_64_GOTPC32 : ELF::R_X86_64_GOT32; in getRelocType64()
143 assert(!IsPCRel); in getRelocType64()
148 assert(!IsPCRel); in getRelocType64()
162 assert(!IsPCRel); in getRelocType64()
176 assert(!IsPCRel); in getRelocType64()
235 X86_32RelType Type, bool IsPCRel, in getRelocType32() argument
248 return IsPCRel ? ELF::R_386_PC32 : ELF::R_386_32; in getRelocType32()
250 return IsPCRel ? ELF::R_386_PC16 : ELF::R_386_16; in getRelocType32()
252 return IsPCRel ? ELF::R_386_PC8 : ELF::R_386_8; in getRelocType32()
258 if (IsPCRel) in getRelocType32()
269 assert(!IsPCRel); in getRelocType32()
280 assert(!IsPCRel); in getRelocType32()
285 assert(!IsPCRel); in getRelocType32()
290 assert(!IsPCRel); in getRelocType32()
295 assert(!IsPCRel); in getRelocType32()
304 assert(!IsPCRel); in getRelocType32()
309 assert(!IsPCRel); in getRelocType32()
314 assert(!IsPCRel); in getRelocType32()
319 assert(!IsPCRel); in getRelocType32()
328 bool IsPCRel) const { in getRelocType()
333 X86_64RelType Type = getType64(Kind, Modifier, IsPCRel); in getRelocType()
335 return getRelocType64(Ctx, Fixup.getLoc(), Modifier, Type, IsPCRel, Kind); in getRelocType()
358 return getRelocType32(Ctx, Fixup.getLoc(), Modifier, RelType, IsPCRel, Kind); in getRelocType()