Lines Matching refs:RelocPos
272 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); in relocate() local
280 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()
314 *((intptr_t*)RelocPos) |= (ARM_AM::getSOImmValRot((unsigned)SoImmVal) >> 1) in relocate()
316 *((intptr_t*)RelocPos) |= ARM_AM::getSOImmValImm((unsigned)SoImmVal); in relocate()
319 *((intptr_t*)RelocPos) |= 15 << ARMII::RegRnShift; in relocate()
326 *((intptr_t*)RelocPos) |= (intptr_t)ResultPtr; in relocate()
335 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
338 *((intptr_t*)RelocPos) |= ResultPtr; in relocate()
343 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
344 *((intptr_t*)RelocPos) |= ResultPtr; in relocate()
349 *((intptr_t*)RelocPos) |= ResultPtr & 0xFFF; in relocate()
350 *((intptr_t*)RelocPos) |= ((ResultPtr >> 12) & 0xF) << 16; in relocate()
355 *((intptr_t*)RelocPos) |= ResultPtr & 0xFFF; in relocate()
356 *((intptr_t*)RelocPos) |= ((ResultPtr >> 12) & 0xF) << 16; in relocate()