Lines Matching refs:Fixup
206 const char *ARMAsmBackend::reasonForFixupRelaxation(const MCFixup &Fixup, in reasonForFixupRelaxation() argument
208 switch ((unsigned)Fixup.getKind()) { in reasonForFixupRelaxation()
259 bool ARMAsmBackend::fixupNeedsRelaxation(const MCFixup &Fixup, uint64_t Value, in fixupNeedsRelaxation() argument
262 return reasonForFixupRelaxation(Fixup, Value); in fixupNeedsRelaxation()
363 const MCFixup &Fixup, in adjustFixupValue() argument
367 unsigned Kind = Fixup.getKind(); in adjustFixupValue()
385 Ctx.reportError(Fixup.getLoc(), "bad relocation fixup type"); in adjustFixupValue()
438 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
459 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
490 dyn_cast<MCSymbolRefExpr>(Fixup.getValue())) in adjustFixupValue()
497 Ctx.reportError(Fixup.getLoc(), "Relocation out of range"); in adjustFixupValue()
521 Ctx.reportError(Fixup.getLoc(), "Relocation out of range"); in adjustFixupValue()
542 Ctx.reportError(Fixup.getLoc(), "Relocation out of range"); in adjustFixupValue()
586 Ctx.reportError(Fixup.getLoc(), "misaligned ARM call destination"); in adjustFixupValue()
592 dyn_cast<MCSymbolRefExpr>(Fixup.getValue())) in adjustFixupValue()
614 const char *FixupDiagnostic = reasonForFixupRelaxation(Fixup, Value); in adjustFixupValue()
616 Ctx.reportError(Fixup.getLoc(), FixupDiagnostic); in adjustFixupValue()
627 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
640 const char *FixupDiagnostic = reasonForFixupRelaxation(Fixup, Value); in adjustFixupValue()
642 Ctx.reportError(Fixup.getLoc(), FixupDiagnostic); in adjustFixupValue()
651 const char *FixupDiagnostic = reasonForFixupRelaxation(Fixup, Value); in adjustFixupValue()
653 Ctx.reportError(Fixup.getLoc(), FixupDiagnostic); in adjustFixupValue()
668 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
689 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
715 Ctx.reportError(Fixup.getLoc(), "invalid value for this fixup"); in adjustFixupValue()
720 Ctx.reportError(Fixup.getLoc(), "out of range pc-relative fixup value"); in adjustFixupValue()
735 Ctx.reportError(Fixup.getLoc(), "out of range immediate fixup value"); in adjustFixupValue()
742 Ctx.reportError(Fixup.getLoc(), "out of range immediate fixup value"); in adjustFixupValue()
760 const MCFixup &Fixup, in shouldForceRelocation() argument
764 const unsigned FixupKind = Fixup.getKind() ; in shouldForceRelocation()
765 if ((unsigned)Fixup.getKind() == ARM::fixup_arm_thumb_bl) { in shouldForceRelocation()
903 void ARMAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, in applyFixup() argument
908 unsigned NumBytes = getFixupKindNumBytes(Fixup.getKind()); in applyFixup()
910 Value = adjustFixupValue(Asm, Fixup, Target, Value, IsResolved, Ctx, STI); in applyFixup()
914 unsigned Offset = Fixup.getOffset(); in applyFixup()
920 FullSizeBytes = getFixupKindContainerSizeBytes(Fixup.getKind()); in applyFixup()