|
clang 24.0.0git
|
#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/DeviceOffload.h"
Public Member Functions | |
| IncrementalHIPDeviceParser (CompilerInstance &DeviceInstance, CompilerInstance &HostInstance, IncrementalAction *DeviceAct, llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > VFS, llvm::Error &Err, std::list< PartialTranslationUnit > &PTUs) | |
| llvm::Error | GenerateOffloadBinary () override |
| ~IncrementalHIPDeviceParser () override | |
| Public Member Functions inherited from clang::IncrementalDeviceParser | |
| IncrementalDeviceParser (CompilerInstance &DeviceInstance, CompilerInstance &HostInstance, IncrementalAction *DeviceAct, llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > VFS, llvm::Error &Err, std::list< PartialTranslationUnit > &PTUs) | |
| ~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. | |
Additional Inherited Members | |
| Protected Attributes inherited from clang::IncrementalDeviceParser | |
| 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 47 of file DeviceOffload.h.
| clang::IncrementalHIPDeviceParser::IncrementalHIPDeviceParser | ( | CompilerInstance & | DeviceInstance, |
| CompilerInstance & | HostInstance, | ||
| IncrementalAction * | DeviceAct, | ||
| llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > | VFS, | ||
| llvm::Error & | Err, | ||
| std::list< PartialTranslationUnit > & | PTUs ) |
Definition at line 40 of file DeviceOffload.cpp.
References clang::IncrementalDeviceParser::IncrementalDeviceParser(), clang::IncrementalParser::PTUs, and clang::IncrementalDeviceParser::TargetOpts.
|
override |
Definition at line 66 of file DeviceOffload.cpp.
|
overridevirtual |
Implements clang::IncrementalDeviceParser.
Definition at line 59 of file DeviceOffload.cpp.