/external/llvm/unittests/ExecutionEngine/JIT/ |
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->CheckInvariants(Error)) << Error [all...] |
JITTest.cpp | 213 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager(); 216 MemMgr->setPoisonMemory(true); 221 .setJITMemoryManager(MemMgr)
|
/external/llvm/unittests/ExecutionEngine/MCJIT/ |
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->finalizeMemory(&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->allocateCodeSection(0x100000, 0, 3) [all...] |
/external/llvm/lib/ExecutionEngine/MCJIT/ |
MCJIT.h | 28 MCJIT(Module *M, TargetMachine *tm, RTDyldMemoryManager *MemMgr, 33 RTDyldMemoryManager *MemMgr; 108 RTDyldMemoryManager *MemMgr,
|
MCJIT.cpp | 42 RTDyldMemoryManager *MemMgr, 50 return new MCJIT(M, TM, MemMgr ? MemMgr : new SectionMemoryManager(), 56 : ExecutionEngine(m), TM(tm), Ctx(0), MemMgr(MM), Dyld(MM), 65 delete MemMgr; 178 MemMgr->registerEHFrames(EHData); 181 MemMgr->finalizeMemory(); 331 if (!isSymbolSearchingDisabled() && MemMgr) { 332 void *ptr = MemMgr->getPointerToNamedFunction(Name, false);
|
/external/llvm/tools/llvm-rtdyld/ |
llvm-rtdyld.cpp | 127 TrivialMemoryManager MemMgr; 128 RuntimeDyld Dyld(&MemMgr); 183 TrivialMemoryManager MemMgr; 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/tools/llvm-jitlistener/ |
llvm-jitlistener.cpp | 127 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager(); 128 if (!MemMgr) { 135 MemMgr->setPoisonMemory(true); 152 .setJITMemoryManager(MemMgr)
|
/external/llvm/lib/ExecutionEngine/JIT/ |
JITEmitter.cpp | 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); [all...] |
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
SValBuilder.h | 43 MemRegionManager MemMgr; 66 MemMgr(context, alloc), 140 MemRegionManager &getRegionManager() { return MemMgr; } 141 const MemRegionManager &getRegionManager() const { return MemMgr; } 300 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym));
|
/external/clang/lib/StaticAnalyzer/Core/ |
SValBuilder.cpp | 104 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 135 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 151 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 165 return loc::MemRegionVal(MemMgr.getSymbolicHeapRegion(sym)); 178 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 194 return loc::MemRegionVal(MemMgr.getSymbolicRegion(sym)); 200 return loc::MemRegionVal(MemMgr.getFunctionTextRegion(func)); 207 MemMgr.getBlockTextRegion(block, locTy, locContext->getAnalysisDeclContext()); 208 const BlockDataRegion *BD = MemMgr.getBlockDataRegion(BC, locContext);
|
MemRegion.cpp | [all...] |
SimpleSValBuilder.cpp | 714 const MemSpaceRegion *UnknownMS = MemMgr.getUnknownRegion(); [all...] |
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
RuntimeDyldImpl.h | 126 RTDyldMemoryManager *MemMgr; 297 RuntimeDyldImpl(RTDyldMemoryManager *mm) : MemMgr(mm), HasError(false) {}
|
RuntimeDyld.cpp | 178 uint8_t *Addr = MemMgr->allocateDataSection(TotalSize, sizeof(void*), 274 ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID) 275 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID, IsReadOnly); 471 uint8_t *Addr = (uint8_t*) MemMgr->getPointerToNamedFunction(Name.data(),
|
/external/llvm/examples/ExceptionDemo/ |
ExceptionDemo.cpp | [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
MallocChecker.cpp | [all...] |