Lines Matching refs:MemMgr
277 JITMemoryManager *MemMgr;
361 MemMgr = JMM ? JMM : JITMemoryManager::CreateDefaultMemManager();
363 MemMgr->AllocateGOT();
369 delete MemMgr;
776 MemMgr->setMemoryWritable();
783 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(),
810 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
867 MemMgr->isManagingGOT()) {
870 if (((void**)MemMgr->getGOTBase())[idx] != ResultPtr) {
872 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx]
874 ((void**)MemMgr->getGOTBase())[idx] = ResultPtr;
881 Relocations.size(), MemMgr->getGOTBase());
885 if (MemMgr->isManagingGOT()) {
887 if (((void**)MemMgr->getGOTBase())[idx] != (void*)BufferBegin) {
889 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx]
891 ((void**)MemMgr->getGOTBase())[idx] = (void*)BufferBegin;
897 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
929 MemMgr->setMemoryExecutable();
989 MemMgr->deallocateFunctionBody(Emitted->second.FunctionBody);
1004 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment);
1011 return MemMgr->allocateGlobal(Size, Alignment);
1141 BufferBegin = CurBufferPtr = MemMgr->allocateStub(GV, StubSize, Alignment);
1165 uint8_t *IndGV = MemMgr->allocateStub(GV, Size, Alignment);