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()
144 assert(!IsPCRel); in getRelocType64()
147 assert(!IsPCRel); in getRelocType64()
161 assert(!IsPCRel); in getRelocType64()
175 assert(!IsPCRel); in getRelocType64()
248 X86_32RelType Type, bool IsPCRel, in getRelocType32() argument
261 return IsPCRel ? ELF::R_386_PC32 : ELF::R_386_32; in getRelocType32()
263 return IsPCRel ? ELF::R_386_PC16 : ELF::R_386_16; in getRelocType32()
265 return IsPCRel ? ELF::R_386_PC8 : ELF::R_386_8; in getRelocType32()
270 if (IsPCRel) in getRelocType32()
282 assert(!IsPCRel); in getRelocType32()
290 assert(!IsPCRel); in getRelocType32()
294 assert(!IsPCRel); in getRelocType32()
298 assert(!IsPCRel); in getRelocType32()
302 assert(!IsPCRel); in getRelocType32()
309 assert(!IsPCRel); in getRelocType32()
313 assert(!IsPCRel); in getRelocType32()
317 assert(!IsPCRel); in getRelocType32()
321 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()
339 return getRelocType32(Ctx, Modifier, getType32(Type), IsPCRel, Kind); in getRelocType()