Lines Matching refs:Fixup
29 const MCFixup &Fixup, in shouldForceRelocation() argument
33 switch ((unsigned)Fixup.getKind()) { in shouldForceRelocation()
40 const MCFixup *T = cast<RISCVMCExpr>(Fixup.getValue())->getPCRelHiFixup(); in shouldForceRelocation()
42 Asm.getContext().reportError(Fixup.getLoc(), in shouldForceRelocation()
53 Fixup.getValue()->findAssociatedFragment(); in shouldForceRelocation()
63 bool RISCVAsmBackend::fixupNeedsRelaxationAdvanced(const MCFixup &Fixup, in fixupNeedsRelaxationAdvanced() argument
77 switch ((unsigned)Fixup.getKind()) { in fixupNeedsRelaxationAdvanced()
170 static uint64_t adjustFixupValue(const MCFixup &Fixup, uint64_t Value, in adjustFixupValue() argument
172 unsigned Kind = Fixup.getKind(); in adjustFixupValue()
193 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
195 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned"); in adjustFixupValue()
210 Ctx.reportError(Fixup.getLoc(), "fixup value out of range"); in adjustFixupValue()
212 Ctx.reportError(Fixup.getLoc(), "fixup value must be 2-byte aligned"); in adjustFixupValue()
263 void RISCVAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, in applyFixup() argument
269 MCFixupKindInfo Info = getFixupKindInfo(Fixup.getKind()); in applyFixup()
273 Value = adjustFixupValue(Fixup, Value, Ctx); in applyFixup()
278 unsigned Offset = Fixup.getOffset(); in applyFixup()