reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/Arch/ARM.cpp
  397     write32le(loc, val);
  400     checkInt(loc, val, 31, type);
  401     write32le(loc, (read32le(loc) & 0x80000000) | (val & ~0x80000000));
  406     if (val & 1) {
  409       checkInt(loc, val, 26, type);
  411                          ((val & 2) << 23) |         // H
  412                          ((val >> 2) & 0x00ffffff)); // imm24
  424     checkInt(loc, val, 26, type);
  425     write32le(loc, (read32le(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff));
  428     checkInt(loc, val, 12, type);
  429     write16le(loc, (read32le(loc) & 0xf800) | ((val >> 1) & 0x07ff));
  433     checkInt(loc, val, 21, type);
  436                   ((val >> 10) & 0x0400) | // S
  437                   ((val >> 12) & 0x003f)); // imm6
  440                   ((val >> 8) & 0x0800) | // J2
  441                   ((val >> 5) & 0x2000) | // J1
  442                   ((val >> 1) & 0x07ff)); // imm11
  447     if ((val & 1) == 0) {
  450       val = alignTo(val, 4);
  450       val = alignTo(val, 4);
  453     write16le(loc + 2, (read16le(loc + 2) & ~0x1000) | (val & 1) << 12);
  457       checkInt(loc, val, 23, type);
  460                     ((val >> 12) & 0x07ff)); // imm11
  464                     ((val >> 1) & 0x07ff));    // imm11
  471     checkInt(loc, val, 25, type);
  474                   ((val >> 14) & 0x0400) | // S
  475                   ((val >> 12) & 0x03ff)); // imm10
  478                   (((~(val >> 10)) ^ (val >> 11)) & 0x2000) | // J1
  478                   (((~(val >> 10)) ^ (val >> 11)) & 0x2000) | // J1
  479                   (((~(val >> 11)) ^ (val >> 13)) & 0x0800) | // J2
  479                   (((~(val >> 11)) ^ (val >> 13)) & 0x0800) | // J2
  480                   ((val >> 1) & 0x07ff));                     // imm11
  484     write32le(loc, (read32le(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) |
  485                        (val & 0x0fff));
  490                        (((val >> 16) & 0xf000) << 4) | ((val >> 16) & 0xfff));
  490                        (((val >> 16) & 0xf000) << 4) | ((val >> 16) & 0xfff));
  497                   ((val >> 17) & 0x0400) | // i
  498                   ((val >> 28) & 0x000f)); // imm4
  501                   ((val >> 12) & 0x7000) |   // imm3
  502                   ((val >> 16) & 0x00ff));   // imm8
  509                   ((val >> 1) & 0x0400) |  // i
  510                   ((val >> 12) & 0x000f)); // imm4
  513                   ((val << 4) & 0x7000) |    // imm3
  514                   (val & 0x00ff));           // imm8