Home | History | Annotate | Download | only in JIT

Lines Matching refs:TheJIT

112     JIT *TheJIT;
119 TheJIT = jit;
125 assert(locked.holds(TheJIT->lock));
130 assert(lck.holds(TheJIT->lock));
136 assert(locked.holds(TheJIT->lock));
150 assert(locked.holds(TheJIT->lock));
194 JIT *TheJIT;
198 : state(&jit), nextGOTIndex(0), JE(je), TheJIT(&jit) {
360 JIT *TheJIT;
365 EmittedFunctions(this), TheJIT(&jit) {
412 TheJIT->addPointerToBasicBlock(MBB->getBasicBlock(),
502 MutexGuard locked(TheJIT->lock);
511 MutexGuard locked(TheJIT->lock);
519 void *Actual = TheJIT->isCompilingLazily()
525 Actual = TheJIT->getPointerToFunction(F);
532 TargetJITInfo::StubLayout SL = TheJIT->getJITInfo().getStubLayout();
536 Stub = TheJIT->getJITInfo().emitFunctionStub(F, Actual, JE);
543 TheJIT->updateGlobalMapping(F, Stub);
549 if (TheJIT->isCompilingLazily()) {
563 TheJIT->addPendingFunction(F);
572 MutexGuard locked(TheJIT->lock);
579 IndirectSym = TheJIT->getJITInfo().emitGlobalValueIndirectSym(GV, GVAddress,
595 TargetJITInfo::StubLayout SL = TheJIT->getJITInfo().getStubLayout();
597 Stub = TheJIT->getJITInfo().emitFunctionStub(0, FnAddr, JE);
630 MutexGuard locked(JR->TheJIT->lock);
641 void *Result = JR->TheJIT->getPointerToGlobalIfAvailable(F);
647 if (!JR->TheJIT->isCompilingLazily()) {
658 Result = JR->TheJIT->getPointerToFunction(F);
662 MutexGuard locked(JR->TheJIT->lock);
689 return TheJIT->getOrEmitGlobalVariable(GV);
692 return TheJIT->getPointerToGlobal(GA->resolveAliasedGlobal(false));
710 void *ResultPtr = TheJIT->getPointerToGlobalIfAvailable(F);
716 return TheJIT->getPointerToFunction(F);
792 TheJIT->updateGlobalMapping(F.getFunction(), CurBufferPtr);
816 (uint8_t *)TheJIT->getPointerToGlobalIfAvailable(F.getFunction());
831 ResultPtr = TheJIT->getPointerToNamedFunction(MR.getExternalSymbol(),
875 TheJIT->getJITInfo().relocate(BufferBegin, &Relocations[0],
909 TheJIT->NotifyFunctionEmitted(*F.getFunction(), FnStart, FnEnd-FnStart,
973 TheJIT->clearPointerToBasicBlock(MBB->getBasicBlock());
985 TheJIT->NotifyFreeingMachineCode(Emitted->second.Code);
1010 if (TheJIT->getJITInfo().hasCustomConstantPool())
1016 unsigned Size = GetConstantPoolSizeInBytes(MCP, TheJIT->getDataLayout());
1040 TheJIT->InitializeMemory(CPE.Val.ConstVal, (void*)CAddr);
1045 Offset += TheJIT->getDataLayout()->getTypeAllocSize(Ty);
1050 if (TheJIT->getJITInfo().hasCustomJumpTables())
1062 unsigned EntrySize = MJTI->getEntrySize(*TheJIT->getDataLayout());
1069 MJTI->getEntryAlignment(*TheJIT->getDataLayout()));
1073 if (TheJIT->getJITInfo().hasCustomJumpTables())
1086 assert(MJTI->getEntrySize(*TheJIT->getDataLayout()) == sizeof(void*) &&
1106 assert(MJTI->getEntrySize(*TheJIT->getDataLayout()) == 4&&"Cross JIT'ing?");
1119 *SlotPtr++ = TheJIT->getJITInfo().getPICJumpTableEntry(MBBAddr, Base);
1182 unsigned EntrySize = JumpTable->getEntrySize(*TheJIT->getDataLayout());