/external/llvm/unittests/ExecutionEngine/JIT/ |
H A D | JITMemoryManagerTest.cpp | 34 OwningPtr<JITMemoryManager> MemMgr( 42 uint8_t *FunctionBody1 = MemMgr->startFunctionBody(F1.get(), size); 44 MemMgr->endFunctionBody(F1.get(), FunctionBody1, FunctionBody1 + 1024); 45 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error; 49 uint8_t *FunctionBody2 = MemMgr->startFunctionBody(F2.get(), size); 51 MemMgr->endFunctionBody(F2.get(), FunctionBody2, FunctionBody2 + 1024); 52 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error; 56 uint8_t *FunctionBody3 = MemMgr->startFunctionBody(F3.get(), size); 58 MemMgr->endFunctionBody(F3.get(), FunctionBody3, FunctionBody3 + 1024); 59 EXPECT_TRUE(MemMgr [all...] |
H A D | JITTest.cpp | 246 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager(); local 249 MemMgr->setPoisonMemory(true); 254 .setJITMemoryManager(MemMgr)
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
H A D | MCJITMemoryManagerTest.cpp | 20 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
22 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1);
23 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, true);
24 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3);
25 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, false);
49 EXPECT_FALSE(MemMgr->applyPermissions(&Error));
53 OwningPtr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
55 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1);
56 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, true);
57 uint8_t *code2 = MemMgr [all...] |
/external/llvm/lib/ExecutionEngine/MCJIT/ |
H A D | MCJIT.h | 27 MCJIT(Module *M, TargetMachine *tm, RTDyldMemoryManager *MemMgr, 32 RTDyldMemoryManager *MemMgr; member in class:llvm::MCJIT
|
H A D | MCJIT.cpp | 54 : ExecutionEngine(m), TM(tm), Ctx(0), MemMgr(MM), Dyld(MM), 63 delete MemMgr; 131 MemMgr->applyPermissions(); 140 MemMgr->applyPermissions(); 290 if (!isSymbolSearchingDisabled() && MemMgr) { 291 void *ptr = MemMgr->getPointerToNamedFunction(Name, false);
|
/external/llvm/tools/llvm-rtdyld/ |
H A D | llvm-rtdyld.cpp | 127 TrivialMemoryManager *MemMgr = new TrivialMemoryManager; local 128 RuntimeDyld Dyld(MemMgr); 183 TrivialMemoryManager *MemMgr = new TrivialMemoryManager; local 184 RuntimeDyld Dyld(MemMgr); 207 MemMgr->invalidateInstructionCache(); 217 for (unsigned i = 0, e = MemMgr->FunctionMemory.size(); i != e; ++i) { 218 sys::MemoryBlock &Data = MemMgr->FunctionMemory[i];
|
/external/llvm/lib/ExecutionEngine/JIT/ |
H A D | JITEmitter.cpp | 284 JITMemoryManager *MemMgr; member in class:__anon9568::JITEmitter 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 [all...] |
/external/llvm/tools/llvm-jitlistener/ |
H A D | llvm-jitlistener.cpp | 127 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager(); local 128 if (!MemMgr) { 135 MemMgr->setPoisonMemory(true); 152 .setJITMemoryManager(MemMgr)
|
/external/clang/lib/StaticAnalyzer/Core/ |
H A D | SValBuilder.cpp | 104 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 128 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 144 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 158 return loc::MemRegionVal(MemMgr.getSymbolicHeapRegion(sym)); 171 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 187 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 193 return loc::MemRegionVal(MemMgr.getFunctionTextRegion(func)); 200 MemMgr.getBlockTextRegion(block, locTy, locContext->getAnalysisDeclContext()); 201 const BlockDataRegion *BD = MemMgr.getBlockDataRegion(BC, locContext);
|
H A D | MemRegion.cpp | 1289 MemRegionManager &MemMgr = *getMemRegionManager(); local 1294 VR = MemMgr.getVarRegion(VD, this); 1295 OriginalVR = MemMgr.getVarRegion(VD, LC); 1299 VR = MemMgr.getVarRegion(VD, LC); 1303 VR = MemMgr.getVarRegion(VD, MemMgr.getUnknownRegion()); 1304 OriginalVR = MemMgr.getVarRegion(VD, LC); 1323 MemRegionManager &MemMgr = *getMemRegionManager(); local 1324 llvm::BumpPtrAllocator &A = MemMgr.getAllocator();
|
H A D | SimpleSValBuilder.cpp | 687 const MemSpaceRegion *UnknownMS = MemMgr.getUnknownRegion(); 934 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV,
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
H A D | SValBuilder.h | 43 MemRegionManager MemMgr; member in class:clang::ento::SValBuilder 66 MemMgr(context, alloc), 139 MemRegionManager &getRegionManager() { return MemMgr; } 140 const MemRegionManager &getRegionManager() const { return MemMgr; } 293 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym));
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldImpl.h | 126 RTDyldMemoryManager *MemMgr; member in class:llvm::RuntimeDyldImpl 299 RuntimeDyldImpl(RTDyldMemoryManager *mm) : MemMgr(mm), HasError(false) {}
|
H A D | RuntimeDyld.cpp | 181 uint8_t *Addr = MemMgr->allocateDataSection(TotalSize, sizeof(void*), 257 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID) 258 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID, IsReadOnly); 442 uint8_t *Addr = (uint8_t*) MemMgr->getPointerToNamedFunction(Name.data(),
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
H A D | RetainCountChecker.cpp | 2595 MemRegionManager &MemMgr = C.getSValBuilder().getRegionManager(); local 2600 VR = MemMgr.getVarRegion(VR->getDecl(), LC);
|