Searched refs:RelocPos (Results 1 – 4 of 4) sorted by relevance
272 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); in relocate() local280 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()283 *((intptr_t*)RelocPos) |= 1 << ARMII::U_BitShift; in relocate()286 *((intptr_t*)RelocPos) &= ~(1 << ARMII::U_BitShift); in relocate()293 *((intptr_t*)RelocPos) |= ResultPtr; in relocate()296 *((intptr_t*)RelocPos) |= 15 << ARMII::RegRnShift; in relocate()300 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()303 *((intptr_t*)RelocPos) |= 1 << ARMII::U_BitShift; in relocate()306 *((intptr_t*)RelocPos) &= ~(1 << ARMII::U_BitShift); in relocate()308 *((intptr_t*)RelocPos) |= 1 << 22; in relocate()[all …]
244 void *RelocPos = (char*) Function + MR->getMachineCodeOffset(); in relocate() local249 ResultPtr = (((ResultPtr - (intptr_t) RelocPos) - 4) >> 2) & 0xffff; in relocate()250 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()255 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()263 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()270 int Addend = *((unsigned*) RelocPos) & 0xffff; in relocate()272 *((unsigned*) RelocPos) &= 0xffff0000; in relocate()273 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
415 unsigned *RelocPos = (unsigned*)Function + MR->getMachineCodeOffset()/4; in relocate() local421 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate()424 *RelocPos |= (ResultPtr & ((1 << 24)-1)) << 2; in relocate()429 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate()432 *RelocPos |= (ResultPtr & ((1 << 14)-1)) << 2; in relocate()449 unsigned LowBits = (*RelocPos + ResultPtr) & 65535; in relocate()450 unsigned HighBits = *RelocPos & ~65535; in relocate()451 *RelocPos = LowBits | HighBits; // Slam into low 16-bits in relocate()458 unsigned LowBits = (*RelocPos + ResultPtr) & 0xFFFC; in relocate()459 unsigned HighBits = *RelocPos & 0xFFFF0003; in relocate()[all …]
550 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); in relocate() local556 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal(); in relocate()557 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate()564 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate()571 addUnaligned<unsigned>(RelocPos, ResultPtr); in relocate()574 addUnaligned<intptr_t>(RelocPos, ResultPtr); in relocate()