Lines Matching defs:Fixup

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