/external/llvm/unittests/ExecutionEngine/JIT/ |
D | JITMemoryManagerTest.cpp | 34 OwningPtr<JITMemoryManager> MemMgr( in TEST() local 42 uint8_t *FunctionBody1 = MemMgr->startFunctionBody(F1.get(), size); in TEST() 44 MemMgr->endFunctionBody(F1.get(), FunctionBody1, FunctionBody1 + 1024); in TEST() 45 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error; in TEST() 49 uint8_t *FunctionBody2 = MemMgr->startFunctionBody(F2.get(), size); in TEST() 51 MemMgr->endFunctionBody(F2.get(), FunctionBody2, FunctionBody2 + 1024); in TEST() 52 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error; in TEST() 56 uint8_t *FunctionBody3 = MemMgr->startFunctionBody(F3.get(), size); in TEST() 58 MemMgr->endFunctionBody(F3.get(), FunctionBody3, FunctionBody3 + 1024); in TEST() 59 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error; in TEST() [all …]
|
D | JITTest.cpp | 236 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager(); in TEST() local 239 MemMgr->setPoisonMemory(true); in TEST() 244 .setJITMemoryManager(MemMgr) in TEST()
|
/external/llvm/lib/ExecutionEngine/JIT/ |
D | JITEmitter.cpp | 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() [all …]
|
/external/llvm/tools/llvm-rtdyld/ |
D | llvm-rtdyld.cpp | 114 TrivialMemoryManager *MemMgr = new TrivialMemoryManager; in executeInput() local 115 RuntimeDyld Dyld(MemMgr); in executeInput() 136 MemMgr->invalidateInstructionCache(); in executeInput() 146 for (unsigned i = 0, e = MemMgr->FunctionMemory.size(); i != e; ++i) { in executeInput() 147 sys::MemoryBlock &Data = MemMgr->FunctionMemory[i]; in executeInput()
|
/external/clang/lib/StaticAnalyzer/Core/ |
D | SValBuilder.cpp | 104 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); in getRegionValueSymbolVal() 128 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); in conjureSymbolVal() 144 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); in conjureSymbolVal() 158 return loc::MemRegionVal(MemMgr.getSymbolicHeapRegion(sym)); in getConjuredHeapSymbolVal() 171 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); in getMetadataSymbolVal() 187 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); in getDerivedRegionValueSymbolVal() 193 return loc::MemRegionVal(MemMgr.getFunctionTextRegion(func)); in getFunctionPointer() 200 MemMgr.getBlockTextRegion(block, locTy, locContext->getAnalysisDeclContext()); in getBlockPointer() 201 const BlockDataRegion *BD = MemMgr.getBlockDataRegion(BC, locContext); in getBlockPointer()
|
D | MemRegion.cpp | 1217 MemRegionManager &MemMgr = *getMemRegionManager(); in LazyInitializeReferencedVars() local 1218 llvm::BumpPtrAllocator &A = MemMgr.getAllocator(); in LazyInitializeReferencedVars() 1233 VR = MemMgr.getVarRegion(VD, this); in LazyInitializeReferencedVars() 1234 OriginalVR = MemMgr.getVarRegion(VD, LC); in LazyInitializeReferencedVars() 1238 VR = MemMgr.getVarRegion(VD, LC); in LazyInitializeReferencedVars() 1242 VR = MemMgr.getVarRegion(VD, MemMgr.getUnknownRegion()); in LazyInitializeReferencedVars() 1243 OriginalVR = MemMgr.getVarRegion(VD, LC); in LazyInitializeReferencedVars()
|
D | SimpleSValBuilder.cpp | 681 const MemSpaceRegion *UnknownMS = MemMgr.getUnknownRegion(); in evalBinOpLL() 927 return loc::MemRegionVal(MemMgr.getElementRegion(elementType, *indexV, in evalBinOpLN()
|
/external/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.cpp | 52 : ExecutionEngine(m), TM(tm), Ctx(0), MemMgr(MM), Dyld(MM), in MCJIT() 59 delete MemMgr; in ~MCJIT() 258 if (!isSymbolSearchingDisabled() && MemMgr) { in getPointerToNamedFunction() 259 void *ptr = MemMgr->getPointerToNamedFunction(Name, false); in getPointerToNamedFunction()
|
D | MCJIT.h | 26 MCJIT(Module *M, TargetMachine *tm, RTDyldMemoryManager *MemMgr, 31 RTDyldMemoryManager *MemMgr; variable
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
D | SValBuilder.h | 44 MemRegionManager MemMgr; variable 67 MemMgr(context, alloc), in SValBuilder() 140 MemRegionManager &getRegionManager() { return MemMgr; } in getRegionManager() 141 const MemRegionManager &getRegionManager() const { return MemMgr; } in getRegionManager() 294 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); in makeLoc()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldImpl.h | 121 RTDyldMemoryManager *MemMgr; 262 RuntimeDyldImpl(RTDyldMemoryManager *mm) : MemMgr(mm), HasError(false) {} in RuntimeDyldImpl()
|
D | RuntimeDyld.cpp | 192 uint8_t *Addr = MemMgr->allocateDataSection(TotalSize, sizeof(void*), in emitCommonSymbols() 255 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID) in emitSection() 256 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID); in emitSection() 416 uint8_t *Addr = (uint8_t*) MemMgr->getPointerToNamedFunction(Name.data(), in resolveExternalSymbols()
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
D | MallocChecker.cpp | 1176 MemRegionManager &MemMgr = C.getSValBuilder().getRegionManager(); in checkPostStmt() local 1181 VR = MemMgr.getVarRegion(VR->getDecl(), LC); in checkPostStmt()
|
D | RetainCountChecker.cpp | 2612 MemRegionManager &MemMgr = C.getSValBuilder().getRegionManager(); in checkPostStmt() local 2617 VR = MemMgr.getVarRegion(VR->getDecl(), LC); in checkPostStmt()
|