Lines Matching refs:Loc
45 static unsigned getAbsoluteReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getAbsoluteReloc() argument
66 Ctx.reportError(Loc, "Unsupported absolute address"); in getAbsoluteReloc()
71 static unsigned getPCRelReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getPCRelReloc() argument
92 Ctx.reportError(Loc, "Unsupported PC-relative address"); in getPCRelReloc()
97 static unsigned getTLSLEReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLEReloc() argument
102 Ctx.reportError(Loc, "Unsupported thread-local address (local-exec)"); in getTLSLEReloc()
107 static unsigned getTLSLDOReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLDOReloc() argument
112 Ctx.reportError(Loc, "Unsupported thread-local address (local-dynamic)"); in getTLSLDOReloc()
117 static unsigned getTLSLDMReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSLDMReloc() argument
123 Ctx.reportError(Loc, "Unsupported thread-local address (local-dynamic)"); in getTLSLDMReloc()
128 static unsigned getTLSGDReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getTLSGDReloc() argument
134 Ctx.reportError(Loc, "Unsupported thread-local address (general-dynamic)"); in getTLSGDReloc()
139 static unsigned getPLTReloc(MCContext &Ctx, SMLoc Loc, unsigned Kind) { in getPLTReloc() argument
146 Ctx.reportError(Loc, "Unsupported PC-relative PLT address"); in getPLTReloc()
154 SMLoc Loc = Fixup.getLoc(); in getRelocType() local
162 return getPCRelReloc(Ctx, Loc, Kind); in getRelocType()
163 return getAbsoluteReloc(Ctx, Loc, Kind); in getRelocType()
167 return getTLSLEReloc(Ctx, Loc, Kind); in getRelocType()
172 Ctx.reportError(Loc, "Only PC-relative INDNTPOFF accesses are supported for now"); in getRelocType()
177 return getTLSLDOReloc(Ctx, Loc, Kind); in getRelocType()
181 return getTLSLDMReloc(Ctx, Loc, Kind); in getRelocType()
185 return getTLSGDReloc(Ctx, Loc, Kind); in getRelocType()
190 Ctx.reportError(Loc, "Only PC-relative GOT accesses are supported for now"); in getRelocType()
195 return getPLTReloc(Ctx, Loc, Kind); in getRelocType()