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) {}
91 /// to the specified MCE object.
103 MCE.setModuleInfo(MMI);
106 MCE.startFunction(MF);
109 } while (MCE.finishFunction(MF));
115 MCE.StartMachineBasicBlock(&MBB);
119 MCE.processDebugLoc(MI.getDebugLoc(), true);
122 MCE.emitWordBE(getBinaryCodeForInstr(MI));
126 MCE.emitLabel(MI.getOperand(0).getMCSymbol());
134 MovePCtoLROffset = (void*)MCE.getCurrentPCValue();
135 MCE.emitWordBE(0x48000005); // bl 1
138 MCE.processDebugLoc(MI.getDebugLoc(), false);
165 return MachineRelocation::getGV(MCE.getCurrentPCOffset(), RelocID,
169 return MachineRelocation::getExtSym(MCE.getCurrentPCOffset(),
172 return MachineRelocation::getConstPool(MCE.getCurrentPCOffset(),
176 return MachineRelocation::getBB(MCE.getCurrentPCOffset(),
180 return MachineRelocation::getJumpTable(MCE.getCurrentPCOffset(),
189 MCE.addRelocation(GetRelocation(MO, PPC::reloc_pcrel_bx));
196 MCE.addRelocation(GetRelocation(MO, PPC::reloc_pcrel_bcx));
225 MCE.addRelocation(GetRelocation(MO, RelocID));
241 MCE.addRelocation(GetRelocation(MO, PPC::reloc_absolute_low));
256 MCE.addRelocation(GetRelocation(MO, PPC::reloc_absolute_low_ix));