Lines Matching refs:Loc

33                      const uint8_t *Loc) const override;
42 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
82 const uint8_t *Loc) const { in getRelExpr()
197 template <endianness E> static uint32_t readShuffle(const uint8_t *Loc) { in readShuffle() argument
204 uint32_t V = read32<E>(Loc); in readShuffle()
211 static void writeValue(uint8_t *Loc, uint64_t V, uint8_t BitsSize, in writeValue() argument
213 uint32_t Instr = read32<E>(Loc); in writeValue()
216 write32<E>(Loc, Data); in writeValue()
220 static void writeShuffleValue(uint8_t *Loc, uint64_t V, uint8_t BitsSize, in writeShuffleValue() argument
223 uint16_t *Words = (uint16_t *)Loc; in writeShuffleValue()
227 writeValue<E>(Loc, V, BitsSize, Shift); in writeShuffleValue()
234 static void writeMicroRelocation16(uint8_t *Loc, uint64_t V, uint8_t BitsSize, in writeMicroRelocation16() argument
236 uint16_t Instr = read16<E>(Loc); in writeMicroRelocation16()
239 write16<E>(Loc, Data); in writeMicroRelocation16()
436 calculateMipsRelChain(uint8_t *Loc, RelType Type, uint64_t Val) { in calculateMipsRelChain() argument
457 error(getErrorLocation(Loc) + "unsupported relocations combination " + in calculateMipsRelChain()
463 void MIPS<ELFT>::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() argument
467 std::tie(Type, Val) = calculateMipsRelChain(Loc, Type, Val); in relocateOne()
488 write32<E>(Loc, Val); in relocateOne()
493 write64<E>(Loc, Val); in relocateOne()
496 writeValue<E>(Loc, Val, 26, 2); in relocateOne()
503 writeValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
505 checkInt(Loc, Val, 16, Type); in relocateOne()
506 writeValue<E>(Loc, Val, 16, 0); in relocateOne()
511 writeShuffleValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
513 checkInt(Loc, Val, 16, Type); in relocateOne()
514 writeShuffleValue<E>(Loc, Val, 16, 0); in relocateOne()
524 checkInt(Loc, Val, 16, Type); in relocateOne()
533 writeValue<E>(Loc, Val, 16, 0); in relocateOne()
538 checkInt(Loc, Val, 16, Type); in relocateOne()
539 writeShuffleValue<E>(Loc, Val, 16, 0); in relocateOne()
547 writeShuffleValue<E>(Loc, Val, 16, 0); in relocateOne()
550 checkInt(Loc, Val, 7, Type); in relocateOne()
551 writeShuffleValue<E>(Loc, Val, 7, 2); in relocateOne()
559 writeValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
566 writeShuffleValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
569 writeValue<E>(Loc, Val + 0x80008000, 16, 32); in relocateOne()
572 writeValue<E>(Loc, Val + 0x800080008000, 16, 48); in relocateOne()
579 checkAlignment(Loc, Val, 4, Type); in relocateOne()
580 checkInt(Loc, Val, 18, Type); in relocateOne()
581 writeValue<E>(Loc, Val, 16, 2); in relocateOne()
584 checkAlignment(Loc, Val, 4, Type); in relocateOne()
585 checkInt(Loc, Val, 21, Type); in relocateOne()
586 writeValue<E>(Loc, Val, 19, 2); in relocateOne()
589 checkAlignment(Loc, Val, 4, Type); in relocateOne()
590 checkInt(Loc, Val, 23, Type); in relocateOne()
591 writeValue<E>(Loc, Val, 21, 2); in relocateOne()
594 checkAlignment(Loc, Val, 4, Type); in relocateOne()
595 checkInt(Loc, Val, 28, Type); in relocateOne()
596 writeValue<E>(Loc, Val, 26, 2); in relocateOne()
599 writeValue<E>(Loc, Val, 32, 0); in relocateOne()
603 checkInt(Loc, Val, 27, Type); in relocateOne()
604 writeShuffleValue<E>(Loc, Val, 26, 1); in relocateOne()
607 checkInt(Loc, Val, 8, Type); in relocateOne()
608 writeMicroRelocation16<E>(Loc, Val, 7, 1); in relocateOne()
611 checkInt(Loc, Val, 11, Type); in relocateOne()
612 writeMicroRelocation16<E>(Loc, Val, 10, 1); in relocateOne()
615 checkInt(Loc, Val, 17, Type); in relocateOne()
616 writeShuffleValue<E>(Loc, Val, 16, 1); in relocateOne()
619 checkInt(Loc, Val, 21, Type); in relocateOne()
620 writeShuffleValue<E>(Loc, Val, 18, 3); in relocateOne()
623 checkInt(Loc, Val, 21, Type); in relocateOne()
624 writeShuffleValue<E>(Loc, Val, 19, 2); in relocateOne()
627 checkInt(Loc, Val, 22, Type); in relocateOne()
628 writeShuffleValue<E>(Loc, Val, 21, 1); in relocateOne()
631 checkInt(Loc, Val, 25, Type); in relocateOne()
632 writeShuffleValue<E>(Loc, Val, 23, 2); in relocateOne()
635 error(getErrorLocation(Loc) + "unrecognized reloc " + Twine(Type)); in relocateOne()