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

References

tools/lld/ELF/Arch/Mips.cpp
  531     std::tie(type, val) = calculateMipsRelChain(loc, type, val);
  531     std::tie(type, val) = calculateMipsRelChain(loc, type, val);
  534   val = fixupCrossModeJump<ELFT>(loc, type, val);
  534   val = fixupCrossModeJump<ELFT>(loc, type, val);
  542     val -= 0x8000;
  550     write32(loc, val);
  555     write64(loc, val);
  558     writeValue(loc, val, 26, 2);
  565       writeValue(loc, val + 0x8000, 16, 16);
  567       checkInt(loc, val, 16, type);
  568       writeValue(loc, val, 16, 0);
  573       writeShuffleValue<e>(loc, val + 0x8000, 16, 16);
  575       checkInt(loc, val, 16, type);
  576       writeShuffleValue<e>(loc, val, 16, 0);
  586     checkInt(loc, val, 16, type);
  595     writeValue(loc, val, 16, 0);
  600     checkInt(loc, val, 16, type);
  601     writeShuffleValue<e>(loc, val, 16, 0);
  609     writeShuffleValue<e>(loc, val, 16, 0);
  612     checkInt(loc, val, 7, type);
  613     writeShuffleValue<e>(loc, val, 7, 2);
  621     writeValue(loc, val + 0x8000, 16, 16);
  628     writeShuffleValue<e>(loc, val + 0x8000, 16, 16);
  631     writeValue(loc, val + 0x80008000, 16, 32);
  634     writeValue(loc, val + 0x800080008000, 16, 48);
  637     val -= 4;
  640     if (isInt<18>(val)) {
  643         write32(loc, 0x04110000 | ((val >> 2) & 0xffff));
  646         write32(loc, 0x10000000 | ((val >> 2) & 0xffff));
  655     checkAlignment(loc, val, 4, type);
  656     checkInt(loc, val, 18, type);
  657     writeValue(loc, val, 16, 2);
  660     checkAlignment(loc, val, 4, type);
  661     checkInt(loc, val, 21, type);
  662     writeValue(loc, val, 19, 2);
  665     checkAlignment(loc, val, 4, type);
  666     checkInt(loc, val, 23, type);
  667     writeValue(loc, val, 21, 2);
  670     checkAlignment(loc, val, 4, type);
  671     checkInt(loc, val, 28, type);
  672     writeValue(loc, val, 26, 2);
  675     writeValue(loc, val, 32, 0);
  679     checkInt(loc, val, 27, type);
  680     writeShuffleValue<e>(loc, val, 26, 1);
  683     checkInt(loc, val, 8, type);
  684     writeMicroRelocation16<e>(loc, val, 7, 1);
  687     checkInt(loc, val, 11, type);
  688     writeMicroRelocation16<e>(loc, val, 10, 1);
  691     checkInt(loc, val, 17, type);
  692     writeShuffleValue<e>(loc, val, 16, 1);
  695     checkInt(loc, val, 21, type);
  696     writeShuffleValue<e>(loc, val, 18, 3);
  699     checkInt(loc, val, 21, type);
  700     writeShuffleValue<e>(loc, val, 19, 2);
  703     checkInt(loc, val, 22, type);
  704     writeShuffleValue<e>(loc, val, 21, 1);
  707     checkInt(loc, val, 25, type);
  708     writeShuffleValue<e>(loc, val, 23, 2);