Lines Matching refs:Fixup
38 std::string Description, const MCFixup &Fixup, in signed_width() argument
50 Ctx->reportError(Fixup.getLoc(), Diagnostic); in signed_width()
58 std::string Description, const MCFixup &Fixup, in unsigned_width() argument
69 Ctx->reportError(Fixup.getLoc(), Diagnostic); in unsigned_width()
77 static void adjustBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in adjustBranch() argument
81 unsigned_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustBranch()
88 static void adjustRelativeBranch(unsigned Size, const MCFixup &Fixup, in adjustRelativeBranch() argument
92 signed_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustRelativeBranch()
104 static void fixup_call(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_call() argument
106 adjustBranch(Size, Fixup, Value, Ctx); in fixup_call()
120 static void fixup_7_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_7_pcrel() argument
122 adjustRelativeBranch(Size, Fixup, Value, Ctx); in fixup_7_pcrel()
134 static void fixup_13_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_13_pcrel() argument
136 adjustRelativeBranch(Size, Fixup, Value, Ctx); in fixup_13_pcrel()
147 static void fixup_6(const MCFixup &Fixup, uint64_t &Value, in fixup_6() argument
149 unsigned_width(6, Value, std::string("immediate"), Fixup, Ctx); in fixup_6()
159 static void fixup_6_adiw(const MCFixup &Fixup, uint64_t &Value, in fixup_6_adiw() argument
161 unsigned_width(6, Value, std::string("immediate"), Fixup, Ctx); in fixup_6_adiw()
170 static void fixup_port5(const MCFixup &Fixup, uint64_t &Value, in fixup_port5() argument
172 unsigned_width(5, Value, std::string("port number"), Fixup, Ctx); in fixup_port5()
183 static void fixup_port6(const MCFixup &Fixup, uint64_t &Value, in fixup_port6() argument
185 unsigned_width(6, Value, std::string("port number"), Fixup, Ctx); in fixup_port6()
202 static void fixup(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup() argument
212 static void lo8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in lo8() argument
215 ldi::fixup(Size, Fixup, Value, Ctx); in lo8()
218 static void hi8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in hi8() argument
221 ldi::fixup(Size, Fixup, Value, Ctx); in hi8()
224 static void hh8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in hh8() argument
227 ldi::fixup(Size, Fixup, Value, Ctx); in hh8()
230 static void ms8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in ms8() argument
233 ldi::fixup(Size, Fixup, Value, Ctx); in ms8()
242 void AVRAsmBackend::adjustFixupValue(const MCFixup &Fixup, in adjustFixupValue() argument
246 uint64_t Size = AVRAsmBackend::getFixupKindInfo(Fixup.getKind()).TargetSize; in adjustFixupValue()
248 unsigned Kind = Fixup.getKind(); in adjustFixupValue()
253 adjust::fixup_7_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue()
256 adjust::fixup_13_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue()
259 adjust::fixup_call(Size, Fixup, Value, Ctx); in adjustFixupValue()
262 adjust::ldi::fixup(Size, Fixup, Value, Ctx); in adjustFixupValue()
265 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
270 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
273 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
278 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
285 adjust::ldi::hh8(Size, Fixup, Value, Ctx); in adjustFixupValue()
288 adjust::ldi::ms8(Size, Fixup, Value, Ctx); in adjustFixupValue()
297 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
305 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
313 adjust::ldi::hh8(Size, Fixup, Value, Ctx); in adjustFixupValue()
317 adjust::ldi::ms8(Size, Fixup, Value, Ctx); in adjustFixupValue()
320 adjust::unsigned_width(16, Value, std::string("port number"), Fixup, Ctx); in adjustFixupValue()
326 adjust::unsigned_width(16, Value, std::string("port number"), Fixup, Ctx); in adjustFixupValue()
332 adjust::fixup_6(Fixup, Value, Ctx); in adjustFixupValue()
335 adjust::fixup_6_adiw(Fixup, Value, Ctx); in adjustFixupValue()
339 adjust::fixup_port5(Fixup, Value, Ctx); in adjustFixupValue()
343 adjust::fixup_port6(Fixup, Value, Ctx); in adjustFixupValue()
364 void AVRAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, in applyFixup() argument
369 adjustFixupValue(Fixup, Target, Value, &Asm.getContext()); in applyFixup()
373 MCFixupKindInfo Info = getFixupKindInfo(Fixup.getKind()); in applyFixup()
382 unsigned Offset = Fixup.getOffset(); in applyFixup()
473 const MCFixup &Fixup, in shouldForceRelocation() argument
475 switch ((unsigned)Fixup.getKind()) { in shouldForceRelocation()