Searched refs:writeFromHalf16 (Results 1 – 2 of 2) sorted by relevance
/external/llvm-project/lld/ELF/Arch/ |
D | PPC.cpp | 68 static void writeFromHalf16(uint8_t *loc, uint32_t insn) { in writeFromHalf16() function 390 writeFromHalf16(loc, 0x80000000 | (insn & 0x03ff0000)); in relaxTlsGdToIe() 408 writeFromHalf16(loc, 0x3c620000 | ha(val)); in relaxTlsGdToLe() 424 writeFromHalf16(loc, 0x3c620000); in relaxTlsLdToLe() 449 writeFromHalf16(loc, 0x3c020000 | rt | ha(val)); in relaxTlsIeToLe()
|
D | PPC64.cpp | 555 static void writeFromHalf16(uint8_t *loc, uint32_t insn) { in writeFromHalf16() function 653 writeFromHalf16(loc, (insn & 0x03ffffff) | 0x38000000); in relaxGot() 724 writeFromHalf16(loc, NOP); in relaxTlsGdToLe() 728 writeFromHalf16(loc, 0x3c6d0000); // addis r3, r13 in relaxTlsGdToLe() 787 writeFromHalf16(loc, NOP); in relaxTlsLdToLe() 790 writeFromHalf16(loc, 0x3c6d0000); // addis r3, r13, 0 in relaxTlsLdToLe() 1221 writeFromHalf16(loc, NOP); in relocate() 1258 writeFromHalf16(loc, (insn & 0xffe00000) | 0x00020000 | lo(val)); in relocate() 1279 writeFromHalf16(loc, insn | 0x00020000 | lo(val)); in relocate() 1444 writeFromHalf16(loc, 0xe8600000 | ra); in relaxTlsGdToIe()
|