Lines Matching refs:Fixup

39                          std::string Description, const MCFixup &Fixup,  in signed_width()  argument
51 Ctx->reportError(Fixup.getLoc(), Diagnostic); in signed_width()
59 std::string Description, const MCFixup &Fixup, in unsigned_width() argument
70 Ctx->reportError(Fixup.getLoc(), Diagnostic); in unsigned_width()
78 static void adjustBranch(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in adjustBranch() argument
82 unsigned_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustBranch()
89 static void adjustRelativeBranch(unsigned Size, const MCFixup &Fixup, in adjustRelativeBranch() argument
96 signed_width(Size + 1, Value, std::string("branch target"), Fixup, Ctx); in adjustRelativeBranch()
108 static void fixup_call(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_call() argument
110 adjustBranch(Size, Fixup, Value, Ctx); in fixup_call()
124 static void fixup_7_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_7_pcrel() argument
126 adjustRelativeBranch(Size, Fixup, Value, Ctx); in fixup_7_pcrel()
138 static void fixup_13_pcrel(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup_13_pcrel() argument
140 adjustRelativeBranch(Size, Fixup, Value, Ctx); in fixup_13_pcrel()
151 static void fixup_6(const MCFixup &Fixup, uint64_t &Value, in fixup_6() argument
153 unsigned_width(6, Value, std::string("immediate"), Fixup, Ctx); in fixup_6()
163 static void fixup_6_adiw(const MCFixup &Fixup, uint64_t &Value, in fixup_6_adiw() argument
165 unsigned_width(6, Value, std::string("immediate"), Fixup, Ctx); in fixup_6_adiw()
174 static void fixup_port5(const MCFixup &Fixup, uint64_t &Value, in fixup_port5() argument
176 unsigned_width(5, Value, std::string("port number"), Fixup, Ctx); in fixup_port5()
187 static void fixup_port6(const MCFixup &Fixup, uint64_t &Value, in fixup_port6() argument
189 unsigned_width(6, Value, std::string("port number"), Fixup, Ctx); in fixup_port6()
198 static void fixup_lds_sts_16(const MCFixup &Fixup, uint64_t &Value, in fixup_lds_sts_16() argument
200 unsigned_width(7, Value, std::string("immediate"), Fixup, Ctx); in fixup_lds_sts_16()
216 static void fixup(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in fixup() argument
226 static void lo8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in lo8() argument
229 ldi::fixup(Size, Fixup, Value, Ctx); in lo8()
232 static void hi8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in hi8() argument
235 ldi::fixup(Size, Fixup, Value, Ctx); in hi8()
238 static void hh8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in hh8() argument
241 ldi::fixup(Size, Fixup, Value, Ctx); in hh8()
244 static void ms8(unsigned Size, const MCFixup &Fixup, uint64_t &Value, in ms8() argument
247 ldi::fixup(Size, Fixup, Value, Ctx); in ms8()
256 void AVRAsmBackend::adjustFixupValue(const MCFixup &Fixup, in adjustFixupValue() argument
260 uint64_t Size = AVRAsmBackend::getFixupKindInfo(Fixup.getKind()).TargetSize; in adjustFixupValue()
262 unsigned Kind = Fixup.getKind(); in adjustFixupValue()
267 adjust::fixup_7_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue()
270 adjust::fixup_13_pcrel(Size, Fixup, Value, Ctx); in adjustFixupValue()
273 adjust::fixup_call(Size, Fixup, Value, Ctx); in adjustFixupValue()
276 adjust::ldi::fixup(Size, Fixup, Value, Ctx); in adjustFixupValue()
279 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
284 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
287 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
292 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
299 adjust::ldi::hh8(Size, Fixup, Value, Ctx); in adjustFixupValue()
302 adjust::ldi::ms8(Size, Fixup, Value, Ctx); in adjustFixupValue()
311 adjust::ldi::lo8(Size, Fixup, Value, Ctx); in adjustFixupValue()
319 adjust::ldi::hi8(Size, Fixup, Value, Ctx); in adjustFixupValue()
327 adjust::ldi::hh8(Size, Fixup, Value, Ctx); in adjustFixupValue()
331 adjust::ldi::ms8(Size, Fixup, Value, Ctx); in adjustFixupValue()
334 adjust::unsigned_width(16, Value, std::string("port number"), Fixup, Ctx); in adjustFixupValue()
340 adjust::unsigned_width(16, Value, std::string("port number"), Fixup, Ctx); in adjustFixupValue()
346 adjust::fixup_6(Fixup, Value, Ctx); in adjustFixupValue()
349 adjust::fixup_6_adiw(Fixup, Value, Ctx); in adjustFixupValue()
353 adjust::fixup_port5(Fixup, Value, Ctx); in adjustFixupValue()
357 adjust::fixup_port6(Fixup, Value, Ctx); in adjustFixupValue()
361 adjust::fixup_lds_sts_16(Fixup, Value, Ctx); in adjustFixupValue()
382 void AVRAsmBackend::applyFixup(const MCAssembler &Asm, const MCFixup &Fixup, in applyFixup() argument
387 if (Fixup.getKind() >= FirstLiteralRelocationKind) in applyFixup()
389 adjustFixupValue(Fixup, Target, Value, &Asm.getContext()); in applyFixup()
393 MCFixupKindInfo Info = getFixupKindInfo(Fixup.getKind()); in applyFixup()
402 unsigned Offset = Fixup.getOffset(); in applyFixup()
513 const MCFixup &Fixup, in shouldForceRelocation() argument
516 switch ((unsigned)Fixup.getKind()) { in shouldForceRelocation()
518 return Fixup.getKind() >= FirstLiteralRelocationKind; in shouldForceRelocation()