Home | History | Annotate | Download | only in MCJIT

Lines Matching refs:MemoryBuffer

36   std::unique_ptr<MemoryBuffer> getObject(const Module *M) override {
37 const MemoryBuffer* BufferFound = getObjectInternal(M);
43 return MemoryBuffer::getMemBufferCopy(BufferFound->getBuffer());
54 const MemoryBuffer* getObjectInternal(const Module* M) {
57 StringMap<const MemoryBuffer *>::iterator it = ObjMap.find(ModuleID);
64 MemoryBuffer *copyBuffer(MemoryBufferRef Buf) {
66 std::unique_ptr<MemoryBuffer> NewBuffer =
67 MemoryBuffer::getMemBufferCopy(Buf.getBuffer());
68 MemoryBuffer *Ret = NewBuffer.get();
73 StringMap<const MemoryBuffer *> ObjMap;
75 SmallVector<std::unique_ptr<MemoryBuffer>, 2> AllocatedBuffers;
134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer);
212 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SecondModulePointer);