Lines Matching defs:MemMgr
284 JITMemoryManager *MemMgr;
373 MemMgr = JMM ? JMM : JITMemoryManager::CreateDefaultMemManager();
375 MemMgr->AllocateGOT();
384 delete MemMgr;
782 MemMgr->setMemoryWritable();
789 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(),
816 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
873 if (MR.isGOTRelative() && MemMgr->isManagingGOT()) {
876 if (((void**)MemMgr->getGOTBase())[idx] != ResultPtr) {
878 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx]
880 ((void**)MemMgr->getGOTBase())[idx] = ResultPtr;
887 Relocations.size(), MemMgr->getGOTBase());
891 if (MemMgr->isManagingGOT()) {
893 if (((void**)MemMgr->getGOTBase())[idx] != (void*)BufferBegin) {
895 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx]
897 ((void**)MemMgr->getGOTBase())[idx] = (void*)BufferBegin;
903 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
935 MemMgr->setMemoryExecutable();
975 BufferBegin = CurBufferPtr = MemMgr->startExceptionTable(F.getFunction(),
988 MemMgr->deallocateExceptionTable(BufferBegin);
990 MemMgr->endExceptionTable(F.getFunction(), BufferBegin, CurBufferPtr,
1029 MemMgr->deallocateFunctionBody(Emitted->second.FunctionBody);
1030 MemMgr->deallocateExceptionTable(Emitted->second.ExceptionTable);
1049 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment);
1056 return MemMgr->allocateGlobal(Size, Alignment);
1186 BufferBegin = CurBufferPtr = MemMgr->allocateStub(GV, StubSize, Alignment);
1210 uint8_t *IndGV = MemMgr->allocateStub(GV, Size, Alignment);