Lines Matching refs:Fixup
39 const MCFixup &Fixup, MCContext *Ctx = nullptr) { in signed_width() argument
50 Ctx->reportFatalError(Fixup.getLoc(), Diagnostic); in signed_width()
58 const MCFixup &Fixup, MCContext *Ctx = nullptr) { in unsigned_width() argument
68 Ctx->reportFatalError(Fixup.getLoc(), Diagnostic); in unsigned_width()
76 void adjustBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in adjustBranch() argument
80 unsigned_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustBranch()
87 void adjustRelativeBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in adjustRelativeBranch() argument
91 signed_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustRelativeBranch()
105 void fixup_call(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_call() argument
107 adjustBranch(Size, Fixup, Value, Ctx); in fixup_call()
121 void fixup_7_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_7_pcrel() argument
123 adjustRelativeBranch(Size, Fixup, Value, Ctx); in fixup_7_pcrel()
135 void fixup_13_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_13_pcrel() argument
137 adjustRelativeBranch(Size, Fixup, Value, Ctx); in fixup_13_pcrel()
148 void fixup_6_adiw(const MCFixup &Fixup, uint64_t &Value, in fixup_6_adiw() argument
150 unsigned_width(6, Value, std::string("immediate"), Fixup, Ctx); in fixup_6_adiw()
159 void fixup_port5(const MCFixup &Fixup, uint64_t &Value, in fixup_port5() argument
161 unsigned_width(5, Value, std::string("port number"), Fixup, Ctx); in fixup_port5()
172 void fixup_port6(const MCFixup &Fixup, uint64_t &Value, in fixup_port6() argument
174 unsigned_width(6, Value, std::string("port number"), Fixup, Ctx); in fixup_port6()
193 void fixup(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup() argument
203 void lo8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in lo8() argument
206 ldi::fixup(Size, Fixup, Value, Ctx); in lo8()
209 void hi8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in hi8() argument
212 ldi::fixup(Size, Fixup, Value, Ctx); in hi8()
215 void hh8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in hh8() argument
218 ldi::fixup(Size, Fixup, Value, Ctx); in hh8()
221 void ms8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in ms8() argument
224 ldi::fixup(Size, Fixup, Value, Ctx); in ms8()
233 void AVRAsmBackend::adjustFixupValue(const MCFixup &Fixup, in adjustFixupValue() argument
238 uint64_t Size = AVRAsmBackend::getFixupKindInfo(Fixup.getKind()).TargetSize; in adjustFixupValue()
240 unsigned Kind = Fixup.getKind(); in adjustFixupValue()
256 adjust::fixup_7_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue()
259 adjust::fixup_13_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue()
262 adjust::fixup_call(Size, Fixup, Value, Ctx); in adjustFixupValue()
265 adjust::ldi::fixup(Size, Fixup, Value, Ctx); in adjustFixupValue()
268 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
273 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
276 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
281 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
287 adjust::ldi::hh8(Size, Fixup, Value, Ctx); in adjustFixupValue()
290 adjust::ldi::ms8(Size, Fixup, Value, Ctx); in adjustFixupValue()
298 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
305 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
312 adjust::ldi::hh8(Size, Fixup, Value, Ctx); in adjustFixupValue()
316 adjust::ldi::ms8(Size, Fixup, Value, Ctx); in adjustFixupValue()
319 adjust::unsigned_width(16, Value, std::string("port number"), Fixup, Ctx); in adjustFixupValue()
325 adjust::unsigned_width(16, Value, std::string("port number"), Fixup, Ctx); in adjustFixupValue()
331 adjust::fixup_6_adiw(Fixup, Value, Ctx); in adjustFixupValue()
335 adjust::fixup_port5(Fixup, Value, Ctx); in adjustFixupValue()
339 adjust::fixup_port6(Fixup, Value, Ctx); in adjustFixupValue()
360 void AVRAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, in applyFixup() argument
365 adjustFixupValue(Fixup, Target, Value, &Asm.getContext()); in applyFixup()
369 MCFixupKindInfo Info = getFixupKindInfo(Fixup.getKind()); in applyFixup()
378 unsigned Offset = Fixup.getOffset(); in applyFixup()
468 const MCFixup &Fixup, in shouldForceRelocation() argument
470 switch ((unsigned) Fixup.getKind()) { in shouldForceRelocation()