|
LLVM 24.0.0git
|
A handle to a single OffloadBinary. More...
#include "llvm/Object/OffloadBinary.h"
Public Types | |
| using | TargetID = std::pair<StringRef, StringRef> |
Public Member Functions | |
| OffloadFile ()=default | |
| OffloadFile (std::unique_ptr< OffloadBinary > Binary) | |
| OffloadBinary * | getBinary () |
| const OffloadBinary * | getBinary () const |
| OffloadFile | copy () const |
| Make a deep copy of this offloading file. | |
| operator TargetID () const | |
| We use the Triple and Architecture pair to group linker inputs together. | |
A handle to a single OffloadBinary.
Definition at line 213 of file OffloadBinary.h.
| using llvm::object::OffloadFile::TargetID = std::pair<StringRef, StringRef> |
Definition at line 215 of file OffloadBinary.h.
|
default |
Referenced by copy().
|
inline |
Definition at line 218 of file OffloadBinary.h.
References llvm::move().
|
inline |
Make a deep copy of this offloading file.
Definition at line 225 of file OffloadBinary.h.
References assert(), llvm::consumeError(), llvm::object::OffloadBinary::create(), getBinary(), and OffloadFile().
|
inline |
Definition at line 221 of file OffloadBinary.h.
Referenced by copy(), and operator TargetID().
|
inline |
Definition at line 222 of file OffloadBinary.h.
|
inline |
We use the Triple and Architecture pair to group linker inputs together.
This conversion function lets us use these inputs in a hash-map.
Definition at line 236 of file OffloadBinary.h.
References getBinary().