Lines Matching refs:MR
238 intptr_t ARMJITInfo::resolveRelocDestAddr(MachineRelocation *MR) const { in resolveRelocDestAddr()
239 ARM::RelocationType RT = (ARM::RelocationType)MR->getRelocationType(); in resolveRelocDestAddr()
242 return (intptr_t)(MR->getResultPointer()); in resolveRelocDestAddr()
245 return (intptr_t)(MR->getResultPointer()) - MR->getConstantVal(); in resolveRelocDestAddr()
248 return getJumpTableBaseAddr(MR->getJumpTableIndex()); in resolveRelocDestAddr()
252 return getConstantPoolEntryAddr(MR->getConstantPoolIndex()); in resolveRelocDestAddr()
254 ARMConstantPoolValue *ACPV = (ARMConstantPoolValue*)MR->getConstantVal(); in resolveRelocDestAddr()
257 intptr_t Addr = (intptr_t)(MR->getResultPointer()); in resolveRelocDestAddr()
267 void ARMJITInfo::relocate(void *Function, MachineRelocation *MR, in relocate() argument
269 for (unsigned i = 0; i != NumRelocs; ++i, ++MR) { in relocate()
270 void *RelocPos = (char*)Function + MR->getMachineCodeOffset(); in relocate()
271 intptr_t ResultPtr = resolveRelocDestAddr(MR); in relocate()
272 switch ((ARM::RelocationType)MR->getRelocationType()) { in relocate()
289 if (MR->getRelocationType() == ARM::reloc_arm_vfp_cp_entry) in relocate()