Home
last modified time | relevance | path

Searched refs:OwningBinary (Results 1 – 25 of 81) sorted by relevance

1234

/external/llvm/include/llvm/Object/
DBinary.h140 template <typename T> class OwningBinary {
145 OwningBinary();
146 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf);
147 OwningBinary(OwningBinary<T>&& Other);
148 OwningBinary<T> &operator=(OwningBinary<T> &&Other);
157 OwningBinary<T>::OwningBinary(std::unique_ptr<T> Bin, in OwningBinary() function
161 template <typename T> OwningBinary<T>::OwningBinary() {} in OwningBinary() function
164 OwningBinary<T>::OwningBinary(OwningBinary &&Other) in OwningBinary() function
168 OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) {
176 OwningBinary<T>::takeBinary() { in takeBinary()
[all …]
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/Object/
DBinary.h165 template <typename T> class OwningBinary {
170 OwningBinary();
171 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf);
172 OwningBinary(OwningBinary<T>&& Other);
173 OwningBinary<T> &operator=(OwningBinary<T> &&Other);
182 OwningBinary<T>::OwningBinary(std::unique_ptr<T> Bin, in OwningBinary() function
186 template <typename T> OwningBinary<T>::OwningBinary() = default;
189 OwningBinary<T>::OwningBinary(OwningBinary &&Other) in OwningBinary() function
193 OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) {
201 OwningBinary<T>::takeBinary() { in takeBinary()
[all …]
/external/llvm/include/llvm/ExecutionEngine/Orc/
DIRCompileLayer.h34 typedef std::function<object::OwningBinary<object::ObjectFile>(Module &)>
62 std::vector<std::unique_ptr<object::OwningBinary<object::ObjectFile>>> in addModuleSet()
67 llvm::make_unique<object::OwningBinary<object::ObjectFile>>(); in addModuleSet()
121 object::OwningBinary<object::ObjectFile>
125 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache()
132 return object::OwningBinary<object::ObjectFile>(); in tryToLoadFromObjectCache()
135 return object::OwningBinary<object::ObjectFile>(std::move(*Obj), in tryToLoadFromObjectCache()
DCompileUtils.h34 object::OwningBinary<object::ObjectFile> operator()(Module &M) const { in operator()
47 typedef object::OwningBinary<object::ObjectFile> OwningObj; in operator()
/external/llvm/lib/Object/
DObject.cpp22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap()
23 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
26 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap()
28 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
83 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
94 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
117 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
128 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()
DBinary.cpp77 Expected<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary()
90 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
DObjectFile.cpp111 Expected<OwningBinary<ObjectFile>>
125 return OwningBinary<ObjectFile>(std::move(Obj), std::move(Buffer)); in createObjectFile()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/Object/
DObject.cpp22 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap()
23 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap()
26 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap()
28 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap()
73 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile()
83 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections()
94 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd()
117 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols()
128 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()
DBinary.cpp89 Expected<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary()
102 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
DObjectFile.cpp152 Expected<OwningBinary<ObjectFile>>
166 return OwningBinary<ObjectFile>(std::move(Obj), std::move(Buffer)); in createObjectFile()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-exegesis/lib/
DAssembler.h55 llvm::object::OwningBinary<llvm::object::ObjectFile>
59 llvm::object::OwningBinary<llvm::object::ObjectFile>
67 llvm::object::OwningBinary<llvm::object::ObjectFile> &&ObjectFileHolder);
DAssembler.cpp211 llvm::object::OwningBinary<llvm::object::ObjectFile>
220 return llvm::object::OwningBinary<llvm::object::ObjectFile>( in getObjectFromBuffer()
224 llvm::object::OwningBinary<llvm::object::ObjectFile>
254 llvm::object::OwningBinary<llvm::object::ObjectFile> &&ObjectFileHolder) in ExecutableFunction()
/external/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h180 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override { in addObjectFile()
181 std::vector<std::unique_ptr<object::OwningBinary<object::ObjectFile>>> Objs; in addObjectFile()
183 llvm::make_unique<object::OwningBinary<object::ObjectFile>>( in addObjectFile()
188 void addArchive(object::OwningBinary<object::Archive> A) override { in addArchive()
258 for (object::OwningBinary<object::Archive> &OB : Archives) { in scanArchives()
315 getObject(const object::OwningBinary<ObjT> &Obj) { in getObject()
373 std::vector<object::OwningBinary<object::Archive>> Archives;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp70 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
75 OwningBinary<ObjectFile> Obj;
154 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted()
/external/llvm/lib/ExecutionEngine/
DGDBRegistrationListener.cpp69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo()
84 OwningBinary<ObjectFile> Obj;
163 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted()
/external/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp35 OwningBinary<ObjectFile>
37 return OwningBinary<ObjectFile>(); in getObjectForDebug()
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/
DRuntimeDyldCOFF.cpp38 OwningBinary<ObjectFile>
40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
/external/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp41 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
85 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted()
/external/swiftshader/third_party/llvm-7.0/llvm/tools/llvm-cfi-verify/lib/
DFileAnalysis.h91 FileAnalysis(object::OwningBinary<object::Binary> Binary);
188 object::OwningBinary<object::Binary> Binary;
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h189 SmallVector<object::OwningBinary<object::Archive>, 2> Archives;
218 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override;
219 void addArchive(object::OwningBinary<object::Archive> O) override;
/external/llvm/lib/ExecutionEngine/MCJIT/
DMCJIT.h189 SmallVector<object::OwningBinary<object::Archive>, 2> Archives;
218 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override;
219 void addArchive(object::OwningBinary<object::Archive> O) override;
/external/swiftshader/third_party/llvm-7.0/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h36 template <typename T> class OwningBinary; variable
78 virtual object::OwningBinary<object::ObjectFile>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/OProfileJIT/
DOProfileJITEventListener.cpp43 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects;
88 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted()
/external/llvm/include/llvm/ExecutionEngine/
DRuntimeDyld.h32 template <typename T> class OwningBinary; variable
84 virtual object::OwningBinary<object::ObjectFile>
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/
DOrcMCJITReplacement.h304 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override { in addObjectFile()
311 void addArchive(object::OwningBinary<object::Archive> A) override { in addArchive()
393 for (object::OwningBinary<object::Archive> &OB : Archives) { in scanArchives()
495 std::vector<object::OwningBinary<object::Archive>> Archives;

1234