Lines Matching refs:MR

92       MachineRelocation &MR = *MRI;  in finishFunction()  local
93 uintptr_t MBBOffset = getMachineBasicBlockAddress(MR.getBasicBlock()); in finishFunction()
94 MR.setResultPointer((void*)MBBOffset); in finishFunction()
95 MR.setConstantVal(ES->SectionIdx); in finishFunction()
96 JTSection.addRelocation(MR); in finishFunction()
104 MachineRelocation &MR = Relocations[i]; in finishFunction() local
106 if (MR.isGlobalValue()) { in finishFunction()
107 EW.AddPendingGlobalSymbol(MR.getGlobalValue()); in finishFunction()
108 } else if (MR.isExternalSymbol()) { in finishFunction()
109 EW.AddPendingExternalSymbol(MR.getExternalSymbol()); in finishFunction()
110 } else if (MR.isBasicBlock()) { in finishFunction()
111 Addr = getMachineBasicBlockAddress(MR.getBasicBlock()); in finishFunction()
112 MR.setConstantVal(ES->SectionIdx); in finishFunction()
113 MR.setResultPointer((void*)Addr); in finishFunction()
114 } else if (MR.isConstantPoolIndex()) { in finishFunction()
115 Addr = getConstantPoolEntryAddress(MR.getConstantPoolIndex()); in finishFunction()
116 MR.setConstantVal(CPSections[MR.getConstantPoolIndex()]); in finishFunction()
117 MR.setResultPointer((void*)Addr); in finishFunction()
118 } else if (MR.isJumpTableIndex()) { in finishFunction()
120 Addr = getJumpTableEntryAddress(MR.getJumpTableIndex()); in finishFunction()
121 MR.setConstantVal(JTSection.SectionIdx); in finishFunction()
122 MR.setResultPointer((void*)Addr); in finishFunction()
126 ES->addRelocation(MR); in finishFunction()
192 MachineRelocation MR = in emitJumpTables() local
196 JTRelocations.push_back(MR); in emitJumpTables()