Home
last modified time | relevance | path

Searched refs:ObjBuffer (Results 1 – 12 of 12) sorted by relevance

/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/Orc/
DCompileUtils.h71 auto ObjBuffer = in operator() local
74 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in operator()
77 notifyObjectCompiled(M, *ObjBuffer); in operator()
78 return std::move(ObjBuffer); in operator()
95 void notifyObjectCompiled(const Module &M, const MemoryBuffer &ObjBuffer) { in notifyObjectCompiled() argument
97 ObjCache->notifyObjectCompiled(&M, ObjBuffer.getMemBufferRef()); in notifyObjectCompiled()
DRTDyldObjectLinkingLayer.h326 Error addObject(VModuleKey K, ObjectPtr ObjBuffer) { in addObject() argument
329 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in addObject()
338 *this, K, OwnedObject(std::move(*Obj), std::move(ObjBuffer)), in addObject()
DRemoteObjectLayer.h330 addObject(ObjectPtr ObjBuffer, in addObject() argument
333 this->Remote.template callB<AddObject>(ObjBuffer->getBuffer())) { in addObject()
460 Expected<ObjHandleT> addObject(std::string ObjBuffer) { in addObject() argument
461 auto Buffer = llvm::make_unique<StringMemoryBuffer>(std::move(ObjBuffer)); in addObject()
/external/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITObjectCacheTest.cpp134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F() local
135 EXPECT_EQ(nullptr, ObjBuffer); in TEST_F()
143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
144 EXPECT_TRUE(nullptr != ObjBuffer); in TEST_F()
212 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F() local
213 EXPECT_EQ(nullptr, ObjBuffer); in TEST_F()
222 ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F()
223 EXPECT_TRUE(nullptr != ObjBuffer); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/MCJIT/
DMCJITObjectCacheTest.cpp134 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F() local
135 EXPECT_EQ(nullptr, ObjBuffer); in TEST_F()
143 ObjBuffer = Cache->getObjectInternal(SavedModulePointer); in TEST_F()
144 EXPECT_TRUE(nullptr != ObjBuffer); in TEST_F()
212 const MemoryBuffer *ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F() local
213 EXPECT_EQ(nullptr, ObjBuffer); in TEST_F()
222 ObjBuffer = Cache->getObjectInternal(SecondModulePointer); in TEST_F()
223 EXPECT_TRUE(nullptr != ObjBuffer); in TEST_F()
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIRCompileLayer.h123 std::unique_ptr<MemoryBuffer> ObjBuffer = ObjCache->getObject(&M); in tryToLoadFromObjectCache() local
124 if (!ObjBuffer) in tryToLoadFromObjectCache()
128 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in tryToLoadFromObjectCache()
136 std::move(ObjBuffer)); in tryToLoadFromObjectCache()
DCompileUtils.h43 std::unique_ptr<MemoryBuffer> ObjBuffer( in operator()
46 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in operator()
49 return OwningObj(std::move(*Obj), std::move(ObjBuffer)); in operator()
/external/llvm/lib/Object/
DMachOUniversal.cpp81 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsObjectFile() local
82 return ObjectFile::createMachOObjectFile(ObjBuffer); in getAsObjectFile()
98 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsArchive() local
99 return Archive::create(ObjBuffer); in getAsArchive()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DMachOUniversal.cpp80 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsObjectFile() local
81 return ObjectFile::createMachOObjectFile(ObjBuffer, cputype, Index); in getAsObjectFile()
97 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsArchive() local
98 return Archive::create(ObjBuffer); in getAsArchive()
/external/swiftshader/third_party/llvm-7.0/llvm/unittests/ExecutionEngine/Orc/
DOrcCAPITest.cpp158 auto ObjBuffer = createTestObject(); in TEST_F() local
165 LLVMOrcAddObjectFile(JIT, &H, wrap(ObjBuffer.release()), myResolver, nullptr); in TEST_F()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h306 std::unique_ptr<MemoryBuffer> ObjBuffer; in addObjectFile() local
307 std::tie(Obj, ObjBuffer) = O.takeBinary(); in addObjectFile()
308 cantFail(ObjectLayer.addObject(ES.allocateVModule(), std::move(ObjBuffer))); in addObjectFile()
DOrcCBindingsStack.h364 std::unique_ptr<MemoryBuffer> ObjBuffer, in addObject() argument
368 ObjBuffer->getMemBufferRef())) { in addObject()
374 if (auto Err = ObjectLayer.addObject(RetKey, std::move(ObjBuffer))) in addObject()