Home | History | Annotate | Download | only in MC

Lines Matching defs:Fixup

449                                 const MCFixup &Fixup, const MCFragment *DF,
455 // fixup and records a relocation if one is needed.
456 const MCExpr *Expr = Fixup.getValue();
458 getContext().FatalError(Fixup.getLoc(), "expected relocatable expression");
461 Fixup.getKind()).Flags & MCFixupKindInfo::FKF_IsPCRel;
500 bool ShouldAlignPC = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
506 uint32_t Offset = Layout.getFragmentOffset(DF) + Fixup.getOffset();
514 // Let the backend adjust the fixup value if necessary, including whether
516 Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
841 const MCFixup &Fixup) {
842 // Evaluate the fixup.
845 bool IsPCRel = Backend.getFixupKindInfo(Fixup.getKind()).Flags &
847 if (!evaluateFixup(Layout, Fixup, &F, Target, FixedValue)) {
848 // The fixup was unresolved, we need a relocation. Inform the object
850 // fixup value if need be.
851 getWriter().RecordRelocation(*this, Layout, &F, Fixup, Target, IsPCRel,
917 MCFixup &Fixup = *it3;
920 std::tie(FixedValue, IsPCRel) = handleFixup(Layout, *F, Fixup);
921 getBackend().applyFixup(Fixup, F->getContents().data(),
934 bool MCAssembler::fixupNeedsRelaxation(const MCFixup &Fixup,
937 // If we cannot resolve the fixup value, it requires relaxation.
940 if (!evaluateFixup(Layout, Fixup, DF, Target, Value))
943 return getBackend().fixupNeedsRelaxation(Fixup, Value, DF, Layout);