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

References

tools/lld/ELF/Arch/PPC64.cpp
  771   std::tie(type, val) = toAddr16Rel(type, val);
  771   std::tie(type, val) = toAddr16Rel(type, val);
  775     checkAlignment(loc, val, 4, type);
  778     write16(loc + 2, (aalk & 3) | (val & 0xfffc));
  782     checkIntUInt(loc, val, 16, originalType);
  783     write16(loc, val);
  786     checkIntUInt(loc, val, 32, originalType);
  787     write32(loc, val);
  791     checkInt(loc, val, 16, originalType);
  795     checkAlignment(loc, lo(val), mask + 1, originalType);
  796     write16(loc, (read16(loc) & mask) | lo(val));
  801     if (config->tocOptimize && shouldTocOptimize && ha(val) == 0)
  804       write16(loc, ha(val));
  809     write16(loc, hi(val));
  813     write16(loc, higher(val));
  817     write16(loc, highera(val));
  821     write16(loc, highest(val));
  825     write16(loc, highesta(val));
  833     if (config->tocOptimize && shouldTocOptimize && ha(val) == 0) {
  839       writeFromHalf16(loc, (insn & 0xffe00000) | 0x00020000 | lo(val));
  841       write16(loc, lo(val));
  850     checkAlignment(loc, lo(val), mask + 1, originalType);
  851     if (config->tocOptimize && shouldTocOptimize && ha(val) == 0) {
  860       writeFromHalf16(loc, insn | 0x00020000 | lo(val));
  862       write16(loc, (read16(loc) & mask) | lo(val));
  866     checkInt(loc, val, 16, originalType);
  867     write16(loc, val);
  870     checkInt(loc, val, 32, type);
  871     write32(loc, val);
  876     write64(loc, val);
  880     checkInt(loc, val, 16, type);
  881     checkAlignment(loc, val, 4, type);
  882     write32(loc, (read32(loc) & ~mask) | (val & mask));
  887     checkInt(loc, val, 26, type);
  888     checkAlignment(loc, val, 4, type);
  889     write32(loc, (read32(loc) & ~mask) | (val & mask));
  893     write64(loc, val - dynamicThreadPointerOffset);