/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/llvm-project/llvm/include/llvm/Object/ |
D | Binary.h | 186 template <typename T> class OwningBinary { 191 OwningBinary(); 192 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf); 193 OwningBinary(OwningBinary<T>&& Other); 194 OwningBinary<T> &operator=(OwningBinary<T> &&Other); 203 OwningBinary<T>::OwningBinary(std::unique_ptr<T> Bin, in OwningBinary() function 207 template <typename T> OwningBinary<T>::OwningBinary() = default; 210 OwningBinary<T>::OwningBinary(OwningBinary &&Other) in OwningBinary() function 214 OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) { 222 OwningBinary<T>::takeBinary() { in takeBinary() [all …]
|
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Object/ |
D | Binary.h | 183 template <typename T> class OwningBinary { 188 OwningBinary(); 189 OwningBinary(std::unique_ptr<T> Bin, std::unique_ptr<MemoryBuffer> Buf); 190 OwningBinary(OwningBinary<T>&& Other); 191 OwningBinary<T> &operator=(OwningBinary<T> &&Other); 200 OwningBinary<T>::OwningBinary(std::unique_ptr<T> Bin, in OwningBinary() function 204 template <typename T> OwningBinary<T>::OwningBinary() = default; 207 OwningBinary<T>::OwningBinary(OwningBinary &&Other) in OwningBinary() function 211 OwningBinary<T> &OwningBinary<T>::operator=(OwningBinary &&Other) { 219 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()
|
/external/llvm-project/llvm/include/llvm/ExecutionEngine/ |
D | RuntimeDyld.h | 36 template <typename T> class OwningBinary; variable 79 virtual object::OwningBinary<object::ObjectFile> 271 object::OwningBinary<object::ObjectFile> O, 277 unique_function<void(object::OwningBinary<object::ObjectFile> O, 297 object::OwningBinary<object::ObjectFile> O, 304 unique_function<void(object::OwningBinary<object::ObjectFile>,
|
/external/llvm-project/llvm/lib/Object/ |
D | Object.cpp | 23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() 24 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap() 27 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap() 29 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap() 189 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() 199 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections() 210 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd() 233 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols() 244 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()
|
D | Binary.cpp | 97 Expected<OwningBinary<Binary>> 112 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/ |
D | Object.cpp | 23 inline OwningBinary<ObjectFile> *unwrap(LLVMObjectFileRef OF) { in unwrap() 24 return reinterpret_cast<OwningBinary<ObjectFile> *>(OF); in unwrap() 27 inline LLVMObjectFileRef wrap(const OwningBinary<ObjectFile> *OF) { in wrap() 29 const_cast<OwningBinary<ObjectFile> *>(OF)); in wrap() 189 auto *Ret = new OwningBinary<ObjectFile>(std::move(ObjOrErr.get()), std::move(Buf)); in LLVMCreateObjectFile() 199 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSections() 210 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSectionIteratorAtEnd() 233 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMGetSymbols() 244 OwningBinary<ObjectFile> *OB = unwrap(OF); in LLVMIsSymbolIteratorAtEnd()
|
D | Binary.cpp | 96 Expected<OwningBinary<Binary>> object::createBinary(StringRef Path) { in createBinary() 110 return OwningBinary<Binary>(std::move(Bin), std::move(Buffer)); in createBinary()
|
/external/llvm-project/llvm/tools/llvm-exegesis/lib/ |
D | Assembler.h | 99 object::OwningBinary<object::ObjectFile> getObjectFromBuffer(StringRef Buffer); 102 object::OwningBinary<object::ObjectFile> getObjectFromFile(StringRef Filename); 109 object::OwningBinary<object::ObjectFile> &&ObjectFileHolder);
|
D | Assembler.cpp | 248 object::OwningBinary<object::ObjectFile> 257 return object::OwningBinary<object::ObjectFile>(std::move(Obj), in getObjectFromBuffer() 261 object::OwningBinary<object::ObjectFile> getObjectFromFile(StringRef Filename) { in getObjectFromFile() 290 object::OwningBinary<object::ObjectFile> &&ObjectFileHolder) in ExecutableFunction()
|
/external/llvm-project/llvm/tools/llvm-lipo/ |
D | llvm-lipo.cpp | 318 static SmallVector<OwningBinary<Binary>, 1> 320 SmallVector<OwningBinary<Binary>, 1> InputBinaries; in readInputBinaries() 322 Expected<OwningBinary<Binary>> BinaryOrErr = in readInputBinaries() 354 static void verifyArch(ArrayRef<OwningBinary<Binary>> InputBinaries, in verifyArch() 437 static void printArchs(ArrayRef<OwningBinary<Binary>> InputBinaries) { in printArchs() 444 static void printInfo(ArrayRef<OwningBinary<Binary>> InputBinaries) { in printInfo() 467 static void thinSlice(ArrayRef<OwningBinary<Binary>> InputBinaries, in thinSlice() 555 buildSlices(ArrayRef<OwningBinary<Binary>> InputBinaries, in buildSlices() 604 static void createUniversalBinary(ArrayRef<OwningBinary<Binary>> InputBinaries, in createUniversalBinary() 624 static void extractSlice(ArrayRef<OwningBinary<Binary>> InputBinaries, in extractSlice() [all …]
|
/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/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldCOFF.cpp | 35 OwningBinary<ObjectFile> 37 return OwningBinary<ObjectFile>(); in getObjectForDebug()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldCOFF.cpp | 38 OwningBinary<ObjectFile> 40 return OwningBinary<ObjectFile>(); in getObjectForDebug()
|
/external/llvm-project/llvm/lib/ExecutionEngine/ |
D | GDBRegistrationListener.cpp | 69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo() 74 OwningBinary<ObjectFile> Obj; 153 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Obj); in notifyObjectLoaded()
|
/external/swiftshader/third_party/llvm-10.0/llvm/lib/ExecutionEngine/ |
D | GDBRegistrationListener.cpp | 69 OwningBinary<ObjectFile> Obj) in RegisteredObjectInfo() 74 OwningBinary<ObjectFile> Obj; 153 OwningBinary<ObjectFile> DebugObj = L.getObjectForDebug(Obj); in notifyObjectLoaded()
|
/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-project/llvm/lib/ExecutionEngine/RuntimeDyld/ |
D | RuntimeDyldCOFF.cpp | 39 OwningBinary<ObjectFile> 41 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/llvm-project/llvm/tools/llvm-cfi-verify/lib/ |
D | FileAnalysis.h | 91 FileAnalysis(object::OwningBinary<object::Binary> Binary); 197 object::OwningBinary<object::Binary> Binary;
|
/external/llvm-project/llvm/lib/ExecutionEngine/MCJIT/ |
D | MCJIT.h | 187 SmallVector<object::OwningBinary<object::Archive>, 2> Archives; 216 void addObjectFile(object::OwningBinary<object::ObjectFile> O) override; 217 void addArchive(object::OwningBinary<object::Archive> O) override;
|