Lines Matching defs:MemMgr
283 JITMemoryManager *MemMgr;
366 MemMgr = JMM ? JMM : JITMemoryManager::CreateDefaultMemManager();
368 MemMgr->AllocateGOT();
374 delete MemMgr;
771 MemMgr->setMemoryWritable();
778 BufferBegin = CurBufferPtr = MemMgr->startFunctionBody(F.getFunction(),
805 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
862 MemMgr->isManagingGOT()) {
865 if (((void**)MemMgr->getGOTBase())[idx] != ResultPtr) {
867 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx]
869 ((void**)MemMgr->getGOTBase())[idx] = ResultPtr;
876 Relocations.size(), MemMgr->getGOTBase());
880 if (MemMgr->isManagingGOT()) {
882 if (((void**)MemMgr->getGOTBase())[idx] != (void*)BufferBegin) {
884 << " pointing at " << ((void**)MemMgr->getGOTBase())[idx]
886 ((void**)MemMgr->getGOTBase())[idx] = (void*)BufferBegin;
892 MemMgr->endFunctionBody(F.getFunction(), BufferBegin, CurBufferPtr);
924 MemMgr->setMemoryExecutable();
984 MemMgr->deallocateFunctionBody(Emitted->second.FunctionBody);
999 BufferBegin = CurBufferPtr = MemMgr->allocateSpace(Size, Alignment);
1006 return MemMgr->allocateGlobal(Size, Alignment);
1136 BufferBegin = CurBufferPtr = MemMgr->allocateStub(GV, StubSize, Alignment);
1160 uint8_t *IndGV = MemMgr->allocateStub(GV, Size, Alignment);