Home
last modified time | relevance | path

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

/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/llvm/include/llvm/ExecutionEngine/Orc/
DCompileUtils.h43 std::unique_ptr<MemoryBuffer> ObjBuffer( in operator()
46 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in operator()
50 return OwningObj(std::move(*Obj), std::move(ObjBuffer)); in operator()
DIRCompileLayer.h125 std::unique_ptr<MemoryBuffer> ObjBuffer = ObjCache->getObject(&M); in tryToLoadFromObjectCache() local
126 if (!ObjBuffer) in tryToLoadFromObjectCache()
130 object::ObjectFile::createObjectFile(ObjBuffer->getMemBufferRef()); in tryToLoadFromObjectCache()
135 std::move(ObjBuffer)); in tryToLoadFromObjectCache()
/external/llvm/lib/Object/
DMachOUniversal.cpp78 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsObjectFile() local
79 return ObjectFile::createMachOObjectFile(ObjBuffer); in getAsObjectFile()
90 MemoryBufferRef ObjBuffer(ObjectData, ObjectName); in getAsArchive() local
91 return Archive::create(ObjBuffer); in getAsArchive()