Home | History | Annotate | Download | only in PowerPC

Lines Matching defs:MCE

32     JITCodeEmitter &MCE;
47 PPCCodeEmitter(TargetMachine &tm, JITCodeEmitter &mce)
48 : MachineFunctionPass(ID), TM(tm), MCE(mce) {}
93 /// to the specified MCE object.
105 MCE.setModuleInfo(MMI);
108 MCE.startFunction(MF);
111 } while (MCE.finishFunction(MF));
117 MCE.StartMachineBasicBlock(&MBB);
121 MCE.processDebugLoc(MI.getDebugLoc(), true);
124 MCE.emitWordBE(getBinaryCodeForInstr(MI));
129 MCE.emitLabel(MI.getOperand(0).getMCSymbol());
137 MovePCtoLROffset = (void*)MCE.getCurrentPCValue();
138 MCE.emitWordBE(0x48000005); // bl 1
141 MCE.processDebugLoc(MI.getDebugLoc(), false);
168 return MachineRelocation::getGV(MCE.getCurrentPCOffset(), RelocID,
172 return MachineRelocation::getExtSym(MCE.getCurrentPCOffset(),
175 return MachineRelocation::getConstPool(MCE.getCurrentPCOffset(),
179 return MachineRelocation::getBB(MCE.getCurrentPCOffset(),
183 return MachineRelocation::getJumpTable(MCE.getCurrentPCOffset(),
192 MCE.addRelocation(GetRelocation(MO, PPC::reloc_pcrel_bx));
199 MCE.addRelocation(GetRelocation(MO, PPC::reloc_pcrel_bcx));
228 MCE.addRelocation(GetRelocation(MO, RelocID));
244 MCE.addRelocation(GetRelocation(MO, PPC::reloc_absolute_low));
259 MCE.addRelocation(GetRelocation(MO, PPC::reloc_absolute_low_ix));