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