Lines Matching refs:JITEmitter
1 //===-- JITEmitter.cpp - Write machine code to executable memory ----------===//
73 class JITEmitter;
188 JITEmitter &JE;
194 explicit JITResolver(JIT &jit, JITEmitter &je)
277 /// JITEmitter - The JIT implementation of the MachineCodeEmitter, which is
279 class JITEmitter : public JITCodeEmitter {
353 typedef JITEmitter *ExtraData;
354 static void onDelete(JITEmitter *, const Function*);
355 static void onRAUW(JITEmitter *, const Function*, const Function*);
366 JITEmitter(JIT &jit, JITMemoryManager *JMM, TargetMachine &TM)
382 ~JITEmitter() {
698 // JITEmitter code.
700 void *JITEmitter::getPointerToGlobal(GlobalValue *V, void *Reference,
739 void *JITEmitter::getPointerToGVIndirectSym(GlobalValue *V, void *Reference) {
747 void JITEmitter::processDebugLoc(DebugLoc DL, bool BeforePrintingInsn) {
779 void JITEmitter::startFunction(MachineFunction &F) {
815 bool JITEmitter::finishFunction(MachineFunction &F) {
1010 void JITEmitter::retryWithMoreMemory(MachineFunction &F) {
1028 void JITEmitter::deallocateMemForFunction(const Function *F) {
1049 void* JITEmitter::allocateSpace(uintptr_t Size, unsigned Alignment) {
1061 void* JITEmitter::allocateGlobal(uintptr_t Size, unsigned Alignment) {
1066 void JITEmitter::emitConstantPool(MachineConstantPool *MCP) {
1106 void JITEmitter::initJumpTableInfo(MachineJumpTableInfo *MJTI) {
1129 void JITEmitter::emitJumpTableInfo(MachineJumpTableInfo *MJTI) {
1184 void JITEmitter::startGVStub(const GlobalValue* GV,
1194 void JITEmitter::startGVStub(void *Buffer, unsigned StubSize) {
1203 void JITEmitter::finishGVStub() {
1211 void *JITEmitter::allocIndirectGV(const GlobalValue *GV,
1223 uintptr_t JITEmitter::getConstantPoolEntryAddress(unsigned ConstantNum) const {
1232 uintptr_t JITEmitter::getJumpTableEntryAddress(unsigned Index) const {
1247 void JITEmitter::EmittedFunctionConfig::onDelete(
1248 JITEmitter *Emitter, const Function *F) {
1251 void JITEmitter::EmittedFunctionConfig::onRAUW(
1252 JITEmitter *, const Function*, const Function*) {
1264 return new JITEmitter(jit, JMM, tm);
1277 assert(isa<JITEmitter>(JCE) && "Unexpected MCE?");
1278 JITEmitter *JE = cast<JITEmitter>(getCodeEmitter());
1284 assert(isa<JITEmitter>(JCE) && "Unexpected MCE?");
1285 JITEmitter *JE = cast<JITEmitter>(getCodeEmitter());
1306 assert(isa<JITEmitter>(JCE) && "Unexpected MCE?");
1307 cast<JITEmitter>(JCE)->deallocateMemForFunction(F);