clang 24.0.0git
clang::IncrementalHIPDeviceParser Class Reference

#include "/work/as-worker-4/publish-doxygen-docs/llvm-project/clang/lib/Interpreter/DeviceOffload.h"

Inheritance diagram for clang::IncrementalHIPDeviceParser:
[legend]

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

Detailed Description

Definition at line 47 of file DeviceOffload.h.

Constructor & Destructor Documentation

◆ IncrementalHIPDeviceParser()

clang::IncrementalHIPDeviceParser::IncrementalHIPDeviceParser ( CompilerInstance & DeviceInstance,
CompilerInstance & HostInstance,
IncrementalAction * DeviceAct,
llvm::IntrusiveRefCntPtr< llvm::vfs::InMemoryFileSystem > VFS,
llvm::Error & Err,
std::list< PartialTranslationUnit > & PTUs )

◆ ~IncrementalHIPDeviceParser()

clang::IncrementalHIPDeviceParser::~IncrementalHIPDeviceParser ( )
override

Definition at line 66 of file DeviceOffload.cpp.

Member Function Documentation

◆ GenerateOffloadBinary()

llvm::Error clang::IncrementalHIPDeviceParser::GenerateOffloadBinary ( )
overridevirtual

Implements clang::IncrementalDeviceParser.

Definition at line 59 of file DeviceOffload.cpp.


The documentation for this class was generated from the following files: