Lines Matching refs:MR
1211 llvm::MachineRelocation &MR = mRelocations[i]; in finishFunction() local
1214 if (!MR.letTargetResolve()) { in finishFunction()
1215 if (MR.isExternalSymbol()) { in finishFunction()
1216 ResultPtr = GetPointerToNamedSymbol(MR.getExternalSymbol(), true); in finishFunction()
1218 if (MR.mayNeedFarStub()) { in finishFunction()
1222 } else if (MR.isGlobalValue()) { in finishFunction()
1223 ResultPtr = GetPointerToGlobal(MR.getGlobalValue(), in finishFunction()
1225 + MR.getMachineCodeOffset(), in finishFunction()
1226 MR.mayNeedFarStub()); in finishFunction()
1227 } else if (MR.isIndirectSymbol()) { in finishFunction()
1230 MR.getGlobalValue(), in finishFunction()
1231 BufferBegin + MR.getMachineCodeOffset()); in finishFunction()
1232 } else if (MR.isBasicBlock()) { in finishFunction()
1234 (void*) getMachineBasicBlockAddress(MR.getBasicBlock()); in finishFunction()
1235 } else if (MR.isConstantPoolIndex()) { in finishFunction()
1237 (void*) getConstantPoolEntryAddress(MR.getConstantPoolIndex()); in finishFunction()
1239 bccAssert(MR.isJumpTableIndex() && "Unknown type of relocation"); in finishFunction()
1241 (void*) getJumpTableEntryAddress(MR.getJumpTableIndex()); in finishFunction()
1244 if (!MR.isExternalSymbol() || MR.mayNeedFarStub()) { in finishFunction()
1251 oBCCRelocEntry(MR.getRelocationType(), in finishFunction()
1252 MR.getMachineCodeOffset() + BufferOffset, in finishFunction()
1257 MR.setResultPointer(ResultPtr); in finishFunction()