|
clang 24.0.0git
|
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/DeviceOffload.h"
Public Member Functions | |
| IncrementalDeviceParser (CompilerInstance &DeviceInstance, CompilerInstance &HostInstance, IncrementalAction *DeviceAct, llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > VFS, llvm::Error &Err, std::list< PartialTranslationUnit > &PTUs) | |
| virtual llvm::Error | GenerateOffloadBinary ()=0 |
| ~IncrementalDeviceParser () override | |
| Public Member Functions inherited from clang::IncrementalParser | |
| IncrementalParser (CompilerInstance &Instance, IncrementalAction *Act, llvm::Error &Err, std::list< PartialTranslationUnit > &PTUs) | |
| virtual | ~IncrementalParser () |
| virtual llvm::Expected< TranslationUnitDecl * > | Parse (llvm::StringRef Input) |
| Parses incremental input by creating an in-memory file. | |
| void | CleanUpPTU (TranslationUnitDecl *MostRecentTU) |
| PartialTranslationUnit & | RegisterPTU (TranslationUnitDecl *TU, std::unique_ptr< llvm::Module > M={}) |
| Register a PTU produced by Parse. | |
Protected Attributes | |
| llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > | VFS |
| CodeGenOptions & | CodeGenOpts |
| const TargetOptions & | TargetOpts |
| Protected Attributes inherited from clang::IncrementalParser | |
| Sema & | S |
| The Sema performing the incremental compilation. | |
| std::unique_ptr< Parser > | P |
| Parser. | |
| ASTConsumer * | Consumer = nullptr |
| Consumer to process the produced top level decls. Owned by Act. | |
| unsigned | InputCount = 0 |
| Counts the number of direct user input lines that have been parsed. | |
| IncrementalAction * | Act = nullptr |
| The FrontendAction used during incremental parsing. | |
| std::list< PartialTranslationUnit > & | PTUs |
Definition at line 28 of file DeviceOffload.h.
| clang::IncrementalDeviceParser::IncrementalDeviceParser | ( | CompilerInstance & | DeviceInstance, |
| CompilerInstance & | HostInstance, | ||
| IncrementalAction * | DeviceAct, | ||
| llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > | VFS, | ||
| llvm::Error & | Err, | ||
| std::list< PartialTranslationUnit > & | PTUs ) |
Definition at line 29 of file DeviceOffload.cpp.
References CodeGenOpts, clang::IncrementalParser::IncrementalParser(), clang::IncrementalParser::PTUs, TargetOpts, and VFS.
Referenced by clang::IncrementalCUDADeviceParser::IncrementalCUDADeviceParser(), and clang::IncrementalHIPDeviceParser::IncrementalHIPDeviceParser().
|
override |
Definition at line 38 of file DeviceOffload.cpp.
|
pure virtual |
Implemented in clang::IncrementalCUDADeviceParser, and clang::IncrementalHIPDeviceParser.
|
protected |
Definition at line 43 of file DeviceOffload.h.
Referenced by IncrementalDeviceParser().
|
protected |
Definition at line 44 of file DeviceOffload.h.
Referenced by clang::IncrementalCUDADeviceParser::IncrementalCUDADeviceParser(), IncrementalDeviceParser(), and clang::IncrementalHIPDeviceParser::IncrementalHIPDeviceParser().
|
protected |
Definition at line 42 of file DeviceOffload.h.
Referenced by IncrementalDeviceParser().