/external/llvm/include/llvm/Object/ |
D | Binary.h | 140 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/ |
D | Binary.h | 165 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/ |
D | IRCompileLayer.h | 34 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()
|
D | CompileUtils.h | 34 object::OwningBinary<object::ObjectFile> operator()(Module &M) const { in operator() 47 typedef object::OwningBinary<object::ObjectFile> OwningObj; in operator()
|
/external/llvm/lib/Object/ |
D | Object.cpp | 22 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()
|
D | Binary.cpp | 77 Expected<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary() 90 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
|
D | ObjectFile.cpp | 111 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/ |
D | Object.cpp | 22 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()
|
D | Binary.cpp | 89 Expected<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary() 102 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
|
D | ObjectFile.cpp | 152 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/ |
D | Assembler.h | 55 llvm::object::OwningBinary<llvm::object::ObjectFile> 59 llvm::object::OwningBinary<llvm::object::ObjectFile> 67 llvm::object::OwningBinary<llvm::object::ObjectFile> &&ObjectFileHolder);
|
D | Assembler.cpp | 211 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/ |
D | OrcMCJITReplacement.h | 180 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/ |
D | GDBRegistrationListener.cpp | 70 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo() 75 OwningBinary<ObjectFile> Obj; 154 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted()
|
/external/llvm/lib/ExecutionEngine/ |
D | GDBRegistrationListener.cpp | 69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo() 84 OwningBinary<ObjectFile> Obj; 163 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Object); in NotifyObjectEmitted()
|
/external/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldCOFF.cpp | 35 OwningBinary<ObjectFile> 37 return OwningBinary<ObjectFile>(); in getObjectForDebug()
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldCOFF.cpp | 38 OwningBinary<ObjectFile> 40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
|
/external/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 41 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/ |
D | FileAnalysis.h | 91 FileAnalysis(object::OwningBinary<object::Binary> Binary); 188 object::OwningBinary<object::Binary> Binary;
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.h | 189 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/ |
D | MCJIT.h | 189 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/ |
D | RuntimeDyld.h | 36 template <typename T> class OwningBinary; variable 78 virtual object::OwningBinary<object::ObjectFile>
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/OProfileJIT/ |
D | OProfileJITEventListener.cpp | 43 std::map<const char*, OwningBinary<ObjectFile>> DebugObjects; 88 OwningBinary<ObjectFile> DebugObjOwner = L.getObjectForDebug(Obj); in NotifyObjectEmitted()
|
/external/llvm/include/llvm/ExecutionEngine/ |
D | RuntimeDyld.h | 32 template <typename T> class OwningBinary; variable 84 virtual object::OwningBinary<object::ObjectFile>
|
/external/swiftshader/third_party/llvm-7.0/llvm/lib/ExecutionEngine/Orc/ |
D | OrcMCJITReplacement.h | 304 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;
|