HomeSort by relevance Sort by last modified time
    Searched refs:MemMgr (Results 1 - 18 of 18) sorted by null

  /external/llvm/unittests/ExecutionEngine/JIT/
JITMemoryManagerTest.cpp 33 std::unique_ptr<JITMemoryManager> MemMgr(
41 uint8_t *FunctionBody1 = MemMgr->startFunctionBody(F1.get(), size);
43 MemMgr->endFunctionBody(F1.get(), FunctionBody1, FunctionBody1 + 1024);
44 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error;
48 uint8_t *FunctionBody2 = MemMgr->startFunctionBody(F2.get(), size);
50 MemMgr->endFunctionBody(F2.get(), FunctionBody2, FunctionBody2 + 1024);
51 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error;
55 uint8_t *FunctionBody3 = MemMgr->startFunctionBody(F3.get(), size);
57 MemMgr->endFunctionBody(F3.get(), FunctionBody3, FunctionBody3 + 1024);
58 EXPECT_TRUE(MemMgr->CheckInvariants(Error)) << Error
    [all...]
JITTest.cpp 218 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager();
221 MemMgr->setPoisonMemory(true);
226 .setJITMemoryManager(MemMgr)
  /external/llvm/unittests/ExecutionEngine/MCJIT/
MCJITMemoryManagerTest.cpp 19 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
21 uint8_t *code1 = MemMgr->allocateCodeSection(256, 0, 1, "");
22 uint8_t *data1 = MemMgr->allocateDataSection(256, 0, 2, "", true);
23 uint8_t *code2 = MemMgr->allocateCodeSection(256, 0, 3, "");
24 uint8_t *data2 = MemMgr->allocateDataSection(256, 0, 4, "", false);
48 EXPECT_FALSE(MemMgr->finalizeMemory(&Error));
52 std::unique_ptr<SectionMemoryManager> MemMgr(new SectionMemoryManager());
54 uint8_t *code1 = MemMgr->allocateCodeSection(0x100000, 0, 1, "");
55 uint8_t *data1 = MemMgr->allocateDataSection(0x100000, 0, 2, "", true);
56 uint8_t *code2 = MemMgr->allocateCodeSection(0x100000, 0, 3, "")
    [all...]
  /external/llvm/tools/llvm-jitlistener/
llvm-jitlistener.cpp 126 JITMemoryManager *MemMgr = JITMemoryManager::CreateDefaultMemManager();
127 if (!MemMgr) {
134 MemMgr->setPoisonMemory(true);
151 .setJITMemoryManager(MemMgr)
  /external/llvm/lib/ExecutionEngine/JIT/
JITEmitter.cpp 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);
    [all...]
  /external/llvm/tools/llvm-rtdyld/
llvm-rtdyld.cpp 174 TrivialMemoryManager MemMgr;
175 RuntimeDyld Dyld(&MemMgr);
233 TrivialMemoryManager MemMgr;
234 RuntimeDyld Dyld(&MemMgr);
257 MemMgr.invalidateInstructionCache();
267 for (unsigned i = 0, e = MemMgr.FunctionMemory.size(); i != e; ++i) {
268 sys::MemoryBlock &Data = MemMgr.FunctionMemory[i];
348 TrivialMemoryManager MemMgr;
349 RuntimeDyld Dyld(&MemMgr);
  /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; }
301 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));
208 MemMgr.getBlockTextRegion(block, locTy, locContext->getAnalysisDeclContext());
209 const BlockDataRegion *BD = MemMgr.getBlockDataRegion(BC, locContext,
MemRegion.cpp     [all...]
SimpleSValBuilder.cpp 734 const MemSpaceRegion *UnknownMS = MemMgr.getUnknownRegion();
    [all...]
  /external/llvm/lib/ExecutionEngine/MCJIT/
MCJIT.cpp 47 RTDyldMemoryManager *MemMgr,
55 return new MCJIT(M, TM, MemMgr ? MemMgr : new SectionMemoryManager(),
61 : ExecutionEngine(m), TM(tm), Ctx(nullptr), MemMgr(this, MM), Dyld(&MemMgr),
228 MemMgr.finalizeMemory();
535 void *ptr = MemMgr.getPointerToNamedFunction(Name, false);
571 MemMgr.notifyObjectLoaded(this, &Obj);
MCJIT.h 104 MCJIT(Module *M, TargetMachine *tm, RTDyldMemoryManager *MemMgr,
213 LinkingMemoryManager MemMgr;
330 RTDyldMemoryManager *MemMgr,
  /external/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldImpl.h 168 return MemMgr->getSymbolAddress(Symbol);
173 RTDyldMemoryManager *MemMgr;
352 : MemMgr(mm), ProcessAllSections(false), HasError(false) {
RuntimeDyld.cpp 117 if (MemMgr->needsToReserveAllocationSpace()) {
120 MemMgr->reserveAllocationSpace(CodeSize, DataSizeRO, DataSizeRW);
363 uint8_t *Addr = MemMgr->allocateDataSection(TotalSize, sizeof(void *),
437 Addr = IsCode ? MemMgr->allocateCodeSection(Allocate, Alignment, SectionID,
439 : MemMgr->allocateDataSection(Allocate, Alignment, SectionID,
643 Addr = MemMgr->getSymbolAddress(Name.data());
RuntimeDyldELF.cpp 156 if (!MemMgr)
163 MemMgr->registerEHFrames(EHFrameAddr, EHFrameLoadAddr, EHFrameSize);
170 if (!MemMgr)
177 MemMgr->deregisterEHFrames(EHFrameAddr, EHFrameLoadAddr, EHFrameSize);
    [all...]
RuntimeDyldMachO.cpp 185 if (!MemMgr)
209 MemMgr->registerEHFrames(EHFrame->Address, EHFrame->LoadAddress,
  /external/llvm/examples/ExceptionDemo/
ExceptionDemo.cpp     [all...]
  /external/clang/lib/StaticAnalyzer/Checkers/
MallocChecker.cpp     [all...]

Completed in 3803 milliseconds