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()
49 return OwningObj(std::move(*Obj), std::move(ObjBuffer)); in operator()
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()
/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()