Home
last modified time | relevance | path

Searched refs:RelocPos (Results 1 – 4 of 4) sorted by relevance

/external/swiftshader/third_party/LLVM/lib/Target/ARM/
DARMJITInfo.cpp270 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); in relocate() local
278 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
281 *((intptr_t*)RelocPos) |= 1 << ARMII::U_BitShift; in relocate()
284 *((intptr_t*)RelocPos) &= ~(1 << ARMII::U_BitShift); in relocate()
291 *((intptr_t*)RelocPos) |= ResultPtr; in relocate()
293 *((intptr_t*)RelocPos) |= in relocate()
301 *((intptr_t*)RelocPos) |= (intptr_t)ResultPtr; in relocate()
310 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
313 *((intptr_t*)RelocPos) |= ResultPtr; in relocate()
318 ResultPtr = ResultPtr - (intptr_t)RelocPos - 8; in relocate()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/PowerPC/
DPPCJITInfo.cpp413 unsigned *RelocPos = (unsigned*)Function + MR->getMachineCodeOffset()/4; in relocate() local
419 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate()
422 *RelocPos |= (ResultPtr & ((1 << 24)-1)) << 2; in relocate()
427 ResultPtr = (ResultPtr-(intptr_t)RelocPos) >> 2; in relocate()
430 *RelocPos |= (ResultPtr & ((1 << 14)-1)) << 2; in relocate()
447 unsigned LowBits = (*RelocPos + ResultPtr) & 65535; in relocate()
448 unsigned HighBits = *RelocPos & ~65535; in relocate()
449 *RelocPos = LowBits | HighBits; // Slam into low 16-bits in relocate()
456 unsigned LowBits = (*RelocPos + ResultPtr) & 0xFFFC; in relocate()
457 unsigned HighBits = *RelocPos & 0xFFFF0003; in relocate()
[all …]
/external/swiftshader/third_party/LLVM/lib/Target/Mips/
DMipsJITInfo.cpp199 void *RelocPos = (char*) Function + MR->getMachineCodeOffset(); in relocate() local
204 ResultPtr = (((ResultPtr - (intptr_t) RelocPos) - 4) >> 2) & 0xffff; in relocate()
205 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
210 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
218 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
223 *((unsigned*) RelocPos) |= (unsigned) ResultPtr; in relocate()
/external/swiftshader/third_party/LLVM/lib/Target/X86/
DX86JITInfo.cpp530 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); in relocate() local
536 ResultPtr = ResultPtr -(intptr_t)RelocPos - 4 - MR->getConstantVal(); in relocate()
537 *((unsigned*)RelocPos) += (unsigned)ResultPtr; in relocate()
544 *((unsigned*)RelocPos) += (unsigned)ResultPtr; in relocate()
551 *((unsigned*)RelocPos) += (unsigned)ResultPtr; in relocate()
554 *((intptr_t*)RelocPos) += ResultPtr; in relocate()