• Home
  • Raw
  • Download

Lines Matching refs:MemMgr

284     JITMemoryManager *MemMgr;  member in __anon132375280111::JITEmitter
373 MemMgr = JMM ? JMM : JITMemoryManager::CreateDefaultMemManager(); in JITEmitter()
375 MemMgr->AllocateGOT(); in JITEmitter()
384 delete MemMgr; in ~JITEmitter()
787 MemMgr->setMemoryWritable(); in startFunction()
794 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(), in startFunction()
821 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr); in finishFunction()
878 if (MR.isGOTRelative() && MemMgr->isManagingGOT()) { in finishFunction()
881 if (((void**)MemMgr->getGOTBase())[idx] != ResultPtr) { in finishFunction()
883 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx] in finishFunction()
885 ((void**)MemMgr->getGOTBase())[idx] = ResultPtr; in finishFunction()
892 Relocations.size(), MemMgr->getGOTBase()); in finishFunction()
896 if (MemMgr->isManagingGOT()) { in finishFunction()
898 if (((void**)MemMgr->getGOTBase())[idx] != (void*)BufferBegin) { in finishFunction()
900 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx] in finishFunction()
902 ((void**)MemMgr->getGOTBase())[idx] = (void*)BufferBegin; in finishFunction()
908 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr); in finishFunction()
940 MemMgr->setMemoryExecutable(); in finishFunction()
978 BufferBegin = CurBufferPtr = MemMgr->startExceptionTable(F.getFunction(), in finishFunction()
985 MemMgr->endExceptionTable(F.getFunction(), BufferBegin, CurBufferPtr, in finishFunction()
1024 MemMgr->deallocateFunctionBody(Emitted->second.FunctionBody); in deallocateMemForFunction()
1025 MemMgr->deallocateExceptionTable(Emitted->second.ExceptionTable); in deallocateMemForFunction()
1044 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment); in allocateSpace()
1051 return MemMgr->allocateGlobal(Size, Alignment); in allocateGlobal()
1181 BufferBegin = CurBufferPtr = MemMgr->allocateStub(GV, StubSize, Alignment); in startGVStub()
1205 uint8_t *IndGV = MemMgr->allocateStub(GV, Size, Alignment); in allocIndirectGV()