clang 24.0.0git
clang::IncrementalDeviceParser Class Referenceabstract

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

Inheritance diagram for clang::IncrementalDeviceParser:
[legend]

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

Detailed Description

Definition at line 28 of file DeviceOffload.h.

Constructor & Destructor Documentation

◆ IncrementalDeviceParser()

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

◆ ~IncrementalDeviceParser()

clang::IncrementalDeviceParser::~IncrementalDeviceParser ( )
override

Definition at line 38 of file DeviceOffload.cpp.

Member Function Documentation

◆ GenerateOffloadBinary()

virtual llvm::Error clang::IncrementalDeviceParser::GenerateOffloadBinary ( )
pure virtual

Member Data Documentation

◆ CodeGenOpts

CodeGenOptions& clang::IncrementalDeviceParser::CodeGenOpts
protected

Definition at line 43 of file DeviceOffload.h.

Referenced by IncrementalDeviceParser().

◆ TargetOpts

◆ VFS

llvm::IntrusiveRefCntPtr<llvm::vfs::InMemoryFileSystem> clang::IncrementalDeviceParser::VFS
protected

Definition at line 42 of file DeviceOffload.h.

Referenced by IncrementalDeviceParser().


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